/* AskQuip Phase 1 SEO, AEO & GEO Storybook Enhancements */
html, body {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

.aq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  flex-wrap: wrap;
}

.aq-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.aq-brand-tag {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ec662a;
  background: #fff3ec;
  border: 1px solid #ffd5be;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

.aq-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.aq-nav-links a {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #303030;
  text-decoration: none;
  transition: color 0.15s ease;
}

.aq-nav-links a:hover {
  color: #ec662a;
}

.aq-eyebrow {
  display: inline-block;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2f8b00;
  background: #eefce6;
  border: 1px solid #c3eeac;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 10px;
}

.aq-proof-section {
  background: #fff7f2;
  padding: 34px 30px;
  border-top: 1px solid #ffe4d4;
  border-bottom: 1px solid #ffe4d4;
}

.aq-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.aq-proof-card {
  background: #ffffff;
  border: 1px solid #ffe0ce;
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(236, 102, 42, 0.06);
}

.aq-proof-num {
  font-family: Nunito, sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #ec662a;
  line-height: 1.15;
}

.aq-proof-label {
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #303030;
  margin-top: 4px;
}

.aq-proof-sub {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #767676;
  margin-top: 2px;
}

.aq-section-pad {
  padding: 64px 30px;
}

.aq-section-title {
  color: #303030;
  font-family: Nunito, sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 12px;
}

.aq-section-sub {
  color: #767676;
  font-family: Nunito, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.aq-table-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 2px solid #e6f2df;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(48, 48, 48, 0.06);
}

.aq-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Nunito, sans-serif;
  min-width: 640px;
}

.aq-compare-table th,
.aq-compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
  font-size: 16px;
  line-height: 1.4;
}

.aq-compare-table thead th {
  background: #f8fbf6;
  color: #303030;
  font-size: 17px;
  font-weight: 900;
}

.aq-compare-table thead th.aq-col-quip {
  background: #ec662a;
  color: #ffffff;
}

.aq-compare-table tbody td:first-child {
  font-weight: 800;
  color: #303030;
}

.aq-compare-table tbody td.aq-col-quip {
  background: #fff9f5;
  color: #1f2937;
  font-weight: 800;
}

.aq-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.aq-badge-yes {
  color: #259b14;
  font-weight: 900;
}

.aq-badge-no {
  color: #9ca3af;
  font-weight: 700;
}

.aq-faq-section {
  background: #f9fbf8;
  padding: 64px 30px;
  border-top: 1px solid #e8efe4;
}

.aq-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.aq-faq-card {
  background: #ffffff;
  border: 1px solid #e3ecdd;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(48, 48, 48, 0.04);
}

.aq-faq-q {
  font-family: Nunito, sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #303030;
  margin: 0 0 8px;
  line-height: 1.3;
}

.aq-faq-a {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #5c5c5c;
  margin: 0;
  line-height: 1.5;
}

.aq-lookup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 6px;
}

.aq-pill {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #303030;
  background: #f3f7f0;
  border: 1px solid #d9e8cf;
  border-radius: 999px;
  padding: 6px 12px;
}

.aq-footer-note {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .aq-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aq-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .aq-nav {
    justify-content: center;
  }
  .aq-nav-links {
    justify-content: center;
    gap: 14px;
  }
  .aq-lookup-pills {
    justify-content: center;
  }
  .aq-section-title {
    font-size: 30px;
  }
  .aq-section-sub {
    font-size: 17px;
  }
  .aq-proof-section,
  .aq-section-pad,
  .aq-faq-section {
    padding: 40px 16px;
  }
}

@media screen and (max-width: 479px) {
  .aq-proof-grid {
    grid-template-columns: 1fr;
  }
}
/* Reading-level table + video learn cards */
.aq-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.aq-levels-table th[scope="row"].aq-level-name {
  font-weight: 900;
  color: #ec662a;
  white-space: nowrap;
  background: #fff9f5;
}

.aq-levels-table tbody td {
  color: #303030;
  font-weight: 700;
}

.aq-levels-table tbody td:last-child {
  color: #5c5c5c;
  font-style: italic;
}

video.learn-card-image {
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Preserve aspect ratio when intrinsic width/height attrs are set (CLS) */
img[width][height] {
  height: auto;
}

/* Parent & Educator Landing Guide Chips */
.aq-guides-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.aq-guide-chip {
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #303030;
  background: #ffffff;
  border: 2px solid #d9e8cf;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.aq-guide-chip:hover,
.aq-guide-chip.is-active {
  color: #ffffff;
  background: #ec662a;
  border-color: #ec662a;
}
