/* narrative.css — v2 full-viewport story layout */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #0a0a0a;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1e1e1e 0%, #0a0a0a 60%, #000 100%);
  pointer-events: none;
  z-index: 0;
}
section, nav, .screen, .hero, .article { position: relative; z-index: 1; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
  z-index: 100;
  transition: background .3s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 949px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-weight: 600;
  font-size: var(--ts-md);
  letter-spacing: -0.01em;
  color: #e0e0e0;
}
.nav-logo span { color: var(--accent); }
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0f0f0;
  color: #0a0a0a;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1;
  transition: transform .2s;
}
.app-store-badge:hover { transform: translateY(-1px); }
.app-store-badge svg { flex-shrink: 0; }
.asb-text { display: flex; flex-direction: column; gap: 1px; }
.asb-top { font-size: 9px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; opacity: .82; }
.asb-bot { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #555555;
  margin-bottom: 20px;
}

/* ── Screen primitives ── */
.screen {
  padding: 130px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
section.screen-dark { max-width: none; margin: 0; }

.section-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  width: 70%;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
}

.screen-label {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555555;
  margin-bottom: 24px;
}

.screen h1,
.screen h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f0f0f0;
  max-width: 18ch;
}

.screen p.lede {
  font-size: var(--ts-md);
  color: #a0a0a0;
  max-width: 54ch;
  margin-top: 24px;
  line-height: 1.55;
}

/* ── Screen 1: Hero composite ── */
.hero {
  align-items: flex-start;
}
.hero-inner {
  width: 100%;
  max-width: 949px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 300;
  max-width: none;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f0f0f0;
}
.hero p.lede {
  margin-top: 24px;
  max-width: none;
}

.hero-composite {
  width: 100%;
  margin: 56px 0 0;
  position: relative;
  padding: 0;
}
.hero-chart-box {
  background: var(--surface);
  padding: 24px 28px;
  position: relative;
}

.hero-composite-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: var(--ts-sm);
  color: var(--text-muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hk-badge {
  font-family: var(--font);
  font-size: var(--ts-sm);
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s ease, transform .5s ease;
}

.hero-chart {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 320px;
}
.hero-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero-chart .le-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.hero-chart .le-line.drawn { transition: stroke-dashoffset 2s ease; stroke-dashoffset: 0; }
.hero-chart .le-fill { opacity: 0; }
.hero-chart .le-fill.drawn { transition: opacity .8s ease .6s; opacity: .45; }

/* Insight callouts */
.callout {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: var(--ts-sm);
  box-shadow: var(--sh-pop);
  opacity: 0;
  transform: translateY(6px) scale(.96);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  white-space: nowrap;
}
.callout.shown { opacity: 1; transform: translateY(0) scale(1); }
.callout::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.callout .c-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.callout .c-label {
  font-weight: 600;
  color: var(--text);
}
.callout .c-sub {
  display: block;
  font-size: var(--ts-xs);
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--mono);
}

/* HCG trough before Mon injection (~x=160, y=95 → 40% left, 73% top).
   Place callout to the LEFT of the trough with arrow on the right edge
   pointing right — keeps the Today axis label visible. */
.callout.dip { top: 66%; left: 10%; border-color: rgba(220, 38, 38, 0.3); }
.callout.dip::after {
  top: 14px; left: auto; right: -6px;
  border-bottom: none; border-left: none;
  border-top: 1px solid rgba(220,38,38,.3);
  border-right: 1px solid rgba(220,38,38,.3);
}

/* T Cyp + HCG peak at Mon injection (~x=178, y=10 → 44% left, 8% top).
   Place callout below the peak with arrow on top. */
.callout.peak { top: 16%; left: 42%; border-color: rgba(13, 148, 136, 0.3); }
.callout.peak::after { top: -6px; left: 22px; border-left: 1px solid rgba(13,148,136,.3); border-top: 1px solid rgba(13,148,136,.3); border-right: none; border-bottom: none; }

/* Compound rows below chart */
.hero-compounds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
}
.hero-cmp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: var(--ts-sm);
}
.hero-cmp-name { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-cmp-dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-cmp-pct { font-family: var(--mono); font-weight: 600; }
.hero-cmp-state { font-size: var(--ts-xs); color: var(--text-muted); margin-left: auto; }

/* ── Screen 2: The Daily Question ── */
.screen-dark {
  background: transparent;
  color: #f0f0f0;
  max-width: none;
  padding: 130px 32px;
  min-height: 0;
  display: flex;
  align-items: center;
}
.screen-dark .s2-inner {
  width: 100%;
  max-width: 949px;
  margin: 0 auto;
}
.screen-dark .mock,
.screen-dark .ci-mock,
.screen-dark .bw-mock,
.screen-dark .wk-mock,
.screen-dark .hk-mock,
.screen-dark .trust-mock,
.screen-dark .ins-mock { margin-top: 56px; }
.screen-dark .s2-inner .lede { margin-top: 40px; color: #a0a0a0; max-width: 54ch; }
.screen-dark h2 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f0f0f0;
  max-width: none;
}
.screen-dark .lede {
  font-size: var(--ts-md);
  color: #888888;
  margin-top: 24px;
  line-height: 1.55;
  max-width: 42ch;
}
.screen-dark .lede strong { color: #f0f0f0; font-weight: 500; }

/* ── Screen 3: The Pattern ── */
.screen-light {
  min-height: 0;
  padding: 130px 32px;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  background: transparent;
}
section.screen-light { max-width: none; margin: 0; }
.screen-light .s-inner,
.screen-light .s2-inner,
.screen-dark .s-inner,
.screen-dark .s2-inner { width: 100%; max-width: 949px; margin: 0 auto; }
.screen-light h2 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f0f0f0;
  max-width: none;
}
.screen-light .lede {
  font-size: var(--ts-md);
  color: #a0a0a0;
  margin-top: 40px;
  line-height: 1.55;
  max-width: 54ch;
}
.screen-light .mock { margin-top: 56px; }

/* Weekly summary mockup */
.wk-mock { background: var(--surface); padding: 36px 40px; color: var(--text); }
.wk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.wk-score { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 6px; }
.wk-score-big {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: .9;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.wk-score-of { font-size: var(--ts-xl); color: var(--text-muted); font-family: var(--mono); }
.wk-score-delta {
  margin-left: auto;
  font-size: var(--ts-sm);
  color: var(--teal);
  font-family: var(--mono);
}
.wk-sub {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.wk-deltas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wk-delta { text-align: left; }
.wk-delta .nm {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.wk-delta .v {
  font-family: var(--mono);
  font-size: var(--ts-xl);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.wk-delta .v.up { color: var(--teal); }
.wk-delta .v.down { color: var(--red); }
.wk-delta .v.flat { color: var(--text-muted); }

.wk-insight {
  margin: 32px 0;
  font-size: var(--ts-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  max-width: 40ch;
}

.wk-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wk-day {
  padding: 24px 22px 22px;
  background: var(--bg);
  position: relative;
  cursor: pointer;
  transition: background .2s;
}
.wk-day:hover, .wk-day.active { background: var(--surface-2); }
.wk-day .lbl {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.wk-day .val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wk-day .val .of { font-size: 18px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.wk-day.low .val { color: var(--red); }
.wk-day.high .val { color: var(--teal); }
.wk-day.mid .val { color: var(--amber); }
.wk-day .bar {
  height: 4px;
  background: var(--border);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.wk-day .bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: currentColor;
}
.wk-day.low .bar::after { transform: scaleX(.6); color: var(--red); }
.wk-day.high .bar::after { transform: scaleX(.72); color: var(--teal); }
.wk-day.mid .bar::after { transform: scaleX(.68); color: var(--amber); }
.wk-day .note {
  margin-top: 10px;
  font-size: var(--ts-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.wk-foot {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ── Screen 4: The Evidence (blood work) ── */
.bw-mock { background: var(--surface); padding: 36px 40px; color: var(--text); }
.bw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.bw-markers { display: flex; flex-direction: column; }
.bw-marker {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.bw-marker:last-child { border-bottom: none; }

.bw-marker-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.bw-marker .nm {
  font-size: var(--ts-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.bw-marker .val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--ts-md);
  font-weight: 500;
  margin-bottom: 28px;
}
.bw-marker .val .u { color: var(--text-muted); margin-left: 4px; font-weight: 400; }
.bw-marker .val.high { color: var(--red); }
.bw-marker .val.borderline { color: var(--amber); }
.bw-marker .val.ok { color: var(--teal); }

/* Range bar — matches iOS app: red | green | red with dot + pill */
.bw-range {
  position: relative;
  height: 6px;
  margin: 0 0 34px;
  border-radius: 3px;
  overflow: visible;
  background: linear-gradient(
    to right,
    #ff453a 0%,
    #ff453a 10%,
    #30d158 10%,
    #30d158 90%,
    #ff453a 90%,
    #ff453a 100%
  );
}
.bw-range .dot {
  position: absolute;
  top: 50%;
  width: 16px; height: 16px;
  background: var(--surface);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.bw-range .pill {
  position: absolute;
  top: -34px;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--ts-xs);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bw-range .pill::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--surface);
  filter: drop-shadow(0 1px 0 var(--border));
}
.bw-range-labels {
  position: absolute;
  top: 14px;
  left: 0; right: 0;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  color: var(--text-muted);
  display: block;
  height: 0;
}
.bw-range-labels .lo { position: absolute; left: 10%; transform: translateX(-50%); }
.bw-range-labels .hi { position: absolute; left: 90%; transform: translateX(-50%); }

.bw-status {
  font-family: var(--font);
  font-size: var(--ts-sm);
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  text-transform: none;
  letter-spacing: 0;
}
.bw-status.high { color: var(--red); }
.bw-status.borderline { color: var(--amber); }
.bw-status.ok { color: var(--teal); }

.bw-trend-wrap {
  padding-top: 18px;
  margin-top: 8px;
  display: none;
}
.bw-marker.open .bw-trend-wrap { display: block; }
.bw-trend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.bw-trend svg { width: 100%; height: auto; display: block; }
.bw-trend .trend-info .lbl {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.bw-trend .trend-info .big {
  font-size: var(--ts-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bw-foot {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

/* ── Side-by-side screen with phone frame ── */
.screen .split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
  margin-top: 0;
}
.screen .split.phone-left { grid-template-columns: 360px 1fr; }
.screen .split.phone-left .phone { justify-self: start; }
.screen .split .phone { margin-top: -30px; }

/* Dark app UI (as the TRT Companion iOS app actually appears) */
.phone-screen.app-dark { background: #000; }
.phone-screen.app-dark .phone-statusbar { color: #fff; }
.phone-screen.app-dark .phone-home { background: #fff; }

/* Dark interior component overrides */
.app-dark .app-nav .back { background: #3a3a3c; color: #fff; }
.app-dark .app-nav .title { color: #fff; }
.app-dark .app-title-large { color: #fff; }
.app-dark .ins-updated { color: #8e8e93; }
.app-dark .today-score,
.app-dark .today-vital,
.app-dark .today-supply { background: #1c1c1e; box-shadow: none; }
.app-dark .today-score .lbl { color: #8e8e93; }
.app-dark .today-score .of { color: #636366; }
.app-dark .today-score .chev { color: #636366; }
.app-dark .today-sec-head { color: #8e8e93; }
.app-dark .today-sec-head .prog { color: #636366; }
.app-dark .today-dose .ck { border-color: #38383a; }
.app-dark .today-dose .nm { color: #fff; }
.app-dark .today-dose.done .nm { color: #636366; }
.app-dark .today-dose .meta { color: #8e8e93; }
.app-dark .today-insights { background: rgba(140,92,191,.12); border-color: rgba(140,92,191,.28); }
.app-dark .today-insights .ti-head { color: #fff; }
.app-dark .today-vital .tv-val,
.app-dark .today-supply .ts-val,
.app-dark .today-supply .ts-nm { color: #fff; }
.app-dark .app-tabbar { background: rgba(28,28,30,.9); box-shadow: 0 0 0 0.5px rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.app-dark .app-tab { color: #636366; }
.app-dark .app-tab.active.pill { background: #3a3a3c; color: #0a84ff; }
.app-dark .app-card { background: #1c1c1e; box-shadow: none; }
.app-dark .app-card h3 { color: #fff; }
.app-dark .app-score .lbl,
.app-dark .app-score .of,
.app-dark .app-score .d { color: #8e8e93; }
.app-dark .app-metrics { border-top-color: #38383a; }
.app-dark .app-metric { color: #8e8e93; }
.app-dark .app-vitals .row { border-bottom-color: #38383a; }
.app-dark .app-vitals .row .l { color: #8e8e93; }
.app-dark .app-vitals .row .v { color: #fff; }
.app-dark .app-vitals .row .v .u { color: #636366; }
.app-dark .app-notes p { color: rgba(235,235,245,.8); }
.app-dark .app-btn { background: #0a84ff; color: #fff; }
.app-dark .le-pills { background: #1c1c1e; }
.app-dark .le-pill { color: #8e8e93; }
.app-dark .le-pill.active { background: #3a3a3c; color: #fff; }
.app-dark .le-chart { background: #1c1c1e; box-shadow: none; }
.app-dark .le-chart line { stroke: #3a3a3c; }
.app-dark .le-chart text { fill: #636366; }
.app-dark .le-legend { background: #1c1c1e; box-shadow: none; }
.app-dark .le-legend .nm { color: #8e8e93; }
.app-dark .ins-row { border-bottom-color: #2a2a2a; }
.app-dark .ins-badge { background: rgba(140,92,191,.15); color: #8C5CBF; }
.app-dark .ins-cat { color: #8e8e93; }
.app-dark .ins-headline { color: #fff; }
.app-dark .ins-foot { color: #636366; }
.app-dark .ins-chev { color: #636366; }
.app-dark .rpt { color: #fff; }
.app-dark .rpt-head h3 { color: #fff; }
.app-dark .rpt-head .sub { color: #8e8e93; }
.app-dark .rpt-sec h4 { color: #8e8e93; border-bottom-color: #38383a; }
.app-dark .rpt-row { border-bottom-color: #38383a; color: #fff; }
.app-dark .rpt-foot { color: #636366; }
.app-dark .ai-steps { border-bottom-color: #38383a; }
.app-dark .ai-step { color: #636366; }
.app-dark .ai-step.active { color: #30d158; }
.app-dark .ai-step.active .num { background: #30d158; color: #000; }
.app-dark .ai-step.done { color: #30d158; }
.app-dark .ai-step.done .num { background: #30d158; color: #000; }
.app-dark .ai-canvas { background: #1c1c1e; border-color: #38383a; }
.app-dark .ai-upload { color: #8e8e93; }
.app-dark .ai-replay-btn { color: #0a84ff; }

.app {
  color: #fff;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-nav {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  padding: 6px 16px 10px;
}
.app-nav .back {
  width: 32px; height: 32px;
  background: #1c1c1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.app-nav .title { text-align: center; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.app-title-large {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 4px 20px 12px;
  color: #fff;
}
.app-card {
  background: #1c1c1e;
  margin: 0 16px;
  padding: 16px;
  border-radius: 14px;
}
.app-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.app-card .sub { font-size: 11px; color: #8e8e93; margin-bottom: 12px; line-height: 1.4; }

.app-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.app-score .lbl { font-size: 13px; color: #8e8e93; margin-right: auto; }
.app-score .d { font-family: var(--mono); font-size: 11px; color: #8e8e93; margin-right: 6px; }
.app-score .big {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 700;
  color: #ff9f0a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.app-score .of { font-size: 13px; color: #8e8e93; }

.app-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #2c2c2e;
}
.app-metric { text-align: center; font-size: 10px; color: #8e8e93; }
.app-metric .ic { font-size: 15px; margin-bottom: 2px; }
.app-metric .v { font-size: 16px; font-weight: 700; font-family: var(--mono); }
.app-metric .v.e { color: #ff453a; }
.app-metric .v.m { color: #30d158; }
.app-metric .v.l { color: #ff9f0a; }
.app-metric .v.s { color: #30d158; }
.app-metric .v.g { color: #ff9f0a; }

.app-vitals .row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #2c2c2e;
  font-size: 13px;
}
.app-vitals .row:last-child { border-bottom: none; }
.app-vitals .row .l { color: #8e8e93; }
.app-vitals .row .v { font-weight: 700; font-family: var(--mono); }
.app-vitals .row .v .u { color: #8e8e93; font-weight: 400; margin-left: 4px; font-size: 11px; }

.app-btn {
  margin: 12px 16px 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid #0a84ff;
  color: #0a84ff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.app-notes p { font-size: 12px; color: #d1d1d6; }

.app-days .day {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #2c2c2e;
}
.app-days .day:last-child { border-bottom: none; }
.app-days .day .d { color: #fff; }
.app-days .day .sub { color: #8e8e93; font-size: 10px; margin-left: 8px; }
.app-days .day .v { font-family: var(--mono); font-weight: 700; color: #ff9f0a; font-size: 17px; }

.app-insight .bulb {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: #d1d1d6;
  line-height: 1.45;
}
.app-insight .bulb .em { color: #ff9f0a; flex-shrink: 0; }

.app-tabbar {
  margin: auto 12px 12px;
  padding: 8px 10px;
  background: #1c1c1e;
  border-radius: 26px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.app-tab {
  flex: 1;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: #8e8e93;
  padding: 4px 2px;
}
.app-tab .ic { display: block; margin-bottom: 3px; line-height: 0; }
.app-tab .ic svg { width: 22px; height: 22px; }
.app-tab.active { color: #0a84ff; }
.app-tab.active.pill { background: #2c2c2e; border-radius: 18px; padding: 6px 10px; }

/* App insights cards (inside phone) */
.app-ins-card { padding: 14px 16px; }
.app-ins-card .sentence { font-size: 13px; line-height: 1.4; font-weight: 500; color: #fff; }
.app-ins-card .sentence strong { font-weight: 700; }
.app-ins-card .source {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e8e93;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #2c2c2e;
}
.app-ins-card .ev-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: #8e8e93;
  margin-top: 6px;
}
.app-ins-card .ev-row .b {
  height: 6px;
  flex: 1;
  max-width: 80px;
  background: #2c2c2e;
}
.app-ins-card .ev-row .b.hi { background: #30d158; }
.app-ins-card .ev-row .b.lo { background: #ff453a; }
.app-ins-card .ev-row .b.mid { background: #ff9f0a; }
.app-ins-card .ev-row .v { color: #fff; font-weight: 700; }

/* Insights feed cards (mirrors InsightCardView in app) */
.ins-updated {
  font-size: 10px;
  color: #8e8e93;
  margin: 2px 16px 10px;
  letter-spacing: -0.005em;
}
.ins-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 14px 10px;
  padding: 12px;
  background: #1c1c1e;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.ins-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(140,92,191,0.15);
  color: #8C5CBF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ins-badge svg { width: 18px; height: 18px; }
.ins-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ins-cat {
  font-size: 9px;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ins-headline {
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
  font-weight: 500;
}
.ins-spark {
  width: 100%;
  height: 24px;
  margin-top: 2px;
  display: block;
}
.ins-foot {
  font-size: 9px;
  color: #8e8e93;
  letter-spacing: 0.01em;
}
.ins-chev {
  flex-shrink: 0;
  color: #48484a;
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
  padding-top: 6px;
}

/* Hero split — Screen 1 Today mockup */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 32px;
  align-items: center;
}
.hero-split .text { max-width: 520px; }
.hero-split .text h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: none;
  color: #f0f0f0;
}
.hero-split .text .lede {
  margin-top: 28px;
  color: #a0a0a0;
  font-size: var(--ts-md);
  line-height: 1.55;
  max-width: 52ch;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.app-store-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 600;
}
.app-store-badge-hero svg { width: 22px; height: 22px; }
.app-store-badge-hero .asb-bot { font-size: 15px; letter-spacing: -0.005em; }
.hero-cta-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: #666666;
  letter-spacing: 0.02em;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 949px;
  margin: 80px auto 0;
}
.testimonial {
  background: #141414;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-marks {
  font-size: 48px;
  line-height: 0.8;
  color: #8C5CBF;
  font-family: Georgia, serif;
  font-weight: 700;
  opacity: 0.7;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: #c0c0c0;
  font-weight: 400;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
  letter-spacing: 0.02em;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Today mockup (inside hero phone) */
.today-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 14px 6px;
  padding: 14px 16px;
  background: #1c1c1e;
  border-radius: 14px;
}
.today-score .lbl { flex: 1; font-size: 13px; font-weight: 600; color: #fff; }
.today-score .val { display: flex; align-items: baseline; gap: 2px; }
.today-score .big { font-size: 26px; font-weight: 700; color: #30d158; letter-spacing: -0.02em; }
.today-score .of { font-size: 13px; color: #8e8e93; }
.today-score .chev { color: #48484a; font-size: 18px; font-weight: 300; line-height: 1; }
.today-sec-head {
  display: flex;
  align-items: center;
  margin: 10px 18px 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8e8e93;
}
.today-sec-head .nm { flex: 1; }
.today-sec-head .prog { color: #636366; font-weight: 500; letter-spacing: 0.02em; }
.today-dose {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 14px 2px;
  padding: 10px 16px;
}
.today-dose .ck {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #48484a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.today-dose.done .ck { background: #30d158; border-color: #30d158; }
.today-dose .dose-body { flex: 1; }
.today-dose .nm { font-size: 13px; font-weight: 500; color: #fff; }
.today-dose.done .nm { color: #636366; text-decoration: line-through; }
.today-dose .meta { font-size: 11px; color: #8e8e93; margin-top: 1px; }
.today-insights {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 14px 0;
  padding: 12px 14px;
  background: rgba(140,92,191,0.12);
  border: 0.5px solid rgba(140,92,191,0.28);
  border-radius: 14px;
}
.today-insights .ti-badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(140,92,191,0.2);
  color: #8C5CBF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.today-insights .ti-badge svg { width: 16px; height: 16px; }
.today-insights .ti-body { flex: 1; min-width: 0; }
.today-insights .ti-cat {
  font-size: 9px;
  font-weight: 600;
  color: #8C5CBF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.today-insights .ti-head {
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
  font-weight: 500;
  margin-top: 3px;
}
.today-insights .ti-chev { color: #8C5CBF; font-size: 16px; font-weight: 400; line-height: 1; padding-top: 4px; }
.today-vital {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 14px 0;
  padding: 14px 16px;
  background: #1c1c1e;
  border-radius: 14px;
}
.today-vital .tv-l { flex: 1; }
.today-vital .tv-lbl { font-size: 10px; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.today-vital .tv-val { font-size: 20px; font-weight: 700; color: #fff; margin-top: 2px; letter-spacing: -0.02em; }
.today-vital .tv-val .slash { color: #8e8e93; font-weight: 500; margin: 0 1px; }
.today-vital .tv-val .tv-u { font-size: 11px; font-weight: 500; color: #8e8e93; margin-left: 3px; }
.today-vital .tv-spark { width: 80px; height: 28px; display: block; }
.today-supply {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 14px 0;
  padding: 14px 16px;
  background: #1c1c1e;
  border-radius: 14px;
}
.today-supply .ts-l { flex-shrink: 0; }
.today-supply .ts-lbl { font-size: 10px; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.today-supply .ts-val { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-top: 2px; }
.today-supply .ts-val .ts-u { font-size: 10px; font-weight: 500; color: #8e8e93; margin-left: 2px; }
.today-supply .ts-r { flex: 1; text-align: right; }
.today-supply .ts-nm { font-size: 12px; font-weight: 500; color: #fff; }
.today-supply .ts-meta { font-size: 10px; color: #8e8e93; margin-top: 2px; }

/* Light-mode app (mirrors app's light-appearance mode) */
.phone-screen.app-light { background: #f2f2f7; }
.phone-screen.app-light .phone-statusbar { color: #000; }
.phone-screen.app-light .phone-home { background: #000; opacity: .85; }
.app-light .app { color: #000; }
.app-light .app-nav .back { background: #e5e5ea; color: #000; }
.app-light .app-title-large { color: #000; }
.app-light .today-score,
.app-light .today-vital,
.app-light .today-supply {
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.06);
}
.app-light .today-score .lbl { color: #000; }
.app-light .today-score .of { color: #8e8e93; }
.app-light .today-score .chev { color: #c7c7cc; }
.app-light .today-sec-head { color: #636366; }
.app-light .today-sec-head .prog { color: #8e8e93; }
.app-light .today-dose .ck { border-color: #c7c7cc; }
.app-light .today-dose .nm { color: #000; }
.app-light .today-dose.done .nm { color: #8e8e93; }
.app-light .today-dose .meta { color: #8e8e93; }
.app-light .today-insights {
  background: rgba(10,132,255,0.10);
  border-color: rgba(10,132,255,0.25);
}
.app-light .today-insights .ti-head { color: #000; }
.app-light .today-vital .tv-val,
.app-light .today-supply .ts-val,
.app-light .today-supply .ts-nm { color: #000; }
.app-light .app-tabbar {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}
.app-light .app-tab { color: #8e8e93; }
.app-light .app-tab.active.pill { background: #e5e5ea; color: #0a84ff; }

/* Check-In light-mode overrides (phone card interior) */
.app-light .app-card {
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.06);
}
.app-light .app-card h3 { color: #000; }
.app-light .app-card .sub { color: #636366; }
.app-light .app-score .lbl,
.app-light .app-score .of,
.app-light .app-score .d { color: #636366; }
.app-light .app-metrics { border-top-color: #e5e5ea; }
.app-light .app-metric { color: #636366; }
.app-light .app-vitals .row { border-bottom-color: #e5e5ea; }
.app-light .app-vitals .row .l { color: #636366; }
.app-light .app-vitals .row .v { color: #000; }
.app-light .app-vitals .row .v .u { color: #8e8e93; }
.app-light .app-notes p { color: #3c3c43; }

/* Dark-mode variant for non-phone mocks on dark-bg sections (token swap) */
.mock-dark {
  background: #141414 !important;
  color: #f0f0f0 !important;
}
.mock-dark,
.mock-dark * {
  border-color: #2a2a2a;
}
/* Weekly */
.mock-dark .wk-head { color: #666666; border-bottom-color: #2a2a2a; }
.mock-dark .wk-sub,
.mock-dark .wk-foot,
.mock-dark .wk-delta .nm,
.mock-dark .wk-day .lbl,
.mock-dark .wk-day .note { color: #666666; }
.mock-dark .wk-score-big,
.mock-dark .wk-day .val { color: #f0f0f0; }
.mock-dark .wk-score-of { color: #666666; }
.mock-dark .wk-insight {
  background: transparent;
  border: none;
  color: #f0f0f0;
}
.mock-dark .wk-insight strong { color: #fff; }
.mock-dark .wk-day {
  background: #1c1c1c;
  border-color: #2a2a2a;
}
.mock-dark .wk-day:hover,
.mock-dark .wk-day.active { background: #242424; }
.mock-dark .wk-day .bar { background: rgba(255,255,255,0.08); }
/* Blood work */
.mock-dark .bw-head { border-bottom-color: #2a2a2a; color: #666666; }
.mock-dark .bw-marker { border-color: #2a2a2a; }
.mock-dark .bw-marker .nm { color: #f0f0f0; }
.mock-dark .bw-marker .val { color: #f0f0f0; }
.mock-dark .bw-marker .val.ok { color: #30d158; }
.mock-dark .bw-marker .val.high { color: #ff453a; }
.mock-dark .bw-status.ok { color: #30d158; }
.mock-dark .bw-status.high { color: #ff453a; }
.mock-dark .bw-range-labels { color: #666666; }
.mock-dark .bw-foot { color: #666666; border-top-color: #2a2a2a; }
.mock-dark .bw-trend,
.mock-dark .bw-trend-wrap { background: transparent; }
.mock-dark .bw-trend .trend-info .lbl { color: #666666; }
.mock-dark .bw-trend .trend-info .big { color: #f0f0f0; }
/* HealthKit (Apple Watch screen) */
.mock-dark .hk-head { color: #666666; border-bottom-color: #2a2a2a; }
.mock-dark .hk-head .title { color: #f0f0f0; }
.mock-dark .hk-head .title .sub { color: #666666; }
.mock-dark .hk-row { border-bottom-color: #2a2a2a; }
.mock-dark .hk-row .ic { color: #f0f0f0; opacity: 0.9; }
.mock-dark .hk-row .nm { color: #f0f0f0; }
.mock-dark .hk-row .val { color: #f0f0f0; }
.mock-dark .hk-row .val .u { color: #666666; }
.mock-dark .hk-row .note { color: #666666; }
.mock-dark .hk-foot {
  background: #0a0a0a;
  color: #666666;
  border-top: 1px solid #2a2a2a;
}
/* Trust / privacy */
.mock-dark .trust-row { border-bottom-color: #2a2a2a; }
.mock-dark .trust-row .nm { color: #f0f0f0; }
.mock-dark .trust-row .det { color: #666666; }
.mock-dark .trust-row .check { background: rgba(13,148,136,0.15); color: #0d9488; }

/* Level Estimation hero chart — dark variant (section 2, dark bg) */
.screen-dark .hero-chart-box {
  background: #141414;
  border: 0.5px solid #2a2a2a;
}
.screen-dark .hero-composite-head { color: #666666; }
.screen-dark .hk-badge { color: #f0f0f0; }
.screen-dark .hero-chart svg text { fill: #666666; }
.screen-dark .hero-chart svg line { stroke: #2a2a2a; }
.screen-dark .callout {
  background: #1c1c1c;
  border-color: #333333;
  color: #f0f0f0;
}
.screen-dark .callout::after {
  background: #1c1c1c;
  border-right-color: #333333;
  border-bottom-color: #333333;
}
.screen-dark .callout .c-label { color: #f0f0f0; }
.screen-dark .callout .c-sub { color: #666666; }
.screen-dark .hero-compounds { color: #f0f0f0; }
.screen-dark .hero-cmp { color: #f0f0f0; }

/* Scroll-reveal — slide-up + fade, spring easing */
[data-anim].anim-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.23,1,.32,1),
              transform .75s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}
[data-anim].anim-ready[data-anim="eyebrow"] { transition-delay: 0s; }
[data-anim].anim-ready[data-anim="headline"] { transition-delay: .08s; }
[data-anim].anim-ready[data-anim="lede"]    { transition-delay: .22s; }
[data-anim].anim-ready[data-anim="mock"]    { transition-delay: .38s; transform: translateY(28px) scale(.97); }
[data-anim].anim-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-anim].anim-ready { opacity: 1; transform: none; transition: none; }
}

/* Insights feed cards — light mode override */
.app-light .ins-updated { color: #8e8e93; }
.app-light .ins-row {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.04);
}
.app-light .ins-badge { background: rgba(140,92,191,0.12); color: #8C5CBF; }
.app-light .ins-cat { color: #636366; }
.app-light .ins-headline { color: #000; }
.app-light .ins-foot { color: #8e8e93; }
.app-light .ins-chev { color: #c7c7cc; }

/* Level Estimation mockup (back phone) */
.le-pills {
  display: flex;
  gap: 6px;
  margin: 0 16px 12px;
  padding: 3px;
  background: #e5e5ea;
  border-radius: 9px;
}
.le-pill {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #636366;
  padding: 5px 0;
  border-radius: 7px;
}
.le-pill.active { background: #fff; color: #000; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.le-chart {
  margin: 0 14px 14px;
  padding: 10px 10px 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.06);
}
.le-chart svg { width: 100%; height: auto; display: block; }
.le-legend {
  margin: 0 14px 6px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.le-legend .le-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #000;
}
.le-legend .le-row .nm { flex: 1; font-weight: 500; }
.le-legend .le-row .pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.le-legend .le-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Hero two-phone stack — Hevy-style: back phone tilted back in 3D perspective */
.hero-phones {
  position: relative;
  width: 300px;
  justify-self: end;
  perspective: 2400px;
  margin-left: -20px;
}
.hero-phones .phone {
  width: 300px;
  justify-self: auto;
  box-shadow: 0 36px 30px -18px rgba(0,0,0,0.8);
}
.hero-phones .phone-front {
  position: relative;
  z-index: 2;
}
.hero-phones .phone-back {
  position: absolute;
  top: 0;
  left: 62%;
  z-index: 1;
  transform: rotateY(22deg) scale(0.95);
  transform-origin: left center;
  box-shadow: 0 36px 30px -18px rgba(0,0,0,0.75);
}

/* Pin phones: bottom of stack = bottom of text column (Free forever line),
   top extends above the headline. Needs .screen prefix to beat .screen .split. */
.screen .hero-split { align-items: end; }

/* Hero screen 1 only: match other sections' vertical rhythm,
   clip shadow to prevent bleed into Screen 2 */
.screen.hero#s1 {
  padding-top: 130px;
  padding-bottom: 130px;
  min-height: auto;
  justify-content: flex-start;
  overflow: hidden;
}

/* Dark sections: ensure hero h1 + all lede/h2 are light on dark bg */
.screen-dark.hero h1 { color: #f0f0f0; font-weight: 300; }
.screen-dark h1,
.screen-dark h2,
.screen-dark .s-inner h2,
.screen-dark .s2-inner h2 { color: #f0f0f0; font-weight: 300; letter-spacing: -0.02em; }
.screen-dark .lede,
.screen-dark p.lede,
.screen-dark .s-inner .lede,
.screen-dark .s-inner p.lede { color: #888888; }

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; align-items: center; }
  .hero-phones { justify-self: center; margin: 0 auto; }
  .hero-phones .phone-back { display: none; }
}
.pro-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--pro);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 24px;
}
.split .text h2 { max-width: none; }
.split .text .lede { margin-top: 32px; color: #a0a0a0; font-size: var(--ts-md); line-height: 1.55; }
.screen-dark .split .text .lede { color: #888888; }

.phone {
  width: 360px;
  background: #1a1a1a;
  border-radius: 34px;
  padding: 2px;
  box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  justify-self: end;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(255,255,255,0.04));
}
.phone-screen {
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  border: 1px solid #333;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font);
}
.phone-statusbar .right { display: inline-flex; gap: 6px; align-items: center; }
.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.phone-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 12px;
}

.phone-screenshot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-home {
  height: 5px;
  width: 120px;
  background: var(--text);
  border-radius: 3px;
  margin: 6px auto 10px;
  opacity: .9;
}

/* Phone-scale report */
.rpt {
  font-size: 12px;
  color: var(--text);
}
.rpt-head {
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--text);
  margin-bottom: 12px;
}
.rpt-head h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.rpt-head .sub { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 4px; }
.rpt-sec {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.rpt-sec:last-of-type { border-bottom: none; }
.rpt-sec h4 {
  font-family: var(--mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.rpt-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
}
.rpt-row .v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.rpt-row .v.ok { color: var(--teal); }
.rpt-row .v.bd { color: var(--amber); }
.rpt-row .v.hi { color: var(--red); }
.rpt-foot {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 0 2px;
}

.rpt-cta {
  padding: 10px 20px 14px;
  display: flex;
  gap: 8px;
}
.rpt-btn {
  flex: 1;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  border-radius: var(--r-pill);
  border: 1px solid var(--text);
  color: var(--text);
}
.rpt-btn.primary { background: var(--text); color: var(--bg); }

/* Email overlay inside phone */
.phone-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  z-index: 3;
}
.phone-overlay.shown { display: flex; }
.phone-overlay .sheet {
  width: 100%;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 18px 20px 28px;
  font-size: 12px;
  color: var(--text);
}
.phone-overlay .sheet .grabber {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.phone-overlay .mrow {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  align-items: center;
}
.phone-overlay .mrow .k { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.phone-overlay .attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9.5px;
}
.phone-overlay .mstatus {
  padding: 14px 0 4px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  justify-content: center;
}
.phone-overlay .mstatus .spin {
  width: 12px; height: 12px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.phone-overlay .mstatus.sent { color: var(--teal); }
.phone-overlay .mstatus.sent .spin { display: none; }

@media (max-width: 820px) {
  .screen .split { grid-template-columns: 1fr; gap: 40px; }
  .phone { justify-self: center; }
}

/* ── Article pages (privacy / terms) ── */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  min-height: 100vh;
  background: var(--bg);
}
.article .eyebrow-lbl {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.article .updated {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.article h2 {
  font-size: var(--ts-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--text);
}
.article p, .article li {
  font-size: var(--ts-md);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.article ul { padding-left: 20px; margin-bottom: 20px; }
.article ul li { margin-bottom: 6px; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--text); }
.article-foot {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 32px 60px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.article-foot a { color: inherit; text-decoration: none; margin-left: 24px; }
.article-foot a:hover { color: var(--text); }

/* ── Screen 8: The Trust ── */
.trust-list { display: flex; flex-direction: column; }
.trust-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-row:last-child { border-bottom: none; }
.trust-row .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-row .nm {
  font-size: var(--ts-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.trust-row .det {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: right;
}
.trust-mock { background: var(--surface); padding: 12px 40px; color: var(--text); }

/* ── Screen 9: The Close (pricing) ── */
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-xl);
}
.price-features li {
  padding: 9px 0;
  font-size: var(--ts-sm);
  color: #888888;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '✓';
  color: #0d9488;
  font-weight: 700;
  font-size: var(--ts-xs);
  flex-shrink: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.price-card {
  background: #141414;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #2a2a2a;
}
.price-card.pro { border-color: #7c3aed; background: #141414; position: relative; }
.price-card .tier {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #666666;
}
.price-card.pro .tier { color: var(--pro); }
.price-card .amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card .amount .num {
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: .9;
  color: #f0f0f0;
}
.price-card .amount .per { font-size: var(--ts-md); color: var(--text-muted); }
.price-card .amount-stack { display: flex; flex-direction: column; gap: 4px; }
.price-card .was {
  font-size: var(--ts-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-card .trial {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li {
  padding: 9px 0;
  font-size: var(--ts-sm);
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card li:last-child { border-bottom: none; }
.price-card .cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--ts-md);
  border: 1px solid #3a3a3a;
  color: #a0a0a0;
  transition: transform .2s;
}
.price-card.pro .cta { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.price-card .cta:hover { transform: translateY(-1px); }

.final-cta {
  margin-top: 56px;
  text-align: center;
}
.final-cta .app-store-badge {
  font-size: 17px;
  padding: 14px 26px;
}
.final-cta .app-store-badge svg { width: 22px; height: 22px; }
.final-cta .app-store-badge .asb-bot { font-size: 20px; }

.site-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555555;
}
.site-foot a { color: inherit; text-decoration: none; margin-left: 24px; }
.site-foot a:hover { color: #a0a0a0; }

/* App Store badge on dark sections */
.screen-dark .app-store-badge {
  background: #f0f0f0;
  color: #0a0a0a;
}
.screen-dark .site-foot {
  border-top-color: #2a2a2a;
  color: #555555;
}
.screen-dark .site-foot a { color: #555555; }
.screen-dark .site-foot a:hover { color: #a0a0a0; }
.screen-dark .price-card { box-shadow: 0 20px 40px rgba(0,0,0,.6); }

@media (max-width: 720px) {
  .price-features { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}

/* ── Screen 7: The Import (AI blood test) ── */
.ai-body { padding: 22px 20px; }
.ai-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ai-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  transition: all .3s;
}
.ai-step.active { background: var(--surface); border-color: var(--text); color: var(--text); }
.ai-step.done { background: var(--teal-soft); border-color: rgba(13,148,136,.3); color: var(--teal); }
.ai-step .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-step.active .num { background: var(--text); color: var(--bg); }
.ai-step.done .num { background: var(--teal); color: #fff; }
.ai-step .label { font-family: var(--font); }
.ai-step .label strong { font-weight: 600; color: inherit; }

.ai-canvas {
  background: var(--bg);
  min-height: 240px;
  padding: 20px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
}
.ai-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.ai-upload .doc {
  font-size: 32px;
  margin-bottom: 2px;
}
.ai-extract {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ai-extract .spin {
  width: 28px; height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.ai-extract .progress { width: 160px; height: 4px; background: var(--border); position: relative; overflow: hidden; }
.ai-extract .progress::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--accent);
  width: 0%;
  animation: aiProg 1.8s ease forwards;
}
@keyframes aiProg { to { width: 100%; } }

.ai-review {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  text-align: left;
  width: 100%;
  align-self: stretch;
}
.ai-review-head {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.ai-review-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.ai-review-row:last-child { border-bottom: none; }
.ai-review-row .v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ai-replay {
  margin-top: 14px;
  text-align: center;
}
.ai-replay-btn {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  background: transparent;
  border-radius: var(--r-sm);
}

/* ── Screen 3b: The Insights (long-term correlation cards) ── */
.ins-mock { background: var(--surface); padding: 36px 40px; color: var(--text); }
.ins-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.ins-card {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.ins-card:last-child { border-bottom: none; }
.ins-card .sentence {
  font-size: var(--ts-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  max-width: 38ch;
}
.ins-card .sentence strong { color: var(--text); font-weight: 700; }
.ins-card .source {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 10px;
}
.ins-evidence {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 180px;
}
.ins-ev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--ts-sm);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.ins-ev-row .bar {
  display: inline-block;
  height: 8px;
  background: var(--border);
  min-width: 12px;
}
.ins-ev-row .bar.lo { background: var(--red); }
.ins-ev-row .bar.hi { background: var(--teal); }
.ins-ev-row .bar.mid { background: var(--amber); }
.ins-ev-row .bar.acc { background: var(--accent); }
.ins-ev-row .v { color: var(--text); font-weight: 600; font-size: var(--ts-md); }
.ins-ev-row .lbl { min-width: 68px; }

@media (max-width: 820px) {
  .ins-mock { padding: 24px 20px; }
  .ins-card { grid-template-columns: 1fr; gap: 16px; }
  .ins-card .sentence { font-size: var(--ts-lg); }
  .ins-evidence { align-items: flex-start; min-width: 0; }
}

/* ── Screen 6: The Watch (HealthKit) ── */
.hk-mock { background: var(--surface); color: var(--text); padding: 0; }
.hk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px;
  border-bottom: 1px solid var(--border);
}
.hk-head .left { display: flex; align-items: center; gap: 12px; }
.hk-head .heart {
  width: 26px; height: 26px;
  background: var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.hk-head .title { font-size: var(--ts-md); font-weight: 700; letter-spacing: -0.01em; }
.hk-head .title .sub { display: block; font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.hk-head .right {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hk-head .live {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(13,148,136,.5);
  animation: hkLive 2s infinite;
}
@keyframes hkLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,.5); }
  50% { box-shadow: 0 0 0 6px rgba(13,148,136,0); }
}

.hk-rows { display: flex; flex-direction: column; }
.hk-row {
  display: grid;
  grid-template-columns: 28px 1.2fr auto 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 22px 36px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-12px);
  animation: hkIn .5s ease forwards;
}
.hk-row:last-child { border-bottom: none; }
.hk-row:nth-child(1) { animation-delay: .1s; }
.hk-row:nth-child(2) { animation-delay: .2s; }
.hk-row:nth-child(3) { animation-delay: .3s; }
.hk-row:nth-child(4) { animation-delay: .4s; }
.hk-row:nth-child(5) { animation-delay: .5s; }
.hk-row:nth-child(6) { animation-delay: .6s; }
.hk-row:nth-child(7) { animation-delay: .7s; }
@keyframes hkIn { to { opacity: 1; transform: translateX(0); } }

.hk-row .ic { color: var(--text-2); align-self: center; }
.hk-row .nm {
  font-size: var(--ts-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hk-row .val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--ts-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hk-row .val .u { font-size: var(--ts-sm); color: var(--text-muted); font-weight: 400; margin-left: 4px; font-family: var(--mono); }
.hk-row .note {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: right;
}

.hk-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg);
}

/* ── Screen 5: The Appointment (PDF report) ── */
.pdf-wrap { position: relative; }
.pdf-mock {
  background: var(--surface);
  padding: 48px 56px;
  color: var(--text);
  font-family: var(--font);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  position: relative;
}
.pdf-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}
.pdf-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 28px;
}
.pdf-head .title { font-size: var(--ts-xl); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.pdf-head .meta { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); text-align: right; line-height: 1.6; }

.pdf-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.pdf-section:last-child { border-bottom: none; }
.pdf-section h4 {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.pdf-protocol { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.pdf-protocol .compound { font-size: var(--ts-sm); line-height: 1.5; }
.pdf-protocol .compound .n { font-weight: 700; font-size: var(--ts-md); color: var(--text); letter-spacing: -0.01em; display: block; }
.pdf-protocol .compound .d { color: var(--text-muted); font-family: var(--mono); }

.pdf-labs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pdf-labs .lab .l { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.pdf-labs .lab .v { font-size: var(--ts-lg); font-weight: 700; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin-top: 4px; }
.pdf-labs .lab .v.ok { color: var(--teal); }
.pdf-labs .lab .v.high { color: var(--red); }
.pdf-labs .lab .v.borderline { color: var(--amber); }
.pdf-labs .lab .u { font-size: var(--ts-xs); color: var(--text-muted); font-weight: 400; margin-left: 2px; }
.pdf-labs .lab .t { font-family: var(--mono); font-size: var(--ts-xs); color: var(--text-muted); margin-top: 4px; }

.pdf-wellness { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.pdf-wellness .text { font-size: var(--ts-md); line-height: 1.5; color: var(--text); max-width: 48ch; }
.pdf-wellness .text strong { font-weight: 700; }
.pdf-wellness .score { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 48px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.pdf-wellness .score .of { font-size: 18px; color: var(--text-muted); font-weight: 400; }

.pdf-side {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pdf-side .item {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.pdf-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Share action bar */
.pdf-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
  align-items: center;
}
.pdf-actions .btn {
  font-family: var(--font);
  font-size: var(--ts-sm);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .15s;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
}
.pdf-actions .btn.primary { background: var(--text); color: var(--bg); }
.pdf-actions .btn:hover { transform: translateY(-1px); }

/* Send overlay */
.mail-overlay {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: none;
  max-width: 520px;
  margin-left: auto;
  box-shadow: var(--sh-md);
}
.mail-overlay.shown { display: block; }
.mail-overlay .row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--ts-sm);
  align-items: center;
}
.mail-overlay .row:last-of-type { border-bottom: none; }
.mail-overlay .row .k { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.mail-overlay .row .v { color: var(--text); }
.mail-overlay .attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: var(--ts-xs);
}
.mail-status {
  padding: 14px 0 0;
  font-size: var(--ts-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mail-status .spin {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.mail-status.sent { color: var(--teal); }
.mail-status.sent .spin { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Option label between mockups */
.opt-label {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #555555;
  margin: 72px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.opt-label::after { content: ''; flex: 1; height: 1px; background: #2a251f; }

/* ── Option A: Editorial list ── */
.ci-a { background: var(--surface); padding: 36px 40px; color: var(--text); }
.ci-a-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.ci-a-top-lbl { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ci-a-top-sub { font-size: var(--ts-sm); color: var(--text-muted); margin-top: 6px; }
.ci-a-score { display: flex; align-items: baseline; gap: 6px; }
.ci-a-score .big { font-size: 72px; font-weight: 700; letter-spacing: -0.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.ci-a-score .of { font-size: 22px; color: var(--text-muted); }
.ci-a-score .d { font-size: var(--ts-sm); font-family: var(--mono); color: var(--red); margin-left: 10px; align-self: center; }
.ci-a-row {
  display: grid;
  grid-template-columns: 36px 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.ci-a-row:last-child { border-bottom: none; }
.ci-a-row .ic { color: var(--text-2); }
.ci-a-row .nm { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.ci-a-row .vl { font-size: 42px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.ci-a-row .vl.low { color: var(--red); }
.ci-a-row .vl.mid { color: var(--amber); }
.ci-a-row .vl.hi { color: var(--teal); }
.ci-a-row .vl .of { font-size: 18px; color: var(--text-muted); font-weight: 400; }
.ci-a-row .ins { font-size: var(--ts-md); color: var(--text-muted); line-height: 1.4; }
.ci-a-vitals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.ci-a-vital .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ci-a-vital .val { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ci-a-vital .u { font-size: 14px; color: var(--text-muted); margin-left: 3px; font-weight: 400; }

/* ── Option B: Hero metric + strip ── */
.ci-b { background: var(--surface); padding: 40px; color: var(--text); }
.ci-b-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 28px; }
.ci-b-hero {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.ci-b-hero .ic { color: var(--red); }
.ci-b-hero .ic svg { width: 80px; height: 80px; stroke-width: 1.4; }
.ci-b-hero .nm { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; }
.ci-b-hero .headline { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; max-width: 28ch; }
.ci-b-hero .val { font-size: 88px; font-weight: 700; line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; color: var(--red); }
.ci-b-hero .val .of { font-size: 24px; color: var(--text-muted); font-weight: 400; }
.ci-b-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.ci-b-chip {
  background: var(--bg);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.ci-b-chip:hover { background: var(--surface-2); }
.ci-b-chip .ic { color: var(--text-2); margin-bottom: 8px; }
.ci-b-chip .ic svg { width: 28px; height: 28px; stroke-width: 1.6; }
.ci-b-chip .v { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.ci-b-chip .v.hi { color: var(--teal); }
.ci-b-chip .v.mid { color: var(--amber); }
.ci-b-chip .l { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 6px; }
.ci-b-vitals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.ci-b-vitals .v { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ci-b-vitals .v .u { font-size: 13px; color: var(--text-muted); font-weight: 400; margin-left: 3px; }
.ci-b-vitals .l { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 4px; }

/* ── Option C: Split canvas ── */
.ci-c { background: var(--surface); display: grid; grid-template-columns: 1fr 1.2fr; color: var(--text); }
.ci-c-left {
  padding: 32px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.ci-c-left .lbl {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.ci-c-left .big {
  font-size: 104px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .9;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.ci-c-left .of {
  font-size: 28px;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--mono);
}
.ci-c-left .d {
  font-family: var(--mono);
  font-size: var(--ts-sm);
  color: var(--text-muted);
  margin-top: 18px;
}
.ci-c-left .insight {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: var(--ts-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  min-height: 5.5em;
}
.ci-c-right { padding: 24px 0; }
.ci-c-row {
  display: grid;
  grid-template-columns: 48px 1fr auto 80px;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.ci-c-row:last-child { border-bottom: none; }
.ci-c-row.active { background: var(--bg); }
.ci-c-row:hover { background: var(--bg); }
.ci-c-row .ic { color: var(--text-2); }
.ci-c-row .nm { font-size: var(--ts-lg); font-weight: 500; color: var(--text); }
.ci-c-row .v { font-size: var(--ts-2xl); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-family: var(--mono); }
.ci-c-row .v.low { color: var(--red); }
.ci-c-row .v.mid { color: var(--amber); }
.ci-c-row .v.hi { color: var(--teal); }
.ci-c-row .bar { height: 6px; background: var(--bg); position: relative; border-radius: 3px; overflow: hidden; }
.ci-c-row .bar::after { content: ''; position: absolute; inset: 0; background: currentColor; transform-origin: left; border-radius: 3px; }
.ci-c-row .bar.p2::after { transform: scaleX(.4); color: var(--red); }
.ci-c-row .bar.p3::after { transform: scaleX(.6); color: var(--amber); }
.ci-c-row .bar.p4::after { transform: scaleX(.8); color: var(--teal); }
.ci-c-row .bar.p5::after { transform: scaleX(1); color: var(--teal); }
.ci-c-vitals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.ci-c-vitals .lbl { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ci-c-vitals .val { font-size: var(--ts-xl); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin-top: 4px; font-family: var(--mono); color: var(--text); }
.ci-c-vitals .u { font-size: var(--ts-sm); color: var(--text-muted); font-weight: 400; margin-left: 3px; font-family: var(--mono); }

/* Check-in mockup (chip grid) — light, constant on any background */
.ci-mock { background: var(--surface); padding: 36px 40px; color: var(--text); }
.ci-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.ci-score { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 8px; }
.ci-score-big {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: .9;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.ci-score-of { font-size: var(--ts-xl); color: var(--text-muted); font-family: var(--mono); }
.ci-score-delta { margin-left: auto; font-size: var(--ts-sm); color: var(--text-muted); font-family: var(--mono); }
.ci-sub {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.ci-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.ci-met {
  background: var(--bg);
  padding: 22px 12px 18px;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
  border: 1px solid transparent;
}
.ci-met:hover { background: var(--surface-2); }
.ci-met.active { background: var(--surface-2); border-color: var(--text); }
.ci-met .ic { color: var(--text-2); display: flex; justify-content: center; margin-bottom: 10px; }
.ci-met .ic svg { width: 26px; height: 26px; }
.ci-met-val {
  font-size: var(--ts-2xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ci-met-val.low { color: var(--red); }
.ci-met-val.mid { color: var(--amber); }
.ci-met-val.hi { color: var(--teal); }
.ci-met-lbl {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 8px;
}

.ci-insight {
  padding: 20px 0 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: var(--ts-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 28px;
  min-height: 4.5em;
  display: flex;
  align-items: center;
}

.ci-vitals-head {
  font-family: var(--mono);
  font-size: var(--ts-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.ci-vitals-head .from { color: var(--text); text-transform: none; letter-spacing: 0; font-family: var(--font); }
.ci-vitals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ci-vital { }
.ci-vital-lbl { font-family: var(--mono); font-size: var(--ts-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ci-vital-val {
  font-size: var(--ts-xl);
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.ci-vital-val .u { color: var(--text-muted); font-size: var(--ts-sm); margin-left: 3px; font-weight: 400; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .screen { padding: 65px 20px; }
  .screen-dark { padding: 65px 20px; }
  .section-rule { width: 100%; }
  .hero { padding-top: 140px; }
  .nav { padding: 14px 20px; }
  .nav-logo { font-size: var(--ts-sm); }

  h1, h2, .screen h1, .screen h2, .screen-dark h2, .screen-light h2 {
    font-size: clamp(30px, 8vw, 44px) !important;
    line-height: 1.08;
  }

  /* Split layouts stack; text always first */
  .screen .split,
  .screen .split.phone-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }
  .screen .split .text { order: 1; }
  .screen .split .phone { order: 2; justify-self: center; align-self: center; }

  .phone { width: 100%; max-width: 340px; }

  /* Hero composite */
  .hero-composite { margin-top: 40px; }
  .hero-chart-box { padding: 18px 18px; }
  .hero-chart { min-height: 240px; }
  .hero-composite-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hk-badge { font-size: var(--ts-xs); }
  .hero-compounds { flex-direction: column; gap: 4px; }
  .callout { font-size: 10px; padding: 6px 8px; }
  .callout .c-sub { font-size: 9px; }

  /* Weekly summary */
  .wk-mock { padding: 24px 20px; }
  .wk-score-big { font-size: 54px; }
  .wk-deltas { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wk-days { grid-template-columns: 1fr; }
  .wk-insight { font-size: var(--ts-lg); }

  /* Blood work */
  .bw-mock { padding: 24px 20px; }
  .bw-marker-top .nm { font-size: var(--ts-md); }
  .bw-trend { grid-template-columns: 1fr; gap: 16px; }

  /* HealthKit rows */
  .hk-mock .hk-head { padding: 20px 20px; }
  .hk-row { grid-template-columns: 24px 1fr auto; gap: 12px; padding: 18px 20px; }
  .hk-row .note { grid-column: 2 / -1; text-align: left; margin-top: -2px; }
  .hk-row .val { font-size: var(--ts-xl); }

  /* Trust */
  .trust-mock { padding: 12px 24px; }
  .trust-row { grid-template-columns: 32px 1fr; gap: 16px; padding: 22px 0; }
  .trust-row .det { grid-column: 2 / -1; text-align: left; font-size: 10px; margin-top: 4px; }
  .trust-row .nm { font-size: var(--ts-lg); }

  /* Pricing */
  .price-features { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
  .price-card .amount .num { font-size: 44px; }

  /* Testimonials */
  .testimonials { grid-template-columns: 1fr; }

  /* Footer */
  .site-foot { flex-direction: column; gap: 12px; text-align: center; }
  .site-foot a { margin: 0 12px; color: #888888; }
  .site-foot span { color: #888888; }

  /* Article (privacy/terms) */
  .article { padding: 120px 20px 60px; }
}

@media (max-width: 420px) {
  .nav { padding: 12px 16px; }
  .app-store-badge { padding: 6px 12px; gap: 6px; }
  .asb-bot { font-size: 13px; }
  .screen { padding: 55px 16px; }
  .screen-dark { padding: 55px 16px; }
  .hero { padding-top: 130px; }
  .hero-compounds { margin-top: 14px; }

  .phone { max-width: 320px; }
  .phone-body { padding: 16px 14px 8px; }
  .app-card { margin: 0 12px; padding: 14px; }
  .app-title-large { font-size: 26px; padding: 4px 16px 10px; }

  .wk-score-big, .ci-c-left .big { font-size: 48px; }
  .wk-deltas .v { font-size: var(--ts-lg); }
}
