/* ============================================================
   RFPTrace — Navy Command theme
   Static marketing site. Dark theme is default.
   ============================================================ */

:root {
  /* Surfaces */
  --bg-base: #0c1220;
  --bg-surface: #121a2e;
  --bg-elevated: #182240;
  --bg-hover: #1f2b4a;
  --bg-input: #101828;

  /* Accent (amber-gold) */
  --accent: #d4a052;
  --accent-hover: #deb06a;
  --accent-muted: rgba(212, 160, 82, .15);
  --accent-strong: rgba(212, 160, 82, .25);

  /* Foreground */
  --fg-1: #e8eaef;
  --fg-2: #9ca5b8;
  --fg-3: #6b7590;
  --fg-4: #4a5470;
  --fg-on-accent: #0c1220;

  /* Borders */
  --border-1: #243050;
  --border-2: #1a2540;
  --border-accent: rgba(212, 160, 82, .3);

  /* Semantic */
  --success: #4ade80;
  --warning: #fbbf24;
  --error: #f87171;
  --info: #60a5fa;

  /* Radii */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 20px rgba(212, 160, 82, .12);

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --nav-h: 68px;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg-1);
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--accent-hover); }

code { font-family: var(--font-mono); }

img, svg { display: block; max-width: 100%; }

/* Accessibility helpers */
.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;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--accent);
  color: var(--fg-on-accent);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: var(--fg-on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(56px, 8vw, 104px); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .section-lead { margin-top: 18px; }

.section-lead {
  color: var(--fg-2);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--fg-on-accent);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--fg-on-accent); }

.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--border-1);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  border-color: var(--border-accent);
  color: var(--fg-1);
}

/* ============================================================
   Top nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 18, 32, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-2);
}

.site-nav {
  max-width: var(--maxw);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fg-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--fg-1); }
.logo-mark { flex: none; }
.logo-word-accent { color: var(--accent); }

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--fg-1); }

.nav-cta {
  background: var(--accent);
  color: var(--fg-on-accent);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: var(--r-lg);
}
.nav-cta:hover { background: var(--accent-hover); color: var(--fg-on-accent); }

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--fg-1);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 92px);
  background:
    radial-gradient(900px 460px at 78% 12%, rgba(212, 160, 82, .10), transparent 70%),
    linear-gradient(180deg, var(--bg-surface), var(--bg-base) 70%);
  border-bottom: 1px solid var(--border-2);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  margin-block: 16px 22px;
}

.hero-subhead {
  color: var(--fg-2);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proofs {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero-proofs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
  font-size: 15px;
}
.proof-icon { color: var(--accent); flex: none; }

.hero-motif {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   Problem
   ============================================================ */
.problem { background: var(--bg-base); }

.pain-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pain-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.pain-label {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.45;
}

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--bg-surface); border-block: 1px solid var(--border-2); }

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--bg-elevated);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  position: relative;
  transition: border-color .18s ease, transform .18s ease;
}
.step:hover { border-color: var(--border-accent); transform: translateY(-2px); }

.step-num {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
}
.step-title { margin-bottom: 8px; }
.step-body p { color: var(--fg-2); font-size: 15.5px; max-width: 760px; }

.step-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
  padding: 5px 12px;
}

.how-payoff {
  margin-top: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.how-payoff strong { color: var(--accent); }

/* ============================================================
   Trust & citations
   ============================================================ */
.trust { background: var(--bg-base); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trust-copy h2 { margin-top: 8px; margin-bottom: 18px; }
.trust-caption {
  margin-top: 22px;
  font-size: 14px;
  color: var(--fg-3);
}

.trust-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cited-block {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}
.cited-block blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg-1);
}
.cited-source {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg-3);
}
.cited-source code {
  color: var(--accent);
  font-size: 13px;
  background: var(--accent-muted);
  padding: 2px 7px;
  border-radius: var(--r-sm);
}
.cite-arrow { color: var(--accent); flex: none; }

/* ============================================================
   Data tables (matrix + compare)
   ============================================================ */
.matrix { background: var(--bg-surface); border-block: 1px solid var(--border-2); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
.data-table caption { text-align: left; }
.data-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  background: var(--bg-hover);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-1);
  white-space: nowrap;
}
.data-table tbody th,
.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: top;
  color: var(--fg-1);
  text-align: left;
  font-weight: 400;
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td,
.data-table tbody tr:hover th { background: rgba(255, 255, 255, .015); }

.data-table .mono,
.matrix-table .mono {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13.5px;
  white-space: nowrap;
}

/* Compare table specifics */
.compare { background: var(--bg-base); }
.compare-table { min-width: 820px; }
.compare-table tbody th[scope="row"] {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-1);
  font-size: 14px;
  width: 200px;
}
.compare-table td { color: var(--fg-2); font-size: 13.5px; line-height: 1.45; }
.col-us {
  background: var(--accent-muted) !important;
}
.compare-table thead th.col-us {
  color: var(--accent);
  background: var(--accent-strong);
}

.mark {
  font-weight: 700;
  margin-right: 5px;
  font-family: var(--font-mono);
}
.mark.yes { color: var(--success); }
.mark.no { color: var(--error); }
.mark.partial { color: var(--warning); }

.compare-footnote {
  margin-top: 18px;
  font-size: 13px;
  color: var(--fg-3);
}

/* ============================================================
   Compliance gate
   ============================================================ */
.gate { background: var(--bg-surface); border-block: 1px solid var(--border-2); }

.gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.gate-copy h2 { margin-top: 8px; margin-bottom: 18px; }
.gate-status {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--fg-3);
}
.lock-icon { color: var(--accent); flex: none; margin-top: 3px; }

.gate-checklist {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gate-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.gate-checklist li div { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.gate-checklist strong { color: var(--fg-1); }
.gate-check { color: var(--success); flex: none; margin-top: 1px; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--bg-base); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  padding: 30px 26px;
  position: relative;
}
.price-card-featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-on-accent);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.price-name {
  font-size: 20px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-per { font-size: 17px; color: var(--fg-3); font-weight: 500; }
.price-billing { color: var(--fg-3); font-size: 13.5px; margin-top: 2px; }
.price-for {
  color: var(--fg-2);
  font-size: 14.5px;
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-2);
}
.price-features {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.45;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-cta { width: 100%; }

.assumption-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--warning);
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  vertical-align: middle;
  font-weight: 600;
  text-transform: uppercase;
}
.assumption-inline {
  color: var(--fg-3);
  font-style: italic;
  font-size: 0.92em;
}

.price-reassure {
  margin-top: 28px;
  text-align: center;
  color: var(--fg-2);
  font-size: 14.5px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-surface); border-block: 1px solid var(--border-2); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--fg-1);
  position: relative;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p { color: var(--fg-2); font-size: 15.5px; line-height: 1.65; }

/* ============================================================
   Final CTA + waitlist
   ============================================================ */
.final-cta {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(212, 160, 82, .12), transparent 70%),
    var(--bg-base);
  text-align: center;
}
.cta-inner h2 { margin-bottom: 16px; }

.waitlist-form {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.waitlist-input {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--bg-input);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
}
.waitlist-input::placeholder { color: var(--fg-4); }
.waitlist-input:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
  border-color: var(--border-accent);
}
.waitlist-input.input-error { border-color: var(--error); }

.waitlist-msg {
  min-height: 22px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 500;
}
.waitlist-msg.is-success { color: var(--success); }
.waitlist-msg.is-error { color: var(--error); }

.waitlist-fineprint {
  margin-top: 18px;
  color: var(--fg-3);
  font-size: 13px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-2);
  padding-block: 52px 36px;
}
.footer-descriptor {
  color: var(--fg-2);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 38px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 720px;
}
.footer-group h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-group ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-group a { color: var(--fg-2); font-size: 14.5px; }
.footer-group a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copyright, .footer-madeby { color: var(--fg-3); font-size: 13.5px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step, .price-card { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .compare-table tbody th[scope="row"] { width: 170px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-motif { order: -1; max-width: 460px; }
  .trust-grid,
  .gate-grid { grid-template-columns: 1fr; gap: 36px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card-featured { order: -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-1);
    padding: 12px 22px 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-links li { border-bottom: 1px solid var(--border-2); }
  .nav-links a { display: block; padding: 14px 4px; font-size: 16px; }
  .nav-cta { margin-top: 16px; text-align: center; }
  .nav-toggle { display: flex; }

  @media (prefers-reduced-motion: reduce) {
    .nav-menu { transition: none; }
  }

  .pain-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .waitlist-form { flex-direction: column; align-items: stretch; }
  .waitlist-input { max-width: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
  .step-num { width: 40px; height: 40px; font-size: 17px; }
}
