/* ================================================================== *
 * Self-hosted Inter (no third-party font request).
 * ================================================================== */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/Inter_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/Inter_500Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/Inter_600SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/Inter_700Bold.ttf') format('truetype');
}

/* ================================================================== *
 * AskTransit — site styles
 * Light is the default; dark applies via the OS preference OR an
 * explicit [data-theme] the toggle sets. All colours are tokens so
 * both themes stay WCAG-AA.
 * ================================================================== */
:root {
  color-scheme: light dark;

  --teal:      #0D9488;
  --teal-2:    #14b8a6;
  --teal-cyan: #0891B2;
  --plus:      #4F46E5;   /* AskTransit Plus — matches the app */

  /* Light theme (default) */
  --bg:            #F8FAFC;
  --bg-glow-a:     rgba(13,148,136,0.10);
  --bg-glow-b:     rgba(8,145,178,0.08);
  --grid:          rgba(15,23,42,0.05);
  --heading:       #0F172A;
  --accent:        #0D9488;   /* large display text — 3:1+ on light */
  --accent-strong: #0F766E;   /* small/bold text — 4.5:1+ on light */
  --body:          #475569;
  --body-em:       #1E293B;
  --subtle:        #64748B;
  --surface:       #FFFFFF;
  --surface-2:     #FFFFFF;
  --section-alt:   rgba(13,148,136,0.035);
  --border:        rgba(15,23,42,0.09);
  --border-strong: rgba(15,23,42,0.14);
  --nav-bg:        rgba(248,250,252,0.82);
  --input-bg:      #FFFFFF;
  --input-border:  #CBD5E1;
  --input-text:    #0F172A;
  --placeholder:   #94A3B8;
  --btn-text:      #FFFFFF;
  --success:       #047857;
  --error:         #DC2626;
  --focus-ring:    rgba(13,148,136,0.45);
  --logo-shadow:   rgba(13,148,136,0.25);
  --chip-bg:       rgba(15,23,42,0.04);
  --chip-border:   rgba(15,23,42,0.08);
  --card-shadow:   0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --phone-bezel:   #0b1220;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0F172A;
    --bg-glow-a:     rgba(20,52,47,0.9);
    --bg-glow-b:     rgba(16,35,63,0.9);
    --grid:          rgba(148,163,184,0.05);
    --heading:       #FFFFFF;
    --accent:        #14b8a6;
    --accent-strong: #2DD4BF;
    --body:          #94A3B8;
    --body-em:       #CBD5E1;
    --subtle:        #94A3B8;
    --surface:       #131F38;
    --surface-2:     #16233f;
    --section-alt:   rgba(148,163,184,0.04);
    --border:        rgba(148,163,184,0.13);
    --border-strong: rgba(148,163,184,0.22);
    --nav-bg:        rgba(15,23,42,0.80);
    --input-bg:      rgba(30,41,59,0.7);
    --input-border:  #334155;
    --input-text:    #FFFFFF;
    --placeholder:   #64748B;
    --btn-text:      #FFFFFF;
    --success:       #34D399;
    --error:         #F87171;
    --focus-ring:    rgba(20,184,166,0.5);
    --logo-shadow:   rgba(13,148,136,0.35);
    --chip-bg:       rgba(148,163,184,0.08);
    --chip-border:   rgba(148,163,184,0.14);
    --card-shadow:   0 1px 2px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.35);
    --phone-bezel:   #05080f;
  }
}

/* Explicit override wins over the OS preference in both directions. */
:root[data-theme="dark"] {
  --bg:            #0F172A;
  --bg-glow-a:     rgba(20,52,47,0.9);
  --bg-glow-b:     rgba(16,35,63,0.9);
  --grid:          rgba(148,163,184,0.05);
  --heading:       #FFFFFF;
  --accent:        #14b8a6;
  --accent-strong: #2DD4BF;
  --body:          #94A3B8;
  --body-em:       #CBD5E1;
  --subtle:        #94A3B8;
  --surface:       #131F38;
  --surface-2:     #16233f;
  --section-alt:   rgba(148,163,184,0.04);
  --border:        rgba(148,163,184,0.13);
  --border-strong: rgba(148,163,184,0.22);
  --nav-bg:        rgba(15,23,42,0.80);
  --input-bg:      rgba(30,41,59,0.7);
  --input-border:  #334155;
  --input-text:    #FFFFFF;
  --placeholder:   #64748B;
  --btn-text:      #FFFFFF;
  --success:       #34D399;
  --error:         #F87171;
  --focus-ring:    rgba(20,184,166,0.5);
  --logo-shadow:   rgba(13,148,136,0.35);
  --chip-bg:       rgba(148,163,184,0.08);
  --chip-border:   rgba(148,163,184,0.14);
  --card-shadow:   0 1px 2px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.35);
  --phone-bezel:   #05080f;
}

/* ------------------------------------------------------------------ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 72% -8%, var(--bg-glow-a) 0%, transparent 55%),
    radial-gradient(1000px 650px at -8% 18%, var(--bg-glow-b) 0%, transparent 50%);
}
.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1200px 760px at 50% 8%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(1200px 760px at 50% 8%, #000 35%, transparent 80%);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff; font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ===================== Navigation ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { display: inline-flex; filter: drop-shadow(0 6px 16px var(--logo-shadow)); }
.wordmark {
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
  color: var(--heading);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--heading); background: var(--chip-bg); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 15px; font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s ease, transform .1s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--teal); color: var(--btn-text); }
.btn--primary:hover { background: var(--teal-2); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--teal); color: var(--accent); }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.nav__cta { }
@media (max-width: 720px) { .nav__cta { display: none; } }

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--heading);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.theme-toggle:hover { border-color: var(--teal); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun  { display: block; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===================== Sections ===================== */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 104px) 0;
}
.section--alt { background: var(--section-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
h2.section__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 700;
  color: var(--heading);
}
.section__sub {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6; color: var(--body);
}
[id] { scroll-margin-top: 84px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 92px) 0 clamp(40px, 6vw, 72px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 20px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-strong);
}
.hero__eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 999px; background: var(--teal-2);
  box-shadow: 0 0 0 0 var(--teal-2);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow .pulse { animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(20,184,166,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(20,184,166,0); }
    100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); }
  }
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1.01; letter-spacing: -0.038em; font-weight: 700;
  color: var(--heading);
}
h1 .accent { color: var(--accent); }
.lede {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.62; color: var(--body);
}
.lede em { color: var(--body-em); font-style: italic; }

/* Waitlist form */
.waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  width: 100%;
}
.waitlist input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  font-size: 16px; font-family: inherit;
  color: var(--input-text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.waitlist input::placeholder { color: var(--placeholder); }
.waitlist input:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.waitlist button {
  flex: 0 0 auto;
  padding: 14px 22px;
  font-size: 16px; font-weight: 600; font-family: inherit;
  color: var(--btn-text);
  background: var(--teal);
  border: none; border-radius: 12px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s ease, transform .1s ease;
}
.waitlist button:hover { background: var(--teal-2); }
.waitlist button:active { transform: translateY(1px); }
.waitlist button:disabled { opacity: .6; cursor: default; }

.form-note {
  margin: 13px 0 0;
  font-size: 13px; line-height: 1.5; color: var(--subtle);
  transition: color .2s ease;
}
.form-note.is-success { color: var(--success); font-weight: 500; }
.form-note.is-error { color: var(--error); font-weight: 500; }

/* App-store badges (coming-soon state) */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: 12px;
  background: var(--heading);
  color: var(--bg);
  text-decoration: none;
  border: 1px solid var(--heading);
  transition: transform .1s ease, opacity .15s ease;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { flex: 0 0 auto; }
.store-badge .store-badge__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .store-badge__txt small { font-size: 10px; letter-spacing: .02em; opacity: .75; }
.store-badge .store-badge__txt b { font-size: 15px; font-weight: 600; }
.store-badge__soon {
  align-self: center; font-size: 12px; color: var(--subtle);
  display: inline-flex; align-items: center;
}
.cta .store-badges { justify-content: center; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  margin-top: 22px;
  font-size: 13.5px; color: var(--subtle);
}
.hero__badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero__badges .tick { color: var(--teal); flex: 0 0 auto; }

/* ===================== Phone frame ===================== */
.phone {
  width: min(300px, 76vw);
  aspect-ratio: 1206 / 2622;
  margin: 0 auto;
  padding: 9px;
  background: var(--phone-bezel);
  border-radius: 40px;
  box-shadow:
    0 2px 6px rgba(15,23,42,0.18),
    0 24px 60px rgba(15,23,42,0.28),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
}
.phone img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 32px;
  background: var(--surface);
}
.hero__phone { position: relative; }
.hero__phone .glow {
  position: absolute; inset: -8% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(13,148,136,0.22), transparent 72%);
  filter: blur(8px);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__phone .phone { animation: floaty 6s ease-in-out infinite; }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* ===================== Feature rows ===================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 96px); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.feature-row h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 700;
  color: var(--heading);
}
.feature-row p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--body); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--body-em); }
.feature-list .tick { color: var(--teal); flex: 0 0 auto; margin-top: 2px; }
.pill-plus {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 9999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  color: #fff; background: var(--plus);
  vertical-align: middle; margin-left: 8px;
}

/* ===================== Feature grid (small cards) ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--accent-strong); margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body); }

/* ===================== How it works ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--card-shadow); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 16px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; color: var(--heading); font-weight: 700; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body); }

/* ===================== Pricing ===================== */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 840px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--card-shadow);
}
.price-card--plus { border-color: color-mix(in srgb, var(--plus) 45%, transparent); }
.price-card__tag {
  position: absolute; top: -12px; right: 24px;
  padding: 5px 12px; border-radius: 9999px;
  background: var(--plus); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.price-card h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--heading); }
.price-card .tagline { margin: 0 0 18px; font-size: 14px; color: var(--subtle); }
.price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 4px;
}
.price .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--heading); }
.price .per { font-size: 15px; color: var(--subtle); }
.price-sub { margin: 0 0 20px; font-size: 13.5px; color: var(--subtle); min-height: 20px; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--body-em); line-height: 1.5; }
.price-card li .tick { color: var(--teal); flex: 0 0 auto; margin-top: 2px; }
.price-card--plus li .tick { color: var(--plus); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card--plus .btn--primary { background: var(--plus); }
.price-card--plus .btn--primary:hover { background: #4338ca; }
.pay-options {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.pay-options .opt {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--section-alt);
}
.pay-options .opt b { display: block; font-size: 15px; color: var(--heading); }
.pay-options .opt small { font-size: 12px; color: var(--subtle); }
.price-foot { margin: 16px 0 0; font-size: 12.5px; color: var(--subtle); text-align: center; }

/* ===================== Coverage ===================== */
.coverage-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.coverage-map {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  max-width: 300px; margin: 0 auto;
}
.coverage-map .phone { box-shadow: none; }
.agency-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.agency-chips .chip {
  padding: 7px 13px; border-radius: 9999px;
  background: var(--chip-bg); border: 1px solid var(--chip-border);
  font-size: 13.5px; font-weight: 600; color: var(--body-em);
}

/* ===================== FAQ ===================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2px 20px;
  box-shadow: var(--card-shadow);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  position: relative;
  font-size: 16px; font-weight: 600; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--body); }
.faq .faq__a p { margin: 0 0 10px; }
.faq .faq__a p:last-child { margin: 0; }

/* ===================== CTA band ===================== */
.cta {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -20%, var(--bg-glow-a), transparent 70%),
    var(--section-alt);
  border-block: 1px solid var(--border);
}
.cta h2 { font-size: clamp(28px, 4.4vw, 40px); margin: 0 0 14px; color: var(--heading); letter-spacing: -0.03em; }
.cta p { margin: 0 auto 28px; max-width: 48ch; font-size: 17px; color: var(--body); }
.cta .waitlist { margin: 0 auto; }
.cta .form-note { text-align: center; }

/* ===================== Footer ===================== */
.site-foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 44px 0 40px;
}
.site-foot__grid {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.site-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot__links a { font-size: 14px; color: var(--body); text-decoration: none; }
.site-foot__links a:hover { color: var(--accent); }
.site-foot__meta { margin-top: 22px; font-size: 13px; color: var(--subtle); line-height: 1.6; }
.site-foot__meta .sep { opacity: .5; margin: 0 6px; }

/* ===================== Legal pages ===================== */
.legal { position: relative; z-index: 1; padding: clamp(40px, 6vw, 72px) 0 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 8px; }
.legal .legal__meta { font-size: 14px; color: var(--subtle); margin: 0 0 36px; }
.legal__toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; margin: 0 0 36px;
  box-shadow: var(--card-shadow);
}
.legal__toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal__toc li { margin: 0 0 7px; font-size: 14px; }
.legal__toc a { color: var(--accent-strong); text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal h2 { font-size: clamp(20px, 3vw, 26px); color: var(--heading); margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal h3 { font-size: 17px; color: var(--heading); margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--body); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol.body-list { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--accent-strong); }
.legal strong { color: var(--body-em); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--section-alt); color: var(--heading); font-weight: 600; }
.legal .callout {
  background: var(--section-alt); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 20px;
  font-size: 14.5px; color: var(--body);
}
.legal .back-top { display: inline-block; margin-top: 8px; font-size: 13px; }

/* ===================== Utility ===================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===================== Responsive ===================== */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__phone { order: -1; }
  .hero .waitlist { margin-left: auto; margin-right: auto; }
  .hero__eyebrow { justify-content: center; }
  .hero__badges { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .feature-row { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .feature-row--reverse .feature-row__media { order: -1; }
  .feature-row__icon { margin-left: auto; margin-right: auto; }
  .feature-list { text-align: left; max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; text-align: center; }
  .agency-chips { justify-content: center; }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; }
  .waitlist button { width: 100%; }
  .legal__toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
