/* ============ Longevity OS — design tokens ============ */
:root {
  --bg: #05070d;
  --bg-alt: #070b14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #0b101b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #8b94a7;
  --accent: #2dd4a7;
  --accent-2: #7c6cf6;
  --grad: linear-gradient(92deg, #2dd4a7, #4ea8f0 55%, #7c6cf6);
  --danger: #f87171;
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(1180px, 92%); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.6rem; }
p { color: var(--muted); }
h1 + p, h2 + p { max-width: 60ch; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}
.glass-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

/* ============ Buttons ============ */
.btn {
  font: 600 0.92rem/1 var(--font);
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--grad);
  color: #04110c;
  box-shadow: 0 6px 24px rgba(45, 212, 167, 0.35);
}
.btn--primary:hover { box-shadow: 0 8px 30px rgba(45, 212, 167, 0.5); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.25); }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.8rem; background: rgba(255, 255, 255, 0.09); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 0.6rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand__orb {
  width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 120deg, #2dd4a7, #4ea8f0, #7c6cf6, #2dd4a7);
  -webkit-mask: radial-gradient(circle at center, transparent 38%, #000 40%);
  mask: radial-gradient(circle at center, transparent 38%, #000 40%);
}
.brand__orb--lg { width: 44px; height: 44px; display: inline-block; margin-bottom: 0.6rem; }
.brand__name { font: 700 1.02rem var(--font-display); letter-spacing: 0.14em; }
.brand__name em { font-style: normal; color: var(--accent); }

/* ============ Hero ============ */
.hero { position: relative; padding: 5.5rem 0 3rem; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; }
.hero__glow--a { width: 480px; height: 480px; background: #1b6e57; top: -120px; left: -120px; }
.hero__glow--b { width: 520px; height: 520px; background: #3b2d8f; bottom: -180px; right: -140px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}
.hero__copy h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 1.1rem 0 0.8rem; }
.hero__tag { font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.hero__sub { margin-top: 0.7rem; max-width: 48ch; }
.hero__actions { display: flex; gap: 0.8rem; margin-top: 1.7rem; flex-wrap: wrap; }
.hero__note { margin-top: 0.9rem; font-size: 0.82rem; }

.pill-row { display: flex; gap: 0.5rem; }
.pill {
  font-size: 0.78rem; font-weight: 600;
  padding: 0.32rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.ticker { margin-top: 4rem; display: flex; align-items: center; gap: 1.4rem; opacity: 0.65; }
.ticker > span { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--muted); white-space: nowrap; }
.ticker__logos { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: #c8cfdc; }

/* ============ Score card ============ */
.score-card { padding: 1.6rem; }
.score-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.score-card__head h3 { font-size: 1.05rem; }
.score-card__body { display: flex; gap: 1.4rem; align-items: center; }
.score-card__ages { display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.age-chip {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
}
.age-chip span { color: var(--muted); }
.age-chip strong { font-size: 1.25rem; font-family: var(--font-display); grid-row: span 2; }
.age-chip em { font-style: normal; font-size: 0.68rem; }
.age-chip .down { color: var(--accent); }
.score-card__foot { display: flex; gap: 0.45rem; margin-top: 1.2rem; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem; border-radius: 6px;
  background: rgba(45, 212, 167, 0.14); color: var(--accent);
}
.badge--live { animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }

/* ============ Ring ============ */
.ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.ring--sm { width: 120px; height: 120px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring__track { stroke: rgba(255, 255, 255, 0.08); }
.ring__fill {
  stroke: url(#) var(--accent);
  stroke: var(--accent);
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 8px rgba(45, 212, 167, 0.6));
}
.ring__label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring__num { font: 700 2.1rem var(--font-display); }
.ring--sm .ring__num { font-size: 1.7rem; }
.ring__label span { font-size: 0.72rem; color: var(--muted); }
.ring__grade { font-style: normal; font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-top: 0.2rem; }

/* ============ Steps strip ============ */
.steps { border-block: 1px solid var(--border); background: var(--bg-alt); }
.steps__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 1.6rem 0; }
.step { text-align: left; }
.step b {
  font-family: var(--font-display); font-size: 0.8rem;
  display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(45, 212, 167, 0.15); color: var(--accent);
  margin-bottom: 0.45rem;
}
.step h4 { font-size: 0.88rem; }
.step p { font-size: 0.74rem; }

/* ============ Sections ============ */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.section__grid--rev { grid-template-columns: 1.1fr 1fr; }
.section__head { margin-bottom: 2.2rem; }
.section__head--center { text-align: center; }
.section__head--center p { margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.7rem;
}
.eyebrow--viral { color: #c084fc; }
.checklist { list-style: none; margin: 1.2rem 0 1.5rem; display: grid; gap: 0.55rem; }
.checklist li { padding-left: 1.6rem; position: relative; color: #c4cbd8; font-size: 0.95rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ============ Quiz ============ */
.quiz { padding: 1.8rem; position: relative; }
.quiz__progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-bottom: 1.5rem; overflow: hidden; }
.quiz__bar { height: 100%; width: 25%; background: var(--grad); border-radius: 4px; transition: width 0.4s ease; }
.quiz__count { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.quiz__step h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.quiz__hint { font-size: 0.82rem; margin-bottom: 1rem; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.quiz__options button {
  font: 500 0.92rem var(--font);
  color: var(--text);
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.quiz__options button:hover { border-color: rgba(45, 212, 167, 0.5); }
.quiz__options button.is-selected {
  border-color: var(--accent);
  background: rgba(45, 212, 167, 0.12);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.quiz__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.1rem; }
.quiz__fields label, .quiz__sliders label { font-size: 0.8rem; color: var(--muted); display: grid; gap: 0.35rem; }
.quiz__fields input, .quiz__fields select {
  font: 500 1rem var(--font);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  width: 100%;
}
.quiz__sliders { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.quiz__sliders output { color: var(--accent); font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(45, 212, 167, 0.7);
  cursor: pointer;
}
.quiz__nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
.quiz__restart { margin-top: 1rem; }

/* Quiz results */
.results__score { display: flex; gap: 1.3rem; align-items: center; margin: 0.8rem 0 1.2rem; }
.results__bioage { color: var(--accent); font-weight: 600; margin-top: 0.2rem; }
.results__summary { font-size: 0.88rem; margin-top: 0.3rem; }
.results__protocol h4 { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.7rem; font-size: 0.98rem; }
.results__protocol ul { list-style: none; display: grid; gap: 0.45rem; }
.results__protocol li {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; color: #c4cbd8;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  padding-bottom: 0.45rem;
}
.results__protocol li span { color: var(--muted); }
.results__cost {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted);
}
.results__cost strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.results__footnote { font-size: 0.68rem; margin-top: 0.5rem; opacity: 0.8; }
.results__locked {
  margin-top: 1rem; padding: 1rem;
  border: 1px dashed rgba(124, 108, 246, 0.5);
  border-radius: 12px;
  text-align: center;
  background: rgba(124, 108, 246, 0.07);
}
.results__locked p { font-size: 0.85rem; margin-bottom: 0.7rem; }

/* ============ Twin ============ */
.twin { display: flex; gap: 1.6rem; padding: 1.8rem; align-items: center; }
.twin__figure { flex-shrink: 0; }
.twin__silhouette {
  position: relative; width: 150px; height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 14px;
  background: radial-gradient(ellipse at center, rgba(78, 168, 240, 0.12), transparent 70%);
}
.twin__silhouette svg { height: 290px; }
.twin__silhouette svg * {
  fill: rgba(78, 168, 240, 0.16);
  stroke: rgba(78, 168, 240, 0.85);
  stroke-width: 1;
}
.twin__scanline {
  position: absolute; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent);
  animation: scan 3.2s ease-in-out infinite alternate;
}
@keyframes scan { from { top: 8%; } to { top: 90%; } }
.twin__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; flex: 1; }
.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.stat span { font-size: 0.72rem; color: var(--muted); display: block; }
.stat strong { font: 700 1.45rem var(--font-display); }
.stat em { font-style: normal; font-size: 0.72rem; color: var(--muted); display: block; }
.stat .ok { color: var(--accent); }

/* ============ Simulator ============ */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; padding: 2.2rem; }
.sim__controls { display: grid; gap: 1.3rem; align-content: start; }
.sim__controls label { font-size: 0.85rem; color: var(--muted); display: grid; gap: 0.4rem; }
.sim__controls output { color: var(--accent); font-weight: 700; }
.sim__toggle { display: flex !important; gap: 0.6rem; align-items: center; font-size: 0.9rem !important; color: var(--text) !important; cursor: pointer; }
.sim__toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.sim__output { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-content: start; }
.sim__metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.sim__metric span { font-size: 0.72rem; color: var(--muted); display: block; margin-bottom: 0.2rem; }
.sim__metric strong { font: 700 1.5rem var(--font-display); color: var(--accent); }
.sim__metric--wide { grid-column: span 2; }
.sim__metric--wide strong { font-size: 1.15rem; color: var(--text); }
.meter { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.1); margin-top: 0.6rem; overflow: hidden; }
.meter__fill { height: 100%; width: 60%; background: var(--grad); border-radius: 8px; transition: width 0.5s ease; }
.sim__disclaimer { grid-column: span 2; font-size: 0.72rem; }
.sim__output .btn { grid-column: span 2; justify-self: start; }

/* ============ Clinics ============ */
.clinics__tabs { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.tab {
  font: 600 0.88rem var(--font);
  color: var(--muted);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.tab.is-active { color: #04110c; background: var(--grad); border-color: transparent; }
.clinics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.clinic {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: grid; gap: 0.4rem;
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.clinic__top { display: flex; justify-content: space-between; align-items: center; }
.clinic__top h4 { font-size: 1.02rem; }
.clinic__rating { color: #fbbf24; font-weight: 700; font-size: 0.88rem; }
.clinic__meta { font-size: 0.78rem; color: var(--muted); }
.clinic__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.3rem 0; }
.clinic__row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; }
.clinic__price { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.clinics__empty {
  grid-column: 1 / -1;
  padding: 2.2rem;
  text-align: center;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}
.clinics__empty h3 { font-size: 1.2rem; }
.clinics__empty p { max-width: 52ch; font-size: 0.9rem; }
.clinics__b2b {
  margin-top: 2rem; padding: 1.8rem 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.clinics__b2b h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.clinics__b2b p { font-size: 0.9rem; }

/* ============ Marketplace ============ */
.market__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product { padding: 1.2rem; display: grid; gap: 0.25rem; }
.product__art {
  height: 110px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.product__art[data-hue="160"] { background: linear-gradient(150deg, rgba(45,212,167,0.16), transparent); }
.product__art[data-hue="200"] { background: linear-gradient(150deg, rgba(78,168,240,0.16), transparent); }
.product__art[data-hue="270"] { background: linear-gradient(150deg, rgba(124,108,246,0.18), transparent); }
.product__art[data-hue="40"] { background: linear-gradient(150deg, rgba(244,178,82,0.16), transparent); }
.product h4 { font-size: 0.98rem; }
.product p { font-size: 0.78rem; }
.product__row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.7rem; }
.product__row strong { font-family: var(--font-display); }

/* ============ Pricing ============ */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { padding: 1.8rem; position: relative; display: flex; flex-direction: column; gap: 0.4rem; }
.plan--featured { border-color: rgba(45, 212, 167, 0.55); box-shadow: 0 0 40px rgba(45, 212, 167, 0.12); }
.plan__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem; border-radius: 999px;
  background: var(--grad); color: #04110c;
  white-space: nowrap;
}
.plan h3 { font-size: 1.1rem; }
.plan__price { font: 700 2.4rem var(--font-display); color: var(--text); }
.plan__price span { font-size: 0.95rem; color: var(--muted); font-family: var(--font); font-weight: 500; }
.plan ul { list-style: none; display: grid; gap: 0.5rem; margin: 0.8rem 0 1.4rem; flex: 1; }
.plan li { font-size: 0.88rem; color: #c4cbd8; padding-left: 1.4rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

/* ============ Trust / Footer ============ */
.trust { padding: 3.5rem 0; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust__grid h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.trust__grid p { font-size: 0.85rem; }

.footer { border-top: 1px solid var(--border); padding: 3rem 0; background: var(--bg-alt); }
.footer__inner { display: grid; gap: 1rem; justify-items: start; }
.footer__disclaimer { font-size: 0.78rem; max-width: 75ch; }
.footer__legal { font-size: 0.75rem; opacity: 0.7; }

/* ============ Modal / Toast ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal[hidden], .toast[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 4, 9, 0.75); backdrop-filter: blur(6px); }
.modal__card {
  position: relative;
  width: min(440px, 92%);
  padding: 2.2rem;
  text-align: center;
  background: var(--panel-solid);
  animation: fadeUp 0.3s ease;
}
.modal__card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.modal__card > p { font-size: 0.9rem; }
.modal__x {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer;
}
.modal__card form { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.modal__card input {
  font: 500 1rem var(--font);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.modal__fine { font-size: 0.72rem; margin-top: 0.9rem; }
.modal__success { margin-top: 1rem; color: var(--accent); font-size: 0.88rem; }

.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 90;
  background: var(--panel-solid);
  border: 1px solid rgba(45, 212, 167, 0.5);
  color: var(--text);
  font-size: 0.88rem; font-weight: 500;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.3s ease;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero__grid, .section__grid, .section__grid--rev, .sim { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps__row { grid-template-columns: repeat(2, 1fr); }
  .clinics__grid, .pricing__grid, .trust__grid { grid-template-columns: 1fr 1fr; }
  .market__grid { grid-template-columns: 1fr 1fr; }
  .clinics__b2b { flex-direction: column; text-align: center; }
}
/* ============ Age Stack (the moat) ============ */
.agestack__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.agecard { padding: 1.4rem; }
.agecard h4 { font-size: 0.95rem; letter-spacing: 0.04em; }
.agecard strong { font: 700 2.4rem var(--font-display); display: block; margin: 0.3rem 0 0.2rem; }
.agecard p { font-size: 0.78rem; }
.agecard[data-accent="green"] strong { color: var(--accent); }
.agecard[data-accent="purple"] strong { color: #a78bfa; }
.agecard[data-accent="blue"] strong { color: #4ea8f0; }
.agecard[data-accent="gold"] strong { color: #fbbf24; }
.precision { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding: 1.8rem 2rem; align-items: center; }
.precision h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.precision p { font-size: 0.88rem; }
.precision__band { font: 700 1.15rem var(--font-display); display: block; margin-bottom: 0.6rem; }
.meter--lg { height: 12px; }
.precision__viz em { font-style: normal; font-size: 0.75rem; color: var(--muted); display: block; margin-top: 0.5rem; }

/* ============ FeelAge ============ */
.feelage { padding: 1.8rem; display: grid; gap: 1.1rem; }
.feelage h3 { font-size: 1.2rem; }
.feelage__age { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; }
.feelage__age input {
  width: 80px;
  font: 600 1rem var(--font); color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.45rem 0.6rem;
}
.feelage__result {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(45, 212, 167, 0.07);
  border: 1px solid rgba(45, 212, 167, 0.3);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
}
.feelage__result span { font-size: 0.72rem; color: var(--muted); display: block; }
.feelage__result strong { font: 700 2rem var(--font-display); }
.feelage__result em { font-style: normal; font-weight: 700; }
.up { color: var(--danger); }
.down { color: var(--accent); }

/* ============ Symptoms → Solutions ============ */
.symptoms { padding: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.symptoms__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: start; }
.symptoms__chips button {
  font: 500 0.85rem var(--font); color: var(--text);
  padding: 0.55rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.symptoms__chips button:hover { border-color: rgba(45, 212, 167, 0.5); }
.symptoms__chips button.is-selected { border-color: var(--accent); background: rgba(45, 212, 167, 0.13); }
.symptoms__empty {
  font-size: 0.88rem;
  border: 1px dashed var(--border); border-radius: 12px;
  padding: 1.4rem; text-align: center;
}
.symptoms__report h4 { margin-bottom: 0.8rem; }
.driver { margin-bottom: 1rem; }
.driver__row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.35rem; }
.driver__row strong { color: var(--accent); }
.driver__path { font-size: 0.76rem; margin-top: 0.35rem; }
.symptoms__report .btn { margin-top: 0.4rem; }

/* ============ Wearables hub ============ */
.wear__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.4rem; }
.wear__card {
  padding: 1rem; display: grid; gap: 0.2rem; justify-items: center;
  cursor: pointer;
  font: 600 0.85rem var(--font); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.2s;
}
.wear__icon { font-size: 1.6rem; }
.wear__card em { font-style: normal; font-size: 0.72rem; color: var(--muted); }
.wear__card.is-on { border-color: var(--accent); box-shadow: 0 0 18px rgba(45, 212, 167, 0.18); }
.wear__card.is-on em { color: var(--accent); }
.wear__dash { padding: 1.6rem; }
.wear__dashhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.wear__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.wear__note { font-style: normal; font-size: 0.7rem; color: var(--muted); display: block; }

/* ============ Before / After Vault ============ */
.vault { padding: 1.8rem; display: grid; gap: 1.2rem; justify-items: start; }
.vault__uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
.vault__slot {
  border: 2px dashed var(--border); border-radius: 14px;
  min-height: 140px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.vault__slot:hover { border-color: var(--accent); color: var(--text); }
.vault__slot.has-img { border-style: solid; border-color: var(--accent); color: var(--accent); }
.vault__compare { width: 100%; }
.vault__frame { position: relative; border-radius: 14px; overflow: hidden; max-height: 420px; }
.vault__frame img { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.vault__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.vault__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  pointer-events: none;
}
.vault__compare input { width: 100%; margin-top: 0.8rem; }
.vault__privacy { font-size: 0.78rem; margin-top: 1rem; }

/* ============ Founding 1,000 ============ */
.founding__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.founding__perk { padding: 1.3rem; }
.founding__perk h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.founding__perk p { font-size: 0.8rem; }
.founding__bar { max-width: 560px; margin: 0 auto 1.2rem; text-align: center; }
.founding__bar p { font-size: 0.85rem; margin-bottom: 0.5rem; }
.founding__bar strong { color: var(--text); }
.founding__cta { text-align: center; }

/* ============ GDPR consent banner ============ */
#jaConsent {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 120;
  width: min(560px, 94%);
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.6);
  animation: fadeUp 0.3s ease;
}
#jaConsent p { font-size: 0.82rem; color: #c4cbd8; margin-bottom: 0.8rem; }
#jaConsent a { color: var(--accent); }
.ja-consent__row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
/* solid fallback + white text so the button stays readable even when a browser
   forces dark mode and strips the gradient background */
#jaConsent .btn--primary {
  background-color: #119a77;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* ============ Major footer ============ */
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 1.6rem; width: 100%; margin-bottom: 2rem; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__col h5 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.footer__col ul { list-style: none; display: grid; gap: 0.45rem; }
.footer__col a { color: #c4cbd8; text-decoration: none; font-size: 0.85rem; }
.footer__col a:hover { color: var(--accent); }
.footer__col p { font-size: 0.82rem; }
.footer__legalblock { border-top: 1px solid var(--border); padding-top: 1.4rem; display: grid; gap: 0.8rem; }
.footer__legalblock h6 { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.footer__legalblock p { font-size: 0.72rem; line-height: 1.65; color: #79839a; }

/* ============ FAQ ============ */
.faq__list { display: grid; gap: 0.7rem; max-width: 860px; }
.faq__item { padding: 0; overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none;
  font: 600 1rem var(--font-display);
  padding: 1.1rem 1.3rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.3rem; font-weight: 400;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 1.3rem 1.2rem; font-size: 0.9rem; }

/* ============ Responsive (new sections) ============ */
@media (max-width: 980px) {
  .agestack__grid, .wear__grid, .wear__metrics, .founding__grid { grid-template-columns: 1fr 1fr; }
  .symptoms, .precision { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .clinics__grid, .pricing__grid, .trust__grid, .market__grid, .quiz__options, .quiz__fields { grid-template-columns: 1fr; }
  .twin { flex-direction: column; }
  .score-card__body { flex-direction: column; }
  .nav__cta .btn--ghost { display: none; }
  .agestack__grid, .wear__metrics, .founding__grid, .vault__uploads { grid-template-columns: 1fr; }
}
