/* ================================================================
   BENTO OS — bybento.co landing (SaaS teaser)
   Ported from roy.md/design-system/output/ui_kits/marketing.jsx
   Stream 1 dominant · Stream 3 moment on feature card 3
   Italic rule: Fraunces italic only on explicit <em>.
   ================================================================ */

/* -------- 1. RESET & BASE -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* -------- 2. DESIGN TOKENS (from design-system/output/colors_and_type.css) -------- */
:root {
  /* Surfaces — warm paper register */
  --bg:           oklch(98%  0.012 80);
  --bg-alt:       oklch(96%  0.015 78);
  --surface:      oklch(94%  0.018 76);
  --surface-deep: oklch(91%  0.020 75);

  /* Foreground */
  --fg:           oklch(20%  0.025 60);
  --fg-soft:      oklch(38%  0.018 60);
  --muted:        oklch(50%  0.012 65);

  /* Accent — deep teal (Stream 1 signature) */
  --accent:       oklch(45%  0.085 195);
  --accent-deep:  oklch(35%  0.090 195);
  --accent-soft:  oklch(93%  0.025 195);

  /* Secondary — warm orange (rationed) */
  --secondary:       oklch(58% 0.135 45);
  --secondary-deep:  oklch(45% 0.140 45);
  --secondary-soft:  oklch(93% 0.035 45);

  /* Borders */
  --border:        oklch(88% 0.008 80);
  --border-strong: oklch(78% 0.012 75);

  /* Semantic */
  --warn:       oklch(55% 0.155 28);
  --warn-soft:  oklch(94% 0.04  28);
  --success:      var(--accent);
  --success-soft: var(--accent-soft);

  /* Blueprint register */
  --blueprint-ink:      oklch(35% 0.100 250);
  --blueprint-paper:    oklch(96% 0.010 80);
  --blueprint-grid:     color-mix(in oklch, var(--blueprint-ink) 12%, transparent);

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-grotesk: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Fluid type scale — headings only */
  --t-display-xxl: clamp(4.5rem, 14vw, 11rem);
  --t-display-xl:  clamp(3.5rem, 10vw, 7.5rem);
  --t-display-l:   clamp(2.75rem, 7vw, 5.25rem);
  --t-display-m:   clamp(2rem, 4.5vw, 3.5rem);
  --t-h1:          clamp(1.75rem, 3.5vw, 2.75rem);
  --t-h2:          clamp(1.4rem, 2.6vw, 2rem);
  --t-h3:          clamp(1.15rem, 1.8vw, 1.45rem);
  --t-lede:        clamp(1.0625rem, 1.4vw, 1.25rem);
  --t-body:        1rem;
  --t-small:       0.875rem;
  --t-xs:          0.78rem;

  /* Spacing — strict 8px grid */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --container: 76rem;

  /* Radius */
  --radius-card:  18px;
  --radius-btn:   10px;
  --radius-chip:  999px;
  --radius-input: 10px;

  /* Elevation */
  --elev-0: 0 0 0 1px var(--border);
  --elev-1: 0 1px 2px -1px oklch(20% 0.025 60 / 0.06),
            0 2px 6px -2px oklch(20% 0.025 60 / 0.04);
  --elev-2: 0 4px 10px -2px oklch(20% 0.025 60 / 0.07),
            0 10px 24px -6px oklch(20% 0.025 60 / 0.06);

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-quick:   120ms;
  --dur-base:    200ms;
  --dur-deep:    400ms;
  --dur-reveal:  800ms;

  --focus-ring: color-mix(in oklch, var(--accent) 65%, transparent);
}

/* -------- 3. TYPOGRAPHY BASE -------- */
body {
  font-family: var(--font-ui);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

p { line-height: 1.7; max-width: 62ch; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--fg-soft); max-width: 56ch; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--fg);
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "slnt" -8;
  font-weight: 350;
  color: var(--accent-deep);
}

strong { font-weight: 600; color: var(--fg); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--bg); }

/* -------- 4. UI-KIT HELPERS (from design-system/kit) -------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-chip);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover {
  background: color-mix(in oklch, var(--accent) 80%, var(--bg));
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

.chrome {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.chrome-accent { color: var(--accent-deep); }
.chrome-strong { color: var(--fg); font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-chip);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
}
.chip-awaiting {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-color: color-mix(in oklch, var(--accent) 30%, transparent);
}

.spec-card { position: relative; }
.spec-card::before,
.spec-card::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
  pointer-events: none;
}
.spec-card::before { top: 10px; left: 10px;  border-right: none; border-bottom: none; }
.spec-card::after  { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.blueprint {
  background-color: var(--blueprint-paper);
  background-image:
    linear-gradient(to right,  var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blueprint-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* -------- 5. NAV -------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-4) var(--gutter);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.brand-mark {
  font-size: 1.6rem;
  color: var(--accent);
  display: inline-block;
  line-height: 1;
  transform: translateY(1px);
  transition: transform var(--dur-deep) var(--ease-out);
}
.nav-brand:hover .brand-mark { transform: translateY(1px) rotate(180deg); }
.brand-text em {
  font-style: italic;
  color: var(--accent-deep);
  font-variation-settings: "opsz" 144, "SOFT" 80, "slnt" -8;
}

.nav-links {
  display: flex;
  gap: var(--s-5);
  margin-left: var(--s-4);
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--fg-soft);
  font-weight: 400;
  padding: 4px 2px;
  transition: color var(--dur-base) var(--ease-out);
  text-transform: capitalize;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.is-active {
  color: var(--fg);
  font-weight: 500;
}

.nav-end {
  margin-left: auto;
  display: flex;
  gap: var(--s-3);
  align-items: center;
}
.kbd-chip {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
}

.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--fg);
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  position: relative;
}
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: '';
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--fg);
}
.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after  { top:  6px; }

/* -------- 6. LAYOUT PRIMITIVES -------- */
main { padding-top: 72px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--s-9) 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-5);
}
.eyebrow.chip-style {
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  border: 1px solid var(--border);
}
.eyebrow-secondary {
  color: var(--secondary-deep);
  border: 1px solid color-mix(in oklch, var(--secondary) 45%, transparent);
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  display: inline-block;
}

/* -------- 7. HERO -------- */
.hero {
  padding: var(--s-10) 0 var(--s-9);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-5);
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "slnt" -8;
  color: var(--accent-deep);
  font-weight: 350;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 52ch;
  margin: 0 0 var(--s-6);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: var(--s-7);
  display: flex;
  gap: var(--s-7);
  align-items: center;
  flex-wrap: wrap;
}
.stat-label { margin-bottom: 4px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  color: var(--fg);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero spec-card (quote preview) */
.quote-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: var(--s-5);
  box-shadow: var(--elev-1);
}
.quote-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.quote-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 2px 0 var(--s-4);
  color: var(--fg);
}
.quote-card h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "slnt" -8;
  color: var(--accent-deep);
  font-weight: 400;
}
.quote-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-4);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.quote-rows { border-top: 1px solid var(--border); }
.quote-row-label {
  font-family: var(--font-grotesk);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.quote-row-value {
  font-family: var(--font-grotesk);
  font-size: 14px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.quote-total {
  margin-top: var(--s-2);
  padding: 12px 16px;
  background: color-mix(in oklch, var(--accent-soft) 60%, transparent);
  border-radius: var(--radius-btn);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-4);
  align-items: baseline;
}
.quote-total-label {
  font-family: var(--font-grotesk);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}
.quote-total-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  line-height: 1;
  font-feature-settings: "tnum";
}
.quote-actions {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.quote-actions .btn-primary { flex: 1; justify-content: center; }

/* -------- 8. GAP STRIP -------- */
.gap-strip {
  background: var(--bg-alt);
  color: var(--fg);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-9);
  align-items: center;
}
.gap-strip h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: var(--s-4) 0 var(--s-5);
}
.gap-strip h2 em {
  color: var(--secondary-deep);
}
.gap-strip .lede {
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 48ch;
}
.gap-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.gap-cell {
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  font-family: var(--font-grotesk);
  font-size: 14px;
  color: var(--fg-soft);
  font-weight: 400;
}
.gap-cell.is-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.gap-cell.is-before {
  border: 1px dashed color-mix(in oklch, var(--secondary) 55%, transparent);
}
.gap-cell.is-before.is-label { color: var(--secondary-deep); }
.gap-cell.is-after {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 55%, transparent);
  color: var(--accent-deep);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gap-cell.is-after.is-label { color: var(--accent-deep); }
.gap-cell.is-after .arrow {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.9;
}

/* -------- 9. FEATURE CARDS -------- */
.features {
  padding: var(--s-9) 0;
}
.features-head {
  text-align: center;
  margin-bottom: var(--s-8);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.features-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: var(--s-3);
}
.features-head h2 em { color: var(--accent-deep); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feature-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: var(--s-5) var(--s-5) 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--bg);
}
.feature-card.is-accent { background: var(--bg-alt); }
.feature-card.is-blueprint {
  background-color: var(--blueprint-paper);
  background-image:
    linear-gradient(to right,  var(--blueprint-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blueprint-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg);
}
.feature-card h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "slnt" -8;
  color: var(--accent-deep);
  font-weight: 400;
}
.feature-card p {
  font-family: var(--font-ui);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: none;
}

/* -------- 10. WAITLIST BLOCK -------- */
.waitlist {
  padding: var(--s-10) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.waitlist-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.waitlist h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: var(--s-3) 0 var(--s-4);
}
.waitlist h2 em { color: var(--accent-deep); }
.waitlist .lede {
  margin: 0 auto var(--s-6);
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.waitlist-form .row {
  display: flex;
  gap: var(--s-2);
}
.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }

.role-select {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  justify-content: center;
}
.role-option {
  position: relative;
}
.role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.role-option span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-chip);
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--fg-soft);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.role-option input:focus-visible + span { box-shadow: 0 0 0 2px var(--focus-ring); }
.role-option input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 500;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-msg {
  font-family: var(--font-ui);
  font-size: 14px;
  min-height: 1.5em;
  text-align: center;
  padding: 0 var(--s-3);
}
.form-msg.is-success { color: var(--accent-deep); font-weight: 500; }
.form-msg.is-error   { color: var(--secondary-deep); }

.waitlist-form[data-state="loading"] button[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}
.waitlist-form[data-state="success"] .form-fields { display: none; }

/* -------- 11. FOOTER -------- */
.site-footer {
  padding: var(--s-7) 0 var(--s-8);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "slnt" -8;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  gap: var(--s-6);
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--fg-soft);
  transition: color var(--dur-base) var(--ease-out);
}
.footer-links a:hover { color: var(--fg); }

/* -------- 12. PRIVACY PAGE -------- */
.privacy-wrap {
  padding: var(--s-10) 0 var(--s-9);
}
.privacy-wrap h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--s-5);
}
.privacy-wrap h2 {
  font-size: var(--t-h2);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.privacy-wrap p,
.privacy-wrap li {
  max-width: 64ch;
  margin-bottom: var(--s-3);
  color: var(--fg-soft);
  line-height: 1.7;
}
.privacy-wrap ul {
  padding-left: var(--s-5);
  margin-bottom: var(--s-4);
}
.privacy-wrap li { list-style: disc; }
.privacy-wrap a { color: var(--accent-deep); text-decoration: underline; }

/* -------- 13. REVEAL ANIMATIONS -------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- 14. RESPONSIVE -------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
  .gap-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: var(--s-5);
  }
  .stat-divider { display: none; }
}

@media (max-width: 720px) {
  main { padding-top: 64px; }
  section { padding: var(--s-8) 0; }
  .hero { padding: var(--s-8) 0 var(--s-7); }

  .nav-links,
  .nav-end .kbd-chip { display: none; }
  .nav-mobile-toggle { display: inline-flex; }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: var(--s-4);
    padding: var(--s-4) var(--gutter);
    background: color-mix(in oklch, var(--bg) 96%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    margin-left: 0;
  }

  .quote-card {
    padding: var(--s-4);
  }
  .quote-row,
  .quote-total {
    grid-template-columns: 110px 1fr;
    gap: var(--s-3);
  }
  .quote-actions { flex-direction: column; }
  .quote-actions .btn { width: 100%; justify-content: center; }

  .gap-compare { gap: var(--s-3); }
  .gap-cell { padding: 12px 14px; font-size: 13px; }

  .hero-actions .btn { flex: 1; justify-content: center; }

  .waitlist-form .row { flex-direction: column; }
  .waitlist-form button[type="submit"] { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .footer-links { flex-wrap: wrap; gap: var(--s-4); }
}
