/* ==========================================================================
   ADID Solutions
   Volt palette: deep navy (#0B1B2B) with Nike-style Volt yellow (#D4FF3A); olive (#3F6212) for small accent text on white
   Light mode is the default; dark mode is set on <html data-theme="dark">.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, latin subset, variable weight) ---------- */
@font-face {
  font-family: 'Jost';
  src: url('./fonts/jost-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('./fonts/source-sans-3-latin-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Surfaces & text (light) */
  --bg-canvas: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --text-main: #0B1B2B;
  --text-body: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Primary: indigo (badges, active tabs, bullets, accent buttons) */
  --brand-primary: #0B1B2B;
  --brand-primary-hover: #1E3A5F;
  --brand-primary-tint: #EEF8E8;
  --brand-primary-border: #C6E9B2;
  --brand-primary-text: #2F6B12;     /* small indigo text, 7:1 on white */
  --brand-primary-btn: #66CC33;      /* white text on this is 6.3:1 */
  --brand-primary-btn-hover: #5CB82E;

  /* Secondary: emerald (main CTAs, ribbons, money readouts) */
  --brand-secondary: #4C9A22;
  --brand-secondary-hover: #3E7F1C;
  --brand-secondary-tint: #EEF8E8;
  --accent-warm: #2F6B12;           /* hometown card: brand indigo */
  --accent-warm-text: #2F6B12;
  --warm-tint: #F3FAEF;
  --warm-border: #C6E9B2;
  --brand-secondary-text: #2F6B12;   /* emerald text readable on white */
  --brand-secondary-border: #A8DB8C;
  --on-secondary: #0B1B2B;           /* dark text on emerald fills */
  --btn-primary-border: #5CB82E;

  /* Section panels */
  --panel-bg: #F1F4F7;
  --panel-solid: #F1F4F7;
  --panel-border: #E2E8F0;

  /* Hero glow */
  --glow-a: rgba(102, 204, 51, 0.16);
  --glow-b: rgba(148, 163, 184, 0.10);

  /* Logo cursor gradient */
  --logo-top: #66CC33;
  --logo-bottom: #66CC33;

  /* Anthony's signature gradient. Ends on emerald-600 so white text stays legible */
  --brand-gradient: linear-gradient(90deg, #66CC33 0%, #66CC33 100%);
  --brand-gradient-soft: linear-gradient(90deg, #66CC33 0%, #66CC33 100%);
  --brand-glow: none;

  /* Type */
  --font-display: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 6px;       /* cards */
  --radius-sm: 4px;    /* buttons, inputs */
  --header-h: 68px;

  color-scheme: light;
  --volt: #66CC33;
  --navy-panel: #0B1B2B;
  --navy: #0B1B2B;
  --header-bg: #0B1B2B;
  --header-line: #0B1B2B;
  --header-text: #CBD5E1;
}

html[data-theme="dark"] {
  /* Anthony's original dark navy slate */
  --bg-canvas: #0A0F14;
  --bg-alt: #0E141B;
  --bg-card: #121A23;
  --bg-subtle: #0E141B;
  --text-main: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --border-color: #1E2935;
  --border-strong: #2C3A49;

  --brand-primary: #D4FF3A;
  --brand-primary-hover: #E4FF7A;
  --brand-primary-tint: rgba(212, 255, 58, 0.10);
  --brand-primary-border: rgba(212, 255, 58, 0.35);
  --brand-primary-text: #D4FF3A;
  --brand-primary-btn: #D4FF3A;
  --brand-primary-btn-hover: #C6F21F;

  --brand-secondary: #D4FF3A;
  --brand-secondary-hover: #E4FF7A;
  --brand-secondary-tint: rgba(212, 255, 58, 0.10);
  --accent-warm: #D4FF3A;
  --accent-warm-text: #D4FF3A;
  --warm-tint: rgba(212, 255, 58, 0.06);
  --warm-border: rgba(212, 255, 58, 0.30);
  --brand-secondary-text: #D4FF3A;
  --brand-secondary-border: rgba(212, 255, 58, 0.35);
  --on-secondary: #0B1B2B;
  --btn-primary-border: #D4FF3A;
  --brand-glow: none;
  --panel-bg: #101820;
  --panel-solid: #101820;
  --panel-border: #1E2935;
  --glow-a: rgba(212, 255, 58, 0.12);
  --glow-b: rgba(148, 163, 184, 0.05);
  --logo-top: #D4FF3A;
  --logo-bottom: #D4FF3A;

  color-scheme: dark;
  --stage-gradient: linear-gradient(135deg, #0F1B29 0%, #0F1B29 100%);
  --header-bg: #0A0F14;
  --header-line: #1E2935;
  --header-text: #CBD5E1;
  --volt: #D4FF3A;
  --navy-panel: #13263A;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
strong { color: var(--text-main); font-weight: 600; }

/* Prices, counts, and money readouts line up like a ledger */
.price, .leak-range, .example-figure, .count-badge {
  font-variant-numeric: lining-nums tabular-nums;
}

::selection { background: var(--brand-primary); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text-main);
  color: var(--bg-canvas);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- 3. Shared pieces ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.section { padding: 104px 0; }

/* Alternate sections sit inside a contained, rounded panel with a faint
   indigo-to-emerald tint (no full-width color bands). */
.section-alt { padding: 24px 0; }
.section-alt > .container {
  width: calc(100% - 48px);
  padding: 88px 64px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
}

/* Section headings sit left, like a document, not a centered template */
.section-head {
  max-width: 760px;
  margin: 0 0 56px;
}
.section-head h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 3px;
  background: var(--volt);
}
.section-head h2 {
  font-size: 44px;
}
.section-head p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--text-muted);
}

/* Square accent bullet list */
.mark-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.mark-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
}
.mark-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 8px;
  background: var(--brand-primary);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.35em;
  width: 6px; height: 11px;
  border: solid var(--brand-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}
.btn-lg, .btn-block { white-space: normal; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary,
.btn-accent {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--brand-glow);
}
.btn-primary:hover,
.btn-accent:hover { filter: brightness(1.1); }


.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}
.btn-outline:hover { border-color: var(--text-main); }

.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}
.site-header .adid-word { color: #FFFFFF; }
.site-header .adid-sub { color: #94A3B8; }
.site-header .adid-logo:hover .adid-sub { color: #FFFFFF; }
.site-header .theme-toggle,
.site-header .menu-toggle { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.22); }
.site-header .theme-toggle:hover,
.site-header .menu-toggle:hover { border-color: #FFFFFF; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* ADID wordmark with a text-cursor "I".
   Everything is sized in em, so the I always matches Jost Bold's capitals:
   cap height 0.70em, vertical stem 0.172em, horizontal stroke 0.152em. */
.adid-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
}
.adid-word {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.adid-cursor-i {
  display: inline-block;
  width: 0.44em;     /* I-beam crossbar width */
  height: 0.7em;     /* = Jost cap height, so it sits flush on the baseline */
  margin: 0 0.075em; /* = Jost's own side bearings for I */
}
.adid-cursor-i svg { display: block; width: 100%; height: 100%; overflow: visible; }
.adid-sub {
  font-size: 0.66em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.adid-logo:hover .adid-sub { color: var(--text-main); }

/* The cursor blinks three times when the page loads, then holds still */
@keyframes adid-blink { 50% { opacity: 0; } }
.motion-ok .site-header .adid-cursor-i { animation: adid-blink 1s steps(1) 0.6s 3; }

.adid-logo-footer { font-size: 22px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--header-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}
.primary-nav a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--volt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
}
.theme-toggle:hover,
.menu-toggle:hover { border-color: var(--text-main); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none !important; }
html[data-theme="dark"] .icon-sun { display: block !important; }
html[data-theme="dark"] .icon-moon { display: none !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* ---------- 6. Hero: big centered headline, the two lanes side by side below ---------- */
.hero-section { padding: 96px 0 104px; }

.hero-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-lede {
  max-width: 740px;
  margin: 32px auto 0;
  font-size: 20px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 88px;
  border-top: 2px solid var(--text-main);
}
.lane { padding-top: 32px; }
.lane-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-primary-text);
}
.lane-label-alt { color: var(--brand-secondary-text); }
.lane h2 { margin-top: 8px; font-size: 26px; }
.lane > p:not(.lane-label) { margin-top: 10px; font-size: 17px; }
.lane .mark-list { margin-top: 16px; }

/* ---------- 7. Methodology: see the A.D.I.D. process map in 16c ---------- */

/* ---------- 8. Money-leak check ---------- */
.leak-calculator {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}
.leak-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.leak-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.leak-item:hover { border-color: var(--text-main); }
.leak-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.leak-item:has(.leak-input:focus-visible) {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
.leak-item:has(.leak-input:checked) {
  border-color: var(--brand-secondary);
  background: var(--brand-secondary-tint);
}
.leak-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.leak-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary-text);
}
.leak-tag-alt { color: var(--brand-secondary-text); }
.leak-box {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--bg-canvas);
}
.leak-item:has(.leak-input:checked) .leak-box {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
.leak-item:has(.leak-input:checked) .leak-box::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid var(--on-secondary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.leak-title { font-size: 17px; font-weight: 600; color: var(--text-main); }
.leak-desc  { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

.leak-readout {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--text-main);
  border-radius: var(--radius);
}
.readout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.readout-head h3 { font-size: 22px; }
.readout-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.count-badge {
  padding: 3px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
}
.count-badge.is-active { border-color: var(--brand-secondary); color: var(--brand-secondary-text); }
.count-badge.is-high   { border-color: var(--brand-primary);  color: var(--brand-primary-text); }

.readout-block {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.leak-range {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--brand-secondary-text);
  line-height: 1.2;
}
.readout-note { margin-top: 8px; font-size: 15px; color: var(--text-muted); }

.flagged-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.flagged-list li:not(.flagged-empty) {
  position: relative;
  padding-left: 16px;
}
.flagged-list li:not(.flagged-empty)::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  background: var(--brand-primary);
}
.flagged-empty { color: var(--text-muted); }

.readout-recommend {
  padding: 16px 18px;
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-primary-tint);
}
.readout-recommend .readout-label { color: var(--brand-primary-text); }
.readout-recommend h3 { margin-top: 4px; font-size: 18px; }
.readout-recommend p { margin-top: 4px; font-size: 15px; }

.fine-print { font-size: 14px; color: var(--text-muted); margin-top: -8px; }
.fine-print a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fine-print a:hover { color: var(--text-main); }

/* ---------- 9. Solution tabs ---------- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-strong);
}
.tab-btn {
  position: relative;
  margin-bottom: -1px;
  padding: 14px 22px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn[aria-selected="true"] { color: var(--text-main); }
.tab-btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: var(--brand-gradient-soft);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  padding: 48px 0 0;
}
.tab-panel[hidden] { display: none; }
.panel-body h3 { font-size: 32px; }
.panel-body > p { margin-top: 16px; font-size: 17px; }
.panel-body .check-list { margin-top: 24px; }
.panel-body .btn { margin-top: 32px; }

.example-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.example-tag {
  font-size: 15px;
  font-style: normal;
  color: var(--text-muted);
}
.example-box {
  padding: 20px 22px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.example-after {
  border-color: var(--brand-secondary);
  background: var(--brand-secondary-tint);
}
.example-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-primary-text);
}
.example-after .example-label { color: var(--brand-secondary-text); }
.example-figure {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}
.example-box p:not(.example-figure) { margin-top: 8px; font-size: 15px; }

/* ---------- 10. Tiers ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
}
.tier-card .btn { margin-top: auto; }
.tier-card .check-list { margin: 24px 0 32px; }
.tier-card:hover { border-color: var(--text-main); }
.tier-featured,
.tier-featured:hover { border: 2px solid var(--brand-secondary); }
.tier-ribbon {
  position: absolute;
  top: -14px;
  left: 26px;
  padding: 3px 14px;
  background: var(--brand-gradient-soft);
  color: var(--on-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.tier-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-primary-text);
}
.tier-card h3 { margin-top: 8px; font-size: 24px; }
.tier-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-main);
}
.price-unit {
  font-size: 15px;
  color: var(--text-muted);
}
.price-unit-strong {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--brand-secondary-tint);
  color: var(--brand-secondary-text);
  font-weight: 600;
}
.tier-monthly { border-top: 3px solid var(--brand-primary); }
.tier-summary {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-muted);
}

/* ---------- 11. Comparison: see the scorecard in 16c ---------- */

/* ---------- 12. FAQ: heading left, plain list on the right ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.faq-layout .section-head { margin-bottom: 0; }
.faq-list { border-top: 2px solid var(--text-main); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item summary {
  position: relative;
  padding: 24px 48px 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
}
.faq-item summary:hover { color: var(--brand-primary-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--brand-primary-text);
}
.faq-item[open] summary::after { content: "\2212"; } /* minus sign */
.faq-item p { padding: 0 48px 26px 0; font-size: 17px; }
.faq-item p a { color: var(--brand-primary-text); text-underline-offset: 3px; }

/* ---------- 13. About ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.person {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.person-photo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
picture.person-photo { display: block; overflow: hidden; box-shadow: 0 0 0 3px var(--bg-card), 0 0 0 5px var(--brand-primary-tint); }
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person-initials {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--navy);
}
.person-initials-alt { background: var(--volt); color: var(--navy); }
.person h3 { font-size: 26px; }
.person-role {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-primary-text);
}
.person-body p:not(.person-role) { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.about-foot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 40px;
  align-items: center;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
}
.about-foot-text { display: grid; gap: 10px; }
.hometown {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--warm-tint);
  border: 1px solid var(--warm-border);
  border-radius: var(--radius);
}
.hometown-pin { flex: none; width: 30px; height: 30px; color: var(--accent-warm); }
.hometown-place { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--text-main); line-height: 1.2; }
.hometown-time { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--accent-warm-text); font-variant-numeric: tabular-nums; }
.hometown-note { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.about-foot a { color: var(--text-main); text-decoration-color: var(--brand-primary); text-underline-offset: 3px; }

/* ---------- 14. Footer ---------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
  color: var(--text-muted);
}
.footer-bridge { display: flex; justify-content: center; margin-bottom: 28px; color: var(--border-strong); }
.footer-bridge svg { width: 240px; height: auto; }
html[data-theme="dark"] .footer-bridge { color: var(--border-strong); }
.footer-tagline { font-family: var(--font-display); color: var(--text-main); font-weight: 600; }
.site-footer a { color: var(--text-main); text-decoration-color: var(--brand-primary); text-underline-offset: 3px; }

/* ---------- 15. Booking modal ---------- */
.modal {
  width: min(560px, calc(100% - 32px));
  max-height: 92vh;
  margin: auto;
  padding: 40px 32px 32px;
  background: var(--bg-card);
  color: var(--text-body);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius);
  overflow-y: auto;
}
.modal::backdrop { background: rgba(2, 6, 23, 0.75); }
.modal h2 { font-size: 28px; }
.modal-lede { margin-top: 8px; font-size: 16px; color: var(--text-muted); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--text-main); border-color: var(--border-strong); }
.modal-close svg { width: 18px; height: 18px; }

.booking-form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}
.field .optional { font-weight: 400; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px var(--brand-primary);
}
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  padding: 10px 12px;
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-primary-tint);
  color: var(--text-main);
  font-size: 15px;
}

.result-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--brand-secondary);
  color: var(--on-secondary);
  border-radius: 999px;
}
.result-icon svg { width: 28px; height: 28px; }
#bookingResultView { text-align: center; }
.result-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

body.modal-open { overflow: hidden; }

/* ---------- 16. 404 ---------- */
.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 80px 32px;
}
.not-found h1 { font-size: 52px; }

/* ---------- 16b. Interactive pieces ----------
   Motion only runs when JS adds .motion-ok to <html> (it skips that for
   visitors with "reduce motion" on). Without it, everything shows in its
   finished state. */

/* Fast facts under the hero buttons */
.fast-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.fast-facts li {
  padding: 18px 12px;
  text-align: center;
}
.fast-facts li + li { border-left: 1px solid var(--border-color); }
.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums;
}
.fact-label {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.35;
}
.fact-link a {
  display: block;
  margin: -18px -12px;
  padding: 18px 12px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.fact-link .fact-value { color: var(--brand-primary-text); }
.fact-link .fact-label { color: var(--brand-primary-text); font-weight: 600; }
.fact-link a:hover { background: var(--brand-primary-tint); }

/* "Which sounds like you?" picker */
.path-picker {
  margin-top: 72px;
  text-align: center;
}
.path-question {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
}
.path-options {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.path-btn {
  padding: 12px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.path-btn:hover { border-color: var(--text-main); }
.path-btn[aria-pressed="true"] {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--navy);
  box-shadow: var(--brand-glow);
}
.path-note {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
}
.path-picker + .lane-grid { margin-top: 32px; }

/* Picked lane stands out, the other steps back */
.lane { transition: opacity 0.25s ease; }
.lane-grid.has-pick .lane { opacity: 0.45; }
.lane-grid.has-pick .lane.is-picked { opacity: 1; }
.lane.is-picked h2 { color: var(--text-main); }
.lane.is-picked .lane-label::after {
  content: "\2713\00a0 This is you";
  margin-left: 10px;
  color: var(--brand-secondary-text);
}

/* Tier that fits the chosen path */
.tier-fit {
  display: none;
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-secondary);
  color: var(--on-secondary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.tier-card.is-fit .tier-fit { display: block; }
.tier-card.is-fit { box-shadow: 0 0 0 3px var(--brand-secondary-tint); }

/* Before / after bar charts */
.ba-chart {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.ba-title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}
.ba-title span { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--text-muted); }
.ba-title-2 { margin-top: 24px; }
.ba-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
}
.ba-row + .ba-row { margin-top: 10px; }
.ba-label { font-size: 15px; color: var(--text-muted); }
.ba-track {
  position: relative;
  height: 28px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ba-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: var(--radius-sm);
}
.ba-before { background: var(--border-strong); }
.ba-after  { background: var(--brand-gradient); }
.ba-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
.ba-note { margin-top: 18px; font-size: 15px; }

.motion-ok .ba-bar {
  width: 0;
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion-ok .ba-after { transition-delay: 0.25s; }
.motion-ok .ba-chart.is-drawn .ba-bar { width: var(--w); }

/* Sticky booking bar (phones only) */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg-canvas);
    border-top: 1px solid var(--border-strong);
    border-top: 1px solid var(--border-color);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta.is-shown { transform: translateY(0); }
  .mobile-cta-text { font-size: 15px; color: var(--text-body); }
  body { padding-bottom: 72px; }
}

/* ---------- 16c. First-impression pieces ---------- */

/* Header scroll progress */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brand-gradient-soft);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Anthony's soft glow behind the hero */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -160px;
  width: 1100px;
  height: 760px;
  margin-left: -550px;
  background:
    radial-gradient(closest-side at 32% 40%, var(--glow-a), transparent),
    radial-gradient(closest-side at 70% 48%, var(--glow-b), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.motion-ok .hero-section::before { animation: glow-drift 18s ease-in-out infinite alternate; }
@keyframes glow-drift {
  from { transform: translate3d(-40px, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 24px, 0) scale(1.08); }
}

/* Living gradient on the main buttons, plus a sheen on hover */
.btn-primary,
.btn-accent { position: relative; overflow: hidden; }

@keyframes btn-drift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.btn-primary::after,
.btn-accent::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.motion-ok .btn-primary:hover::after,
.motion-ok .btn-accent:hover::after {
  left: 140%;
  transition: left 0.7s ease;
}

/* ---------- A.D.I.D. process map: two phases, four steps ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: stretch;
}
.phase {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}
.phase-head {
  position: relative;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border-color);
}
/* Colored rule across the top of each phase; draws in once on scroll */
.phase-head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--brand-primary);
  transform-origin: left center;
}
.phase-sprint .phase-head::before { background: var(--brand-secondary); }
.motion-ok .process .phase-head::before {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.3, 0.6, 0.2, 1);
}
.motion-ok .process.is-drawn .phase-head::before { transform: scaleX(1); }
.motion-ok .process.is-drawn .phase-sprint .phase-head::before { transition-delay: 0.6s; }

.phase-name { font-size: 24px; }
.phase-meta {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary-text);
}
.phase-sprint .phase-meta { color: var(--brand-secondary-text); }

.phase-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.pstep {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.pstep + .pstep { border-left: 1px solid var(--border-color); }
.pstep-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand-primary-tint);
  border: 1px solid var(--brand-primary-border);
  color: var(--brand-primary-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.phase-sprint .pstep-letter {
  background: var(--brand-secondary-tint);
  border-color: var(--brand-secondary-border);
  color: var(--brand-secondary-text);
}
.pstep h4 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
}
.pstep p { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.pstep .pstep-get {
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}
.pstep-get strong { color: var(--text-main); }

/* The decision point between the phases */
.phase-handoff {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phase-handoff::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 2px dashed var(--border-strong);
}
.phase-handoff span {
  position: relative;
  padding: 6px 4px;
  background: var(--panel-solid);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.02em;
}

.process-note {
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .phase-handoff { height: 56px; }
  .phase-handoff::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--border-strong); }
  .phase-handoff span { writing-mode: horizontal-tb; transform: none; padding: 4px 10px; }
}
@media (max-width: 640px) {
  .phase-steps { grid-template-columns: 1fr; }
  .pstep + .pstep { border-left: 0; border-top: 1px solid var(--border-color); }
  .phase-head, .pstep { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Comparison scorecard ---------- */
.scorecard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  padding-top: 14px;
}
.score-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.score-card h3 { font-size: 23px; }
.score-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.score-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-body);
}
.score-word { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.score {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}
.score-yes { background: var(--text-muted); border-color: var(--text-muted); }
.score-yes::after {
  content: "";
  position: absolute;
  left: 7px; top: 3px;
  width: 6px; height: 11px;
  border: solid var(--bg-card);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.score-part {
  border-color: var(--text-muted);
  background: linear-gradient(90deg, var(--text-muted) 50%, transparent 50%);
}
.score-no::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 10px;
  height: 2px;
  background: var(--border-strong);
}
.score-verdict {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--text-muted);
}

.score-card-adid {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--score-border, linear-gradient(var(--navy), var(--navy))) border-box;
  box-shadow: var(--brand-glow);
  transform: translateY(-14px);
}
.score-card-adid .score-list li { color: var(--text-main); font-weight: 500; }
.score-card-adid .score-word { color: var(--brand-secondary-text); }
.score-card-adid .score-yes { background: var(--brand-gradient); border-color: transparent; }
.score-card-adid .score-verdict { color: var(--text-main); font-weight: 600; }
.score-ribbon {
  position: absolute;
  top: -14px;
  left: 26px;
  padding: 3px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-soft);
  color: var(--on-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.motion-ok .score-card-adid .score {
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.motion-ok .score-card-adid.is-drawn .score { transform: scale(1); }
.motion-ok .score-card-adid.is-drawn li:nth-child(2) .score { transition-delay: 0.15s; }
.motion-ok .score-card-adid.is-drawn li:nth-child(3) .score { transition-delay: 0.3s; }
.motion-ok .score-card-adid.is-drawn li:nth-child(4) .score { transition-delay: 0.45s; }
.motion-ok .score-card-adid.is-drawn li:nth-child(5) .score { transition-delay: 0.6s; }

@media (max-width: 960px) {
  .scorecard { grid-template-columns: 1fr; gap: 28px; }
  .score-card-adid { order: -1; transform: none; }
}
@media (max-width: 640px) {
  .hero-section::before { width: 700px; margin-left: -350px; top: -120px; }
}

/* ---------- 16d. Gradient sections (same technique as gosimo.ai) ---------- */
/* A big rounded 135-degree gradient panel used as a stage */
:root { --stage-gradient: linear-gradient(135deg, #0B1B2B 0%, #0B1B2B 100%); }


/* Closing call-to-action band */
.cta-band-wrap { padding: 48px 0 104px; }
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 72px 56px;
  border-radius: 28px;
  background: var(--stage-gradient);
  color: #FFFFFF;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 46px;
  font-weight: 700;
  text-wrap: balance;
}
.cta-band p {
  position: relative;
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn-light {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--navy);
}
.btn-light:hover { background: #FFFFFF; filter: brightness(0.97); }
.cta-band .btn-light { background: var(--volt); border-color: var(--volt); }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
}
.btn-ghost-light:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }

@media (max-width: 640px) {
  .cta-band-wrap { padding: 24px 0 64px; }
  .cta-band { padding: 48px 22px; border-radius: 20px; }
  .cta-band h2 { font-size: 30px; }
  .cta-band p { font-size: 17px; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- 17. Responsive: tablet (960px) ---------- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }

  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 17px;
  }
  .primary-nav a:last-child { border-bottom: 0; }

  .hero-section { padding: 72px 0 80px; }
  .hero-copy h1 { font-size: 58px; }
  .lane-grid { grid-template-columns: 1fr; gap: 0; margin-top: 64px; }
  .lane + .lane { margin-top: 32px; border-top: 1px solid var(--border-color); }
  .section { padding: 80px 0; }
  .section-head h2,

  .leak-calculator,
  .tab-panel,
  .tier-grid,
  .faq-layout,
  .team-grid { grid-template-columns: 1fr; }
  .about-foot { grid-template-columns: 1fr; }

  .faq-layout,
  .person { flex-direction: column; gap: 16px; padding: 22px; }
  .person-photo { width: 72px; height: 72px; }
  .person-initials { font-size: 30px; }
  .leak-readout { position: static; }
  .tab-panel { gap: 36px; }
  .tier-grid { gap: 32px; }
}

/* ---------- 18. Responsive: phone (640px) ---------- */
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .container { padding: 0 18px; }

  .site-header .adid-logo { font-size: 22px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 14px; }

  .hero-section { padding: 40px 0 64px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-lede { margin-top: 24px; }
  .hero-lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2,
  .section-head p,

  .leak-grid,
  .form-row { grid-template-columns: 1fr; }

  .tab-bar { flex-direction: column; border-bottom: 0; }
  .tab-btn {
    text-align: left;
    padding: 12px 0 12px 14px;
    border-bottom: 0;
    border-left: 3px solid var(--border-color);
    margin-bottom: 0;
  }
  .tab-btn[aria-selected="true"] { border-left-color: transparent; }
  .tab-btn[aria-selected="true"]::after {
    left: -3px; right: auto; top: 0; bottom: 0;
    width: 3px; height: auto;
    background: var(--volt);
  }
  .tab-panel { padding-top: 32px; }
  .panel-body h3 { font-size: 26px; }
  .panel-body .btn { width: 100%; }

  .leak-readout { padding: 22px; }
  .leak-range { font-size: 28px; }
  .faq-item summary { font-size: 18px; }
  .faq-item p { padding-right: 0; }

  .modal { padding: 36px 20px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Very narrow phones: the red mark carries the name */
@media (max-width: 400px) {
  .site-header .adid-sub { display: none; }
}

/* Interactive pieces on smaller screens */
@media (max-width: 640px) {
  .fast-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .fast-facts li:nth-child(3) { border-left: 0; }
  .fast-facts li:nth-child(n+3) { border-top: 1px solid var(--border-color); }
  .fact-value { font-size: 24px; }
  .path-picker { margin-top: 48px; }
  .path-options { display: grid; width: 100%; }
  .ba-chart { padding: 18px; }
  .ba-row { grid-template-columns: 84px minmax(0, 1fr) 56px; gap: 8px; }
  .tier-fit { right: 14px; }
}

/* Section panels on smaller screens */
@media (max-width: 960px) {
  .section-alt { padding: 20px 0; }
  .section-alt > .container { width: calc(100% - 32px); padding: 64px 36px; }
}
@media (max-width: 640px) {
  .section-alt { padding: 12px 0; }
  .section-alt > .container { width: calc(100% - 16px); padding: 48px 18px; border-radius: 20px; }
}

/* Volt palette: the ADID card border glows volt on dark, the footer logo's I is navy on white */
html[data-theme="dark"] .score-card-adid { --score-border: linear-gradient(var(--volt), var(--volt)); }
.site-footer { --logo-top: var(--navy); --logo-bottom: var(--navy); }
html[data-theme="dark"] .site-footer { --logo-top: var(--volt); --logo-bottom: var(--volt); }

/* A navy panel mid-page (How we compare) breaks up the white */
.section-navy > .container { background: var(--navy-panel); border-color: var(--navy-panel); }
.section-navy .section-head h2 { color: #FFFFFF; }
.section-navy .section-head p { color: #CBD5E1; }
.score-card-adid { --score-border: linear-gradient(var(--volt), var(--volt)); }

/* Night ride: the hero sits on a navy panel with long-exposure light trails */
.hero-section { padding-top: 24px; }
.hero-section::before { display: none; }
.hero-copy { max-width: none; }
.night-ride {
  position: relative;
  padding: 112px 48px 120px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 66% 48% at 50% 44%, rgba(11, 27, 43, 0.94) 0%, rgba(11, 27, 43, 0.72) 50%, rgba(11, 27, 43, 0) 100%),
    var(--navy-panel) url("./img/trails.svg") center / cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}
.night-ride h1 { max-width: 1000px; margin: 0 auto; color: #FFFFFF; }
.night-ride .hero-lede { color: #CBD5E1; }
.night-ride .btn-outline { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); background: rgba(11, 27, 43, 0.35); }
.night-ride .btn-outline:hover { border-color: #FFFFFF; }
.cta-band {
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(11, 27, 43, 0.9) 0%, rgba(11, 27, 43, 0.65) 50%, rgba(11, 27, 43, 0) 100%),
    var(--navy-panel) url("./img/trails.svg") center / cover no-repeat;
}
.cta-band::before, .cta-band::after { opacity: 0.4; }
@media (max-width: 960px) {
  .night-ride { padding: 80px 28px 88px; }
}
@media (max-width: 640px) {
  .hero-section { padding-top: 12px; }
  .night-ride {
    padding: 56px 18px 56px;
    border-radius: 20px;
    background:
      radial-gradient(ellipse 120% 52% at 50% 46%, rgba(11, 27, 43, 0.95) 0%, rgba(11, 27, 43, 0.8) 55%, rgba(11, 27, 43, 0) 100%),
      var(--navy-panel) url("./img/trails.svg") 30% 100% / auto 70% no-repeat;
  }
}

/* Light mode panels: Ninja green instead of gray */
html:not([data-theme="dark"]) .section-alt:not(.section-navy) > .container {
  background: #E2F4D6;
  border-color: #B5E09A;
  --text-muted: #46566A;
  --border-color: #CDE9BA;
}
html:not([data-theme="dark"]) .section-alt:not(.section-navy) .section-head h2::before { background: var(--navy); }

/* Dark mode: every button and accent fill is Volt (green is light mode only) */
html[data-theme="dark"] {
  --brand-gradient: linear-gradient(90deg, #D4FF3A 0%, #D4FF3A 100%);
  --brand-gradient-soft: linear-gradient(90deg, #D4FF3A 0%, #D4FF3A 100%);
}

/* ---------- Life: tool strip ---------- */
.tool-strip { margin: 56px auto 0; max-width: 980px; text-align: center; }
.tool-strip-label { font-size: 15px; color: var(--text-muted); }
.tool-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.tool-list li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-muted); transition: color 0.2s ease; }
.tool-list li:hover { color: var(--text-main); }
.tool-list svg { width: 22px; height: 22px; flex: none; }

/* ---------- Life: leak-check speedometer ---------- */
.gauge { max-width: 260px; margin: 2px auto 10px; --v: 0; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge-track, .gauge-fill { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge-track { stroke: var(--border-color); }
.gauge-fill { stroke: var(--volt); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v) * 100); }
.gauge-ticks line { stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; }
.gauge-ticks line.redline { stroke: var(--navy); stroke-width: 3.5; }
html[data-theme="dark"] .gauge-ticks line.redline { stroke: var(--volt); }
.gauge-needle { transform-origin: 120px 120px; transform: rotate(calc(-90deg + var(--v) * 180deg)); }
.gauge-needle line { stroke: var(--text-main); stroke-width: 4; stroke-linecap: round; }
.gauge-needle circle { fill: var(--text-main); }
.gauge-end { font-size: 11px; fill: var(--text-muted); font-family: var(--font-body); }
.motion-ok .gauge-fill { transition: stroke-dashoffset 0.7s cubic-bezier(.2, .9, .3, 1.15); }
.motion-ok .gauge-needle { transition: transform 0.7s cubic-bezier(.2, .9, .3, 1.25); }

/* ---------- Life: solution mini demos ---------- */
.mini-demo { border-radius: var(--radius); border: 1px solid var(--border-color); background: var(--bg-card); min-width: 0; }
.example-col { min-width: 0; }
.md-caption { margin-top: 12px; font-size: 15px; color: var(--text-muted); }

.demo-code { background: #0A0F14; border-color: #1E2935; overflow: hidden; }
.md-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #1E2935; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; color: #94A3B8; }
.md-tag { font-family: var(--font-display); font-weight: 600; color: var(--navy); background: var(--volt); padding: 2px 10px; border-radius: var(--radius-sm); }
.demo-code pre { margin: 0; padding: 16px; overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.75; }
.demo-code code { white-space: normal; }
.demo-code .ln { display: block; white-space: pre; }
.demo-code .del { color: #64748B; text-decoration: line-through; text-decoration-color: #94A3B8; }
.demo-code .add { color: #E2E8F0; background: rgba(102, 204, 51, 0.14); box-shadow: inset 3px 0 0 var(--volt); }
html[data-theme="dark"] .demo-code .add { background: rgba(212, 255, 58, 0.10); }
.motion-ok .demo-code .del { text-decoration-color: transparent; color: #CBD5E1; transition: color 0.4s ease, text-decoration-color 0.4s ease; }
.motion-ok .demo-code .add { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.motion-ok .demo-code.is-drawn .del { color: #64748B; text-decoration-color: #94A3B8; transition-delay: 0.3s; }
.motion-ok .demo-code.is-drawn .del + .del { transition-delay: 0.5s; }
.motion-ok .demo-code.is-drawn .add { opacity: 1; transform: none; }
.motion-ok .demo-code.is-drawn .add:nth-child(3) { transition-delay: 0.9s; }
.motion-ok .demo-code.is-drawn .add:nth-child(4) { transition-delay: 1.1s; }
.motion-ok .demo-code.is-drawn .add:nth-child(5) { transition-delay: 1.3s; }
.motion-ok .demo-code.is-drawn .add:nth-child(6) { transition-delay: 1.5s; }

.demo-timeline { list-style: none; margin: 0; padding: 22px 22px 22px 20px; position: relative; }
.demo-timeline li { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: baseline; gap: 4px 12px; padding: 10px 0; }
.demo-timeline li + li::before { content: ""; position: absolute; left: 7px; top: -12px; height: 26px; width: 2px; background: var(--border-strong); }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--border-strong); background: var(--bg-card); align-self: center; }
.tl-fail .tl-dot { border-color: var(--text-muted); background: var(--text-muted); }
.tl-win .tl-dot { border-color: var(--volt); background: var(--volt); }
.demo-timeline strong { font-family: var(--font-display); font-weight: 600; color: var(--text-main); }
.demo-timeline li span:last-child { font-size: 14px; color: var(--text-muted); }
.tl-win strong { color: var(--brand-secondary-text); }
.motion-ok .demo-timeline li { opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.motion-ok .demo-timeline.is-drawn li { opacity: 1; transform: none; }
.motion-ok .demo-timeline.is-drawn li:nth-child(2) { transition-delay: 0.45s; }
.motion-ok .demo-timeline.is-drawn li:nth-child(3) { transition-delay: 0.9s; }
.motion-ok .demo-timeline.is-drawn li:nth-child(4) { transition-delay: 1.35s; }

.demo-funnel { padding: 20px 22px; display: grid; gap: 14px; }
.fn-legend { display: flex; gap: 18px; font-size: 14px; color: var(--text-muted); }
.fn-key::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.fn-key-before::before { background: var(--border-strong); }
.fn-key-after::before { background: var(--volt); }
.fn-row { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 12px; }
.fn-label { font-size: 15px; color: var(--text-body); }
.fn-bars { display: grid; gap: 4px; }
.fn-bar { display: block; height: 10px; border-radius: 3px; width: var(--w); }
.fn-before { background: var(--border-strong); }
.fn-after { background: var(--volt); }
.motion-ok .demo-funnel .fn-after { width: 0; transition: width 0.9s cubic-bezier(.2, .8, .2, 1); }
.motion-ok .demo-funnel.is-drawn .fn-after { width: var(--w); }
.motion-ok .demo-funnel.is-drawn .fn-row:nth-child(3) .fn-after { transition-delay: 0.15s; }
.motion-ok .demo-funnel.is-drawn .fn-row:nth-child(4) .fn-after { transition-delay: 0.3s; }
.motion-ok .demo-funnel.is-drawn .fn-row:nth-child(5) .fn-after { transition-delay: 0.45s; }
@media (max-width: 640px) {
  .fn-row { grid-template-columns: 96px 1fr; }
  .demo-code pre { font-size: 12px; }
  .tool-list { gap: 12px 22px; }
}

/* Flow reorder (Nov 13): quick facts sit above the tiers, tools strip closes the fixes section */
.fast-facts-tiers { max-width: none; margin: 0 0 40px; }
@media (max-width: 640px) {
  .fast-facts-tiers { margin-bottom: 32px; }
}

/* "Feels alive" pass (Nov 13): chips, platform wall, scroll reveals */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chip-list li {
  padding: 5px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-card);
}
.platforms {
  margin-top: 32px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.platforms-title { font-size: 24px; }
.platforms-sub { margin-top: 6px; font-size: 16px; color: var(--text-muted); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s ease;
}
.platform svg { width: 30px; height: 30px; margin-bottom: 8px; color: var(--text-main); transition: color 0.2s ease; }
.platform-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-main); line-height: 1.2; }
.platform-tag { font-size: 13px; color: var(--text-muted); line-height: 1.3; }
.platform:hover { border-color: var(--volt); }
.platform:hover svg { color: var(--brand-primary-text); }
html:not([data-theme="dark"]) .platform:hover svg { color: #2F6B12; }
@media (max-width: 1100px) { .platform-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) { .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .platforms { padding: 24px 16px; }
  .platform-grid { gap: 8px; }
  .platform { padding: 14px 4px 12px; }
  .platform svg { width: 26px; height: 26px; }
  .platform-name { font-size: 14px; }
  .platform-tag { font-size: 12px; }
}

/* Scroll reveal: only when JS adds .motion-ok (skipped for reduced motion) */
.motion-ok .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--rv-i, 0) * 70ms);
}
.motion-ok .rv.is-in { opacity: 1; transform: none; }
.motion-ok .section-head.rv h2::before { transform: scaleX(0); transform-origin: left center; transition: transform 0.6s ease 0.2s; }
.motion-ok .section-head.rv.is-in h2::before { transform: scaleX(1); }

/* Leak cards are titles only now, so let them fill the height beside the readout */
@media (min-width: 961px) {
  .leak-calculator { align-items: stretch; }
  .leak-grid { grid-auto-rows: 1fr; }
  .leak-item { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
  .leak-title { font-size: 20px; line-height: 1.25; }
}
/* Phones: compact two-column platform tiles, icon beside the name */
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 12px;
    text-align: left;
  }
  .platform svg { grid-row: 1 / span 2; margin: 0; }
  .platform-name, .platform-tag { grid-column: 2; }
}

/* Full tool list behind a disclosure, grouped as chips */
.tool-more { margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 18px; }
.tool-more summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
}
.tool-more summary::-webkit-details-marker { display: none; }
.tool-more summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
}
.tool-more[open] summary::before { content: "\2212"; }
.tool-more summary:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 4px; border-radius: 4px; }
.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 22px;
}
.tool-group h4 { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.tool-group .chip-list { margin-top: 10px; gap: 6px; }
.tool-group .chip-list li { font-size: 13px; padding: 4px 10px; }
.platforms-note { margin-top: 20px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 960px) { .tool-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tool-groups { grid-template-columns: 1fr; gap: 18px; } }

/* "Always learning" strip: tools on the crash-course list, shown as dashed chips */
.tool-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.tool-next-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text-main); }
.chip-list-next { margin: 0; gap: 6px; }
.chip-list-next li { font-size: 13px; padding: 4px 10px; border-style: dashed; color: var(--text-muted); background: transparent; }

/* Path picker v2 (Nov 13): the lane cards are the choice, and picking one
   opens a three-step "your path" strip right under them */
.path-picker { margin-top: 72px; text-align: left; }
.path-question { text-align: center; font-size: 30px; }
.path-hint { margin-top: 6px; text-align: center; font-size: 17px; color: var(--text-muted); }
.path-picker .lane-grid {
  margin-top: 32px;
  gap: 20px;
  border-top: 0;
}
.path-picker .lane {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.25s ease;
}
.path-picker .lane:hover { border-color: var(--text-main); }
.path-picker .lane .mark-list { flex: 1; }
.path-picker .lane.is-picked { border-color: var(--volt); }
.path-picker .lane.is-picked .lane-label::after { content: none; }
.lane-grid.has-pick .lane:not(.is-picked) { opacity: 0.5; }
.path-picker .lane .path-btn {
  align-self: flex-start;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
}
.path-picker .lane .path-btn[aria-pressed="true"] { background: var(--volt); border-color: var(--volt); color: var(--navy); box-shadow: none; }

.path-result { margin-top: 20px; }
.motion-ok .path-result { opacity: 0; transform: translateY(-8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.motion-ok .path-result.is-open { opacity: 1; transform: none; }
.path-result-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-main); }
.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.path-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  height: 100%;
  padding: 18px;
  background: var(--navy-panel);
  border-radius: 12px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.path-step:hover { transform: translateY(-2px); }
.path-step:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.path-step-num {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}
.path-step-head { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.path-step-head::after { content: " \2192"; color: var(--volt); }
.path-step-text { font-size: 15px; line-height: 1.45; color: #CBD5E1; }
@media (max-width: 960px) {
  .path-picker .lane-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .path-picker .lane + .lane { margin-top: 0; }
  .path-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .path-picker { margin-top: 48px; }
  .path-question { font-size: 26px; }
  .path-picker .lane { padding: 22px 18px; }
}

/* Pricing path (Nov 14): Find it. Fix it. Keep it. Option rows inside a step card */
.tier-card .tier-summary { margin-top: 12px; }
.tier-options {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.tier-options li {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
}
.tier-options li:last-child { border-bottom: 1px solid var(--border-color); }
.opt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.opt-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
}
.opt-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.opt-unit { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.opt-desc { font-size: 15px; color: var(--text-body); line-height: 1.5; }
.tier-monthly .tier-summary { margin: -12px 0 24px; }

