/* AirQualityTesting.org — institutional public-education styles */

:root {
  --navy: #0c2340;
  --navy-mid: #163a63;
  --blue: #0b5cab;
  --blue-deep: #084a8a;
  --ink: #1a2332;
  --muted: #4a5568;
  --slate: #64748b;
  --line: #cfd8e3;
  --line-soft: #e6edf5;
  --canvas: #eef2f7;
  --paper: #ffffff;
  --red: #8b1e1e;
  --red-soft: #fdf2f2;
  --shadow: 0 1px 2px rgba(12, 35, 64, 0.06);
  --radius: 2px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.page-anchor,
.guide-block,
.prose h2 {
  scroll-margin-top: 5.5rem;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue-deep);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility bar */
.utility-bar {
  background: #f0f3f7;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.utility-inner strong {
  color: var(--navy);
  font-weight: 700;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo span {
  color: var(--blue);
}

.logo:hover {
  color: var(--navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.55rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--navy);
}

/* Emergency */
.emergency-bar {
  background: var(--red-soft);
  border-bottom: 1px solid #f0d4d4;
  color: var(--red);
  font-size: 0.95rem;
}

.emergency-bar p {
  margin: 0;
  padding: 0.7rem 0;
}

.emergency-bar strong {
  font-weight: 700;
}

/* Hero */
.home-hero {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #0c2340 0%, #122c4d 100%);
  color: #fff;
  border-bottom: 4px solid var(--blue);
}

.home-hero-content {
  padding-top: 3.25rem;
  padding-bottom: 3rem;
  animation: rise 0.75s var(--ease) both;
}

.home-hero-content > * {
  max-width: 42rem;
}

.home-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec5ea;
  margin-bottom: 0.85rem;
}

.home-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
  color: #fff;
  max-width: 16ch;
  text-wrap: balance;
}

.home-lead {
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.4rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-primary:hover {
  background: var(--canvas);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-on-dark {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-on-dark:hover {
  background: var(--canvas);
  color: var(--navy);
}

/* Sections */
.section {
  padding: 3.5rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.section-muted {
  background: var(--canvas);
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-intro-tight {
  margin-bottom: 1.35rem;
}

.section-intro h2,
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.section-intro p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
}

.page-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.55rem;
}

/* Numbered paths */
.topic-paths {
  list-style: none;
  border-top: 1px solid var(--line);
}

.topic-paths > li {
  border-bottom: 1px solid var(--line);
}

.topic-path {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0.35rem 1.35rem 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), padding-left 0.25s var(--ease);
}

.topic-path:hover {
  background: linear-gradient(90deg, rgba(11, 92, 171, 0.05), transparent 70%);
  padding-left: 0.5rem;
  color: inherit;
}

.topic-path-index {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  padding-top: 0.15rem;
}

.topic-path-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.topic-path:hover .topic-path-title {
  color: var(--blue);
}

.topic-path-text {
  display: block;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42rem;
}

.topic-path-arrow {
  font-size: 1.25rem;
  color: var(--blue);
  padding-top: 0.2rem;
  transition: transform 0.25s var(--ease);
}

.topic-path:hover .topic-path-arrow {
  transform: translateX(4px);
}

/* Concern guide */
.guide-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.guide-item {
  padding: 1.35rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.guide-item h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.guide-facts {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.95fr;
  gap: 1.25rem;
}

.guide-facts h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.guide-facts p {
  font-size: 0.98rem;
  color: var(--ink);
  margin: 0;
}

.guide-limit {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-limit strong {
  color: var(--navy);
  font-weight: 700;
}

/* Three methods */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.method-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.method-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Gate */
.gate-layout {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: end;
  border-left: 3px solid var(--navy);
  padding-left: 1.35rem;
}

.gate-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.25;
  max-width: 22ch;
}

.gate-copy p {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  max-width: 40rem;
}

.gate-copy p:last-child {
  margin-bottom: 0;
}

/* Insight */
.insight-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.insight-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.insight-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.insight-points {
  list-style: none;
}

.insight-points li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.insight-points li:first-child {
  border-top: 1px solid var(--line);
}

/* Hire questions */
.hire-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1rem;
}

.hire-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.1rem 1.1rem 1.2rem;
}

.hire-card h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.hire-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4f7c 100%);
  color: #fff;
  padding: 3.25rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.45rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

/* Footer */
.site-footer {
  background: #091a2e;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.75rem;
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: #9ec5ea;
}

.footer-about p {
  max-width: 28rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-about a {
  color: #9ec5ea;
  font-weight: 600;
  text-decoration: none;
}

.footer-about a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.15rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .guide-facts,
  .hire-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .insight-layout,
  .gate-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .topic-path {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem;
  }

  .topic-path-arrow {
    display: none;
  }

  .gate-layout {
    align-items: start;
    border-left: 0;
    padding-left: 0;
  }

  .gate-copy {
    border-top: 3px solid var(--navy);
    padding-top: 1rem;
  }

  .home-hero h1 {
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-inner .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .utility-bar {
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
  }

  .utility-inner {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.28rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .utility-inner p {
    text-wrap: balance;
    max-width: 22rem;
  }

  .utility-inner p:last-child {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #5c6b7e;
  }

  .header-inner {
    position: relative;
    min-height: 3.6rem;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.08rem;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 1.25rem 0.85rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 24px rgba(12, 35, 64, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 0.1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }

  .emergency-bar {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .emergency-bar p {
    padding: 0.8rem 0;
  }

  .home-hero-content {
    padding-top: 2.15rem;
    padding-bottom: 1.85rem;
  }

  .home-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .home-lead {
    font-size: 1.05rem;
    max-width: none;
  }

  .home-brand {
    margin-bottom: 0.65rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-intro h2,
  .cta-band h2,
  .gate-copy h2,
  .insight-copy h2 {
    font-size: 1.55rem;
  }

  .page-hero-inner {
    padding-top: 1.85rem;
    padding-bottom: 1.65rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
    text-wrap: balance;
  }

  .page-hero .lede {
    font-size: 1.05rem;
  }

  .cta-band {
    padding: 2.25rem 0;
  }

  .site-footer {
    padding: 2.25rem 0 1.5rem;
  }

  .footer-grid {
    gap: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .on-this-page {
    padding: 0.95rem 1rem 1.05rem;
  }

  .prose h2 {
    font-size: 1.45rem;
  }
}

/* Inner guides */
.page-hero {
  background: linear-gradient(180deg, #0c2340 0%, #122c4d 100%);
  color: #fff;
  border-bottom: 4px solid var(--blue);
}

.page-hero-inner {
  padding-top: 2.4rem;
  padding-bottom: 2.2rem;
  max-width: 46rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.crumbs a {
  color: #9ec5ea;
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.page-hero .lede {
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.page-body {
  padding-top: 2.25rem;
}

.on-this-page {
  background: var(--canvas);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem 1.2rem;
  margin-bottom: 2rem;
}

.on-this-page h2 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

.on-this-page ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
}

.on-this-page li {
  margin: 0.2rem 0;
  break-inside: avoid;
}

.on-this-page a {
  text-decoration: none;
  font-weight: 600;
}

.on-this-page a:hover {
  text-decoration: underline;
}

.prose {
  max-width: 46rem;
}

.prose > * + * {
  margin-top: 0.9rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--navy);
  line-height: 1.25;
  margin-top: 2.4rem;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--navy);
  margin-top: 1.35rem;
}

.prose p,
.prose li {
  font-size: 1.05rem;
  line-height: 1.65;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.guide-block {
  padding-top: 0.4rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.callout {
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 0.95rem 1.05rem;
  margin: 1rem 0;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 0.55rem;
}

.callout-plain {
  border-left: 3px solid var(--blue);
}

.callout-warn {
  background: var(--red-soft);
  border-color: #f0d4d4;
  color: var(--red);
}

.callout-warn strong {
  color: var(--red);
}

.callout-limit {
  border-left: 3px solid var(--navy);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.6rem;
  border-bottom: 1px solid var(--line-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.term-grid,
.split-list,
.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.term-card,
.split-card,
.next-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.95rem 1rem 1.05rem;
  box-shadow: var(--shadow);
}

.term-card h3,
.split-card h3,
.next-card h3 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.term-card p,
.split-card p,
.next-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.next-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 3px solid var(--navy);
}

.next-card:hover {
  color: inherit;
  border-top-color: var(--blue);
}

.next-card:hover h3 {
  color: var(--blue);
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  margin: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 36rem;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.data-table th {
  background: var(--canvas);
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.65rem 0.8rem 0.8rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.7rem 0;
}

.faq-item p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.script-line {
  background: var(--canvas);
  border-left: 3px solid var(--blue);
  padding: 0.85rem 1rem;
  margin: 0.7rem 0;
}

.review-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.review-note ul {
  padding-left: 1.15rem;
  margin-top: 0.4rem;
}

.section-follow {
  padding-top: 1.5rem;
}

@media (max-width: 860px) {
  .term-grid,
  .split-list,
  .next-grid,
  .on-this-page ol {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .data-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.88rem;
  }

  .data-table th,
  .data-table td {
    overflow-wrap: break-word;
    padding: 0.6rem 0.45rem;
  }

  .data-table th:nth-child(1),
  .data-table td:nth-child(1) {
    width: 28%;
  }
}
