/* Regenesis Labs — site styles
   Tokens follow DESIGN.md. OKLCH throughout with hex fallbacks via @supports. */

/* Self-hosted Host Grotesk (latin) — no third-party render-blocking CSS */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/host-grotesk-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/host-grotesk-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/host-grotesk-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --navy-900: oklch(0.17 0.05 262);
  --navy-800: oklch(0.22 0.06 262);
  --navy-700: oklch(0.30 0.07 260);
  --navy-600: oklch(0.38 0.08 258);
  --blue-500: oklch(0.555 0.19 255);
  --blue-600: oklch(0.50 0.19 255);
  --blue-400: oklch(0.70 0.15 250);
  --blue-100: oklch(0.94 0.03 250);
  --blue-50:  oklch(0.97 0.015 250);
  --mint-300: oklch(0.85 0.12 175);
  --mint-700: oklch(0.45 0.10 175);
  --bg: oklch(1 0 0);
  --surface: oklch(0.975 0.008 250);
  --surface-2: oklch(0.955 0.012 250);
  --line: oklch(0.90 0.012 250);
  --line-strong: oklch(0.82 0.02 250);
  --ink: oklch(0.22 0.04 262);
  --ink-muted: oklch(0.44 0.03 262);
  --on-navy: oklch(0.97 0.01 250);
  --on-navy-muted: oklch(0.78 0.03 255);
  --on-navy-line: oklch(0.32 0.05 260);

  --font: "Host Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  /* holographic accents: pearlescent pastel spectrum, used sparingly */
  --holo: conic-gradient(from 200deg at 50% 50%, oklch(0.92 0.06 230), oklch(0.92 0.07 300), oklch(0.93 0.06 350), oklch(0.94 0.07 170), oklch(0.92 0.06 230));
  --holo-line: linear-gradient(90deg, oklch(0.85 0.08 230), oklch(0.85 0.09 300), oklch(0.86 0.08 350), oklch(0.87 0.09 170));
  --holo-soft: linear-gradient(135deg, oklch(0.985 0.012 230), oklch(0.985 0.014 300), oklch(0.985 0.012 350), oklch(0.985 0.014 170));

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px oklch(0.2 0.04 262 / 0.05), 0 2px 10px oklch(0.2 0.04 262 / 0.05);
  --shadow-md: 0 6px 24px oklch(0.2 0.04 262 / 0.08), 0 1px 3px oklch(0.2 0.04 262 / 0.06);
  --shadow-lg: 0 24px 60px oklch(0.2 0.05 262 / 0.14);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  --z-dropdown: 10;
  --z-sticky: 20;
  --z-drawer: 30;
  --z-toast: 40;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);

  color-scheme: light;
}

@supports not (color: oklch(0 0 0)) {
  :root {
    --navy-900: #0b1530; --navy-800: #101d42; --navy-700: #1b2c5c; --navy-600: #27407a;
    --blue-500: #0b6fdc; --blue-600: #005fc4; --blue-400: #6ea8ff; --blue-100: #e6eefb; --blue-50: #f2f6fd;
    --mint-300: #8fe3c9; --mint-700: #1f7a63;
    --bg: #fff; --surface: #f6f8fb; --surface-2: #eef2f7; --line: #e1e6ee; --line-strong: #c9d2e0;
    --ink: #141d3a; --ink-muted: #56607a; --on-navy: #f4f6fb; --on-navy-muted: #b7c2dc; --on-navy-line: #2a3a66;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, label, summary, select, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; top: 0; left: 0; z-index: calc(var(--z-drawer) + 1); padding: 0.75rem 1rem; background: var(--navy-800); color: var(--on-navy); font-weight: 600; border-radius: 0 0 var(--r-sm) 0; transform: translateY(-120%); transition: transform 160ms var(--ease-out); }
.skip-link:focus-visible { transform: none; outline-color: var(--blue-400); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .navy :focus-visible { outline-color: var(--blue-400); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.h3 { font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.5; color: var(--ink-muted); max-width: 60ch; }
.navy .lead, .on-navy .lead { color: var(--on-navy-muted); }
.muted { color: var(--ink-muted); }
.small { font-size: 0.9375rem; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 1rem; max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .section-head--row { grid-template-columns: 1fr; align-items: start; } }
.navy { background: var(--navy-900); color: var(--on-navy); }
.surface { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-500); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--white { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--blue-50); }
.btn--dark { background: var(--navy-900); color: var(--on-navy); }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.hero .btn--ghost, .navy .btn--ghost, .on-navy .btn--ghost { border-color: var(--on-navy-line); color: var(--on-navy); }
.hero .btn--ghost:hover, .navy .btn--ghost:hover, .on-navy .btn--ghost:hover { border-color: var(--on-navy-muted); background: oklch(1 0 0 / 0.04); }
.btn--lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; color: var(--blue-600); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }
.navy .link-arrow { color: var(--blue-400); }

/* ---------- Announcement ---------- */
.announce { background: var(--surface); color: var(--ink-muted); font-size: 0.8125rem; font-weight: 500; padding: 0.55rem var(--gutter); text-align: center; border-bottom: 1px solid var(--line); }
.announce p { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem 0; }
.announce span { display: inline-flex; align-items: center; }
.announce span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--holo-line); margin: 0 0.85rem; }
@media (max-width: 720px) { .announce span:nth-child(n+3) { display: none; } .announce span + span::before { margin: 0 0.6rem; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }
.brand img { height: 34px; width: auto; }
.brand--navy img { filter: none; }
.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.85rem; border-radius: var(--r-sm);
  font-weight: 450; font-size: 0.9875rem; color: var(--ink);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface-2); }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease-out); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.menu-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 22px; height: 22px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: var(--z-dropdown);
  width: min(720px, calc(100vw - 2 * var(--gutter)));
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem;
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; align-content: start; }
.mega__item { display: grid; gap: 0.1rem; padding: 0.7rem 0.8rem; border-radius: var(--r-sm); }
.mega__item:hover { background: var(--surface); }
.mega__item strong { font-weight: 500; font-size: 0.9875rem; }
.mega__item span { font-size: 0.8125rem; color: var(--ink-muted); }
.mega__feature {
  background: var(--navy-900); color: var(--on-navy); border-radius: 10px;
  padding: 1.1rem; display: grid; gap: 0.75rem; align-content: space-between;
  position: relative; overflow: hidden;
}
.mega__feature img { position: absolute; right: -8px; bottom: -14px; height: 130px; width: auto; filter: drop-shadow(0 8px 18px oklch(0 0 0 / 0.4)); }
.mega__feature strong { font-size: 1.05rem; line-height: 1.2; max-width: 14ch; display: block; }
.mega__feature p { font-size: 0.875rem; color: var(--on-navy-muted); max-width: 20ch; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--bg); overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
  display: grid; gap: 0.25rem; align-content: start;
  transform: translateX(100%); visibility: hidden;
  overscroll-behavior: contain;
  transition: transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin-bottom: 0.5rem; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--surface-2); }
.drawer__close svg { width: 20px; height: 20px; }
.drawer a.drawer__link { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0.25rem; font-size: 1.125rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer a.drawer__link svg { width: 20px; height: 20px; flex: none; color: var(--ink-muted); }
.drawer a.drawer__sub { display: flex; justify-content: space-between; padding: 0.75rem 0.25rem 0.75rem 1rem; font-size: 1rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer a.drawer__sub span { color: var(--ink-muted); font-size: 0.9rem; }
.drawer__cta { margin-top: 1.25rem; display: grid; gap: 0.5rem; }

@media (max-width: 960px) {
  .nav, .header__cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Product cards ---------- */
.card {
  position: relative; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); min-width: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; color: var(--ink);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media {
  position: relative; aspect-ratio: 4 / 3.4; overflow: hidden;
  background: var(--holo-soft);
}
.card__media img {
  position: absolute; inset: 9% 12%; width: 76%; height: 82%;
  object-fit: contain; object-position: center;
  transition: transform 400ms var(--ease-out);
  filter: drop-shadow(0 12px 14px oklch(0.2 0.05 262 / 0.18));
}
.card:hover .card__media img { transform: translateY(-4px) scale(1.03); }
.card--peptide .card__media { background: #fff; }
.card--peptide .card__media img { inset: 3% 4%; width: 92%; height: 94%; filter: none; }
.badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.3rem 0.6rem; border-radius: var(--r-pill);
  background: #fff; color: var(--navy-800);
}
.badge--rx { background: var(--navy-800); color: var(--on-navy); }
.badge--soft { background: var(--holo-soft); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line); }
.badge--right { left: auto; right: 0.75rem; }
.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.card__body > * { min-width: 0; }
.card__cat { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-600); }
.card__name { font-size: 1.125rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__desc { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.45; height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__chips { display: flex; flex-wrap: nowrap; gap: 0.35rem; overflow: hidden; min-height: 1.75rem; contain: inline-size; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.card__chips li { flex: none; white-space: nowrap; font-size: 0.75rem; font-weight: 500; color: var(--ink); background: var(--surface-2); border-radius: var(--r-pill); padding: 0.25rem 0.6rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.price { display: grid; line-height: 1.1; font-variant-numeric: tabular-nums; min-height: 2.6rem; align-content: end; }
.price small { font-size: 0.75rem; color: var(--ink-muted); font-weight: 500; }
.price strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.price strong sub { font-size: 0.8125rem; vertical-align: baseline; color: var(--ink-muted); font-weight: 500; margin-left: 1px; }
.card__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; white-space: nowrap;
  min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill);
  background: var(--navy-900); color: var(--on-navy); font-size: 0.9375rem; font-weight: 500;
  transition: background-color var(--dur) var(--ease-out);
}
.card__cta svg { width: 16px; height: 16px; }
.card:hover .card__cta { background: var(--blue-500); }
.card--unavailable .card__cta { background: var(--surface-2); color: var(--ink); }
.card--unavailable:hover .card__cta { background: var(--line-strong); }

/* stretched link: whole card clickable, one tab stop */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Generic grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .grid .card__body { padding: 0.8rem 0.85rem 0.9rem; gap: 0.45rem; }
  .grid .card__name { font-size: 1rem; }
  .grid .card__desc, .grid .card__chips { display: none; }
  .grid .card__name { min-height: 3.6em; -webkit-line-clamp: 3; }
  .grid .label-line { font-size: 0.75rem; }
  .grid .card__foot { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .grid .card__cta { min-height: 38px; }
  .grid .price strong { font-size: 1.125rem; }
}

/* ---------- Value proposition ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pillars { display: grid; }
.pillar { position: relative; display: grid; gap: 0.4rem; padding: 1.25rem 0 1.25rem 2rem; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; left: 0; top: 1.75rem; width: 10px; height: 10px; border-radius: 50%; background: var(--holo-line); box-shadow: 0 0 0 4px oklch(0.92 0.06 250 / 0.35); }
.pillar dt { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.pillar dd { margin: 0; color: var(--ink-muted); max-width: 58ch; }
.why__media { position: relative; margin: 0; border-radius: var(--r-lg); background: var(--holo-soft); overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.why__media::before { content: ""; position: absolute; inset: 20% 10% -10%; border-radius: 50%; background: var(--holo); filter: blur(60px); opacity: 0.8; }
.why__media img { position: relative; width: 62%; height: auto; filter: drop-shadow(0 30px 34px oklch(0.2 0.05 262 / 0.22)); }
.why__media figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; background: oklch(1 0 0 / 0.9); border-radius: 14px; padding: 0.8rem 1rem; font-size: 0.875rem; color: var(--ink-muted); box-shadow: var(--shadow-sm); }
.why__media figcaption span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-900); padding: 0.3rem 0.6rem; border-radius: var(--r-pill); background: var(--surface-2); }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr; } .why__media { aspect-ratio: 4 / 3; order: -1; } .why__media img { width: 40%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-weight: 500; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.faq details p { padding: 0 0 1.25rem; color: var(--ink-muted); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-band { position: relative; overflow: clip; background: var(--holo-soft); color: var(--ink); border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: -30% -10% auto 30%; height: 120%; background: var(--holo); filter: blur(90px); opacity: 0.55; pointer-events: none; }
.cta-band .lead { color: var(--ink-muted); }
.cta-band__helix { position: absolute; inset: 8% -12% auto 48%; width: min(1000px, 80vw); color: var(--blue-500); opacity: 0.18; pointer-events: none; transform: rotate(9deg); }
.cta-band .subscribe input { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.cta-band .subscribe input::placeholder { color: var(--ink-muted); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; align-items: center; }
.cta-band .display { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); max-width: 16ch; }
.subscribe { display: flex; gap: 0.5rem; max-width: 30rem; }
.subscribe input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--on-navy-line); background: oklch(1 0 0 / 0.06); color: var(--on-navy); font: inherit;
}
.subscribe input::placeholder { color: var(--on-navy-muted); }
.subscribe input:focus { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.subscribe.is-pending .btn { opacity: 0.7; pointer-events: none; }
.subscribe.is-done input { opacity: 0.6; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .subscribe { flex-direction: column; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--ink-muted); border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer h3 { color: var(--ink); font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.9rem; }
.footer li { margin-bottom: 0.55rem; }
.footer a:hover { color: var(--ink); }
.footer__legal { border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; display: grid; gap: 0.9rem; font-size: 0.8125rem; line-height: 1.55; }
.footer__legal p { max-width: 90ch; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Collection page ---------- */
.collection-hero { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.collection-hero .h2 { margin-bottom: 0.5rem; }
.toolbar {
  position: static; z-index: calc(var(--z-sticky) - 1);
  background: var(--bg);
}
.toolbar__inner { display: flex; align-items: center; gap: 0.75rem; min-height: 56px; }
.tabs { display: flex; gap: 0.4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 0.5rem; flex: 1; min-width: 0; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 40px; padding: 0 0.85rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink);
  scroll-snap-align: start; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.tab:hover { border-color: var(--line-strong); background: var(--surface); }
.tab[aria-selected="true"] { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); }
.tab__n { font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-muted); }
.tab[aria-selected="true"] .tab__n { background: oklch(1 0 0 / 0.15); color: var(--on-navy); }
.toolbar__right { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  min-height: 40px; padding: 0 2.1rem 0 0.9rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); cursor: pointer;
}
.select svg { position: absolute; right: 0.75rem; width: 14px; height: 14px; pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-block: 1.25rem 0.25rem; }
.filters__label { font-size: 0.875rem; font-weight: 600; color: var(--ink-muted); margin-right: 0.25rem; }
.fchip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0 0.85rem;
  border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.fchip:hover { border-color: var(--line-strong); }
.fchip[aria-pressed="true"] { background: var(--blue-100); border-color: var(--blue-500); color: var(--blue-600); }
.results-bar { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem 1.25rem; }
.results-bar h2 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; }
.results-bar p { font-size: 0.9375rem; color: var(--ink-muted); }
.results-bar .reset { font-size: 0.875rem; font-weight: 600; color: var(--blue-600); }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; padding-bottom: var(--section); }
.collection-grid.is-animating .card { animation: card-in 240ms var(--ease-out) both; }
.collection-grid .card.is-hidden { display: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--ink-muted); display: grid; gap: 0.75rem; justify-items: center; }
@media (max-width: 1100px) { .toolbar { position: sticky; top: 64px; } .tabs { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); } }
@media (max-width: 860px) { .toolbar { top: 64px; } }
@media (max-width: 560px) {
  .collection-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .collection-grid .card__body { padding: 0.8rem 0.85rem 0.9rem; gap: 0.45rem; }
  .collection-grid .card__name { font-size: 1rem; }
  .collection-grid .card__desc, .collection-grid .card__chips { display: none; }
  .collection-grid .card__name { min-height: 3.6em; -webkit-line-clamp: 3; }
  .collection-grid .label-line { font-size: 0.75rem; }
  .collection-grid .card__foot { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .collection-grid .card__cta { min-height: 38px; }
  .collection-grid .price strong { font-size: 1.125rem; }
}
/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: none; align-items: center; justify-content: space-between; gap: 0.75rem;
  transform: translateY(100%); transition: transform 260ms var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta strong { font-size: 0.9375rem; display: block; }
.sticky-cta span { font-size: 0.8125rem; color: var(--ink-muted); }
@media (max-width: 720px) { .sticky-cta { display: flex; } body.has-sticky { padding-bottom: 84px; } }


/* ---------- Brand device: dot helix ---------- */
.helix { display: block; width: 100%; height: auto; }
.hero__helix, .cta-band__helix { position: absolute; inset: 6% -8% auto 42%; width: min(1000px, 80vw); color: var(--blue-400); opacity: 0.38; pointer-events: none; transform: rotate(-14deg); z-index: 0; }
@media (max-width: 900px) { .hero__helix { inset: 4% -30% auto auto; width: 140vw; opacity: 0.35; } }

/* Rx label spec line: Form · Dosing · Supply */
.label-line { display: flex; flex-wrap: wrap; gap: 0.25rem 0; font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.01em; }
.card .label-line { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; min-height: 1.3em; contain: inline-size; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.card .label-line span { flex: none; }
.label-line span + span::before { content: "·"; margin: 0 0.45rem; opacity: 0.6; }

/* ---------- Hero (light, centered, product-led) ---------- */
.hero { position: relative; overflow: clip; background: var(--bg); color: var(--ink); padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(2rem, 4vw, 3rem); }
.hero__copy { display: grid; gap: 1rem; justify-items: center; max-width: 58rem; }
.hero__kicker { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink-muted); padding: 0.45rem 0.95rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--holo-soft); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-700); box-shadow: 0 0 0 4px oklch(0.85 0.12 175 / 0.35); flex: none; }
@media (max-width: 560px) { .hero__kicker { font-size: 0.8125rem; padding: 0.4rem 0.8rem; text-align: left; } }
.hero .display { max-width: 20ch; }
.hero .display em { font-style: normal; color: var(--blue-500); display: block; }
.hero .lead { max-width: 56ch; margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .hero__actions { justify-content: center; }
.hero .btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.hero .btn--ghost:hover { border-color: var(--ink); }
.navy .btn--ghost, .on-navy .btn--ghost { border-color: var(--on-navy-line); color: var(--on-navy); }
.navy .btn--ghost:hover, .on-navy .btn--ghost:hover { border-color: var(--on-navy-muted); background: oklch(1 0 0 / 0.04); }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; margin: 0.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); text-align: left; }
.hero__facts div { display: grid; gap: 0.15rem; }
.hero__facts dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-600); }
.hero__facts dd { margin: 0; font-size: 0.875rem; color: var(--ink-muted); white-space: nowrap; }
.hero__helix { position: absolute; inset: auto -8% 6% 58%; width: min(900px, 70vw); color: var(--blue-500); opacity: 0.16; pointer-events: none; transform: rotate(-12deg); z-index: 0; }

/* Hero stage: products on a holographic haze */
.stage { position: relative; z-index: 1; width: min(100%, 980px); aspect-ratio: 2.35 / 1; margin-top: 0; }
.stage::before {
  content: ""; position: absolute; inset: 0 6% -14% 6%; border-radius: 50%;
  background: var(--holo); filter: blur(70px); opacity: 0.85; pointer-events: none;
}
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.stage__item { position: absolute; display: block; transition: transform 500ms var(--ease-out); }
.stage__item img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px oklch(0.2 0.05 262 / 0.22)); }
.stage__item:hover { transform: translateY(-6px); }
.stage__item--sema { left: 35%; bottom: 0; width: 30%; z-index: 3; }
.stage__item--trt { left: 13%; bottom: 0; width: 24%; z-index: 2; }
.stage__item--estr { right: 16%; bottom: 0; width: 18%; z-index: 1; }
.stage__tag {
  position: absolute; display: grid; gap: 0.05rem; padding: 0.5rem 0.75rem; border-radius: 12px;
  background: oklch(1 0 0 / 0.9); color: var(--ink); box-shadow: var(--shadow-md), inset 0 0 0 1px oklch(1 0 0 / 0.6);
  white-space: nowrap; font-size: 0.75rem; font-weight: 500; line-height: 1.2;
}
.stage__tag::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--holo-line); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.9; pointer-events: none; }
.stage__tag strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stage__tag sub { font-size: 0.7rem; vertical-align: baseline; color: var(--ink-muted); font-weight: 500; }
.stage__item--sema .stage__tag { right: -30%; top: 6%; }
.stage__item--trt .stage__tag { left: -34%; top: 2%; }
.stage__item--estr .stage__tag { right: -40%; top: -4%; }
@media (max-width: 900px) {
  .hero .display { max-width: 14ch; }
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; text-align: left; }
  .hero__facts dd { white-space: normal; }
  .stage { aspect-ratio: 16 / 10; }
  .stage__item--sema { width: 36%; left: 32%; }
  .stage__item--trt { width: 28%; left: 6%; }
  .stage__item--estr { width: 22%; right: 6%; }
  .stage__item--trt .stage__tag { left: -6%; top: -22%; }
  .stage__item--sema .stage__tag { right: -14%; top: -14%; }
  .stage__item--estr .stage__tag { right: -4%; top: -28%; }
}
@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 auto; }
  .stage { aspect-ratio: 5 / 3.6; margin-top: 1.5rem; }
  .stage__item--sema { width: 44%; left: 28%; }
  .stage__item--trt { width: 34%; left: 0; }
  .stage__item--estr { width: 26%; right: 0; }
  .stage__item--trt .stage__tag { left: 0; top: -20%; }
  .stage__item--sema .stage__tag { right: -6%; top: -12%; }
  .stage__item--estr .stage__tag { right: 0; top: -26%; }
  .stage__tag { font-size: 0.7rem; padding: 0.35rem 0.55rem; }
  .pick__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage__tag strong { font-size: 0.9rem; }
}

/* ---------- Goal finder ---------- */
.finder { background: var(--surface); }
.finder__head { display: grid; gap: 0.75rem; max-width: 62ch; margin-bottom: 1.75rem; }
.finder__chips { display: flex; flex-wrap: nowrap; gap: 0.5rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.finder__chips::-webkit-scrollbar { display: none; }
.finder__chips .chip { flex: none; scroll-snap-align: start; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--bg);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); }
.chip__n { font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-muted); }
.chip[aria-pressed="true"] .chip__n { background: oklch(1 0 0 / 0.15); color: var(--on-navy); }
.finder__panel { display: grid; gap: 1.25rem; }
.finder__blurb { color: var(--ink-muted); max-width: 62ch; }
.finder__rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0.6rem; }
.pick {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 0.9rem;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pick__img { width: 56px; height: 56px; border-radius: 12px; background: var(--holo-soft); display: grid; place-items: center; overflow: hidden; }
.pick__img img { width: 44px; height: 44px; object-fit: contain; }
.pick > span { min-width: 0; }
.pick__name { display: block; font-weight: 500; font-size: 0.9875rem; line-height: 1.2; }
.pick__meta { display: block; font-size: 0.8125rem; color: var(--ink-muted); margin-top: 0.2rem; }
.pick__price { text-align: right; display: grid; justify-items: end; }
.pick__price strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pick__price span { font-size: 0.75rem; color: var(--ink-muted); }
@media (max-width: 560px) { .pick { grid-template-columns: 48px 1fr auto; gap: 0.7rem; } .pick__img { width: 48px; height: 48px; } .pick__name { font-size: 0.9375rem; } }

.swipe-hint { display: none; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--ink-muted); margin-bottom: 0.75rem; }
.swipe-hint svg { width: 16px; height: 16px; }

/* ---------- Formulary ledger ---------- */
.ledger { border-top: 1px solid var(--ink); }
.ledger__head, .ledger__row { display: grid; grid-template-columns: 2.25rem 84px minmax(0, 1.6fr) minmax(0, 1fr) 7rem 8.5rem; gap: 1.25rem; align-items: center; }
.ledger__head { padding: 0.65rem 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.ledger__row { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); position: relative; transition: background-color var(--dur) var(--ease-out); }
.ledger__row:hover { background: var(--surface); box-shadow: 0 0 0 var(--gutter) var(--surface); }
.ledger__n { font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ledger__img { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 16px; background: var(--holo-soft); overflow: hidden; }
.ledger__img img { width: 64px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 8px oklch(0.2 0.05 262 / 0.2)); transition: transform 400ms var(--ease-out); }
.ledger__row:hover .ledger__img img { transform: translateY(-3px) scale(1.04); }
.ledger__main { display: grid; gap: 0.25rem; min-width: 0; }
.ledger__cat { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-600); }
.ledger__name { font-size: 1.125rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.ledger__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; min-width: 0; }
.ledger__chips li { font-size: 0.75rem; font-weight: 500; background: var(--surface-2); border-radius: var(--r-pill); padding: 0.25rem 0.6rem; }
.ledger__price { display: grid; line-height: 1.1; justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.ledger__price small { font-size: 0.75rem; color: var(--ink-muted); font-weight: 500; }
.ledger__price strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.ledger__price sub { font-size: 0.8125rem; vertical-align: baseline; color: var(--ink-muted); font-weight: 500; }
.ledger__cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 42px; border-radius: var(--r-pill); background: var(--navy-900); color: var(--on-navy); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; transition: background-color var(--dur) var(--ease-out); }
.ledger__cta svg { width: 16px; height: 16px; }
.ledger__row:hover .ledger__cta { background: var(--blue-500); }
@media (max-width: 1000px) {
  .ledger__head, .ledger__row { grid-template-columns: 2rem 72px minmax(0, 1fr) 6.5rem 7.5rem; }
  .ledger__head span:nth-child(4), .ledger__chips { display: none; }
}
@media (max-width: 720px) {
  .ledger { border-top: 0; display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem; }
  .ledger::-webkit-scrollbar { display: none; }
  .ledger__head { display: none; }
  .ledger__row { flex: 0 0 min(80%, 300px); scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "img img" "main main" "price cta"; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
  .ledger__row:hover { box-shadow: var(--shadow-md); }
  .ledger__n { display: none; }
  .ledger__img { grid-area: img; width: 100%; height: 190px; border-radius: 12px; }
  .ledger__img img { width: 44%; height: 82%; }
  .ledger__main { grid-area: main; }
  .ledger__chips { display: none; }
  .ledger__price { grid-area: price; justify-items: start; text-align: left; }
  .ledger__cta { grid-area: cta; }
  .swipe-hint { display: flex; }
}

/* ---------- Timeline (dosing calendar) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; padding-top: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--holo-line); }
.timeline__step { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.timeline__step::before { content: ""; position: absolute; top: calc(-1.75rem - 5px); left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue-500); }
.timeline__step time { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.timeline__step h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; }
.timeline__step p { font-size: 0.9875rem; color: var(--ink-muted); }
.timeline__ruler { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 2.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line-strong); font-size: 0.75rem; font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.timeline__ruler span { position: relative; padding-top: 0.5rem; }
.timeline__ruler span::before { content: "Day "; }
.timeline__ruler i { position: absolute; top: -0.55rem; left: 0; width: 1px; height: 0.5rem; background: var(--line-strong); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 1.75rem; gap: 1.5rem; }
  .timeline::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-500) 0 20%, var(--line-strong) 20%); }
  .timeline__step::before { top: 4px; left: -1.75rem; }
  .timeline__ruler { display: none; }
}

/* ---------- Price band + receipt ---------- */
.price-band { position: relative; overflow: clip; background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.receipt {
  position: relative; background: #fff; color: var(--ink); border-radius: 6px 6px 0 0; padding: 1.5rem 1.5rem 2.25rem; max-width: 440px; margin-inline: auto;
  box-shadow: var(--shadow-lg), 0 1px 2px oklch(0.2 0.05 262 / 0.08);
}
.receipt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: var(--holo-line); }
.receipt::after { /* torn edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: radial-gradient(circle at 8px 0, #fff 6px, transparent 7px) 0 0 / 16px 12px repeat-x;
}
.receipt__head { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: 0.9rem; border-bottom: 1px dashed var(--line-strong); }
.receipt__item { display: grid; gap: 0.15rem; padding: 1rem 0 0.75rem; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.receipt__item span { font-weight: 500; font-size: 0.875rem; color: var(--ink-muted); letter-spacing: 0; }
.receipt__lines { display: grid; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px dashed var(--line); font-size: 0.9375rem; }
.receipt__lines li span:last-child { font-weight: 500; color: var(--mint-700); white-space: nowrap; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--ink); font-weight: 500; }
.receipt__total strong { font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.receipt__total sub { font-size: 0.9rem; vertical-align: baseline; color: var(--ink-muted); font-weight: 500; }
.receipt__foot { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-muted); }
.receipt__helix { color: var(--blue-500); opacity: 0.55; margin-top: 0.75rem; }

/* FAQ numbering */
.faq__n { font-size: 0.8125rem; font-weight: 500; color: var(--blue-600); margin-right: 0.9rem; font-variant-numeric: tabular-nums; flex: none; }
.faq summary { justify-content: flex-start; }
.faq summary .plus { margin-left: auto; }



/* ---------- Trust strip ---------- */
.trust-band { position: relative; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.trust__item {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 0.6rem; padding: 2rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, #fff 0%, oklch(0.985 0.01 260) 100%); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.trust__item::before { /* holographic seal line */
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 2px; background: var(--holo-line); border-radius: 0 0 2px 2px;
}
.trust__item::after { /* soft pearlescent haze behind the icon */
  content: ""; position: absolute; top: -40px; left: 50%; width: 180px; height: 180px; transform: translateX(-50%); border-radius: 50%;
  background: var(--holo); filter: blur(40px); opacity: 0.55; pointer-events: none;
}
.trust__item > * { position: relative; z-index: 1; }
.trust__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--navy-900); margin-bottom: 0.4rem; box-shadow: var(--shadow-sm); }
.trust__icon::before { /* gradient ring */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--holo-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.trust__icon svg { width: 28px; height: 28px; }
.trust__item h3 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-900); }
.trust__item p { font-size: 0.9375rem; color: var(--ink-muted); max-width: 30ch; }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr 1fr; gap: 0.6rem; } .trust__item { padding: 1.4rem 0.9rem 1.1rem; gap: 0.45rem; } .trust__icon { width: 54px; height: 54px; } .trust__icon svg { width: 24px; height: 24px; } .trust__item h3 { font-size: 0.7rem; letter-spacing: 0.08em; } .trust__item p { font-size: 0.8125rem; } .trust__item::after { width: 120px; height: 120px; } }

/* ---------- Reviews ---------- */
.reviews__avg { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--ink-muted); white-space: nowrap; }
.reviews__avg strong { font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.review {
  display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); position: relative;
}
.review::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 2px; background: var(--holo-line); border-radius: 0 0 2px 2px; opacity: 0.9; }
.review__stars { display: inline-flex; gap: 2px; color: var(--line-strong); }
.review__stars span { display: inline-flex; width: 16px; height: 16px; }
.review__stars .is-on { color: var(--blue-500); }
.review__stars svg { width: 16px; height: 16px; }
.review__text { margin: 0; }
.review__text p { font-size: 1.0625rem; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.review__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; font-size: 0.875rem; color: var(--ink-muted); padding-top: 0.9rem; border-top: 1px solid var(--line); }
.review__name { font-weight: 500; color: var(--ink); }
.review__therapy { flex-basis: 100%; }
.review__verified { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 500; color: var(--mint-700); }
.review__verified svg { width: 14px; height: 14px; }
.review__sample { margin-left: auto; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); border: 1px dashed var(--line-strong); border-radius: var(--r-pill); padding: 0.15rem 0.5rem; }
@media (max-width: 720px) {
  .reviews__grid { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem; }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
  .reviews .swipe-hint { display: flex; }
  .reviews .section-head--row { grid-template-columns: 1fr; }
}

.reviews__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }

/* ---------- About page ---------- */
.about-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.about-hero .hero__copy { max-width: 46rem; }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); }
.about-story__text { display: grid; gap: 1.1rem; font-size: 1.125rem; line-height: 1.6; max-width: 62ch; }
.about-story__text p:first-child { font-size: 1.25rem; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.value { display: grid; gap: 0.6rem; padding: 1.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); align-content: start; }
.value__n { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.value h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.value p { color: var(--ink-muted); }
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: chain; position: relative; padding-top: 1.75rem; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--holo-line); }
.chain li { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.chain li::before { content: ""; position: absolute; top: calc(-1.75rem - 5px); left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue-500); }
.chain__role { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.chain li p { font-size: 0.9875rem; color: var(--ink-muted); }
.about-standards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.standards { display: grid; }
.standards li { padding: 1.1rem 0; border-top: 1px solid var(--line); color: var(--ink-muted); }
.standards li:last-child { border-bottom: 1px solid var(--line); }
.standards strong { display: block; font-weight: 500; color: var(--ink); margin-bottom: 0.15rem; }
@media (max-width: 900px) {
  .about-story, .about-standards { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; padding-top: 0; padding-left: 1.75rem; }
  .chain::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-500), var(--line-strong)); }
  .chain li::before { top: 4px; left: -1.75rem; }
}

/* ---------- Legal pages ---------- */
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal__aside { position: sticky; top: 5.5rem; display: grid; gap: 0.75rem; }
.legal__eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.legal__toc { display: grid; gap: 0.35rem; margin-top: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; counter-reset: toc; }
.legal__toc li { counter-increment: toc; display: flex; gap: 0.6rem; color: var(--ink-muted); }
.legal__toc li::before { content: counter(toc, decimal-leading-zero); font-size: 0.75rem; color: var(--blue-600); padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.legal__toc a:hover { color: var(--ink); }
.legal__body { display: grid; gap: 2rem; max-width: 68ch; }
.legal__body .lead { color: var(--ink); }
.legal__section { display: grid; gap: 0.75rem; scroll-margin-top: 5.5rem; }
.legal__section h2 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal__section p, .legal__section li { color: var(--ink-muted); }
.legal__section strong { color: var(--ink); font-weight: 500; }
.legal__section ul { display: grid; gap: 0.5rem; padding-left: 1.1rem; list-style: disc; }
.legal__section a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.legal__note { padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .legal__grid { grid-template-columns: 1fr; } .legal__aside { position: static; } }

/* ---------- Touch targets (coarse pointers) ---------- */
@media (pointer: coarse) {
  .chip, .tab, .fchip, .card__cta, .select select, .nav__link, .mega__item, .faq summary .plus, .brand, .link-arrow { min-height: 44px; }
  .link-arrow { padding-block: 0.5rem; }
  .faq summary .plus { min-width: 44px; width: 44px; height: 44px; }
  .finder__chips, .filters, .tabs { gap: 0.5rem; }
  .card__foot { gap: 0.5rem; }
}

/* ---------- Reveal (enhances visible default) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
  /* transform-only entrance: text is painted immediately (LCP), then settles */
  .js .hero__copy > * { transform: translateY(12px); animation: settle 700ms var(--ease-out) forwards; }
  .js .hero__copy > :nth-child(1) { animation-delay: 40ms; }
  .js .hero__copy > :nth-child(2) { animation-delay: 110ms; }
  .js .hero__copy > :nth-child(3) { animation-delay: 180ms; }
  .js .hero__copy > :nth-child(4) { animation-delay: 250ms; }
  .js .hero__copy > :nth-child(5) { animation-delay: 320ms; }
  .js .stage { opacity: 0; transform: translateY(16px); animation: rise 900ms var(--ease-out) 200ms forwards; }
  .js .stage__item { animation: rise 900ms var(--ease-out) forwards; opacity: 0; }
  .js .stage__item--sema { animation-delay: 320ms; } .js .stage__item--trt { animation-delay: 420ms; } .js .stage__item--estr { animation-delay: 520ms; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes settle { to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
