/* ═══════════════════════════════════════════════════════
   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: #0A0F1A;
  --surface-1: #121A24;
  --surface-2: #18212D;

  /* ─── LIGHT SURFACES ─── */
  --surface-light-1: #F5F4F0;
  --surface-light-2: #FFFFFF;
  --surface-light-3: #EFEEE8;

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

  /* ─── LIGHT TEXT ─── */
  --text-light-primary:   #171B22;
  --text-light-secondary: #43474E;
  --text-light-tertiary:  #5D646E;

  /* ─── BORDERS ─── */
  --border-subtle:       rgba(255, 255, 255, 0.08);
  --border-light-subtle: #E7E5DF;

  /* ─── ACCENTS ─── */
  --accent-primary: #3CD6C0;
  --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:  #0E9E8B;
  --teal-wash: rgba(60, 214, 192,0.06);
  --teal-line: rgba(60, 214, 192,0.18);
  --teal-glow: rgba(60, 214, 192,0.25);
  --glow-teal: 0 0 0 1px rgba(60, 214, 192,0.2), 0 0 12px rgba(60, 214, 192,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-hero: clamp(52px, 7vw, 72px);
  --t-section-display: 40px;
  --t-section-display-mobile: 32px;
  --t-title:   22px;
  --t-row:     17px;
  --t-support: 18px;
  --t-body-lg: 17px;
  --t-body:    15px;
  --t-micro:   13px;
  --t-label:   11px;
  --track-label:   0.08em;
  --track-divider: 0.08em;

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

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; }
.pt-0 { padding-top: 36px !important; } /* CMS outputs pt-0, tweaked to 36px for article spacing */
.pb-0 { padding-bottom: 0 !important; }

/* ─── 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.62);
  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: var(--teal-dim); color: #fff; border-color: var(--teal-dim); 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: transparent; }
.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: #5D646E; 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;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  color: rgba(255,255,255,0.74);
  background: transparent;
  margin-bottom: 32px;
}

/* ─── SECTION TYPOGRAPHY TIERS ─── */
.section-headline {
  font-size: var(--t-section-display);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 20ch;
}
.section-headline--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.support-copy {
  font-size: var(--t-support);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 34ch;
}
.support-copy--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-copy {
  font-size: var(--t-body-lg);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 42ch;
}
.section--light .support-copy,
.section--paper .support-copy,
.section.bg-paper .support-copy,
.section.bg-stone .support-copy { color: var(--text-light-secondary); }
.section--light .section-copy,
.section--paper .section-copy,
.section.bg-paper .section-copy,
.section.bg-stone .section-copy { color: var(--text-light-secondary); }
.micro-copy {
  font-size: var(--t-micro);
  line-height: 1.5;
  color: #8B9196;
}
.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-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  margin-bottom: 24px;
}
.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: var(--teal-dim);
  color: #fff;
  border-color: var(--teal-dim);
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 14px;
}

.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(--teal-dim); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 600; border: 1px solid var(--teal-dim); 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 */

/* ─── FAMILY 1: PROOF MATRIX ─── */
.proof-matrix {
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.proof-matrix--light {
  background: var(--border-light-subtle);
  border-color: var(--border-light-subtle);
}
.proof-matrix--2col { grid-template-columns: repeat(2, 1fr); }
.proof-matrix--3col { grid-template-columns: repeat(3, 1fr); }
.proof-matrix--4col { grid-template-columns: repeat(4, 1fr); }
.proof-matrix--5col { grid-template-columns: repeat(5, 1fr); }

.proof-cell {
  background: var(--surface-2);
  padding: 24px 22px;
  position: relative;
}
.proof-matrix--light .proof-cell { background: var(--surface-light-2); }

.proof-matrix .proof-cell h4,
.proof-cell__title {
  margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.35; letter-spacing: 0.01em; text-transform: uppercase;
}
.proof-matrix--light .proof-cell h4,
.proof-matrix--light .proof-cell__title { color: var(--text-light-primary); }
.proof-matrix .proof-cell p {
  margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary);
}
.proof-matrix--light .proof-cell p { color: var(--text-light-secondary); }
.proof-cell__cite {
  margin-top: 10px; font-size: 11px; font-style: italic; color: var(--text-secondary); display: block;
}
.proof-matrix--light .proof-cell__cite { color: var(--text-light-secondary); }

.proof-cell__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 12px; display: block;
}
.proof-matrix--light .proof-cell__label { color: var(--text-light-tertiary); }

.proof-cell__index {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.1em; margin-bottom: 8px; opacity: 0.6; display: block;
}
.proof-matrix--light .proof-cell__index { color: var(--text-light-tertiary); }

/* ─── FAMILY 2: DATA BAND ─── */
.data-band {
  display: grid;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.data-band--light {
  background: var(--surface-light-2);
  border-color: var(--border-light-subtle);
}
.data-band--2col { grid-template-columns: repeat(2, 1fr); }
.data-band--3col { grid-template-columns: repeat(3, 1fr); }
.data-band--4col { grid-template-columns: repeat(4, 1fr); }
.data-band--5col { grid-template-columns: repeat(5, 1fr); }

.data-cell {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; align-items: flex-start;
}
.data-cell:last-child { border-right: 0; }
.data-band--light .data-cell { border-right-color: var(--border-light-subtle); }

.data-cell__value {
  font-family: var(--font-mono); font-size: 30px; line-height: 1; color: var(--text-primary); letter-spacing: -0.03em;
}
.data-band--light .data-cell__value { color: var(--text-light-primary); }
.data-cell__label {
  margin-top: 10px; font-size: var(--t-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); opacity: 0.9;
}
.data-band--light .data-cell__label { color: var(--text-light-tertiary); }
.data-cell__copy {
  margin-top: 14px; font-size: var(--t-body); line-height: 1.55; color: var(--text-secondary); max-width: 18ch;
}
.data-band--light .data-cell__copy { color: var(--text-light-secondary); }
.data-cell__cite {
  margin-top: 10px; font-size: 11px; line-height: 1.5; color: var(--text-tertiary); font-style: italic;
}
.data-band--light .data-cell__cite { color: var(--text-light-tertiary); }

/* ─── FAMILY 3: SPLIT COMPARISON ─── */
.split-comparison { display: grid; }
.split-comparison--table {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-2);
}
.split-comparison--table.split-comparison--light {
  background: var(--surface-light-2); border-color: var(--border-light-subtle);
}
.split-comparison--table .comparison-row { display: grid; border-top: 1px solid var(--border-subtle); }
.split-comparison--table .comparison-row:first-child { border-top: 0; }
.split-comparison--table.split-comparison--light .comparison-row { border-top-color: var(--border-light-subtle); }
.split-comparison--table .comparison-cell { padding: 18px 20px; font-size: 14px; line-height: 1.55; }
.split-comparison--table .comparison-human { color: rgba(249,250,251,0.68) !important; }
.split-comparison--table .comparison-engine { color: #F9FAFB !important; }
.split-comparison--table .comparison-header .comparison-cell { color: rgba(249,250,251,0.52) !important; }
.split-comparison--table .comparison-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(249,250,251,0.52) !important; display: flex; align-items: center; background: rgba(255,255,255,0.02); border-right: 1px solid var(--border-subtle);
}
.split-comparison--table.split-comparison--light .comparison-label {
  color: var(--text-light-tertiary); background: rgba(0,0,0,0.02); border-right-color: var(--border-light-subtle);
}

.split-comparison--list { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; }
.split-comparison--list.split-comparison--light { color: var(--text-light-primary); }
.split-comparison--list .list-column { padding: 0 48px 0 0; position: relative; display: flex; flex-direction: column; }
.split-comparison--list .list-column.list-fallback { padding: 0 0 0 48px; border-left: 1px solid var(--border-subtle); }
.split-comparison--list.split-comparison--light .list-column.list-fallback { border-left-color: var(--border-light-subtle); }
.split-comparison--list h3 { font-size: 20px; margin-bottom: 24px; font-weight: 700; }
.split-comparison--list ul { margin: 0; padding: 0; list-style: none; }
.split-comparison--list li { padding: 18px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; line-height: 1.6; display: flex; gap: 14px; align-items: flex-start; }
.split-comparison--list.split-comparison--light li { border-top-color: var(--border-light-subtle); color: var(--text-light-secondary); }
.split-comparison--list li:first-child { border-top: 0; padding-top: 0; }
.split-comparison--list .list-fallback li { color: var(--faint); }
.split-comparison--list.split-comparison--light .list-fallback li { color: var(--text-light-tertiary); }
.split-comparison--list .bullet { width: 18px; flex: 0 0 18px; color: var(--accent-primary); font-weight: 800; font-size: 16px; margin-top: -2px; }
.split-comparison--list .list-fallback .bullet { color: var(--accent-alert); opacity: 0.8; }

/* ─── FAMILY 4: WORKFLOW DEVICE ROW ─── */
.workflow-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 36px; align-items: end;
}
.workflow-device { display: flex; flex-direction: column; align-items: center; text-align: center; }
.workflow-device img {
  width: 100%; max-width: 320px; height: auto; display: block; filter: drop-shadow(0 16px 40px rgba(0,0,0,.5)); transform: translateX(-16px);
}
.workflow-caption {
  font-size: 15px; color: #fff; font-weight: 600; margin-top: -24px; letter-spacing: .3px; line-height: 1.4;
}
/* Reusable CSS phone frame for raw screenshots */
.phone-frame { box-sizing: border-box; border: 8px solid #15181E; border-radius: 42px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 24px 60px rgba(0,0,0,0.55); }
.workflow-device img.phone-frame { border-radius: 36px; border-width: 7px; }

/* ─── FAMILY 5: EXPLAINER ROW ─── */
.explainer-row {
  display: grid; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: 48px;
}
.explainer-row--3col { grid-template-columns: repeat(3, 1fr); }
.explainer-row--4col { grid-template-columns: repeat(4, 1fr); }

.explainer-cell {
  padding: 26px 28px 28px; border-right: 1px solid var(--border-subtle); position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.explainer-cell:last-child { border-right: 0; }
.explainer-row .explainer-cell h4 {
  font-size: var(--t-micro); font-weight: 700; color: rgba(255,255,255,0.92); margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3;
}
.explainer-row .explainer-cell p {
  font-size: var(--t-body-lg); line-height: 1.6; color: var(--text-secondary); margin: 0; max-width: 30ch;
}

.explainer-row--light { border-color: var(--border-light-subtle); }
.explainer-row--light .explainer-cell { border-right-color: var(--border-light-subtle); box-shadow: none; }
.explainer-row--light .explainer-cell h4 { color: var(--text-light-primary); }
.explainer-row--light .explainer-cell p { color: var(--text-light-secondary); }



/* \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(60, 214, 192,0.28);
  box-shadow: inset 0 0 0 1px rgba(60, 214, 192,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--3col { grid-template-columns: repeat(3, 1fr); }
.diagnostic-matrix--4col { grid-template-columns: repeat(4, 1fr); }
.diagnostic-matrix--5col { grid-template-columns: repeat(5, 1fr); }

/* ─── SCIENCE SECTION TYPOGRAPHY TUNE-UP ─── */
.section--science .support-copy {
  max-width: 40ch;
}

/* ─── EXPLAINER GRID (Thesis Cards) ─── */
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 48px;
}
.explainer-cell {
  padding: 26px 28px 28px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.explainer-cell:last-child {
  border-right: 0;
}
.explainer-cell h4 {
  font-size: var(--t-micro);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.explainer-cell p {
  font-size: var(--t-body-lg);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 30ch;
}

.diagnostic-cell {
  background: var(--surface-2);
  padding: 28px;
  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 8px; font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.35; letter-spacing: 0.01em; text-transform: uppercase; }
.diagnostic-cell--light h4 { color: var(--text-light-primary); }
.diagnostic-cell p  { margin: 0; font-size: 15px; line-height: 1.6; 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: 24px 22px 26px;
  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: 30px;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.data-band__label {
  margin-top: 0;
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  opacity: 0.9;
}
.data-band__copy {
  margin-top: 14px;
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 18ch;
}
.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: #CFCFCF;
  border-right: 1px solid var(--border-subtle);
}
.comparison-engine {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
}
.comparison-engine strong { color: var(--accent-primary); font-weight: 500; }
.comparison-header .comparison-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 20px;
}
.comparison-header .is-engine { color: var(--text-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(60, 214, 192,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(60, 214, 192,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(60, 214, 192,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(60, 214, 192,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(60, 214, 192,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);
}

/* ─── FOUNDER NARRATIVE (TWO-COLUMN) ─── */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.founder-narrative p {
  font-size: var(--t-support);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 64ch;
}
.founder-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.founder-stat-label {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 8px;
}
.founder-stat-val {
  display: block;
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 600;
}
.section--light .founder-stat-label {
  color: var(--text-light-tertiary);
}
.section--light .founder-stat-val {
  color: var(--text-light-primary);
}
.section--light .founder-stat-val.stat-accent {
  color: #009B86; /* Stronger teal for better contrast on light backgrounds */
  font-weight: 600;
}

/* ─── 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(60, 214, 192, 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(60, 214, 192,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; }
  .diagnostic-matrix--3col { grid-template-columns: 1fr; }
  .explainer-grid { grid-template-columns: 1fr; }
  .explainer-cell { padding: 22px 20px 24px; border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .explainer-cell h4 { font-size: 12px; margin-bottom: 14px; }
  .explainer-cell p { font-size: 16px; line-height: 1.55; max-width: none; }
  .explainer-cell:last-child { border-bottom: 0; }
  .data-band--4col { grid-template-columns: repeat(2, 1fr); }
  .data-band__cell { padding: 20px; border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .data-band__value { font-size: 26px; }
  .data-band__copy { font-size: 15px; line-height: 1.5; max-width: none; }
  .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-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-secondary);
}
.comparison-row.comparison-header .comparison-cell.is-engine {
  color: var(--text-primary);
  font-weight: 700;
}
.comparison-human {
  color: #CFCFCF;
  font-size: 14px;
  line-height: 1.5;
  border-right: 1px solid var(--border-subtle);
}
.comparison-engine {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-mono);
}
.split-comparison--light .comparison-row.comparison-header .comparison-cell { color: var(--text-light-tertiary); }
.split-comparison--light .comparison-row.comparison-header .comparison-cell.is-engine { color: var(--text-light-primary); }
.split-comparison--light .comparison-human { color: var(--text-light-secondary); border-right-color: var(--border-light-subtle); }
.split-comparison--light .comparison-engine { color: var(--text-light-primary); }
.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(60, 214, 192,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(60, 214, 192,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: #171B22;
}
.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 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(8, 16, 25, 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(8, 16, 25, 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-hero); line-height: 0.98; font-weight: 800; margin-bottom: 26px; letter-spacing: -0.045em; }
.hero .sub { font-size: var(--t-support); color: #5F6662; max-width: 500px; line-height: 1.5; margin-top: 0; margin-bottom: 30px; }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: center; width: 100%; max-width: 1440px; margin: 0 auto; }

/* ─── Lifestyle-led hero (centered text + full-width lifestyle image) ─── */
.hero-lead { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero-lead .sub { margin: 0 auto; max-width: 560px; }
.hero-lead .cta-row { justify-content: center; }
.hero-lead .reassurance { margin-left: auto; margin-right: auto; }
.hero-shot { width: 100%; margin-top: 48px; border-radius: 20px; display: block; box-shadow: 0 24px 60px rgba(0,0,0,0.18); aspect-ratio: 16 / 9; object-fit: cover; }
.hero-shot-slot { aspect-ratio: 16 / 9; width: 100%; margin-top: 48px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; background: rgba(0,0,0,0.035); border: 1px dashed rgba(0,0,0,0.2); }
.hero-shot-slot .hss-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light-secondary); }
.hero-shot-slot .hss-hint { font-size: 13px; color: var(--text-light-tertiary); max-width: 52ch; line-height: 1.5; }

.hero-text { padding-left: clamp(20px, 4vw, 64px); padding-right: 48px; }
.hero-phones { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-right: clamp(20px, 4vw, 64px); }
.hero-phones img { height: 440px; width: auto; }
.hero-phones img.framed { box-sizing: border-box; border: 7px solid #15181E; border-radius: 36px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 24px 60px rgba(0,0,0,0.55); }
.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: 40px; gap: 20px; align-items: center; }

/* ─── TRUST STRIP (Connects With) ─── */
.trust-strip { margin: 56px auto 0; max-width: 1200px; padding: 28px clamp(20px, 4vw, 28px) 0; 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; }

/* Partner wordmark lockups (Strava, Withings). Sized to match the optical weight
   of the Apple Health badge; long wordmarks are capped by width, not height.
   Strava's "Compatible with Strava" mark is used unaltered per their API brand terms. */
.conn-logo-badge { display: flex; align-items: center; height: 32px; }
.conn-logo-badge img { max-height: 32px; max-width: 132px; width: auto; height: auto; object-fit: contain; display: block; }
.conn-logo-badge--withings img { max-height: 19px; }
/* Five partners: tighten the gap on small screens so the row wraps 3/2, not 2/2/1. */
@media (max-width: 480px) { .connects-logos, .trust-strip .connects-logos { gap: 20px; } }

/* 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(60, 214, 192,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(60, 214, 192,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: 0;
  margin-top: 48px;
}
.filter-card {
  padding: 0 48px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.filter-card.not {
  padding: 0 0 0 48px;
  border-left: 1px solid var(--border);
}
.section.bg-paper .filter-card.not {
  border-left-color: var(--border-light-subtle);
}
.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(60, 214, 192,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: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; margin-top: 36px; }
.day0-inputs { padding: 36px; border-right: 1px solid var(--border-subtle); background: var(--surface-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(--surface-1); color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px; font-family: inherit; font-size: var(--t-row); font-weight: 400;
  margin-bottom: 20px;
}
.day0-inputs input:focus, .day0-inputs select:focus { outline: none; border-color: var(--accent-primary); }

.d0-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; margin-bottom: 0; }
.d0-goal-btn {
  background: var(--surface-2); border: 1px solid var(--border-subtle); padding: 14px 16px; border-radius: 4px; color: var(--text-secondary); 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: rgba(60, 214, 192, 0.3); }
.d0-goal-btn.active { border-color: var(--accent-primary); background: rgba(60, 214, 192,0.05); color: var(--accent-primary); box-shadow: 0 8px 24px rgba(60, 214, 192,0.05); }
.d0-goal-btn.active .btn-sub { color: #fff; }
.d0-goal-btn .btn-sub { display: block; font-size: 12px; color: var(--text-tertiary); 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(--accent-primary); color: var(--accent-primary); border-radius: 2px; text-transform: uppercase; font-weight: 500; }
.day0-output h3 { margin-top: 14px; color: var(--text-primary); }
.d0-stat { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border-subtle); align-items: baseline; }
.d0-stat:first-of-type { border-top: 0; }
.d0-stat .k { color: var(--text-secondary); 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(--text-tertiary); font-size: 12px; margin-top: 6px; line-height: 1.5; }

/* ─── DAY 0 · EXTENDED (four-panel journey) ─── */
.day0 + .day0,
.day0 + .d0-macros-panel,
.d0-macros-panel + .day0 { margin-top: 40px; }
.d0-panel-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent-primary); text-transform: uppercase; margin-bottom: 18px; }
.d0-helper { color: var(--text-tertiary); font-size: 12px; margin: 10px 0 22px; line-height: 1.5; }
.d0-citation { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-tertiary); text-transform: uppercase; margin-left: 6px; font-weight: 400; }
.d0-inline-metric { font-family: var(--font-data); color: var(--accent-primary); font-weight: 500; margin-left: 8px; }

/* Radio rows (sex + intensity) */
.d0-radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px; }
.d0-radio {
  background: var(--surface-2); border: 1px solid var(--border-subtle); padding: 14px 16px; border-radius: 4px;
  color: var(--text-secondary); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; transition: all 0.15s ease; line-height: 1.4;
  font-family: inherit;
}
.d0-radio:hover { border-color: rgba(60, 214, 192, 0.3); }
.d0-radio.active { border-color: var(--accent-primary); background: rgba(60, 214, 192,0.05); color: var(--accent-primary); box-shadow: 0 8px 24px rgba(60, 214, 192,0.05); }
.d0-radio.active .btn-sub { color: #fff; }
.d0-radio .btn-sub { display: block; font-size: 10px; color: var(--text-tertiary); font-weight: 400; margin-top: 4px; letter-spacing: 0.02em; line-height: 1.35; }

/* NEAT + activity picker (3-col) */
.d0-neat { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.d0-neat .d0-radio { padding: 12px 8px; font-size: 12px; text-align: center; }
.d0-neat .d0-radio .btn-sub { text-align: center; }

/* Deficit slider */
#d0-deficit-wrap { margin-top: 0; }
.d0-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #FFBE0B 60%, var(--accent-alert) 100%);
  outline: none; margin: 12px 0 12px 0;
}
.d0-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.d0-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.d0-slider-ends {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px;
}
.d0-slider-scale {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.05em; margin-bottom: 16px; opacity: 0.5;
}

/* App-limit tick on the deficit slider */
.d0-slider-host { position: relative; }
.d0-slider-tick {
  position: absolute; top: 50%; width: 2px; height: 26px; background: var(--accent-primary);
  box-shadow: 0 0 6px rgba(60, 214, 192,0.6);
  transform: translate(-1px, -50%); pointer-events: none; transition: left 0.25s ease;
  z-index: 2;
}
.d0-slider-tick::after {
  content: "APP LIMIT";
  position: absolute; left: 50%; top: -16px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px; color: var(--accent-primary); letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Four-constraint safety floors block */
.d0-floors {
  margin-top: 14px; padding: 18px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); background: rgba(0,0,0,0.18);
}
.d0-floors-title {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px;
}
.d0-floors-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em;
  color: var(--text-tertiary); text-transform: uppercase;
}
.d0-floors-binding {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-primary); letter-spacing: 0.05em;
}
.d0-floor-row {
  display: grid; grid-template-columns: 1fr auto minmax(48px, auto); gap: 12px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 13px;
}
.d0-floor-row:first-of-type { border-top: 0; }
.d0-floor-name { color: var(--text-secondary); }
.d0-floor-max { font-family: var(--font-data); color: var(--text-primary); font-size: 14px; }
.d0-floor-status { text-align: center; font-family: var(--font-mono); font-size: 13px; }
.d0-floor-row.binding .d0-floor-name   { color: var(--accent-primary); }
.d0-floor-row.binding .d0-floor-max    { color: var(--accent-primary); font-weight: 600; }
.d0-floor-row.binding .d0-floor-status { color: var(--accent-primary); }
.d0-floor-row.breach .d0-floor-name    { color: #FF206E; }
.d0-floor-row.breach .d0-floor-max     { color: #FF206E; font-weight: 600; }
.d0-floor-row.breach .d0-floor-status  { color: #FF206E; }

/* BMR context row — informational only, not a safety gate. Muted styling
   so it visually reads as reference data, not a pass/fail line. */
.d0-floor-row.d0-floor-info .d0-floor-name   { color: var(--text-tertiary); font-style: italic; }
.d0-floor-row.d0-floor-info .d0-floor-max    { color: var(--text-tertiary); font-family: var(--font-mono); font-size: 12px; }
.d0-floor-row.d0-floor-info .d0-floor-status { color: var(--text-tertiary); }

/* Additional verdict variants for BMR / rate breach */
.d0-ea-verdict.breach     { background: rgba(255,32,110,0.08); border-left: 3px solid #FF206E; color: #FF206E; }
.d0-ea-verdict.rate-warn  { background: rgba(255,190,11,0.08); border-left: 3px solid #FFBE0B; color: #FFBE0B; }

/* Peri-workout 4-col table (label / pre / intra / post) */
.d0-peri-table {
  margin-top: 14px; padding: 16px 20px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); background: rgba(0,0,0,0.18);
}
.d0-peri-row {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 8px;
  padding: 8px 0; border-top: 1px solid var(--border-subtle); align-items: baseline;
  font-size: 13px;
}
.d0-peri-row:first-of-type { border-top: 0; padding-top: 2px; padding-bottom: 10px; }
.d0-peri-head .d0-peri-cell {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-tertiary); text-transform: uppercase;
}
.d0-peri-cell { color: var(--text-primary); font-family: var(--font-data); }
.d0-peri-label { color: var(--text-secondary); font-family: inherit; font-size: 12px; }

/* EA safety band */
.d0-ea-block { padding: 20px 0 4px; border-top: 1px solid var(--border-subtle); margin-top: 14px; }
.d0-ea-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.d0-ea-label { color: var(--text-secondary); font-size: var(--t-body); }
.d0-ea-value { font-family: var(--font-data); font-size: 28px; color: var(--text-primary); font-weight: 500; letter-spacing: -0.02em; }
.d0-ea-bar {
  position: relative; height: 10px; border-radius: 5px; overflow: hidden;
  background: linear-gradient(90deg, #FF206E 0%, #FF206E 35%, #FFBE0B 35%, #FFBE0B 60%, #3CD6C0 60%, #3CD6C0 100%);
  margin-bottom: 6px;
}
.d0-ea-bar-fill { position: absolute; inset: 0; background: rgba(12,15,10,0.55); transform-origin: right; transition: transform 0.25s ease; }
.d0-ea-bar-marker {
  position: absolute; top: -4px; width: 2px; height: 18px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.5);
  transform: translateX(-1px); transition: left 0.25s ease;
}
.d0-ea-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.05em; margin-bottom: 14px; }
.d0-ea-verdict {
  padding: 12px 14px; border-radius: 4px; font-size: 13px; line-height: 1.45; font-weight: 500;
  margin-bottom: 8px;
}
.d0-ea-verdict.optimal     { background: rgba(60, 214, 192,0.08); border-left: 3px solid var(--accent-primary); color: var(--accent-primary); }
.d0-ea-verdict.subclinical { background: rgba(255,190,11,0.08); border-left: 3px solid #FFBE0B; color: #FFBE0B; }
.d0-ea-verdict.clinical    { background: rgba(255,32,110,0.08); border-left: 3px solid #FF206E; color: #FF206E; }
.d0-ea-thresh { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); letter-spacing: 0.03em; }

/* Stat row variants */
.d0-stat-highlight .v { color: var(--accent-primary); font-weight: 600; }
.d0-stat-sub { padding: 4px 0 8px; border-top: 0 !important; }
.d0-stat-sub .k { font-size: 11px; color: var(--text-tertiary); }
.d0-stat-sub .v { font-size: 13px; color: var(--text-secondary); }
.d0-stat-emph { padding-top: 18px; border-top: 1px solid var(--accent-primary); margin-top: 8px; }
.d0-stat-emph .v { color: var(--text-primary); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.d0-v-sub { font-family: var(--font-mono); }

/* Macros panel (full-width 3-card grid) */
.d0-macros-panel { background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 36px; }
.d0-macros-header { margin-bottom: 28px; }
.d0-macros-header h3 { margin-top: 8px; color: var(--text-primary); text-transform: none; letter-spacing: 0.01em; }
.d0-macros-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.d0-macro-card {
  background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: 4px;
  padding: 24px; position: relative; overflow: hidden;
}
.d0-macro-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border-subtle);
}
.d0-macro-card--protein::before { height: 4px; background: var(--accent-primary); }
.d0-macro-card--protein { background: rgba(60, 214, 192, 0.03); }
.d0-macro-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 10px; }
.d0-macro-value { font-family: var(--font-data); font-size: 40px; color: var(--text-primary); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.d0-macro-sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-top: 6px; letter-spacing: 0.02em; }
.d0-macro-cite { margin-top: 14px; font-size: 12px; color: var(--text-tertiary); line-height: 1.5; }

/* Engine Handoff payload */
.d0-closing {
  margin-top: 24px; 
  padding: 32px 40px; 
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.d0-closing p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.d0-closing strong { color: var(--accent-primary); font-weight: 600; }

/* ─── FOUNDER STATEMENT (authored memo) ─── */
.founder-statement,
.founder {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  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: 8px;
  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-subtle); }
.q-list li {
  padding: 22px 20px;
  border-bottom: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  color: var(--text-primary);
  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: 8px;
  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(60, 214, 192,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: 160px 0 160px;
  background: var(--surface-light-3) !important;
}
.page-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero-image {
  margin-top: 80px;
  width: 100%;
  max-width: 1040px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.15));
  border: 1px solid var(--border-light-subtle);
}
.page-hero.about { padding: 48px 0 160px; }
.page-hero.about .sub { max-width: 580px; opacity: 0.8; }

.section.first.page-hero:not(.about) { padding-top: 150px; }
.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(--text-secondary);
  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-subtle); border-radius: 8px; background: var(--surface-2); overflow: hidden; }
@media (min-width: 768px) { .vs-grid { grid-template-columns: 140px 1fr 1fr; } }
.vs-header { font-weight: 700; color: var(--text-tertiary); padding: 24px; background: var(--surface-2); border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.vs-cell { padding: 24px; font-size: 15px; color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); display: flex; align-items: center; }
.vs-col-header { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-tertiary); background: var(--surface-2); }
.vs-header-blank { background: var(--surface-2); }
/* 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); }

/* ─── INPUT LAYER GRID ─── */
.input-layer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}
@media (min-width: 900px) {
  .input-layer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.input-cell {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 32px 24px;
  border-left: 3px solid var(--border-subtle);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.input-cell:hover {
  border-left-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.input-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}
.input-cell:hover .input-step {
  border-color: rgba(255, 255, 255, 0.2);
}
.input-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.input-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

/* ─── 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: 48px;
  align-items: center;
}
.day-block h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 16px;
  margin-bottom: 32px;
  font-weight: 800;
  color: var(--text-primary);
}
.day-block p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
  max-width: 30ch;
}
.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: 500px; 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: 24px;
}
.day-signal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

/* Light-section variants — day-block label + chips were white (invisible on stone/paper) */
.section--light .time-label, .section--paper .time-label,
.section.bg-stone .time-label, .section.bg-paper .time-label {
  color: rgba(0,0,0,0.66); border-color: rgba(0,0,0,0.14); background: rgba(0,0,0,0.03);
}
.section--light .day-signal, .section--paper .day-signal,
.section.bg-stone .day-signal, .section.bg-paper .day-signal {
  color: rgba(0,0,0,0.6); border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.025);
}

/* ─── 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;
  max-width: none;
}

/* ─── BREAKOUT COMPONENTS ─── */
/* Bulletproof full-width breakout for tables and comparisons */
.article-body .split-comparison,
.article-body table,
.article-body .table-wrapper,
.article-body .vs-grid,
.article-body .comparison-table,
.article-body .comparison-matrix {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 48px;
  margin-bottom: 48px;
  overflow-x: auto;
}

@media (min-width: 1140px) {
  .article-body .split-comparison,
  .article-body table,
  .article-body .table-wrapper,
  .article-body .vs-grid,
  .article-body .comparison-table,
  .article-body .comparison-matrix {
    width: 1140px;
    margin-left: calc(50% - 570px);
  }
}
.article-body .citation {
  font-size: 13px;
  color: var(--text-tertiary);
  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 4px 4px 0;
}
.article-body blockquote p { color: var(--text-primary); 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(--text-secondary); }
.article-body .stat-inline,
.article-body code,
.article-body mark {
  font-family: var(--font-data);
  color: var(--text-primary);
  background: var(--surface-2);
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

.section.bg-paper .article-body .stat-inline,
.section.bg-paper .article-body code,
.section.bg-paper .article-body mark {
  color: var(--text-light-primary);
  background: rgba(0, 0, 0, 0.05);
}

/* ─── ARTICLE BYLINE ─── */
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.article-byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light-subtle);
}
.article-byline-text { min-width: 0; }
.article-byline-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-ink);
  line-height: 1.3;
}
.article-byline-name a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.2); }
.article-byline-name a:hover { border-bottom-color: var(--paper-ink); }
.article-byline-title {
  font-weight: 400;
  color: var(--paper-dim);
}
.article-byline-title::before { content: ", "; }
.article-meta-line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-top: 6px;
}
/* Unattributed articles have no byline block, so the meta line carries the
   top margin the byline would otherwise have provided. */
.article-body > .article-meta-line { margin-top: 20px; }
.article-meta-line time { color: inherit; }

/* ─── ARTICLE ENGAGEMENT (reactions + share) ─── */
.article-engage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
}
.article-engage-group,
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-engage-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.article-engage-vote,
.article-share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border-light-subtle);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.article-engage-vote:hover,
.article-share-link:hover {
  color: var(--paper-ink);
  border-color: rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.03);
}
/* Teal marks the reader's own choice — the one state on this strip that
   says "you changed something". Everything else stays on the ink ramp. */
.article-engage-vote.is-active {
  color: var(--teal-dim);
  border-color: rgba(14, 158, 139, 0.4);
  background: rgba(14, 158, 139, 0.06);
}
.article-engage-count { font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .article-engage {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .article-byline-title::before { content: ""; display: block; }
}

/* ─── 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: 8px;
  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: 8px;
  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: 8px;
  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-subtle); }
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.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(--text-primary); margin: 0; }
.faq-q .faq-arrow { color: var(--text-tertiary); 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(--text-secondary); line-height: 1.6; margin: 0; }

/* ─── FOOTER ─── */
footer { padding: 56px 0; border-top: 1px solid var(--border-subtle); color: var(--text-tertiary); 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(--text-secondary); }
footer .footer-links a:hover { color: var(--text-primary); }
footer .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
footer .footer-legal a { color: var(--text-tertiary); }
footer .footer-legal a:hover { color: var(--text-primary); }
footer .footer-copy { margin-top: 24px; color: var(--text-tertiary); font-size: 12px; }
footer .logo img { margin-left: 1px; }

/* ─── FINAL CTA BLOCK ─── */
.final-cta {
  text-align: center;
  padding: 128px 0;
  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(14, 158, 139,0.08); border-color: rgba(14, 158, 139,0.25); }

.final-cta h2 {
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 0 auto 24px;
  font-weight: 800;
}
.final-cta p {
  max-width: 38ch;
  margin: 0 auto;
  font-size: var(--t-support);
  line-height: 1.5;
  color: var(--text-secondary);
}
.final-cta .cta-row {
  justify-content: center;
  margin-top: 34px;
  flex-direction: column;
  align-items: center;
}
.final-cta .cta {
  font-size: 16px;
  padding: 18px 28px;
}
.final-cta .hero-link,
.final-cta .cta-link,
.quiet-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 150ms ease;
  font-weight: 500;
}
.quiet-link:hover {
  color: var(--text-primary);
  text-decoration-color: var(--text-primary);
}

/* ─── NOTIFY / WAITLIST FORM ─── */
.notify-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  max-width: 480px;
  margin: 34px auto 0;
}
.notify-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 18px;
  font-family: var(--font-body, inherit);
  font-size: 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: border-color 150ms ease, background 150ms ease;
}
.notify-form input[type="email"]::placeholder { color: var(--text-secondary); }
.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.06);
}
.notify-form .cta {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-top: 0;
}
.notify-form .cta:disabled { opacity: 0.6; cursor: default; }
.notify-status {
  min-height: 1.2em;
  margin: 14px auto 0;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}
.notify-status--ok { color: var(--accent-primary); }
.notify-status--error { color: #FF8E72; }
@media (max-width: 540px) {
  .notify-form { flex-direction: column; }
  .notify-form .cta { width: 100%; justify-content: center; }
}

/* ─── ZIG-ZAG LAYOUT ─── */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 48px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.zigzag-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.zigzag-block--reverse {
  grid-template-columns: 1fr 1fr;
}
.zigzag-block--reverse .zigzag-text {
  order: 2;
}
.zigzag-block--reverse .zigzag-image {
  order: 1;
}
.step-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-tertiary);
  margin-bottom: 16px;
}
.zigzag-text h3 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.zigzag-text .section-copy {
  margin-bottom: 0;
}
.zigzag-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.zigzag-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  h1 { font-size: 40px !important; }
  h2 { font-size: 28px; }
  .section-headline { font-size: var(--t-section-display-mobile); line-height: 1.08; }
  .eyebrow, .tag { font-size: 12px; letter-spacing: 0.01em; margin-bottom: 24px; }
  .hero h1 {
    font-size: clamp(40px, 10vw, 52px) !important;
    line-height: 1.02;
    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; }
  .filter-card { padding: 0 0 32px 0 !important; }
  .filter-card.not { padding: 32px 0 0 0 !important; border-left: 0 !important; border-top: 1px solid var(--border-subtle); }
  .section.bg-paper .filter-card.not { border-top-color: var(--border-light-subtle); }
  .hero-phone { justify-content: center; padding-top: 32px; margin-right: 0; }
  .hero-phone img, .hero-phone picture img { max-width: 280px; }
  .hero-phones { gap: 8px; padding-top: 32px; }
  .hero-phones img { height: 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-subtle); padding: 18px 20px; }
  .proof-bar > div:first-child { border-top: 0; }
  .zigzag-block, .zigzag-block--reverse { grid-template-columns: 1fr; gap: 32px; }
  .zigzag-block--reverse .zigzag-text { order: unset; }
  .zigzag-block--reverse .zigzag-image { order: unset; }
  .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-subtle); }
  .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-subtle); }
  .d0-macros-grid { grid-template-columns: 1fr; gap: 12px; }
  .d0-macros-panel { padding: 28px; }
  .d0-neat { grid-template-columns: 1fr; }
  .d0-radio-row { grid-template-columns: 1fr 1fr; }
  .d0-closing { padding: 24px; }
  .founder, .founder-statement, .pull-quote { padding: 28px; }
  .founder-teaser { padding: 48px 24px; }
  .founder-teaser blockquote { font-size: 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; }
  .founder-grid { display: block; }
  .founder-quote-column { 
    position: sticky !important; 
    top: 80px !important; 
    background: var(--black); 
    z-index: 10; 
    padding: 24px 0 24px; 
    margin: 0 0 32px 0;
    box-shadow: 0 20px 20px -10px var(--black);
  }
  footer .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 40px; }
  
  .explainer-cell { padding: 22px 20px 24px; }
  .explainer-cell h4 { font-size: 12px; margin-bottom: 14px; }
  .explainer-cell p { font-size: 16px; line-height: 1.55; max-width: none; }
  .data-band__cell { padding: 20px; }
  .data-band__value { font-size: 26px; }
  .data-band__copy { font-size: 15px; line-height: 1.5; max-width: none; }
  .final-cta h2 { font-size: 40px; line-height: 1.08; max-width: 14ch; letter-spacing: -0.02em; }
  .final-cta p { font-size: 16px; max-width: 30ch; }
  .final-cta .cta { width: auto; min-width: 220px; justify-content: center; }
}


/* Baseline Refactoring Engine Fixes */
.day0 {
  display: grid !important;
  grid-template-columns: 1.15fr 1.4fr !important;
  gap: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media(max-width:900px) {
  .day0 { grid-template-columns: 1fr !important; }
}

.day0-inputs {
  opacity: 1;
  background: transparent;
  padding: 36px !important;
  border-right: 1px solid var(--border-subtle) !important;
}
.day0-inputs label {
  color: var(--text-tertiary) !important;
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.d0-section-group--measurements, .d0-section-group--composition,
.d0-section-group--focus {
  margin-bottom: 40px;
}
.d0-section-group--deficit .d0-slider {
  margin: 14px 0 14px 0;
}
@media (max-width: 768px) {
  .d0-section-group--focus { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .d0-section-group--focus { margin-bottom: 24px; }
}

.d0-compact-group {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.8fr;
  gap: 16px;
}
@media(max-width: 1050px) {
  .d0-compact-group {
    grid-template-columns: 1fr 1fr;
  }
}
.d0-compact-group > div {
  display: flex;
  flex-direction: column;
}
.d0-compact-group label { margin-bottom: 8px; }
.d0-compact-group .input-row { display: grid !important; grid-template-columns: 1.5fr 1fr; gap: 8px; width: 100%; margin-bottom: 0 !important; border-color: var(--border-quiet); }
.d0-compact-group .input-row input { padding-left: 8px !important; padding-right: 4px !important; color: var(--text-secondary); opacity: 0.9; }
.d0-compact-group .input-row select { padding-left: 4px !important; padding-right: 4px !important; color: var(--text-secondary); }
.d0-compact-group > div > input { width: 100%; margin-bottom: 0 !important; border-color: var(--border-quiet); color: var(--text-secondary); opacity: 0.9; }

.d0-radio-row--wrap {
  flex-wrap: wrap;
  gap: 12px;
}
.d0-radio-row--wrap button {
  flex: 1 1 calc(50% - 6px);
  padding: 18px 16px;
}

.d0-continuity-tag {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.d0-subordinate-block {
  padding: 16px;
  border-left: 2px solid var(--border-quiet);
  margin-top: 24px;
}

.d0-macro-intro {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Testimonial card (.uvp-quote) — shared across About + Home. Single source of truth. */
.uvp-quote{position:relative;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-2);overflow:hidden;display:grid;grid-template-columns:minmax(280px,42%) 1fr}
.uvp-quote__photo{position:relative;min-height:430px}
.uvp-quote__photo > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 10%;-webkit-mask-image:linear-gradient(90deg,#000 56%,transparent 100%);mask-image:linear-gradient(90deg,#000 56%,transparent 100%)}
.uvp-quote__body{padding:38px clamp(24px,4vw,52px);display:flex;flex-direction:column;justify-content:center}
.uvp-quote__ctx{display:flex;align-items:center;gap:16px;font-family:var(--font-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-primary);margin-bottom:22px}
.uvp-quote__ctx::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(60, 214, 192,.4),transparent)}
.uvp-quote__q{font-size:clamp(21px,2.5vw,29px);line-height:1.4;font-weight:600;letter-spacing:-.01em;color:var(--text-primary);margin:0}
.uvp-quote__q .hl{color:var(--accent-primary)}
.uvp-quote__by{display:flex;align-items:center;gap:14px;margin-top:28px}
.uvp-quote__avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;flex:0 0 auto;border:1.5px solid var(--accent-primary)}
.uvp-quote__avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 6%}
.uvp-quote__byname{font-size:15px;font-weight:700;color:var(--text-primary);line-height:1.3}
.uvp-quote__byrole{display:block;font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--text-tertiary);margin-top:3px}
.uvp-quote__stats{display:flex;flex-wrap:wrap;gap:30px 40px;margin-top:30px;padding-top:26px;border-top:1px solid var(--border-subtle)}
.uvp-quote__stat .v{font-size:27px;font-weight:800;letter-spacing:-.02em;color:var(--accent-primary);line-height:1}
.uvp-quote__stat .v .u{font-size:13px;font-weight:600;color:var(--text-tertiary)}
.uvp-quote__stat .k{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-tertiary);margin-top:9px}
.uvp-quote__foot{margin-top:18px;font-family:var(--font-mono);font-size:11.5px;line-height:1.55;color:var(--text-tertiary)}
@media(max-width:760px){ .uvp-quote{grid-template-columns:1fr} .uvp-quote__photo{min-height:300px} .uvp-quote__photo > img{-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,#000 62%,transparent 100%);object-position:50% 8%} }
