/* ═══════════════════════════════════════════════════════
   KEXBI MAIN SITE — SHARED STYLESHEET
   Extracted from inline styles, cleaned, extended.
   ═══════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ═══ DESIGN SYSTEM TOKENS ═══ */

  /* ─── DARK SURFACES ─── */
  --surface-0: #000000;
  --surface-1: #0A0A0A;
  --surface-2: #121212;

  /* ─── LIGHT SURFACES ─── */
  --surface-light-1: #FAFBFC;
  --surface-light-2: #FFFFFF;
  --surface-light-3: #F3F4F6;

  /* ─── DARK TEXT ─── */
  --text-primary:   #FFFFFF;
  --text-secondary:  #A6A6A6;
  --text-tertiary:   #6F6F6F;

  /* ─── LIGHT TEXT ─── */
  --text-light-primary:   #111315;
  --text-light-secondary: #4D5450;
  --text-light-tertiary:  #7A817C;

  /* ─── BORDERS ─── */
  --border-subtle:       #2A2F36;
  --border-light-subtle: #E5E7EB;

  /* ─── ACCENTS ─── */
  --accent-primary: #00F5D4;
  --accent-alert:   #FB5607;

  /* ─── SPACING SCALE ─── */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* ═══ LEGACY ALIASES (backwards compat) ═══ */
  --teal:    var(--accent-primary);
  --black:   var(--surface-0);
  --danger:  var(--accent-alert);

  --teal-dim:  #00C4AC;
  --teal-wash: rgba(0,245,212,0.06);
  --teal-line: rgba(0,245,212,0.18);
  --teal-glow: rgba(0,245,212,0.25);
  --glow-teal: 0 0 0 1px rgba(0,245,212,0.2), 0 0 12px rgba(0,245,212,0.06);

  --ink:     var(--text-primary);
  --ink-dim: var(--text-secondary);
  --faint:   var(--text-tertiary);
  --card:    var(--surface-1);
  --card-2:  var(--surface-2);
  --lift:    var(--surface-1);
  --paper:   var(--surface-light-2);
  --stone:   var(--surface-light-3);
  --paper-ink:    var(--text-light-primary);
  --paper-dim:    var(--text-light-secondary);
  --paper-faint:  var(--text-light-tertiary);
  --paper-border: var(--border-light-subtle);
  --paper-card:   var(--surface-light-3);
  --border:  var(--border-subtle);
  --border-strong: var(--border-subtle);
  --border-light-strong: var(--border-light-subtle);
  --accent-warning: #FFBE0B;
  --accent-theory:  #8338EC;
  --accent-info:    #3A86FF;

  /* ─── TYPOGRAPHY ─── */
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --font-data: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --t-display: 44px;
  --t-title:   22px;
  --t-row:     17px;
  --t-body:    15px;
  --t-label:   11px;
  --track-label:   0.08em;
  --track-divider: 0.08em;

  /* ─── RADII ─── */
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
}

html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--black); color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: var(--teal); text-decoration: none; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: var(--space-9) 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.section.tight { padding: var(--space-8) 0; }
.section.first { border-top: 0; padding-top: 40px; }

/* ─── GOVERNED SECTION MODES ─── */

/* Dark (default) */
.section--dark     { background: var(--surface-0); color: var(--text-primary); }
.section--dark-alt { background: var(--surface-1); color: var(--text-primary); }

/* Light */
.section--light { background: var(--surface-light-1); color: var(--text-light-primary); border-top: 0; }
.section--paper { background: var(--surface-light-2); color: var(--text-light-primary); border-top: 0; }

/* Legacy aliases — map old classes to new tokens */
.section.bg-lift  { background: var(--surface-1); border-top: 0; }
.section.bg-paper { background: var(--surface-light-2); border-top: 0; }
.section.bg-stone { background: var(--surface-light-3); border-top: 0; }

/* ─── LIGHT SECTION: TEXT ─── */
.section--light, .section--paper,
.section.bg-paper, .section.bg-stone { color: var(--text-light-primary); }

.section--light h1, .section--light h2, .section--light h3, .section--light h4,
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4,
.section.bg-paper h1, .section.bg-paper h2, .section.bg-paper h3, .section.bg-paper h4,
.section.bg-stone h1, .section.bg-stone h2, .section.bg-stone h3, .section.bg-stone h4 { color: var(--text-light-primary); }

.section--light p, .section--paper p,
.section.bg-paper p, .section.bg-stone p { color: var(--text-light-secondary); }

.section--light p strong, .section--light li strong,
.section--paper p strong, .section--paper li strong,
.section.bg-paper p strong, .section.bg-paper li strong,
.section.bg-stone p strong, .section.bg-stone li strong { color: var(--text-light-primary); }

.section--light .muted, .section--paper .muted,
.section.bg-paper .muted, .section.bg-stone .muted { color: var(--text-light-secondary); }

.section--light .faint, .section--paper .faint,
.section.bg-paper .faint, .section.bg-stone .faint { color: var(--text-light-tertiary); }

.section--light .label, .section--paper .label,
.section.bg-paper .label, .section.bg-stone .label { color: var(--text-light-tertiary); }

/* ─── LIGHT SECTION: EYEBROW ─── */
.section--light .eyebrow, .section--paper .eyebrow,
.section.bg-paper .eyebrow, .section.bg-stone .eyebrow {
  color: rgba(0,0,0,0.70);
  border: none;
  background: transparent;
}

/* ─── LIGHT SECTION: BUTTONS ─── */
.section--light .cta, .section--paper .cta,
.section.bg-paper .cta, .section.bg-stone .cta { background: #000; color: #fff; border-color: #000; }
.section--light .cta:hover, .section--paper .cta:hover,
.section.bg-paper .cta:hover, .section.bg-stone .cta:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

.section--light .cta.ghost, .section--paper .cta.ghost,
.section.bg-paper .cta.ghost, .section.bg-stone .cta.ghost { background: transparent; color: var(--text-light-primary); border: 1px solid var(--border-light-strong); }
.section--light .cta.ghost:hover, .section--paper .cta.ghost:hover,
.section.bg-paper .cta.ghost:hover, .section.bg-stone .cta.ghost:hover { background: rgba(0,0,0,0.04); box-shadow: none; }

.section--light .cta.teal-fill, .section--paper .cta.teal-fill,
.section.bg-paper .cta.teal-fill, .section.bg-stone .cta.teal-fill { background: #00D9B1; color: #000; border-color: #00D9B1; font-weight: 600; }
.section--light .cta.teal-fill:hover, .section--paper .cta.teal-fill:hover,
.section.bg-paper .cta.teal-fill:hover, .section.bg-stone .cta.teal-fill:hover { transform: translateY(-1px); box-shadow: none; }

/* ─── LIGHT SECTION: CARDS & COMPONENTS ─── */
.section--light .filter-card, .section--paper .filter-card,
.section.bg-paper .filter-card { background: var(--surface-light-3); }
.section--light .cohort-callout, .section--paper .cohort-callout,
.section.bg-paper .cohort-callout { background: var(--surface-light-3); }
.section--light .founder, .section--paper .founder,
.section.bg-paper .founder { background: var(--surface-light-3); }
.section.bg-paper .founder p { color: var(--text-light-secondary) !important; }
.section.bg-paper .founder p:first-child { color: var(--text-light-primary) !important; }
.section.bg-paper .founder .sig { color: var(--text-light-primary); }
.section.bg-paper .filter-card h3 { color: var(--text-light-primary); }
.section.bg-paper .filter-card li { color: var(--text-light-secondary); border-top-color: var(--border-light-subtle); }
.section.bg-paper .persona-tag { color: var(--text-light-tertiary); border-top-color: var(--border-light-subtle); }
.section.bg-paper .bullet { color: var(--teal-dim); }
.section.bg-paper .filter-card.not .bullet { color: var(--danger); }

/* ─── LIGHT SECTION: TEAM ─── */
.section.bg-paper .team-grid { background: var(--surface-light-3); }
.section.bg-paper .team-tile { background: var(--surface-light-3); border-right-color: var(--border-light-subtle); border-bottom-color: var(--border-light-subtle); }
.section.bg-paper .team-tile .team-line { color: var(--text-light-secondary); }
.section.bg-paper .team-intro { color: var(--text-light-secondary); }
.section.bg-paper .team-footnote { color: var(--text-light-secondary); }
.section.bg-paper .team-close { color: var(--text-light-primary); }
.section.bg-paper .connects-label { color: var(--text-light-secondary); }
.section.bg-paper .connects-logos .conn-badge { color: var(--text-light-primary); }

/* ─── LIGHT SECTION: FAQ ─── */
.section--light .faq-item, .section.bg-stone .faq-item { border-bottom-color: var(--border-light-subtle); }
.section--light .faq-item:first-child, .section.bg-stone .faq-item:first-child { border-top-color: var(--border-light-subtle); }
.section--light .faq-q h3, .section.bg-stone .faq-q h3 { color: var(--text-light-primary); }
.section--light .faq-q .faq-arrow, .section.bg-stone .faq-q .faq-arrow { color: var(--text-light-tertiary); }
.section--light .faq-a p, .section.bg-stone .faq-a p { color: var(--text-light-secondary); }

/* ─── LIGHT SECTION: Q LIST ─── */
.section--light .q-list, .section.bg-stone .q-list { border-top-color: var(--border-light-subtle); }
.section--light .q-list li, .section.bg-stone .q-list li { color: var(--text-light-primary); border-bottom-color: var(--border-light-subtle); border-left-color: var(--border-light-subtle); }

/* ─── LIGHT SECTION: GALLERY ─── */
.section--light .app-gallery-card img, .section.bg-paper .app-gallery-card img { filter: drop-shadow(0 16px 40px rgba(0,0,0,.18)); }
.section--light .app-gallery-card .gallery-label, .section.bg-paper .app-gallery-card .gallery-label { color: var(--text-light-secondary); }

/* ─── LIGHT SECTION: TRUST STRIP ─── */
.section--light .connects-logos .conn-badge, .section.bg-stone .connects-logos .conn-badge { color: var(--text-light-primary); }
.section--light .connects-label, .section.bg-stone .connects-label { color: var(--text-light-secondary); }

/* ─── LIGHT SECTION: TABLES ─── */
.section--light .table, .section--paper .table { color: var(--text-light-primary); }
.section--light .table-row, .section--paper .table-row { border-bottom-color: var(--border-light-subtle); }
.section--light .table-header, .section--paper .table-header { color: var(--text-light-tertiary); }
.section--light .table-value, .section--paper .table-value { color: var(--text-light-primary); }

/* ─── LIGHT SECTION: ARTICLE CARDS ─── */
.section--light .article-preview, .section.bg-stone .article-preview { background: var(--surface-light-2); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.section--light .article-preview h3, .section.bg-stone .article-preview h3 { color: var(--text-light-primary); }
.section--light .article-preview p, .section.bg-stone .article-preview p { color: var(--text-light-secondary); }
.section--light .article-preview .read-time, .section.bg-stone .article-preview .read-time { color: var(--text-light-tertiary); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { margin: 0 0 12px; }
h1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
p { color: var(--text-secondary); line-height: 1.65; font-size: 15px; margin: 0 0 14px; max-width: 680px; }
p strong, li strong { color: var(--text-primary); font-weight: 600; }
.teal { color: var(--accent-primary); }
.muted { color: var(--text-secondary); }
.faint { color: var(--text-tertiary); font-size: 13px; letter-spacing: .3px; }

/* Utility: label */
.label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
/* Utility: metric (monospaced numbers) */
.metric { font-family: var(--font-mono); letter-spacing: -0.02em; }

/* Hero meta annotation — quiet system line, not a second headline */
.hero-meta { font-size: 11px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: #7A817C; margin-bottom: 20px; }
/* Legacy alias: .eyebrow → unified with .tag */
.eyebrow,
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  color: rgba(255,255,255,0.70);
  background: transparent;
  margin-bottom: 28px;
}
.tag--active,
.eyebrow--active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ─── TIME LABEL & DANGER TAG (used in timeline) ─── */
.time-label {
  display: inline-block;
  font-family: var(--font-data);
  font-size: var(--t-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  border-radius: 2px;
  margin-bottom: 18px;
}
.tag--danger {
  color: var(--danger);
  border-color: rgba(255,32,110,.3);
  background: rgba(255,32,110,.08);
}

/* ─── BUTTONS ─── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  border: 1px solid #fff;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .15s ease;
}
.cta:hover { box-shadow: 0 8px 28px rgba(255,255,255,0.18); }
.cta:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* Ghost (dark background): transparent + border + white text */
.cta.ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.cta.ghost:hover { background: rgba(255,255,255,0.03); box-shadow: none; }

.cta.small { padding: 10px 16px; font-size: 13px; border-radius: 10px; }

/* Primary action: teal fill */
.cta.teal-fill {
  background: #00D9B1;
  color: #000;
  border-color: #00D9B1;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 10px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--text-light-primary);
  padding-bottom: 2px;
  padding-top: 2px;
  transition: opacity 0.2s ease;
}
.hero-link:hover { opacity: 0.7; }

.cta.teal-fill:hover { transform: translateY(-1px); box-shadow: none; }

/* Aliases */
.button-primary { background: var(--accent-primary); color: #000; padding: 12px 18px; border-radius: 6px; font-weight: 600; border: 1px solid var(--accent-primary); cursor: pointer; text-decoration: none; transition: box-shadow .15s ease; }
.button-primary:hover { box-shadow: var(--glow-teal); }
.button-secondary { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); padding: 12px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; transition: box-shadow .15s ease; }
.button-secondary:hover { background: rgba(255,255,255,0.04); }

.cta-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.reassurance { color: #A3A8A5; font-size: 13px; letter-spacing: .2px; line-height: 1.5; margin-top: 18px; }

/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
   CANONICAL COMPONENT FAMILIES
   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */

/* \u2500\u2500\u2500 FAMILY A: FRAMING PANEL \u2500\u2500\u2500 */
/* Use for: narrative, founder, workflow explainer, philosophy anchor */
.framing-panel {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 24px 22px;
}
.framing-panel--light {
  background: #FFFFFF;
  border: 1px solid #DADDE1;
  border-radius: 6px;
  color: var(--text-light-primary);
}
.framing-panel--active {
  border-color: rgba(0,245,212,0.28);
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.08);
  position: relative;
}
.framing-panel--active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--accent-primary);
}
.framing-panel h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 10px; }
.framing-panel--light h3 { color: var(--text-light-primary); }
.framing-panel p { margin: 10px 0 0; line-height: 1.6; }

/* \u2500\u2500\u2500 FAMILY B: DIAGNOSTIC MATRIX \u2500\u2500\u2500 */
/* Use for: failure modes, risk, problem states, behaviour grids */
.diagnostic-matrix {
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.diagnostic-matrix--light {
  background: var(--border-light-subtle);
  border-color: var(--border-light-subtle);
}
.diagnostic-matrix--2col { grid-template-columns: repeat(2, 1fr); }
.diagnostic-matrix--4col { grid-template-columns: repeat(4, 1fr); }
.diagnostic-matrix--5col { grid-template-columns: repeat(5, 1fr); }

.diagnostic-cell {
  background: var(--surface-2);
  padding: 20px;
  position: relative;
}
.diagnostic-cell--light {
  background: var(--surface-light-2);
}
.diagnostic-cell--negative::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-alert);
  opacity: 0.85;
}
.diagnostic-cell--active {
  /* no glow theatrics — top strip alone signals state */
}
.diagnostic-cell--active::before {
  background: var(--accent-primary);
  opacity: 1;
}
.diagnostic-cell h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.3; letter-spacing: 0.01em; text-transform: uppercase; }
.diagnostic-cell--light h4 { color: var(--text-light-primary); }
.diagnostic-cell p  { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.diagnostic-cell--light p { color: var(--text-light-secondary); }
/* Calc / system cell inner elements */
.diagnostic-cell__index    { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-tertiary); text-transform: uppercase; }
.diagnostic-cell--light .diagnostic-cell__index { color: var(--text-light-tertiary); }
.diagnostic-cell__title    { margin-top: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-weight: 600; }
.diagnostic-cell--light .diagnostic-cell__title { color: var(--text-light-secondary); }
.diagnostic-cell__equation { margin-top: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--text-primary); line-height: 1.3; }
.diagnostic-cell--light .diagnostic-cell__equation { color: var(--text-light-primary); }
.diagnostic-cell__copy     { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.diagnostic-cell--light .diagnostic-cell__copy { color: var(--text-light-secondary); }
.diagnostic-cell__cite     { margin-top: 10px; font-size: 11px; font-style: italic; color: var(--text-tertiary); }
.diagnostic-cell--light .diagnostic-cell__cite { color: var(--text-light-tertiary); }

/* \u2500\u2500\u2500 FAMILY C: DATA BAND \u2500\u2500\u2500 */
/* Use for: metrics rows, proof rows, readouts, science outputs */
.data-band {
  display: grid;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.data-band--4col { grid-template-columns: repeat(4, 1fr); }
.data-band--5col { grid-template-columns: repeat(5, 1fr); }
.data-band__cell {
  padding: 22px;
  border-right: 1px solid var(--border-subtle);
}
.data-band__cell:last-child { border-right: 0; }
.data-band__value {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.1;
  color: var(--text-primary);
}
.data-band__label {
  margin-top: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  opacity: 0.7;
}
.data-band__copy {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.data-band__cite {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-tertiary);
  font-style: italic;
}

/* \u2500\u2500\u2500 FAMILY D: COMPARISON / EXCHANGE MATRIX \u2500\u2500\u2500 */
/* Use for: binary comparisons, qualification, exchange terms, contrast tables */
.comparison-matrix {
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-light-2);
}
.comparison-matrix--dark {
  background: var(--surface-2);
  border-color: var(--border-subtle);
}
.comparison-row {
  display: grid;
  border-top: 1px solid var(--border-light-subtle);
}
.comparison-matrix--dark .comparison-row {
  border-top-color: var(--border-subtle);
}
.comparison-row:first-child { border-top: 0; }
.comparison-cell { padding: 18px 20px; font-size: 14px; line-height: 1.55; }
.comparison-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-tertiary);
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.02);
  border-right: 1px solid var(--border-light-subtle);
}
.comparison-matrix--dark .comparison-label {
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.02);
  border-right-color: var(--border-subtle);
}
.comparison-human {
  color: var(--text-light-secondary);
  border-right: 1px solid var(--border-light-subtle);
}
.comparison-engine {
  color: var(--text-light-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}
.comparison-engine strong { color: var(--accent-primary); font-weight: 500; }
.comparison-header .comparison-cell {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-light-tertiary);
  padding: 14px 20px;
}
.comparison-header .is-engine { color: var(--text-light-primary); font-weight: 700; }
/* Exchange strip at base of comparison matrix */
.exchange-foot {
  padding: 20px 28px;
  border-top: 1px solid var(--border-subtle);
  background: #0A0A0A;
  position: relative;
}
.exchange-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-primary);
}
.exchange-foot p {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
  max-width: none;
}

/* \u2500\u2500\u2500 LEGACY ALIASES \u2500\u2500\u2500 */
/* .panel → framing-panel without padding */
.panel {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.panel--light {
  background: var(--surface-light-2);
  border-color: var(--border-light-subtle);
  color: var(--text-light-primary);
}
.panel--dense    { padding: var(--space-4); }
.panel--spacious { padding: var(--space-6); }
.panel--active   { border-color: var(--accent-primary); box-shadow: inset 0 0 0 1px rgba(0,245,212,0.14); }
.panel--muted    { opacity: 0.72; }
.panel--negative { position: relative; }
.panel--negative::before { content: ""; position: absolute; inset: 0 0 auto 0; width: 100%; height: 2px; background: var(--accent-alert); }

/* .card → same as .panel */
.card { background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-5); }
.card--light { background: var(--surface-light-2); border: 1px solid var(--border-light-subtle); color: var(--text-light-primary); }
.card--active { border-color: var(--accent-primary); box-shadow: inset 0 0 0 1px rgba(0,245,212,0.14); }

/* \u2500\u2500\u2500 SHARED CARD TYPOGRAPHY \u2500\u2500\u2500 */
.card-title { margin: 0 0 10px; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--text-primary); }
.card-copy  { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ─── PANEL PRIMITIVE ─── */
.panel {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.panel--light {
  background: var(--surface-light-2);
  border-color: var(--border-light-subtle);
  color: var(--text-light-primary);
}
.panel--dense   { padding: var(--space-4); }
.panel--spacious { padding: var(--space-6); }

/* State system */
.panel--active {
  border-color: var(--accent-primary);
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.18);
}
.panel--negative {
  position: relative;
}
.panel--negative::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--accent-alert);
}
.panel--muted { opacity: 0.72; }

/* Alias: .card = panel */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.card--light {
  background: var(--surface-light-2);
  border: 1px solid var(--border-light-subtle);
  color: var(--text-light-primary);
}
.card--active {
  border-color: var(--accent-primary);
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.18);
}

/* ─── SHARED CARD TYPOGRAPHY ─── */
.card-title,
.agitation-card h4,
.scenario-card h4,
.article-preview h3,
.team-role,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}
.card-copy,
.agitation-card p,
.scenario-card p,
.article-preview p,
.team-line,
.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── TABLE SYSTEM ─── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-row { border-bottom: 1px solid var(--border-subtle); }
.table-cell { padding: 14px 16px; vertical-align: middle; }
.table-cell--right { text-align: right; }
.table-header { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); }
.table-value { font-family: var(--font-mono); color: var(--text-primary); }
.table-row:hover { background: rgba(255,255,255,0.02); }

/* Comparison table */
.comparison-table { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }

/* ─── DATA MATRIX ─── */
.matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.matrix-item {
  background: var(--surface-2);
  padding: var(--space-5);
}

/* ─── DATA BLOCKS ─── */
.data-block { padding: var(--space-5); border-bottom: 1px solid var(--border-subtle); }
.data-block .data-title { font-size: 14px; color: var(--text-secondary); }
.data-block .data-value { font-family: var(--font-mono); font-size: 36px; color: var(--text-primary); letter-spacing: -0.02em; }

/* ─── METRIC ROWS ─── */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.metric-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.metric-cell { padding: var(--space-5); border-right: 1px solid var(--border-subtle); }
.metric-cell:last-child { border-right: 0; }
.metric-value { font-family: var(--font-mono); font-size: 24px; color: var(--text-primary); }

/* ─── RISK TABLE ─── */
.risk-table { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.risk-table .risk-row { display: flex; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
.risk-table .risk-row:last-child { border-bottom: 0; }
.risk-table .risk-value { font-family: var(--font-mono); font-size: 20px; color: var(--text-primary); min-width: 80px; }
.risk-table .risk-desc { color: var(--text-secondary); font-size: 14px; }

/* ─── STACK UTILITIES ─── */
.stack-xl > * + * { margin-top: var(--space-8); }
.stack-lg > * + * { margin-top: var(--space-7); }
.stack-md > * + * { margin-top: var(--space-5); }
.stack-sm > * + * { margin-top: var(--space-3); }

/* ═══════════════════════════════════════════
   NAMED CARD FAMILIES
   ═══════════════════════════════════════════ */

/* ─── 1. DIAGNOSTIC MATRIX — "The Gap" ─── */
.gap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}
.gap-card {
  background: var(--surface-2);
  padding: 28px 24px;
  position: relative;
  border: 0;
  border-radius: 0;
}
.gap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-alert);
  opacity: 0.85;
}
.gap-card.is-active {
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.2);
}
.gap-card.is-active::before {
  background: var(--accent-primary);
}
.gap-card h4 { margin: 0 0 10px; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--text-primary); }
.gap-card p  { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ─── 2. FRAMING CARDS — "One system. Three inputs. One plan." ─── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.workflow-card {
  background: #FFFFFF;
  border: 1px solid #DADDE1;
  border-radius: 6px;
  padding: 24px 22px;
  box-shadow: none;
  transition: none;
}
.workflow-card.is-active {
  border-color: #CFEDEA;
}

/* ─── 3. DATA READOUT PANEL — dark "68 calculations" row ─── */
.science-readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  margin-top: 32px;
}
.science-readout__cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border-subtle);
}
.science-readout__cell:last-child { border-right: 0; }
.science-readout__value {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.1;
  color: var(--text-primary);
}
.science-readout__label {
  margin-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}
.science-readout__copy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── 4. COMPARISON MATRIX — "KEXBI is a selection mechanism" ─── */
.selection-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #E1E4E8;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  margin-top: 48px;
}
.selection-column {
  padding: 28px 24px;
  position: relative;
}
.selection-column + .selection-column {
  border-left: 1px solid #E1E4E8;
}
.selection-column--fit::before,
.selection-column--not::before {
  content: "";
  display: block;
  height: 2px;
  margin: -28px -24px 20px;
}
.selection-column--fit::before  { background: rgba(0, 245, 212, 0.6); }
.selection-column--not::before  { background: rgba(251, 86, 7, 0.6); }
.selection-column h3 { color: var(--text-light-primary); font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.selection-list { list-style: none; margin: 0; padding: 0; }
.selection-list li {
  padding: 14px 0;
  border-top: 1px solid #E1E4E8;
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.55;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.selection-list li:first-child { border-top: 0; padding-top: 0; }
.selection-list .bullet { color: rgba(0, 180, 150, 0.7); font-weight: 700; flex: 0 0 18px; }
.selection-column--not .selection-list .bullet { color: rgba(200, 80, 40, 0.7); }
.selection-column--not .selection-list li { color: var(--text-light-tertiary); }

/* ─── 5. SYSTEM CELL MATRIX — "While you sleep" ─── */
.watching-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light-subtle);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}
.watching-card {
  background: var(--surface-2);
  padding: 28px 24px;
  min-height: 140px;
  border: 0;
  border-radius: 0;
}
.watching-card.is-active {
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.18);
}
.watching-card h4 { margin: 0 0 10px; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--text-primary); }
.watching-card p  { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ─── 6. CALC MATRIX — light "68 calculations" science grid ─── */
.calc-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-light-subtle);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.calc-cell {
  background: var(--surface-light-2);
  padding: 24px 22px;
  min-height: 220px;
}
.calc-cell__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-light-tertiary);
  text-transform: uppercase;
}
.calc-cell__title {
  margin-top: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-secondary);
  font-weight: 600;
}
.calc-cell__equation {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-light-primary);
  line-height: 1.3;
}
.calc-cell__copy {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light-secondary);
}
.calc-cell__cite {
  margin-top: 12px;
  font-size: 11px;
  font-style: italic;
  color: var(--text-light-tertiary);
}
@media (max-width: 860px) {
  /* Old named families */
  .calc-matrix { grid-template-columns: repeat(2, 1fr); }
  .watching-grid { grid-template-columns: 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
  /* Canonical families */
  .diagnostic-matrix--4col { grid-template-columns: repeat(2, 1fr); }
  .diagnostic-matrix--5col { grid-template-columns: repeat(2, 1fr); }
  .diagnostic-matrix--2col { grid-template-columns: 1fr; }
  .data-band--4col { grid-template-columns: repeat(2, 1fr); }
  .data-band__cell { border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .data-band__cell:last-child { border-bottom: 0; }
  .comparison-matrix .comparison-row { grid-template-columns: 1fr !important; }
  .comparison-label { display: none !important; }
  .comparison-human { border-right: 0; }
  .workflow-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════
   STRUCTURAL FAMILIES — BATCH 2
   ═══════════════════════════════════════════ */

/* ─── 7. COMPARISON PANEL — "A nutritionist improves outcomes…" ─── */
.comparison-panel {
  background: var(--surface-light-2);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 36px;
}
.comparison-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  border-top: 1px solid var(--border-light-subtle);
}
.comparison-row:first-child { border-top: 0; }
.comparison-cell { padding: 18px 20px; }
.comparison-cell.comparison-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-tertiary);
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.02);
  border-right: 1px solid var(--border-light-subtle);
}
.comparison-row.comparison-header .comparison-cell {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-light-tertiary);
}
.comparison-row.comparison-header .comparison-cell.is-engine {
  color: var(--text-light-primary);
  font-weight: 700;
}
.comparison-human {
  color: var(--text-light-secondary);
  font-size: 14px;
  line-height: 1.5;
  border-right: 1px solid var(--border-light-subtle);
}
.comparison-engine {
  color: var(--text-light-primary);
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-mono);
}
.comparison-engine strong {
  color: var(--accent-primary);
  font-weight: 500;
}

/* ─── 8. READOUT BAND — dark metrics + "What the engine prevents" ─── */
.readout-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.readout-cell {
  padding: 26px 24px;
  border-right: 1px solid var(--border-subtle);
}
.readout-cell:last-child { border-right: 0; }
.readout-value {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.1;
  color: var(--text-primary);
}
.readout-label {
  margin-top: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}
.readout-copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.readout-cite {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ─── 9. FOUNDER STATEMENT — authored memo ─── */
.founder-statement {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 36px 40px;
  position: relative;
}
.founder-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--accent-primary);
}
.founder-statement p,
.founder p {
  color: #A8A8A8;
  font-size: 15px;
  line-height: 1.72;
  max-width: 70ch;
  font-style: normal;
  margin-bottom: 16px;
}
.founder-statement .pull-line,
.founder blockquote.pull {
  display: block;
  margin: 28px 0;
  font-size: 22px;
  line-height: 1.35;
  color: rgba(0,245,212,0.92);
  font-style: italic;
  border: 0;
  padding: 0;
  max-width: 60ch;
}
.founder-statement .signature,
.founder .sig {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  font-weight: 400;
  font-style: normal;
  display: block;
}

/* ─── 10. PHILOSOPHY LAYOUT — thesis panel + open text blocks ─── */
/* Highlighted thesis panel — dark context only (about page philosophy) */
.philosophy-feature,
.framing-panel.framing-panel--active:not(.framing-panel--light) {
  background: #0F1113;
  border: 1px solid #D9DDE1;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}
.philosophy-feature::before,
.framing-panel.framing-panel--active:not(.framing-panel--light)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(0,245,212,0.75);
  border-radius: 8px 8px 0 0;
}
.philosophy-feature h3 { margin: 0 0 12px; font-size: 16px; color: #D3D7DB; font-weight: 700; }
.philosophy-feature p  { margin: 0 0 10px; font-size: 14px; color: #8A8F94; line-height: 1.65; }
.framing-panel.framing-panel--active:not(.framing-panel--light) h3 { color: #D3D7DB; }
.framing-panel.framing-panel--active:not(.framing-panel--light) p  { color: #8A8F94; }

/* Open text blocks — structure only, no container */
.philosophy-text-block,
.philosophy-block {
  padding-top: 18px;
  border-top: 1px solid #D9DDE1;
}
.philosophy-text-block h3,
.philosophy-block h3 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #111315;
}
.philosophy-text-block p,
.philosophy-block p {
  font-size: 15px;
  line-height: 1.7;
  color: #525960;
  max-width: 34ch;
  margin: 0 0 8px;
}

/* ─── 11. EXCHANGE PANEL — "The Cohort 001 Exchange" ─── */
.exchange-panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  margin-top: 40px;
}
.exchange-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.exchange-column {
  padding: 30px 28px;
}
.exchange-column + .exchange-column {
  border-left: 1px solid var(--border-subtle);
}
.exchange-column h3 {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 700;
}
.exchange-column ul { list-style: none; margin: 0; padding: 0; }
.exchange-column ul li {
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.exchange-column ul li:first-child { border-top: 0; }
.exchange-foot {
  padding: 20px 28px;
  border-top: 1px solid var(--border-subtle);
  background: #101010;
  position: relative;
}
.exchange-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-primary);
}
.exchange-foot p {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .exchange-grid { grid-template-columns: 1fr; }
  .exchange-column + .exchange-column { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-cell.comparison-label { display: none; }
}

/* ─── LAYOUT UTILITIES ─── */
.section-summary { font-size: 15px; color: var(--text-secondary); line-height: 1.7; text-align: left; max-width: 68ch; }
/* section-conclusion NEUTRALISED — do not use for display text */
.section-conclusion { font-size: 15px; font-weight: 400; color: var(--text-secondary); text-align: left; letter-spacing: 0; }
.text-accent { color: var(--accent-primary); font-weight: 700; }
.divider { padding-top: var(--space-6); border-top: 1px solid var(--border-strong); width: 100%; }
.input-row { display: flex; gap: var(--space-3); }
.center { justify-content: center; text-align: center; }

/* ─── NAV (DESKTOP) ─── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.nav-inner { display: contents; }
nav.nav-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; }
.logo img { height: 22px; width: auto; display: block; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); flex-shrink: 0; }
.nav-centre { display: flex; gap: 28px; align-items: center; }
.nav-centre a { font-size: 14px; color: var(--ink-dim); font-weight: 500; transition: color .15s; }
.nav-centre a:hover { color: var(--ink); }
.nav-centre a.active { color: var(--teal); }
.nav-right { display: flex; gap: 16px; align-items: center; }

@media (max-width: 860px) {
  .nav-centre { display: none; }
}

/* ─── MOBILE BOTTOM TAB BAR ─── */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-tab-bar .tab-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 500px;
  margin: 0 auto;
}
.bottom-tab-bar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  padding: 6px 8px;
  min-width: 56px;
  border-radius: 8px;
  transition: background .15s;
}
.bottom-tab-bar .tab .tab-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.bottom-tab-bar .tab .tab-icon svg {
  width: 20px; height: 20px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bottom-tab-bar .tab .tab-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.bottom-tab-bar .tab.active .tab-icon svg { stroke: var(--teal); }
.bottom-tab-bar .tab.active .tab-label { color: var(--teal); }
.bottom-tab-bar .tab.tab-apply {
  background: var(--teal);
  border-radius: 10px;
  padding: 6px 14px;
}
.bottom-tab-bar .tab.tab-apply .tab-icon svg { stroke: #000; }
.bottom-tab-bar .tab.tab-apply .tab-label { color: #000; font-weight: 700; }

@media (max-width: 860px) {
  .bottom-tab-bar { display: block; }
  /* Add padding to body so content isn't hidden behind tab bar */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
  /* Hide desktop CTA on mobile */
  .nav-right .cta { display: none; }
}

/* ─── COHORT STRIP ─── */
.cohort-strip {
  background: var(--stone);
  border-bottom: none;
  font-size: 11px;
  color: rgba(0,0,0,0.50);
  letter-spacing: .3px;
}
.cohort-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.cohort-strip .item { display: inline-flex; align-items: center; gap: 10px; }
.cohort-strip .sep { color: var(--paper-faint); opacity: .6; }
@media (max-width: 860px) {
  .cohort-strip .container { gap: 8px 18px; font-size: 11px; }
  .cohort-strip .sep { display: none; }
}

/* ─── HERO ─── */
.hero.section.first { padding: 90px 0 110px; }
.hero h1 { font-size: var(--t-display); line-height: 1.2; font-weight: 800; margin-bottom: 26px; letter-spacing: -1px; }
@media (min-width: 768px) {
  .hero h1 { font-size: 64px; line-height: 1.2; letter-spacing: -0.045em; }
}
.hero .sub { font-size: 18px; color: #5F6662; max-width: 500px; line-height: 1.5; margin-top: 0; margin-bottom: 30px; }
.hero-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-left: 16px; }
.hero-phone { display: flex; justify-content: center; align-items: center; }
.hero-phone img, .hero-phone picture img { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 20px 48px rgba(0,0,0,.4)) brightness(0.95); transform: translateX(-16px); }

.hero .cta-row { margin-top: 0; gap: 20px; align-items: center; }

/* ─── TRUST STRIP (Connects With) ─── */
.trust-strip { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,0.08); }
.trust-strip .connects-label { font-size: 10px; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: #B0B5B2; margin-bottom: 18px; }
.trust-strip .connects-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.connects-strip { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.connects-label { font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-dim); margin-bottom: 18px; }
.connects-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.connects-logos .conn-badge { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); opacity: .9; transition: opacity .2s ease; }
.connects-logos .conn-badge:hover { opacity: 1; }
.connects-logos .conn-badge .conn-icon { width: 32px; height: 32px; border-radius: 7px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.connects-logos .conn-badge .conn-icon svg,
.connects-logos .conn-badge .conn-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.conn-garmin { background: transparent; }
.conn-whoop { background: #000; }
.conn-oura { background: #000; border: 1px solid var(--border); }
.conn-apple-badge { display: flex; align-items: center; height: 32px; }
.conn-apple-badge img { height: 32px; width: auto; display: block; }

/* Paper variant for trust strip */
.section.bg-stone .connects-logos .conn-badge { color: var(--paper-ink); }
.section.bg-stone .connects-label { color: var(--paper-dim); }

/* ─── AGITATION CARDS (Diagnostic matrix) ─── */
.agitation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}
.agitation-card {
  background: var(--surface-2);
  padding: 28px 24px;
  border: 0;
  border-radius: 0;
  position: relative;
  transition: none;
}
.agitation-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-alert);
  opacity: 0.85;
}
.agitation-card.prominent {
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.22);
}
.agitation-card.prominent::before {
  background: var(--accent-primary);
}
.agitation-card:hover { transform: none; box-shadow: none; }

/* ─── 3-STEP WORKFLOW ─── */
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 36px;
  margin-top: 48px;
  position: relative;
}
.step-card {
  background: var(--surface-light-2);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.step-card:hover { transform: none; box-shadow: none; }
.step-card.hero-step {
  border-color: var(--accent-primary);
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.12);
}
.step-num {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8B9196;
  font-weight: 500;
  margin-bottom: 12px;
}
.step-card .strong-line { font-size: 17px; color: var(--text-light-primary); font-weight: 700; margin: 20px 0 14px; display: block; line-height: 1.4; }
.step-card .step-visual { margin-bottom: 20px; border-radius: var(--radius-md); overflow: hidden; }
.step-card .step-visual img { width: 100%; height: auto; display: block; }

/* ─── PROOF BAR ─── */
.proof-bar-intro { font-size: var(--t-label); letter-spacing: var(--track-divider); color: var(--faint); text-transform: uppercase; margin-top: 64px; margin-bottom: 10px; font-weight: 500; }
.proof-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-subtle); background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 0; margin-top: 14px;
  overflow: hidden;
}
.proof-bar > div { text-align: left; padding: 24px 22px; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.proof-bar > div:nth-child(-n+3) { border-top: 0; }
.proof-bar > div:nth-child(3n+1) { border-left: 0; }
.proof-bar .num { color: var(--text-tertiary); font-size: var(--t-label); letter-spacing: var(--track-label); font-weight: 500; text-transform: uppercase; }
.proof-bar .headline { color: var(--ink); font-family: var(--font-data); font-size: var(--t-title); margin-top: 10px; font-weight: 500; letter-spacing: -0.01em; }
.proof-bar .metric { color: var(--ink-dim); font-size: 13px; margin-top: 4px; font-weight: 500; }
.proof-bar .sub-lbl { color: var(--faint); font-size: 12px; margin-top: 10px; line-height: 1.45; }
.proof-bar .cite { color: var(--teal-dim); font-size: 11px; margin-top: 8px; letter-spacing: .3px; font-style: italic; }
.proof-footnote { font-size: 12px; color: var(--faint); margin-top: 12px; letter-spacing: .2px; line-height: 1.6; }

/* ─── FILTER GRID (comparison matrix) ─── */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}
.filter-card {
  background: var(--surface-2);
  border: 0;
  border-radius: 0;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* 2px top rule for polarity instead of side rails */
.filter-card.for::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-primary);
}
.filter-card.not::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-alert);
}
.filter-card h3 { color: var(--text-primary); font-size: 20px; margin-bottom: 24px; font-weight: 700; }
.filter-card ul { margin: 0; padding: 0; list-style: none; }
.filter-card li { padding: 18px 0; border-top: 1px solid var(--border); color: var(--ink-dim); font-size: 15px; line-height: 1.6; display: flex; gap: 14px; align-items: flex-start; }
.filter-card.not li { color: var(--faint); }
.filter-card li:first-child { border-top: 0; padding-top: 0; }
.bullet { width: 18px; flex: 0 0 18px; color: var(--teal); font-weight: 800; font-size: 16px; margin-top: -2px; }
.filter-card.not .bullet { color: var(--danger); opacity: 0.8; }

/* ─── CHRONO STATS ─── */
.chrono-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.chrono-stat { padding: 32px 28px; border-left: 1px solid var(--border); display: flex; flex-direction: column; align-items: flex-start; }
.chrono-stat:first-child { border-left: 0; }
.chrono-stat .figure { color: var(--text-primary); font-family: var(--font-data); font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.chrono-stat .label { color: var(--ink); font-size: 15px; line-height: 1.45; font-weight: 500; }
.chrono-stat .cite { color: var(--faint); font-size: 12px; margin-top: 12px; letter-spacing: .3px; font-style: italic; opacity: 0.8; }

/* ─── SECTION WITH PHONE ─── */
.section-with-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.section-with-phone.reverse { grid-template-columns: 1fr 1fr; }
.section-phone { display: flex; justify-content: center; }
.section-phone img { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 20px 48px rgba(0,0,0,.5)); }

/* ─── ENGINE ROWS ─── */
.engine-rows {
  margin-top: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.engine-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.engine-row:nth-child(2n) { border-right: 0; }
.engine-row:nth-child(5) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.engine-row .claim { font-size: 18px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.engine-row .req { font-size: 13px; color: var(--faint); letter-spacing: .2px; line-height: 1.6; }
.engine-row .req span { color: var(--text-primary); }

/* ─── TEAM GRID (matrix cells) ─── */
.team-intro { margin-top: 14px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 36px;
}
.team-tile {
  background: var(--surface-2);
  padding: 24px 20px;
  border: 0;
  border-radius: 0;
  transition: none;
}
.team-tile:hover { transform: none; box-shadow: none; }
.team-tile.prominent {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.18);
}
.team-tile h4 { font-family: var(--font-data); font-size: 15px; color: var(--text-primary); margin: 0 0 6px; font-weight: 600; letter-spacing: -0.02em; }
.team-role { font-size: var(--t-label); font-weight: 700; color: var(--text-tertiary); letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 8px; }
.team-footnote { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--ink-dim); }
.team-close { margin-top: 28px; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .1px; }

/* ─── DAY 0 CALCULATOR ─── */
.day0 { background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; margin-top: 36px; }
.day0-inputs { padding: 36px; border-right: 1px solid var(--border); background: var(--card-2); }
.day0-inputs label { display: block; font-size: var(--t-label); letter-spacing: var(--track-label); color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.day0-inputs input, .day0-inputs select {
  width: 100%; padding: 14px 16px;
  background: var(--black); color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: var(--t-row); font-weight: 400;
  margin-bottom: 20px;
}
.day0-inputs input:focus, .day0-inputs select:focus { outline: none; border-color: var(--teal); }

.d0-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; margin-bottom: 20px; }
.d0-goal-btn {
  background: var(--card); border: 1px solid var(--border); padding: 14px 16px; border-radius: var(--radius-sm); color: var(--ink-dim); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; transition: all 0.15s ease; line-height: 1.4;
}
.d0-goal-btn:hover { border-color: var(--teal-dim); }
.d0-goal-btn.active { border-color: var(--teal); background: rgba(0,245,212,0.05); color: var(--teal); box-shadow: 0 8px 24px rgba(0,245,212,0.05); }
.d0-goal-btn.active .btn-sub { color: #fff; }
.d0-goal-btn .btn-sub { display: block; font-size: 12px; color: var(--faint); font-weight: 400; margin-top: 4px; }
.day0-output { padding: 36px; }
.day0-output .tag { display: inline-block; font-size: var(--t-label); letter-spacing: var(--track-label); padding: 4px 8px; border: 1px solid var(--teal); color: var(--teal); border-radius: 2px; text-transform: uppercase; font-weight: 500; }
.day0-output h3 { margin-top: 14px; color: var(--ink); }
.d0-stat { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); align-items: baseline; }
.d0-stat:first-of-type { border-top: 0; }
.d0-stat .k { color: var(--ink-dim); font-size: var(--t-body); }
.d0-stat .v { color: var(--text-primary); font-family: var(--font-data); font-weight: 500; font-size: var(--t-row); letter-spacing: 0; }
.d0-note { color: var(--faint); font-size: 12px; margin-top: 6px; line-height: 1.5; }

/* ─── FOUNDER STATEMENT (authored memo) ─── */
.founder-statement,
.founder {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  position: relative;
  overflow: hidden;
}
.founder-statement::before,
.founder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--accent-primary);
  opacity: 0.9;
}
.founder-statement p,
.founder p {
  max-width: 72ch;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: normal;
}
.founder-statement .pull-line,
.founder blockquote.pull {
  font-size: 24px;
  line-height: 1.35;
  color: var(--accent-primary);
  font-style: italic;
  margin: 40px 0;
  max-width: 580px;
  letter-spacing: -0.5px;
  border: 0;
  padding: 0;
}
.founder-statement .signature,
.founder .sig {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 32px;
}

/* ─── PULL QUOTE (compact module) ─── */
.pull-quote,
.founder-teaser {
  padding: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-1);
}
.pull-quote blockquote,
.founder-teaser blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: normal;
}
.pull-quote .signature,
.founder-teaser .sig {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ─── SILENCE ─── */
.silence {
  text-align: center; padding: 240px 0;
  background: var(--black);
}
.silence h2 { font-size: var(--t-display); max-width: 780px; margin: 0 auto 24px; font-weight: 700; line-height: 40px; letter-spacing: -0.5px; }
@media (min-width: 768px) {
  .silence h2 { font-size: 56px; line-height: 1.1; letter-spacing: -1.5px; }
}
.silence p { max-width: 480px; margin: 0 auto; opacity: 0.6; font-size: 16px; line-height: 1.6; }

/* ─── Q LIST ─── */
.q-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.q-list li {
  padding: 22px 20px;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.q-list li:nth-child(odd) { border-left: 0; }
.q-list .q-num { color: var(--text-tertiary); font-family: var(--font-data); font-size: var(--t-label); font-weight: 500; letter-spacing: var(--track-label); min-width: 28px; padding-top: 3px; }

/* ─── APP GALLERY ─── */
.app-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 36px; align-items: end; }
.app-gallery-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-gallery-card img { width: 100%; max-width: 320px; height: auto; display: block; filter: drop-shadow(0 16px 40px rgba(0,0,0,.5)); transform: translateX(-16px); }
.app-gallery-card .gallery-label { font-size: 15px; color: #fff; font-weight: 600; margin-top: -24px; letter-spacing: .3px; line-height: 1.4; }

/* ─── SCENARIO CARDS (matrix) ─── */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}
.scenario-card {
  background: var(--surface-2);
  padding: 28px 24px;
  border: 0;
  border-radius: 0;
  position: relative;
  transition: none;
}
.scenario-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.16);
}
.scenario-card.prominent {
  box-shadow: inset 0 0 0 1px rgba(0,245,212,0.2);
}
.scenario-card.prominent::before {
  background: var(--accent-primary);
}
.scenario-card:hover { transform: none; box-shadow: none; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 60px 0 160px;
  background: var(--surface-light-3) !important;
}
.page-hero.about { padding: 48px 0 160px; }
.page-hero.about .sub { max-width: 580px; opacity: 0.8; }

.page-hero.science { padding-top: 48px; }
.page-hero.science .sub { max-width: 580px; }
.page-hero h1 {
  font-size: var(--t-display);
  line-height: 40px;
  letter-spacing: -0.5px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .page-hero h1 { font-size: 72px; line-height: 1.05; letter-spacing: -2px; }
}
.page-hero .sub {
  font-size: var(--t-row);
  color: var(--ink-dim);
  max-width: 640px;
  line-height: 1.5;
  margin-top: 20px;
}

/* ─── NUTRITIONIST VS ENGINE ─── */
.vs-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 48px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card-2); overflow: hidden; }
@media (min-width: 768px) { .vs-grid { grid-template-columns: 140px 1fr 1fr; } }
.vs-header { font-weight: 700; color: var(--faint); padding: 24px; background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.vs-cell { padding: 24px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); display: flex; align-items: center; }
.vs-col-header { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); background: var(--card); }
.vs-header-blank { background: var(--card); }
/* Remove right border from every 3rd cell */
.vs-grid > div:nth-child(3n) { border-right: none; }
/* Remove bottom border from last 3 cells */
.vs-grid > div:nth-last-child(-n+3) { border-bottom: none; }
.vs-engine { font-weight: 700; color: #fff; background: var(--black); }

/* ─── DAY-IN-THE-LIFE (How it Works) ─── */
.bg-lift {
  background: #0A0A0A; /* Subtly deeper tone for mid-page visual escalation */
}
.day-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.day-block.reverse { direction: rtl; }
.day-block.reverse > * { direction: ltr; }
.day-block > div:not(.day-visual) { max-width: 540px; }
.day-block .day-visual { display: flex; justify-content: center; }
.day-block .day-visual img { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.3)); transform: translateX(-8px); }
.day-signals {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px;
}
.day-signal {
  font-size: var(--t-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  border-radius: 2px;
}

/* ─── ARTICLE TYPOGRAPHY ─── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
}
.article-body h3 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.article-body .citation {
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
  margin-top: -12px;
  margin-bottom: 24px;
}
.article-body blockquote {
  border-left: 2px solid var(--border-strong);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body blockquote p { color: var(--ink); font-size: 17px; margin: 0; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 17px; line-height: 1.7; padding: 4px 0; color: var(--ink-dim); }
.article-body .stat-inline {
  font-family: var(--font-data);
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── ARTICLE INDEX ─── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.article-preview {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s ease, background .15s ease;
}
.article-preview::before { display: none; }
.article-preview:hover {
  transform: none;
  border-color: var(--border-strong);
  background: #151515;
}
.section--light .article-preview,
.section.bg-stone .article-preview {
  background: var(--surface-light-2);
  border: 1px solid var(--border-light-subtle);
  box-shadow: none;
}
.article-preview .article-tag { font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-tertiary); font-weight: 500; margin-bottom: 12px; display: block; }
.article-preview h3 { font-size: 16px; color: var(--text-primary); margin-bottom: 10px; font-weight: 700; line-height: 1.35; }
.article-preview p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.article-preview .read-time { font-size: 12px; color: var(--text-tertiary); margin-top: 16px; }




/* ─── COHORT CARDS (comparison matrix) ─── */
.cohort-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 32px;
}
@media (max-width: 860px) { .cohort-row { grid-template-columns: 1fr; } }
.cohort-card {
  background: var(--surface-2);
  border: 0;
  border-radius: 0;
  padding: 32px 28px;
}
.cohort-card h3 { color: var(--text-primary); font-size: 18px; margin-bottom: 20px; font-weight: 700; }
.cohort-card ul { list-style: none; padding: 0; margin: 0; }
.cohort-card li { padding: 16px 0; font-size: 15px; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); display: flex; align-items: baseline; gap: 10px; }
.cohort-card li:last-child { border-bottom: none; }

/* Cohort callout — positioned below the matrix */
.cohort-callout {
  padding: var(--space-5) var(--space-6);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
}
.cohort-callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-primary);
}

/* ─── FAQ ─── */
.faq-list { max-width: 780px; margin: 36px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; }
.faq-q h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.faq-q .faq-arrow { color: var(--faint); font-size: 18px; transition: transform .2s ease; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 0 22px; font-size: 15px; color: var(--ink-dim); line-height: 1.6; margin: 0; }

/* ─── FOOTER ─── */
footer { padding: 56px 0; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; position: relative; z-index: 1; }
footer .footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .footer-links a { color: var(--ink-dim); }
footer .footer-links a:hover { color: var(--ink); }
footer .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
footer .footer-legal a { color: var(--faint); }
footer .footer-legal a:hover { color: var(--ink); }
footer .footer-copy { margin-top: 24px; color: var(--faint); font-size: 12px; }

/* ─── FINAL CTA BLOCK ─── */
.final-cta {
  text-align: center;
  padding: 200px 0 160px;
  background: var(--black);
  color: var(--text-primary);
}
.final-cta--light {
  background: var(--surface-light-1);
  border-top: 1px solid var(--border-light-subtle);
  color: var(--text-light-primary);
}
.final-cta--light h2 { color: var(--text-light-primary); }
.final-cta--light p { color: var(--text-light-secondary); }
.final-cta--light .eyebrow { color: var(--accent-primary); background: rgba(0,196,172,0.08); border-color: rgba(0,196,172,0.25); }
.final-cta h2 { font-size: 48px; line-height: 1.1; max-width: 640px; margin: 0 auto 16px; font-weight: 800; letter-spacing: -1px; }
.final-cta p { max-width: 600px; margin: 0 auto 0; opacity: 0.9; }
.final-cta .cta-row { justify-content: center; margin-top: 24px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  h1 { font-size: 40px !important; }
  h2 { font-size: 28px; }
  .eyebrow, .tag { font-size: 13px; }
  .hero h1 {
    font-size: 52px !important;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
  }
  .hero .sub {
    font-size: 18px;
    line-height: 1.45;
    max-width: 22ch;
    margin-bottom: 28px;
  }
  .hero-meta { max-width: 22ch; }
  .hero .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }
  .hero .cta-row .cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
  }
  .hero .cta-row .cta.ghost { background: transparent; }
  .reassurance {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 28ch;
  }
  .container { padding: 0 20px; }
  .section { padding: var(--space-8) 0; }
  .section.tight { padding: var(--space-7) 0; }
  .split, .filter-grid, .day0, .q-list, .hero-layout { grid-template-columns: 1fr; }
  .hero-phone { justify-content: center; padding-top: 32px; margin-right: 0; }
  .hero-phone img, .hero-phone picture img { max-width: 280px; }
  .section-with-phone, .section-with-phone.reverse { grid-template-columns: 1fr; }
  .section-phone img { max-width: 340px; }
  .app-gallery { grid-template-columns: 1fr; gap: 32px; }
  .app-gallery-card img { max-width: 320px; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar > div { border-left: 0; border-top: 1px solid var(--border); padding: 18px 20px; }
  .proof-bar > div:first-child { border-top: 0; }
  .chrono-stats { grid-template-columns: 1fr 1fr; }
  .chrono-stat:nth-child(odd) { border-left: 0; }
  .chrono-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .engine-rows { grid-template-columns: 1fr; }
  .engine-row, .engine-row:nth-child(2n) { border-right: 0; }
  .engine-row:nth-child(5) { border-bottom: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-tile:nth-child(2n) { border-right: 0; }
  .team-tile:nth-last-child(-n+2) { border-bottom: 0; }
  .team-tile:nth-child(4n) { border-right: 0; }
  .day0-inputs { border-right: 0; border-bottom: 1px solid var(--border); }
  .founder, .founder-statement, .founder-teaser, .pull-quote { padding: 28px; }
  .step-grid { grid-template-columns: 1fr; }
  .agitation-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .day-block, .day-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .day-block .day-visual img { max-width: 340px; }
  .article-grid { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 40px; }
}
