/* VIAL prototype, v4.
   Light theme only (the brief asks for light DTC).
   Palette taken from the VIAL logo: cool off-white, navy ink, navy accent.
   The navy gradient belongs to the wordmark and nothing else, so the navy reads as the
   mark rather than as decoration.
   One shape rule: 8px radius on buttons, inputs, panels and images; 4px on small tags. No pills. */
:root {
  /* Palette taken from the VIAL wordmark: #32487A, #1E2E52, #131E38 top to
     bottom. The page sits on a cool off-white so the navy reads as ink rather
     than as a colour applied on top of warm paper. */
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --sunk: #E9EDF4;
  --ink: #131E38;
  --ink-2: #3A4663;
  --muted: #6E7892;
  --line: #E1E6EF;
  --line-2: #C2CAD9;
  --accent: #32487A;
  --accent-ink: #1E2E52;
  --accent-bg: #EDF1F8;
  --navy-a: #32487A;
  --navy-b: #1E2E52;
  --navy-c: #131E38;
  --navy-d: #0D1527;
  /* Dark band and pastel fields. The page was one shade of near-white top to
     bottom, which reads as unfinished rather than clean. These give the scroll
     a rhythm: light, tint, dark, light. */
  --dark: #141F3A;
  --dark-2: #0E1830;
  --tint-sky: #D9E8FA;
  --tint-lav: #E7E6FB;
  --tint-mint: #E2F0EA;
  /* Sections melt into this rather than into pure white, so a soft edge lands
     on the page colour and leaves no seam. */
  --fade: #F7F9FC;
  --ok: #1D6A4E;
  --ok-bg: #E4F1EB;
  --warn: #9A2A12;
  --warn-bg: #FBEAE4;
  --r: 8px;
  --r-sm: 4px;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --serif: 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* One wash over the whole document, the way aminoclub.com does it: the colour
   lives on the page, not on each section, so nothing has to line up at a seam.
   Kept far softer than theirs because this palette is navy, not pastel. */
body { margin: 0;
  background:
    linear-gradient(rgba(247,249,252,0) 40%, var(--fade) 100%),
    radial-gradient(58% 70% at 92% 0, rgba(226,240,234,.55) 0%, rgba(226,240,234,0) 70%),
    linear-gradient(104deg, rgba(231,230,251,.60) 0%, rgba(217,232,250,.60) 68%, rgba(247,249,252,0) 100%),
    var(--bg);
  background-attachment: scroll;
  color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

html.gated body > :not(.gate):not(.proto-pill) { visibility: hidden; }
html.gated body { overflow: hidden; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(36px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.eyebrow { font: 500 13px/1.4 var(--sans); color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.btn:hover:not(:disabled) { background: #2A3035; border-color: #2A3035; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { background: var(--sunk); border-color: var(--sunk); color: var(--muted); cursor: not-allowed; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface); border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: 500 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); cursor: pointer; color: var(--ink); }
.link:hover { text-decoration-color: var(--ink); }

/* Tags: small, rectangular, used sparingly */
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: var(--r-sm); font: 500 12px/1 var(--mono); background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-accent, .chip-tape { background: var(--accent-bg); color: var(--accent-ink); }
.chip-ink { background: var(--ink); color: #fff; }
.chip-sample { background: transparent; border: 1px solid var(--line-2); color: var(--muted); height: 18px; padding: 0 5px; font-size: 10px; letter-spacing: .02em; }
.cat { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.tbd { background: #FFF3C4; color: #5A4A00; padding: 0 4px; border-radius: 3px; font-family: var(--mono); font-size: .86em; }

/* Promo bar */
.promo { background: var(--ink); color: #E9ECED; font-size: 13.5px; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.promo strong { color: #fff; font-weight: 600; }
.promo .code { font: 500 13px var(--mono); color: #fff; }
.promo .clock { font: 400 13px var(--mono); font-variant-numeric: tabular-nums; color: #B9C1C5; }
.promo button { background: none; border: 0; padding: 0; color: #fff; font: 500 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.promo .applied { font: 500 13px var(--mono); color: #fff; }

/* Header */
/* Floating glass bar. The header itself is a transparent sticky rail; the pill is
   the .wrap inside it, so it keeps the page's own measure and gutters. Frosted rather
   than translucent: backdrop-filter plus a saturation lift keeps whatever scrolls
   underneath legible instead of letting it bleed through as grey. */
.site-header { position: sticky; top: 0; z-index: 40; background: transparent; padding: 12px 0; transition: padding .3s var(--ease, ease); }
.site-header .wrap {
  display: flex; align-items: center; gap: 32px; height: 60px;
  /* Symmetric, so the centred nav lands on the pill centre and not 4px right of it. */
  padding-left: 22px; padding-right: 22px;
  border-radius: 999px;
  background: rgba(253, 252, 249, .72);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 1px rgba(19, 30, 56, .05), 0 8px 24px rgba(19, 30, 56, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  transition: box-shadow .3s var(--ease, ease), background .3s var(--ease, ease);
}
/* Once the page has moved under it, the glass firms up a little. */
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .wrap {
  background: rgba(253, 252, 249, .86);
  box-shadow: 0 1px 1px rgba(19, 30, 56, .06), 0 12px 30px rgba(19, 30, 56, .14), inset 0 1px 0 rgba(255, 255, 255, .95);
}
/* No backdrop-filter (older Firefox, some embedded views): go opaque rather than
   leaving text over a half-transparent panel. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header .wrap { background: #FBFCFE; }
}
@media (max-width: 600px) { .site-header .wrap { padding-left: 16px; padding-right: 16px; gap: 14px; } }
/* The wordmark is the logo file itself. PEAK's mark was set in type with a drawn
   apex for its A; VIAL's carries an arc over the V that no font has, so the real
   SVG is the only honest way to show it. Sized by height, never by font-size. */
.wm-img { display: block; width: auto; height: 22px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }

.brand-tagline { font: 400 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin: 9px 0 0; }
.gate-form .brand-tagline { margin-bottom: 26px; }

.nav { display: flex; gap: 22px; flex: 1; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14px; }
.header-actions a { text-decoration: none; color: var(--ink-2); }
.header-actions a:hover { color: var(--ink); }
.cart-link { font-weight: 500; color: var(--ink) !important; }
.cart-count { font-family: var(--mono); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r); height: 36px; padding: 0 12px; cursor: pointer; font-size: 14px; }
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 4px 24px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover, .nav a[aria-current="page"] { box-shadow: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-actions .signin { display: none; }
}

/* Vial: stand-in for product photography until the real shoot */
.vial[data-cat="incretin"]     { --cap: #2E4A7A; }
.vial[data-cat="secretagogue"] { --cap: #4A5F6B; }
.vial[data-cat="cellular"]     { --cap: #5A6480; }
.vial[data-cat="metabolic"]    { --cap: #466B61; }
.vial[data-cat="cognitive"]    { --cap: #4F5566; }
.vial[data-cat="longevity"]    { --cap: #3F6456; }
.vial[data-cat="blend"]        { --cap: #5D4E78; }
.vial[data-cat="specialty"]    { --cap: #5A5750; }
.vial { --w: 120px; --cap: var(--accent); width: var(--w); display: flex; flex-direction: column; align-items: center; flex: none; }
.vial-cap { width: calc(var(--w) * .6); height: calc(var(--w) * .19); background: var(--cap); border-radius: calc(var(--w) * .05) calc(var(--w) * .05) 1px 1px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.vial-crimp { width: calc(var(--w) * .66); height: calc(var(--w) * .15); background: linear-gradient(90deg, #A9B2B6, #EEF1F2 35%, #B4BDC1 68%, #DCE1E3); border-radius: 1px 1px 3px 3px; }
.vial-neck { width: calc(var(--w) * .52); height: calc(var(--w) * .08); background: linear-gradient(90deg, #CBD6DA, #F4F7F8 45%, #C8D3D7); }
.vial-body { position: relative; width: var(--w); height: calc(var(--w) * 1.3); border-radius: calc(var(--w) * .1) calc(var(--w) * .1) calc(var(--w) * .13) calc(var(--w) * .13); background: linear-gradient(90deg, #D3DEE2, #FAFCFC 30%, #EEF3F4 64%, #CCD8DC); box-shadow: 0 1px 0 rgba(18, 21, 23, .08), 0 10px 14px -10px rgba(18, 21, 23, .28); overflow: hidden; }
.vial-cake { position: absolute; left: 9%; right: 9%; bottom: 4%; height: 12%; background: linear-gradient(#FFFFFF, #EFF2F3); border-radius: 2px 2px 10px 10px; }
.vial-label { position: absolute; left: 0; right: 0; top: 11%; height: 64%; background: #fff; padding: 7% 8% 6% 9%; display: flex; flex-direction: column; justify-content: space-between; font-size: calc(var(--w) * .07); line-height: 1.12; overflow: hidden; border-top: 2px solid var(--cap); }
.vl-brand { font: 500 .95em/1 var(--serif); letter-spacing: .13em; color: var(--navy-d); }
.vl-name { font: 600 1.7em/0.98 var(--sans); letter-spacing: -0.035em; word-break: break-word; }
.vl-mass { font: 500 1.05em/1 var(--mono); }
.vl-spec { font: 500 .66em/1.2 var(--mono); color: var(--ink-2); }
.vl-lot { font: 400 .68em/1 var(--mono); color: var(--muted); }
.vl-ruo { font: 600 .6em/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.vial-sm .vl-brand, .vial-sm .vl-lot, .vial-sm .vl-ruo, .vial-sm .vl-mass, .vial-sm .vl-spec { display: none; }
.vial-sm .vial-label { justify-content: center; font-size: calc(var(--w) * .09); }
.vial-sm .vl-name { font-size: 1.45em; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sunk); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero { padding: 28px 0 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
}

/* Trust bar */
/* Trust row: an icon and a few words each, centred. Replaces three explained
   sentences, which at a glance were read rather than absorbed. */
.trustrow { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trustrow ul { list-style: none; margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trustrow li { display: inline-flex; align-items: center; gap: 9px; font: 500 14.5px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.trustrow svg { width: 19px; height: 19px; flex: none; color: var(--accent); }
@media (max-width: 760px) { .trustrow ul { gap: 14px 22px; padding: 16px 0; } .trustrow li { font-size: 13.5px; } }
@media (max-width: 460px) { .trustrow ul { flex-direction: column; align-items: flex-start; } }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 40em; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* Category tabs */
.tabs { display: flex; gap: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button, .filter { background: none; border: 0; padding: 10px 0; font-size: 15px; color: var(--muted); cursor: pointer; }
.tabs button[aria-pressed="true"], .filter[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tabs button:hover, .filter:hover { color: var(--ink); }
.filter .dot { display: none; }

/* Product card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-stage { position: relative; aspect-ratio: 1 / 1; background: var(--sunk); border-radius: var(--r); display: grid; place-items: center; text-decoration: none; overflow: hidden; }
.card-stage .vial { --w: 96px; transition: transform .25s ease; }
.card-stage:hover .vial { transform: translateY(-3px); }
/* Product photography fills the tile; it carries its own backdrop. */
.vial-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-stage .vial-photo { transition: transform .35s ease; }
.card-stage:hover .vial-photo { transform: scale(1.03); }
.card-stage .badge-pos { position: absolute; top: 10px; left: 12px; font: 600 13px var(--mono); color: var(--accent); }
.card-stage .badge-pos .oos { color: var(--muted); font: 500 13px var(--sans); }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font: 600 16px/1.25 var(--sans); letter-spacing: -0.01em; text-decoration: none; }
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.data-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 400 13px var(--mono); color: var(--ink-2); margin-top: 2px; }
.data-row .purity { display: inline-flex; align-items: center; gap: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font: 500 16px/1 var(--mono); letter-spacing: -0.02em; color: var(--ink); }
.price .was { font: 400 13px var(--mono); color: var(--muted); text-decoration: line-through; }
.price .note { font-size: 12.5px; color: var(--accent); }
.card-actions { margin-top: auto; padding-top: 10px; display: flex; }
.card-actions .btn { flex: 1; background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.card-actions .btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-actions .btn:disabled { background: var(--surface); border-color: var(--line); }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .scroller { grid-auto-columns: calc((100% - 60px) / 4); } }

/* Testing section */
.testing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.testing figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sunk); }
.testing figure img { width: 100%; height: 100%; object-fit: cover; }
.testing .lede { margin: 16px 0 28px; }
.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0 0 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tests div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tests span { font: 400 13px var(--mono); color: var(--muted); white-space: nowrap; }
.lot-lookup label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.inline-form { display: flex; gap: 8px; }
@media (max-width: 900px) { .testing { grid-template-columns: minmax(0, 1fr); gap: 32px; } .testing figure { aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .tests { grid-template-columns: minmax(0, 1fr); } }

/* Build a box */
.box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.box .lede { margin: 16px 0 22px; }
.plain-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; color: var(--ink-2); }
.plain-list li::before { content: '+'; font-family: var(--mono); color: var(--accent); margin-right: 10px; }
.box-visual { background: var(--sunk); border-radius: var(--r); padding: 44px 28px 28px; }
.box-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.box-slots .slot { display: grid; justify-items: center; gap: 10px; }
.box-slots .slot .vial { --w: 64px; }
.box-slots .slot span { font: 400 12px var(--mono); color: var(--muted); }
.box-slots .free span { color: var(--accent); font-weight: 500; }
.math { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.math .was { font: 400 15px var(--mono); color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.math .now { font: 500 26px/1 var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.terms-line { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .box { grid-template-columns: minmax(0, 1fr); gap: 28px; } .box-visual { padding: 28px 14px 18px; } .box-slots { gap: 6px; } .box-slots .slot .vial { --w: 48px; } }

/* Bulk + points table strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; border-top: 1px solid var(--ink); }
.strip > div { padding: 22px 24px 22px 0; }
.strip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.strip .k { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.strip .v { font: 500 24px/1.1 var(--mono); letter-spacing: -0.03em; }
.strip .v small { font: 400 14px var(--sans); letter-spacing: 0; color: var(--muted); }
.strip h3 { font-size: 22px; margin-bottom: 8px; }
@media (max-width: 900px) {
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip > div, .strip > div + div { padding: 18px 0; border-left: 0; }
  .strip > div:first-child, .strip > div:last-child { grid-column: 1 / -1; }
  .strip > div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .strip > div:nth-child(3) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.faq-split .side p { color: var(--muted); margin: 12px 0 20px; }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 500; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 15px; font: 300 22px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: '\2212'; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }
.faq .answer p + p { margin-top: 10px; }
.faq h2 { margin: 48px 0 10px; font-size: 22px; }
.faq h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 80px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-top h4 { font: 600 14px var(--sans); margin: 0 0 14px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--ink-2); }
.footer-top a { text-decoration: none; }
.footer-top a:hover { text-decoration: underline; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: grid; gap: 10px; }
.footer-legal .disclaimer { color: var(--ink-2); max-width: 60em; }
@media (max-width: 800px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* Page head */
.page-head { padding: 40px 0 24px; }
.page-head p { margin-top: 12px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Catalog */
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 22px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 12px; font-size: 14px; padding-bottom: 8px; }
.sort select { min-height: 36px; width: auto; }

/* Forms */
.input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.input::placeholder { color: #80898D; }
.input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.input.mono { font-family: var(--mono); font-size: 15px; }
textarea.input { padding: 12px 14px; min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

/* PDP */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; padding: 4px 0 72px; align-items: start; }
.pdp-stage { position: sticky; top: 88px; border-radius: var(--r); background: var(--sunk); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.pdp-stage .vial { --w: 200px; }
.buybox .cat { font-size: 14px; }
.buybox h1 { font-size: clamp(34px, 3.8vw, 48px); margin: 8px 0 12px; }
.buybox .blurb { color: var(--ink-2); font-size: 16.5px; }
.buybox .price { margin: 22px 0 8px; }
.buybox .price .now { font-size: 26px; }
.apply-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--accent-bg); color: var(--accent-ink); border-radius: var(--r); padding: 12px 14px; font-size: 14px; margin: 16px 0 26px; border: 0; width: 100%; cursor: pointer; text-align: left; }
.apply-strip b { font-weight: 600; }
.apply-strip.done { background: var(--ok-bg); color: var(--ok); cursor: default; }
.field-label { font: 500 14px var(--sans); color: var(--ink); margin: 24px 0 10px; display: block; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { min-height: 42px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font: 500 14px var(--mono); }
.seg button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bundles { display: grid; gap: 8px; }
.bundle { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); cursor: pointer; text-align: left; width: 100%; }
.bundle[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bundle .radio { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.bundle[aria-checked="true"] .radio { border: 5px solid var(--ink); }
.bundle .b-title { font-weight: 500; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bundle .b-tag { font: 500 12.5px var(--sans); color: var(--accent); }
.bundle .b-sub { font-size: 13px; color: var(--muted); }
.bundle .b-price { font: 500 15px var(--mono); text-align: right; }
.bundle .b-price small { display: block; font: 400 12px var(--sans); color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); height: 46px; }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.qty input { width: 44px; text-align: center; border: 0; font: 500 15px var(--mono); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 10px; margin-top: 16px; }
.buy-row .btn { flex: 1; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); margin-top: 12px; cursor: pointer; font-size: 15px; }
.toggle b { font-weight: 500; }
.toggle input { width: 18px; height: 18px; accent-color: var(--ink); }
.promises { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.promises b { color: var(--ink); font-weight: 600; }
.accept { margin-top: 14px; font-size: 13px; color: var(--muted); }
.product-disclaimer { margin-top: 22px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } .pdp-stage { position: relative; top: 0; aspect-ratio: 4 / 3; } .pdp-stage .vial { --w: 140px; } }
/* A vial photo is framed square; a 4:3 stage would crop the cap and base off it. */
@media (max-width: 900px) { .pdp-stage:has(.vial-photo) { aspect-ratio: 1 / 1; } }

.results { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .results { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.lab-card p + p { margin-top: 10px; }
.lot-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; margin: 18px 0 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lot-card dt { font-size: 13px; color: var(--muted); }
.lot-card dd { margin: 4px 0 0; font: 500 19px var(--mono); letter-spacing: -0.02em; }
@media (max-width: 520px) { .lot-card dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.save-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.save-card { padding: 22px 24px 22px 0; display: grid; gap: 6px; text-decoration: none; }
.save-card + .save-card { padding-left: 24px; border-left: 1px solid var(--line); }
.save-card .big { font: 500 26px/1.1 var(--mono); letter-spacing: -0.03em; }
.save-card:hover .big { color: var(--accent); }
.save-card .t { font-weight: 600; font-size: 15px; }
@media (max-width: 700px) { .save-cards { grid-template-columns: minmax(0, 1fr); } .save-card + .save-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.reviews { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 24px; color: var(--muted); }
.flag { margin-top: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; }
.flag-bad { background: var(--warn-bg); color: var(--warn); }
.flag-ok { background: var(--ok-bg); color: var(--ok); }

/* Cart / checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 40px; align-items: start; padding-bottom: 72px; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line-thumb { width: 72px; height: 72px; border-radius: var(--r); background: var(--sunk); display: grid; place-items: center; overflow: hidden; }
.line-thumb .vial { --w: 32px; }
.line-thumb .vial-label > * { display: none; }
.line-thumb .vial-body { box-shadow: none; }
.line-name { font-weight: 500; text-decoration: none; }
.line-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-controls { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.line-controls .qty { height: 34px; }
.line-controls .qty button { height: 32px; width: 32px; font-size: 15px; }
.line-controls .qty input { width: 34px; font-size: 14px; }
.line-price { text-align: right; font: 500 15px var(--mono); }
.line-price small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); text-decoration: line-through; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.summary-row .v { font-family: var(--mono); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 600; font-size: 17px; }
.summary-row.discount .v { color: var(--ok); }
.ship-meter { margin: 4px 0 16px; }
.ship-meter .bar { height: 3px; background: var(--line); margin-top: 8px; }
.ship-meter .bar i { display: block; height: 100%; background: var(--ink); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .panel { padding: 18px; } .line { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; } .line-thumb { width: 56px; height: 56px; } }
.options { display: grid; gap: 8px; }
.option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; background: var(--surface); }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--ink); }
.option .o-title { font-weight: 500; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.option .o-title .chip { background: none; padding: 0; height: auto; font: 500 13px var(--sans); color: var(--ok); }
.option .o-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.option .o-price { font: 500 14px var(--mono); }
.affirm { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 0; font-size: 14.5px; cursor: pointer; }
.affirm + .affirm { border-top: 1px solid var(--line); }
.affirm input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); }
.stop { border: 1px dashed var(--ink); border-radius: var(--r); padding: 22px; margin-top: 18px; background: var(--surface); }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 13px var(--sans); color: var(--muted); padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.mono { font-size: 13px; white-space: nowrap; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(18, 21, 23, .5); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-card { position: relative; background: var(--surface); border-radius: var(--r); width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 32px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 18px; line-height: 1; z-index: 2; }
@media (max-width: 600px) { .modal-card { padding: 22px 18px; } }

.coa { position: relative; }
.coa-watermark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; z-index: 1; }
.coa-watermark span { font: 600 44px/1 var(--sans); color: rgba(163, 18, 58, .12); transform: rotate(-24deg); white-space: nowrap; letter-spacing: .02em; }
.coa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 0 48px 16px 0; border-bottom: 2px solid var(--ink); }
.coa-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0; }
.coa-meta dt { font-size: 13px; color: var(--muted); }
.coa-meta dd { margin: 3px 0 0; font: 500 15px var(--mono); }
.coa table td:last-child { font-family: var(--mono); font-weight: 500; }

/* Gate */
.gate { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow: auto; display: none; }
html.gated .gate { display: block; }
.gate-inner { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gate-art { position: relative; background: var(--sunk); overflow: hidden; }
.gate-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gate-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(20px, 6vw, 88px); max-width: 640px; }
.gate-form h1 { font-size: clamp(32px, 3.4vw, 44px); margin: 36px 0 14px; }
.gate-form .checks { margin: 28px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gate-form .affirm { font-size: 15px; padding: 16px 0; }
.gate-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; }
@media (max-width: 860px) { .gate-inner { grid-template-columns: minmax(0, 1fr); } .gate-art { height: 180px; } .gate-form { padding-top: 28px; padding-bottom: 40px; } .gate-form h1 { margin-top: 24px; } }

/* Prototype marker */
.proto-pill { position: fixed; left: 12px; bottom: 12px; z-index: 110; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2); font: 500 11.5px/1 var(--mono); padding: 7px 9px; border-radius: var(--r-sm); }

/* Toast */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 95; background: var(--ink); color: #fff; padding: 13px 16px; border-radius: var(--r); font-size: 14px; transform: translateY(12px); opacity: 0; transition: transform .2s ease, opacity .2s ease; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast a { color: #fff; margin-left: 8px; }

/* Legal */
.legal { padding-bottom: 72px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.draft-banner { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--warn); background: var(--warn-bg); color: var(--warn); border-radius: var(--r); padding: 14px 16px; font-size: 14px; margin-bottom: 32px; }
.draft-banner strong { font-family: var(--mono); }
blockquote { margin: 14px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); }

/* v2 fixes */
.hero .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero h1 { font-size: clamp(36px, 4.3vw, 54px); }
.tests div { align-items: baseline; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.h-line { display: inline-block; }
.buybox .price .note { color: var(--muted); }


/* Compounds with no released lot: say so, never show a number. */
.purity.pending { color: var(--muted); font-weight: 500; }
.purity.pending::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); margin-right: 7px; vertical-align: 1px; }


/* ---------- Product scenes ----------
   Cool paper, one soft navy pool of light, the product staggered in front of it.
   These replace the three cold stock lab photos, which were chosen for the old
   crimson palette. They are still the drawn vials: real product photography is
   the thing that actually upgrades this, and nothing here is a substitute. */
.vial-scene {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  container-type: inline-size;
  background:
    radial-gradient(120% 95% at 50% 118%, rgba(50, 72, 122, .16) 0%, rgba(50, 72, 122, .06) 42%, rgba(50, 72, 122, 0) 72%),
    linear-gradient(176deg, #FAFBFD 0%, #EDF1F7 60%, #E3E9F2 100%);
}
.vial-scene::after {
  /* the surface the vials stand on */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(to top, rgba(19, 30, 56, .13), rgba(19, 30, 56, 0));
  pointer-events: none;
}
.vial-row {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 7% 7% 9%;
}
.vial-slot { position: relative; filter: drop-shadow(0 14px 22px rgba(19, 30, 56, .16)); }

/* Sized against the frame, not the viewport, so one rule serves the wide hero, the
   tall figure and the narrow gate panel. */
.vial-slot .vial { --w: 112px; }
.vial-row > .vial-slot-0:only-child .vial { --w: 150px; }
@supports (width: 1cqw) {
  .vial-slot .vial { --w: 21cqw; }
  .vial-row > .vial-slot-0:only-child .vial { --w: 34cqw; }
  .gate-art .vial-slot .vial { --w: 25cqw; }
}

/* Staggered so the group reads as a shelf, not a row of icons. */
.vial-row > .vial-slot-0 { z-index: 2; transform: translateY(3%) scale(.84); margin-right: -3%; }
.vial-row > .vial-slot-1 { z-index: 3; transform: translateY(-4%); }
.vial-row > .vial-slot-2 { z-index: 1; transform: translateY(4%) scale(.80); margin-left: -3%; }
.vial-row > .vial-slot-0:only-child { transform: none; margin: 0; }

.testing figure.vial-scene { display: block; }

@media (max-width: 860px) {
  .gate-art .vial-row { padding: 6% 8%; }
}

/* ---------- Prescription model ---------- */

/* How it works: four steps, numbered, read top to bottom. */
.how-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; }
.how-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.how-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 13px/1 var(--mono);
  color: var(--accent-ink); background: var(--accent-bg);
  border: 1px solid var(--line-2);
}
.how-steps b { display: block; font-weight: 600; margin-bottom: 3px; }
.how-steps span { display: block; color: var(--ink-2); font-size: 15px; }

/* The assurance strip sits directly under the buy button, where the money decision is. */
.assure { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.assure li { position: relative; padding-left: 16px; font-size: 13px; color: var(--ink-2); }
.assure li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); opacity: .7;
}
@media (max-width: 600px) { .assure { gap: 6px 12px; } .assure li { font-size: 12.5px; } }

/* Card-level safety link: present on every product, as the telehealth norm is. */
.safety-link { align-self: start; font-size: 13px; text-decoration-color: var(--line-2); }
/* Who reviews your intake: the named-clinician block competitors all carry. */
.care-strip .k { font: 500 13px/1.4 var(--sans); color: var(--muted); margin-bottom: 4px; }
.care-strip .v { font: 500 15px/1.3 var(--sans); }

/* Urgency. The countdown is driven by the real end date in data.js: it says
   "tonight" only on the last day, and nothing here invents scarcity. */
.promo .promo-ends { color: #B9BFC2; }
.promo .clock.urgent { color: #fff; font-weight: 600; }
.promo .applied { color: #fff; font-weight: 600; }
.price .note.save { color: var(--accent-ink); font-weight: 600; }
.b-save { color: var(--accent-ink); font-weight: 600; }
.apply-strip.done { display: flex; justify-content: space-between; align-items: center; }


/* ==========================================================================
   Depth, warmth and motion
   The site was almost entirely flat: 1px borders and nothing else, which is
   what made it read as unfinished. Three things fix that, in order of effect:
   an elevation scale, warm light on the surfaces, and movement on scroll.
   ========================================================================== */

:root{
  /* Shadows carry the brand navy rather than neutral grey. A grey shadow under
     a navy palette reads as dust; the tint keeps depth on the same hue. */
  --e1: 0 1px 2px rgba(19,30,56,.05), 0 2px 6px rgba(19,30,56,.05);
  --e2: 0 2px 4px rgba(19,30,56,.06), 0 8px 20px rgba(19,30,56,.10);
  --e3: 0 4px 8px rgba(19,30,56,.07), 0 18px 40px rgba(19,30,56,.14);
  --e-navy: 0 10px 30px rgba(30,46,82,.18);
  --ease: cubic-bezier(.22,.68,.32,1);
}

/* ---- Cards lift, rather than sitting in a grid of boxes ---- */
.card-stage{
  box-shadow: var(--e1);
  transition: box-shadow .32s var(--ease), transform .32s var(--ease);
  background: linear-gradient(176deg,#FAFBFD,#ECF0F6 70%,#E3E9F2);
}
.card:hover .card-stage{ box-shadow: var(--e3); transform: translateY(-4px); }
.card-stage .vial{ transition: transform .36s var(--ease); }
.card:hover .card-stage .vial{ transform: translateY(-6px) scale(1.035); }

/* ---- The product stage and the scenes get real light ---- */
.vial-scene, .pdp-stage{ box-shadow: inset 0 1px 0 rgba(255,255,255,.75), var(--e2); }
.vial-slot{ filter: drop-shadow(0 16px 24px rgba(19,30,56,.18)); }

/* ---- Buttons gain weight ---- */
.btn{ box-shadow: var(--e1); transition: background .18s var(--ease), border-color .18s var(--ease), box-shadow .22s var(--ease), transform .12s var(--ease); }
.btn:hover:not(:disabled){ box-shadow: var(--e2); }
.card-actions .btn:hover:not(:disabled){ box-shadow: var(--e-navy); }

/* ---- Warm light across the banded sections ----
   .band gives the plain surface treatment a 1px rule top and bottom. On a tinted
   field that rule is itself the hard line, so it goes. The tint is painted by the
   shared field rule further down. */
.section.band{ border: 0; }
.trustrow{ box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 0 var(--line); }

/* ---- A navy hairline under section headings: the one repeated brand mark ---- */
.section-head h2::after, .page-head h1::after{
  content:""; display:block; width:46px; height:2px; margin-top:14px;
  background: linear-gradient(90deg, var(--navy-a), var(--navy-b) 45%, var(--navy-d));
  border-radius: 2px;
}

/* ---- Buy box and bundles ---- */
.buybox .bundle{ transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.buybox .bundle:hover{ box-shadow: var(--e1); }
.buybox .bundle[aria-checked="true"]{ box-shadow: var(--e2); }
.apply-strip{ box-shadow: var(--e1); }

/* ==========================================================================
   Scroll reveal
   Sections and cards rise a little as they come into view, once, then the
   observer lets them go. Nothing moves on the way out, nothing re-animates on
   the way back, and anyone who has asked their system for less motion sees the
   finished state immediately.
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  .card:hover .card-stage, .card:hover .card-stage .vial{ transform: none; }
}

/* ---- Card image panel takes a wash in its category's colour ---- */
.card[data-cat="incretin"]     .card-stage{ background:linear-gradient(176deg,#EEF1F9,#DFE5F3); }
.card[data-cat="cellular"]     .card-stage{ background:linear-gradient(176deg,#F3F2F7,#E6E4EF); }
.card[data-cat="metabolic"]    .card-stage{ background:linear-gradient(176deg,#EDF4F0,#DCE9E2); }
.card[data-cat="secretagogue"] .card-stage{ background:linear-gradient(176deg,#EFF2F4,#DFE6EA); }
.card[data-cat="longevity"]    .card-stage{ background:linear-gradient(176deg,#EDF3F0,#DCE8E2); }
.card[data-cat="blend"]        .card-stage{ background:linear-gradient(176deg,#F4F1F6,#E8E2EE); }

/* A frosted pill on the image rather than a line of text under it. */
.stage-pill{
  position:absolute; left:12px; bottom:12px;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 11px; border-radius:999px;
  font:500 12px/1 var(--sans); color:var(--ink-2);
  background:rgba(255,255,255,.82); border:1px solid rgba(255,255,255,.9);
  backdrop-filter:saturate(1.4) blur(6px); box-shadow:var(--e1);
  opacity:0; transform:translateY(4px);
  transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.stage-pill::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); }
.card:hover .stage-pill, .card-stage:focus-visible .stage-pill{ opacity:1; transform:none; }
@media (hover:none){ .stage-pill{ opacity:1; transform:none; } }

/* "From" before a price that is the lowest of several formats. */
.price .from{ font:500 12px/1 var(--sans); color:var(--muted); align-self:center; margin-right:1px; }

/* ---- Intake cutoff ---- */
.cutoff-band{ overflow:hidden; }
.cutoff{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:56px; align-items:center; }
.cutoff h2{ font-size:clamp(28px,3.1vw,40px); line-height:1.08; }
.cutoff h2::after{ display:none; }
.cutoff-clock{ margin:22px 0 6px; font:600 clamp(40px,5vw,60px)/1 var(--mono); letter-spacing:-.02em; color:var(--ink); }
.cutoff-clock i{ font:500 .38em/1 var(--sans); font-style:normal; color:var(--muted); margin:0 .34em 0 .02em; }
.cutoff-points{ list-style:none; margin:30px 0 0; padding:26px 0 0; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.cutoff-points li{ font-size:13.5px; color:var(--muted); }
.cutoff-points b{ display:block; color:var(--ink); font-weight:600; font-size:14.5px; margin-bottom:4px; }
.tracker{ list-style:none; margin:30px 0 10px; padding:0; display:flex; align-items:center; gap:0; counter-reset:t; }
.tracker li{ position:relative; flex:1; font:500 12.5px/1 var(--sans); color:var(--muted); padding-top:18px; }
.tracker li::before{ content:""; position:absolute; top:0; left:0; width:11px; height:11px; border-radius:50%; border:1.5px solid var(--line-2); background:var(--surface); }
.tracker li::after{ content:""; position:absolute; top:5px; left:11px; right:0; height:1.5px; background:var(--line); }
.tracker li:last-child{ flex:0 0 auto; }
.tracker li:last-child::after{ display:none; }
.tracker li.done{ color:var(--ink); }
.tracker li.done::before{ background:var(--accent); border-color:var(--accent); }
.cutoff-art{ aspect-ratio:4/5; border-radius:var(--r); }
@media (max-width:900px){ .cutoff{ grid-template-columns:minmax(0,1fr); gap:32px; } .cutoff-art{ order:-1; aspect-ratio:16/10; } .cutoff-points{ grid-template-columns:minmax(0,1fr); gap:16px; } }

/* ---- Sticky header ---- */

/* Two banded sections in a row: the second restarts the navy wash at its top, which
   draws a seam across what should read as one tinted region. Let the first carry the
   glow and the second continue flat beneath it. */
/* Two fields in a row no longer need a special case: each dissolves its own
   edges, so the join is invisible either way. */

/* ---- Nav centred in the pill ----
   Three columns with equal flexible sides, so the links sit on the pill's true
   centre. Centring them in the space left over between the wordmark and the cart
   would put them off-centre by half the difference in those two widths. */
@media (min-width: 1101px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .site-header .wordmark { justify-self: start; }
  .site-header .nav { flex: none; justify-content: center; }
  .site-header .header-actions { justify-self: end; margin-left: 0; }
}

/* The open menu hangs under the pill and matches it, rather than spanning the
   viewport as it did when the header was a full-width bar. */
@media (max-width: 1100px) {
  .site-header .wrap { position: relative; }
  .site-header .nav {
    top: calc(100% + 8px); left: 8px; right: 8px;
    border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--e2); padding: 6px 18px 10px;
    background: rgba(253, 252, 249, .96);
    -webkit-backdrop-filter: saturate(1.8) blur(16px);
    backdrop-filter: saturate(1.8) blur(16px);
  }
}

/* Sign in is an icon rather than the words, so it carries an aria-label. Sized as a
   proper tap target, and no longer hidden on narrow screens: an icon fits where the
   text did not. */
.signin { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: -4px; border-radius: 50%; transition: background .18s var(--ease, ease), color .18s var(--ease, ease); }
.signin svg { width: 20px; height: 20px; display: block; }
.signin:hover { background: rgba(50, 72, 122, .10); color: var(--ink); }
@media (max-width: 1100px) { .header-actions .signin { display: inline-grid; } }

/* ---- Medical intake (good faith exam) ---- */
.intake-rail{ list-style:none; margin:0 0 26px; padding:0; display:flex; gap:0; }
.intake-rail li{ position:relative; flex:1; display:flex; align-items:center; gap:9px; font:500 13px/1 var(--sans); color:var(--muted); }
.intake-rail li span{ display:grid; place-items:center; width:26px; height:26px; flex:none; border-radius:50%; border:1.5px solid var(--line-2); background:var(--surface); font:500 12px/1 var(--mono); }
.intake-rail li::after{ content:""; flex:1; height:1.5px; background:var(--line); }
.intake-rail li:last-child::after{ display:none; }
.intake-rail li.now{ color:var(--ink); }
.intake-rail li.now span{ border-color:var(--accent); color:var(--accent-ink); background:var(--accent-bg); }
.intake-rail li.done span{ background:var(--accent); border-color:var(--accent); color:#fff; }
@media (max-width:760px){ .intake-rail li{ font-size:0; gap:0; } .intake-rail li span{ font-size:12px; } }

.intake-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:28px 28px 26px; box-shadow:var(--e1); }
.intake-card h2{ font-size:22px; margin-bottom:6px; }
.intake-card h2::after{ display:none; }
.intake-nav{ display:flex; gap:12px; margin-top:26px; padding-top:22px; border-top:1px solid var(--line); }
.intake-nav .btn{ flex:1; }
.two-up{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.input.invalid{ border-color:var(--warn); background:var(--warn-bg); }
.intake-cart{ list-style:none; margin:0 0 22px; padding:16px 18px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg); }
.intake-cart li{ padding:9px 0; border-bottom:1px solid var(--line); }
.intake-cart li:last-child{ border-bottom:0; padding-bottom:0; }
.intake-cart li:first-child{ padding-top:0; }
.intake-cart b{ display:block; font:600 15px/1.3 var(--sans); }
.intake-cart span{ display:block; font:400 13px/1.4 var(--mono); color:var(--muted); margin-top:2px; }


/* Tap targets instead of typing: conditions, medications, yes/no. Free text is the
   slowest input a patient can face and the worst for a clinician to review. */
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.chip-opt{ font:400 14px/1.2 var(--sans); color:var(--ink-2); background:var(--surface);
  border:1px solid var(--line-2); border-radius:999px; padding:9px 14px; cursor:pointer;
  transition:border-color .15s var(--ease,ease), background .15s var(--ease,ease), color .15s var(--ease,ease); }
.chip-opt:hover{ border-color:var(--ink-2); }
.chip-opt.on{ background:var(--accent-bg); border-color:var(--accent); color:var(--accent-ink); font-weight:500; }

/* What checkout already knows, shown rather than asked again. */
.known{ background:var(--bg); border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; margin-bottom:22px; }
.known b{ display:block; font:500 12px/1 var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.known span{ display:block; font-size:14.5px; }
.known .link{ margin-top:8px; display:inline-block; }

/* "Consultation required" on every product image. Not a selling point to hide:
   the customer is charged before the exam, so they need to know it is coming. */
.stage-flag{
  position:absolute; right:12px; bottom:12px;
  font:500 11px/1 var(--sans); letter-spacing:.02em;
  color:var(--accent-ink); background:rgba(237,241,248,.94);
  border:1px solid rgba(50,72,122,.32); border-radius:999px; padding:6px 10px;
  backdrop-filter:saturate(1.3) blur(5px);
}
@media (max-width:600px){ .stage-flag{ font-size:10px; padding:5px 8px; } }

/* ---- Format filter, beside the category filter ---- */
.filter-stack{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; }
.formats{ display:inline-flex; padding:3px; gap:2px; background:var(--sunk); border-radius:999px; }
.fmt{ border:0; background:none; cursor:pointer; border-radius:999px; padding:7px 14px;
  font:500 13.5px/1 var(--sans); color:var(--muted); transition:background .18s var(--ease,ease), color .18s var(--ease,ease); }
.fmt:hover{ color:var(--ink); }
.fmt[aria-pressed="true"]{ background:var(--surface); color:var(--ink); box-shadow:var(--e1); }

/* ---- Pen rail ---- */
.pen-rail .pen-head{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr); gap:52px; align-items:start; margin-bottom:38px; }
.pen-rail h2{ font-size:clamp(28px,3.1vw,40px); line-height:1.08; margin-bottom:14px; }
.pen-rail .eyebrow{ color:var(--accent-ink); font-weight:500; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; }
.pen-rail .lede{ margin-bottom:22px; }
.pen-points{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 26px; }
.pen-points li{ padding-top:16px; border-top:1px solid var(--line-2); }
.pen-points b{ display:block; font:600 15px/1.3 var(--sans); margin-bottom:5px; }
.pen-points span{ font-size:13.5px; color:var(--muted); line-height:1.5; }
@media (max-width:900px){ .pen-rail .pen-head{ grid-template-columns:minmax(0,1fr); gap:28px; } }
@media (max-width:600px){ .pen-points{ grid-template-columns:minmax(0,1fr); gap:16px; } }


/* ---- Pre-filled injector pen ----
   Same job as the drawn vial: a stand-in until there is real product photography,
   but at least the right object. A pen shown as a vial misdescribes what arrives. */
.pen[data-cat="incretin"]     { --cap: #2E4A7A; }
.pen[data-cat="secretagogue"] { --cap: #4A5F6B; }
.pen[data-cat="cellular"]     { --cap: #5A6480; }
.pen[data-cat="metabolic"]    { --cap: #466B61; }
.pen[data-cat="longevity"]    { --cap: #3F6456; }
.pen[data-cat="blend"]        { --cap: #5D4E78; }
.pen{
  --w: 120px; --cap: var(--accent);
  width: calc(var(--w) * .46); flex: none;
  display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 10px 14px rgba(19,30,56,.16));
}
.pen-cap{
  width: 100%; height: calc(var(--w) * .62);
  background: linear-gradient(90deg, color-mix(in srgb, var(--cap) 72%, #000), var(--cap) 34%,
              color-mix(in srgb, var(--cap) 62%, #fff) 52%, var(--cap) 74%, color-mix(in srgb, var(--cap) 70%, #000));
  border-radius: calc(var(--w) * .22) calc(var(--w) * .22) 3px 3px;
}
.pen-barrel{
  position: relative; width: 100%; height: calc(var(--w) * 1.44);
  background: linear-gradient(90deg, #CBD3D6, #FDFEFE 26%, #F2F6F7 58%, #C9D2D5);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: calc(var(--w) * .1);
}
.pen-label{
  width: 86%; background: #fff; border-top: 2px solid var(--cap);
  padding: calc(var(--w) * .055) calc(var(--w) * .05);
  display: flex; flex-direction: column; gap: 2px; overflow: hidden;
}
.pl-name{ font: 600 calc(var(--w) * .082)/1.1 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.pl-sub{ font: 400 calc(var(--w) * .058)/1.1 var(--mono); color: var(--muted); }
.pen-window{
  position: absolute; bottom: calc(var(--w) * .12); left: 50%; transform: translateX(-50%);
  width: 46%; height: calc(var(--w) * .16); border-radius: 2px;
  background: #2B2F31; display: grid; place-items: center;
}
.pen-window i{ width: 56%; height: 36%; background: #BFD0EE; border-radius: 1px; }
.pen-dial{
  width: 92%; height: calc(var(--w) * .34);
  background: linear-gradient(90deg, #AEB6B9, #E9EEEF 30%, #D3DADC 62%, #A9B1B4);
  border-radius: 0 0 calc(var(--w) * .05) calc(var(--w) * .05);
  display: flex; align-items: center; justify-content: center; gap: calc(var(--w) * .04);
}
.pen-dial i{ width: 1.5px; height: 46%; background: rgba(23,21,17,.28); }
.pen-foot{
  margin-top: calc(var(--w) * .05);
  font: 500 calc(var(--w) * .055)/1 var(--mono); letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase;
}
.pen-sm .pen-label, .pen-sm .pen-foot, .pen-sm .pen-window{ display: none; }

/* Microcopy under the hero CTA. It answers the hesitation the button creates
   ("what am I signing up for?") in the place the hesitation happens. */
.cta-sub{ margin-top:14px; font-size:13.5px; color:var(--muted); }


/* The nav's New badge. */
.nav-badge{
  margin-left:7px; padding:3px 7px; border-radius:999px;
  font:500 10.5px/1 var(--sans); letter-spacing:.02em; vertical-align:1px;
  color:var(--accent-ink); background:var(--accent-bg); border:1px solid rgba(50,72,122,.3);
}
.pen-steps{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
@media (max-width:760px){ .pen-steps{ grid-template-columns:minmax(0,1fr); } }
.pen-points-wide{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:900px){ .pen-points-wide{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px){ .pen-points-wide{ grid-template-columns:minmax(0,1fr); } }
body[data-page="pens"] .hero .eyebrow{ color:var(--accent-ink); font-weight:500; letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px; }

/* ---- Format switch on a card that comes as both a vial and a pen ---- */
.card-fmt{ display:inline-flex; align-self:flex-start; padding:2px; gap:2px;
  background:var(--sunk); border-radius:999px; margin:2px 0 2px; }
.card-fmt button{ border:0; background:none; cursor:pointer; border-radius:999px;
  padding:5px 12px; font:500 12px/1 var(--sans); color:var(--muted);
  transition:background .18s var(--ease,ease), color .18s var(--ease,ease); }
.card-fmt button:hover{ color:var(--ink); }
.card-fmt button[aria-pressed="true"]{ background:var(--surface); color:var(--ink); box-shadow:var(--e1); }

/* ---- Pen art sized to its slot ----
   A vial draws about 1.72 x its --w tall; a pen about 2.5 x. Handing a pen the
   vial's --w therefore overflows every slot the vial fits (on a 283px card stage
   the pen came out 301px and was clipped top and bottom). Each slot below gives
   the pen a --w that fits it. Height parity alone (--w x 0.69) squeezed the pen's
   printed label down to about 5px, so the card stage and the PDP trade a little
   extra height for a readable label; a pen really is taller and thinner than a
   vial, so the mixed grid still reads correctly. */
.card-stage .pen { --w: 88px; transition: transform .25s ease; }
.card-stage:hover .pen { transform: translateY(-3px); }
.pdp-stage .pen { --w: 165px; }
@media (max-width: 900px) { .pdp-stage .pen { --w: 96px; } }
.box-slots .slot .pen { --w: 44px; }
@media (max-width: 900px) { .box-slots .slot .pen { --w: 33px; } }
.line-thumb .pen { --w: 26px; }
.line-thumb .pen-label > * { display: none; }
.vial-slot .pen { --w: 98px; }
.vial-row > .vial-slot-0:only-child .pen { --w: 132px; }
@supports (width: 1cqw) {
  .vial-slot .pen { --w: 18.5cqw; }
  .vial-row > .vial-slot-0:only-child .pen { --w: 30cqw; }
  .gate-art .vial-slot .pen { --w: 22cqw; }
}


/* ---- Dark band ----------------------------------------------------------
   Rather than restyling each child, the band redefines the palette tokens for
   its subtree. Anything already written against var(--ink) / var(--line) /
   var(--surface) inverts without knowing it is on navy. */
.section.dark,
.site-footer {
  --ink: #FFFFFF;
  --ink-2: #C9D4EA;
  --muted: #90A0C2;
  --line: rgba(255,255,255,.13);
  --line-2: rgba(255,255,255,.26);
  --surface: #1C2A4A;
  --sunk: #16223E;
  --accent: #93ABDF;
  --accent-ink: #BACCEF;
  --accent-bg: rgba(147,171,223,.16);
  --e1: 0 1px 2px rgba(0,0,0,.22);
  --e2: 0 2px 4px rgba(0,0,0,.22), 0 8px 20px rgba(0,0,0,.26);
  --e3: 0 4px 8px rgba(0,0,0,.24), 0 18px 40px rgba(0,0,0,.32);
  color: var(--ink);
}
/* The navy bubble. Amino Club's dark areas are rounded panels inset from the
   page rather than full-bleed bands, which is why their dark never collides
   with a light section at a hard horizontal line. Layered radials, navy into
   violet, so the panel has depth instead of being a flat rectangle. */
.section.dark {
  position: relative;
  margin: 18px 24px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 12% -20%, #2A3F86 0%, rgba(42,63,134,0) 55%),
    radial-gradient(90% 120% at 92% 120%, #4B2F8F 0%, rgba(75,47,143,0) 60%),
    linear-gradient(var(--dark) 0%, var(--dark-2) 100%);
}
/* The glow that lifts the panel off the page. */
.section.dark::before {
  content: "";
  position: absolute; left: 50%; top: -14%;
  width: 78%; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(96,132,244,.42) 0%, rgba(66,100,214,.18) 42%, rgba(47,75,160,0) 100%);
  pointer-events: none;
}
.section.dark > .wrap { position: relative; }
@media (max-width: 700px) {
  .section.dark { margin: 12px 12px; border-radius: 20px; }
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark b { color: var(--ink); }
.section.dark .btn {
  background: #FFFFFF; color: var(--navy-c); border-color: #FFFFFF;
}
.section.dark .btn:hover { background: #E8EEFA; border-color: #E8EEFA; }
.section.dark .btn-ghost {
  background: transparent; color: var(--ink); border-color: rgba(255,255,255,.34);
}
.section.dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
/* The section-heading hairline is a brand mark; on navy it has to be pale. */
.section.dark h2::after { background: var(--accent); }

/* ---- Pastel fields ----
   Amino Club alternates white with flat pastel panels. Same idea, drawn from
   the navy rather than from their lemon and mint. */
/* A tinted field dissolves into the page at its top and bottom edge.

   It fades its OWN tint away to nothing. It does not paint the page colour over
   its edges, which is what the first version did and is why a hard line survived
   it: the page wash is a lavender-into-sky diagonal, not the flat #F7F9FC those
   edge gradients faded to. Every field therefore ended in a near-white strip with
   coloured page on the next pixel down, and that strip was the line. Measured at
   the pens-to-"Most prescribed" seam before the fix: 13 levels of red across 3px.

   The tint sits on a ::before because the mask that fades it applies to the whole
   element, children included, and would take the headings and cards with it. */
.section.band,
.section.tint-sky,
.section.tint-lav,
.section.tint-mint,
.catalog-field { position: relative; isolation: isolate; background: none; }

.section.band::before,
.section.tint-sky::before,
.section.tint-lav::before,
.section.tint-mint::before,
.catalog-field::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --edge: 130px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--edge),
    #000 calc(100% - var(--edge)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--edge),
    #000 calc(100% - var(--edge)), transparent 100%);
}

.section.band::before {
  --edge: 120px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(50,72,122,.10), transparent 68%),
    linear-gradient(rgba(217,232,250,.46) 0%, rgba(231,230,251,.34) 100%);
}
.section.tint-sky::before {
  background:
    radial-gradient(60% 34% at 2% 10%, rgba(231,230,251,.85) 0%, rgba(231,230,251,0) 72%),
    radial-gradient(54% 32% at 100% 86%, rgba(226,240,234,.7) 0%, rgba(226,240,234,0) 70%),
    linear-gradient(rgba(217,232,250,.72) 0%, rgba(217,232,250,.52) 100%);
}
.section.tint-lav::before {
  background:
    radial-gradient(58% 34% at 100% 6%, rgba(217,232,250,.85) 0%, rgba(217,232,250,0) 70%),
    radial-gradient(56% 34% at 0% 92%, rgba(226,240,234,.6) 0%, rgba(226,240,234,0) 72%),
    linear-gradient(rgba(231,230,251,.72) 0%, rgba(231,230,251,.5) 100%);
}
.section.tint-mint::before {
  background:
    radial-gradient(60% 34% at 8% 8%, rgba(217,232,250,.7) 0%, rgba(217,232,250,0) 72%),
    linear-gradient(rgba(226,240,234,.7) 0%, rgba(226,240,234,.48) 100%);
}
.section.tint-sky .card-stage,
.section.tint-lav .card-stage,
.section.tint-mint .card-stage { background: rgba(255,255,255,.55); }

/* ---- Footer: navy, the way Amino closes its page ---- */
.site-footer {
  background:
    radial-gradient(120% 140% at 12% -20%, #2A3F86 0%, rgba(42,63,134,0) 55%),
    radial-gradient(90% 120% at 92% 120%, #4B2F8F 0%, rgba(75,47,143,0) 60%),
    linear-gradient(var(--dark) 0%, var(--dark-2) 100%);
  border-top: 0;
}
.site-footer .input {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
  color: #FFFFFF;
}
.site-footer .input::placeholder { color: rgba(255,255,255,.45); }
.site-footer .footer-legal { border-top-color: rgba(255,255,255,.13); }
.site-footer .disclaimer {
  border: 1px solid rgba(147,171,223,.34);
  background: rgba(147,171,223,.08);
  border-radius: var(--r);
  padding: 14px 16px;
}

/* The footer is a dark band too, so its button needs the same inversion as one. */
.site-footer .btn {
  background: #FFFFFF; color: var(--navy-c); border-color: #FFFFFF;
}
.site-footer .btn:hover { background: #E8EEFA; border-color: #E8EEFA; }

/* A light product tile on a navy band reads as a hole punched in the page. The
   scene takes the band's own depth instead, and the glass pops against it. */
.section.dark .vial-scene {
  background:
    radial-gradient(120% 95% at 50% 118%, rgba(147,171,223,.24) 0%, rgba(147,171,223,.08) 42%, rgba(147,171,223,0) 72%),
    linear-gradient(176deg, #23314F 0%, #1C2843 60%, #16213A 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.section.dark .vial-scene::after {
  background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,0));
}

/* Token inversion has one leak: the product art is itself a light object, so a
   vial or pen sitting inside a dark band inherited white type onto its white
   label and the name and strength disappeared. The art re-asserts the light
   palette for its own subtree. */
.section.dark .vial, .section.dark .pen,
.site-footer .vial, .site-footer .pen {
  --ink: #131E38;
  --ink-2: #3A4663;
  --muted: #6E7892;
  --line: #E1E6EF;
  --line-2: #C2CAD9;
  --surface: #FFFFFF;
  --accent: #32487A;
  --accent-ink: #1E2E52;
  color: var(--ink);
}

/* ---- Catalog field ----
   The catalog is one long grid with no sections, so the page wash runs out
   above the fold and everything below it goes flat white. This gives the grid
   a field of its own: soft edges top and bottom like the other fields, but the
   blobs are spread down its height so the colour keeps shifting as you scroll
   instead of sitting still behind forty cards. */
.catalog-field { padding: 30px 0 76px; }
.catalog-field::before {
  --edge: 150px;
  background:
    radial-gradient(44% 17% at 100% 6%,  rgba(231,230,251,.80) 0%, rgba(231,230,251,0) 72%),
    radial-gradient(48% 15% at 0%   30%, rgba(217,232,250,.78) 0%, rgba(217,232,250,0) 72%),
    radial-gradient(44% 15% at 100% 56%, rgba(226,240,234,.65) 0%, rgba(226,240,234,0) 72%),
    radial-gradient(48% 16% at 0%   82%, rgba(231,230,251,.70) 0%, rgba(231,230,251,0) 72%),
    linear-gradient(rgba(217,232,250,.34) 0%, rgba(231,230,251,.30) 100%);
}
/* The toolbar sits on the wash, so it needs its own footing to stay legible
   when a blob passes behind it. */
.catalog-field .toolbar { position: relative; }


/* ---------- Home showcase ----------
   One navy card: the promise on the left, the vial line-up on the right. Each vial
   is a cut-out (assets/vials/cutout/) so the glass reads against the navy, and each
   one links to its product page. */
.showcase { padding: 20px 0 8px; }
.showcase-card {
  position: relative; overflow: hidden; border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px;
  padding: 56px 40px 56px 72px; min-height: 600px; color: #fff;
  background:
    radial-gradient(70% 80% at 72% 42%, rgba(98, 128, 196, .38) 0%, rgba(98, 128, 196, 0) 62%),
    radial-gradient(60% 70% at 100% 100%, rgba(88, 92, 178, .55) 0%, rgba(88, 92, 178, 0) 70%),
    linear-gradient(150deg, #22355F 0%, #172647 42%, #0D1527 100%);
  box-shadow: 0 30px 60px -34px rgba(13, 21, 39, .55);
}
.showcase-copy { position: relative; z-index: 2; }
.showcase .h-line { text-wrap: balance; }
.showcase-sub { text-wrap: pretty; }
.showcase h1 { color: #fff; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; }
.showcase-sub { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 30em; }
.showcase .ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.btn-pill { min-height: 54px; padding: 0 30px; border-radius: 999px; font-size: 16px; }
.showcase .btn-pill { background: #fff; color: var(--navy-c); border-color: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5), inset 0 -2px 0 rgba(19, 30, 56, .08); }
.showcase .btn-pill:hover:not(:disabled) { background: #EEF2FA; border-color: #EEF2FA; }
.showcase-link { color: #fff; font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.showcase-link:hover { text-decoration-color: #fff; }

.showcase-stage { position: relative; container-type: inline-size; display: flex; flex-direction: column; align-items: center; }
.lineup { --w: 21.5cqw; display: flex; align-items: flex-end; justify-content: center; padding-top: 4cqw; width: 100%; }
/* Nine in the row rather than seven, so each one has to give up some width or
   the outermost pair runs into the card's own edge. */
.lineup:has(> :nth-child(8)) { --w: 19cqw; }
.lu {
  position: relative; display: block; flex: none;
  /* --k is the slot's width against the widest in the row, so a pen stands the
     same height as a vial instead of two and a half times it. */
  --lw: calc(var(--w) * (1 - var(--d) * .08) * var(--k, 1));
  width: var(--lw);
  margin: 0 calc(var(--lw) * -.1);
  transform: translateY(calc(var(--d) * -2.2cqw));
  border-radius: 12px; outline: none;
}
.lu img { display: block; width: 100%; height: auto; transition: transform .35s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
/* the pool of shadow each vial stands in */
.lu::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -3%; height: 9%; z-index: -1;
  background: radial-gradient(closest-side, rgba(4, 8, 20, .6), rgba(4, 8, 20, 0));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.lu:hover img, .lu:focus-visible img { transform: translateY(-14px); }
.lu:hover::after, .lu:focus-visible::after { transform: scaleX(.82); opacity: .7; }
.lu:focus-visible img { filter: drop-shadow(0 0 0.5px #fff) drop-shadow(0 0 6px rgba(255, 255, 255, .55)); }

.showcase-pills { display: flex; justify-content: space-between; gap: 16px; width: 88%; margin-top: 4cqw; }
.showcase-pill {
  display: grid; gap: 3px; padding: 13px 20px; border-radius: 16px;
  background: rgba(78, 104, 176, .28); border: 1px solid rgba(160, 182, 240, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.showcase-pill b { font: 600 17px/1.2 var(--sans); letter-spacing: -0.01em; }
.showcase-pill span { font: 400 14px/1.3 var(--sans); color: rgba(255, 255, 255, .75); }

@media (max-width: 1100px) {
  .showcase-card { padding: 48px 28px 44px 48px; }
}
@media (max-width: 900px) {
  .showcase { padding-top: 12px; }
  .showcase-card { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 28px; gap: 28px; min-height: 0; border-radius: 22px; }
  .showcase-sub { font-size: 16.5px; }
  .showcase .ctas { margin-top: 26px; }
  .showcase-pills { width: 100%; margin-top: 7cqw; }
}
@media (max-width: 560px) {
  .lineup { --w: 29cqw; }
  /* Drop the row back to its middle five. Matching the literal style attribute
     is deliberate: --d is set inline, so there is nothing else to match on. */
  .lu[style*="--d:3"], .lu[style*="--d:4"] { display: none; }
  .showcase-pills { flex-direction: column; gap: 10px; }
  .showcase-pill { padding: 11px 16px; }
  .showcase-pill b { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .lu img, .lu::after { transition: none; }
}

/* ---------- Home: featured rail ---------- */
.featured { padding-top: 64px; }
.featured .section-head { align-items: center; }
.featured h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; }
.rail-nav { display: flex; align-items: center; gap: 10px; }
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 6px 18px -12px rgba(19, 30, 56, .45); transition: border-color .15s ease, opacity .15s ease;
}
.rail-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover:not(:disabled) { border-color: var(--line-2); }
.rail-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.btn-pill-ghost { min-height: 52px; padding: 0 26px; background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: 0 6px 18px -12px rgba(19, 30, 56, .45); }
.btn-pill-ghost:hover:not(:disabled) { background: var(--surface); border-color: var(--line-2); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 760px) {
  .rail { grid-auto-columns: 68%; gap: 12px; }
  .rail-btn { width: 44px; height: 44px; }
  .btn-pill-ghost { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
  .featured { padding-top: 44px; }
}

/* Real vial shots standing in the product scenes and the Build a Box row. Sized by
   height against the frame, since the frames change aspect between desktop and phone. */
.vial-row > .vial-slot:has(.scene-photo) { height: 66%; }
.vial-row > .vial-slot-0:only-child:has(.scene-photo) { height: 84%; }
.vial-slot .scene-photo { display: block; height: 100%; width: auto; }
.box-slots .slot .scene-photo { display: block; width: 100%; max-width: 76px; height: auto; filter: drop-shadow(0 8px 10px rgba(19, 30, 56, .14)); }
@media (max-width: 900px) { .box-slots .slot .scene-photo { max-width: 56px; } }
/* Shots are one height, so align their tops: a two-line label ("Free vial" on a phone)
   then hangs below instead of lifting its vial out of line. */
.box-slots:has(.scene-photo) { align-items: start; }

/* Floating vial: no frame, no backdrop, no floor. Just the shot on the section's own
   colour, with a soft shadow pooled under it. */
.vial-scene.vial-float,
.section.dark .vial-scene.vial-float { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.vial-scene.vial-float::after,
.section.dark .vial-scene.vial-float::after { display: none; }
.vial-float .vial-slot { filter: none; }
.vial-float .vial-slot:has(.scene-photo)::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -2%; height: 7%; z-index: -1;
  background: radial-gradient(closest-side, rgba(19, 30, 56, .28), rgba(19, 30, 56, 0));
}
.section.dark .vial-float .vial-slot:has(.scene-photo)::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
