/* ==========================================================================
   Thyroid Power — Landing Page v2 (mobile-first rebuild)
   Brand tokens sampled live from hellofling.com.
   Colour discipline: PLUM = action (CTA) · GREEN (sage) = selection /
   checkmarks / trust · GREY = struck prices & secondary text. Nothing else
   competes. Whitespace separates sections, not boxes and dividers.
   ========================================================================== */

/* ---- Brand fonts (hosted on hellofling.com CDN). The `t/39` segment is a
   Shopify THEME VERSION path and will 404 on theme republish — request the
   woff2s to self-host in assets/fonts/. Metric-matched Georgia fallback below
   keeps layout from reflowing if it happens. ---- */
@font-face {
  font-family: 'bogue';
  src: url('https://hellofling.com/cdn/shop/t/39/assets/bogue-regular-2.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'bogue';
  src: url('https://hellofling.com/cdn/shop/t/39/assets/bogue-bold-2.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('https://hellofling.com/cdn/fonts/inter/inter_n4.b2a3f24c19b4de56e8871f609e73ca7f6d2e2bb9.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('https://hellofling.com/cdn/fonts/inter/inter_n7.02711e6b374660cfc7915d1afc1c204e633421e4.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'bogue-fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 96%; ascent-override: 92%; descent-override: 22%;
}

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --peach: #f6e6d8;
  --cream: #fbf5ee;
  --white: #ffffff;
  --ink: #121212;
  --ink-soft: #1c1c1c;
  --plum: #6e5560;
  --plum-deep: #55404a;

  --text: #121212;
  --text-muted: #5e6370;
  --text-on-dark: #f6e6d8;
  --text-muted-on-dark: #b9b2ab;

  --line: #e4d8cb;
  --line-strong: #d6c9bd;
  --line-dark: #2e2e2e;

  --star: #ffcf2a;

  /* GREEN — the one functional accent for selection, checks and trust. */
  --sage: #5e6e52;
  --sage-deep: #4c5a43;
  --sage-tint: #eaeee3;
  --sage-line: #b6c2a6;

  /* Warm illustrative tone — used ONLY inside the fuel-&-match graphic as
     the "lit / energy" colour, never as a competing UI accent. */
  --clay: #d19b76;
  --clay-tint: #f8e9dd;
  --clay-ink: #6b3f2c;

  --btn-bg: var(--plum);
  --btn-fg: #ffffff;
  --btn-bg-hover: var(--plum-deep);

  --serif: 'bogue', 'bogue-fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --e-1: 0 2px 10px rgba(18, 18, 18, .05);
  --e-2: 0 10px 34px rgba(18, 18, 18, .08);
  --e-3: 0 24px 60px rgba(18, 18, 18, .16);

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s7: 32px; --s8: 40px; --s9: 48px; --s10: 64px; --s11: 80px; --s12: 96px;

  --sec-y: 60px;
  --gutter: 20px;
  /* Countdown reservation on <body>. Mobile wraps to two lines (message +
     clock), so reserve more; one line from 600px up. script.js refines this
     to the bar's exact measured height on load/resize. */
  --cd-h: 72px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--peach);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--cd-h);      /* clear the fixed countdown bar */
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.018em;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 3.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.1875rem; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

/* Grid/flex children default to min-width:auto; reset so long content can't
   force a track wider than its share and blow out horizontal layout. */
.feature-blocks > *, .study-grid > *, .timeline > *, .badges > *, .plans > *,
.rev-carousel > *, .char-track > *, .format-cols > *, .hero-grid > *,
.final-grid > *, .mech-layout > *, .bonus-grid > *, .guarantee-grid > * { min-width: 0; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 640px; }
.wrap.mid { max-width: 900px; }
.wrap.wide { max-width: 1440px; }

section { padding-block: var(--sec-y); }
.sec-tight-top { padding-top: calc(var(--sec-y) * .4); }
.sec-tight-bottom { padding-bottom: calc(var(--sec-y) * .4); }
.sec-tight { padding-block: calc(var(--sec-y) * .55); }

.s--peach { background: var(--peach); }
.s--cream { background: var(--cream); }
.s--white { background: var(--white); }
.s--ink {
  background: var(--ink-soft);
  color: var(--text-on-dark);
  --text-muted: var(--text-muted-on-dark);
  --line: var(--line-dark);
  --white: #262626;
  --btn-bg: var(--peach);
  --btn-fg: var(--ink);
  --btn-bg-hover: #fff;
}
.s--plum {
  background: var(--plum);
  color: #fff;
  --text-muted: rgba(255, 255, 255, .74);
  --line: rgba(255, 255, 255, .18);
  --btn-bg: #fff;
  --btn-fg: var(--plum-deep);
  --btn-bg-hover: var(--peach);
}

.sec-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--s8); }
.sec-head.left { text-align: left; margin-inline: 0; }
.sec-head > * + * { margin-top: var(--s4); }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--plum);
}
.s--ink .eyebrow { color: var(--peach); }
.s--plum .eyebrow { color: var(--peach); }

.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); }
.prose > * + * { margin-top: var(--s4); }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--text); }

/* ==========================================================================
   4. Buttons, pills, stars — 44px+ tap targets everywhere
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 54px; padding: 15px 30px;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--block { display: flex; width: 100%; }

.risk {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: .875rem; font-weight: 700; color: var(--text-muted);
}
.risk svg { flex: none; color: var(--sage); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }

.vbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .75rem; font-weight: 700; color: var(--sage);
}
.vbadge svg { flex: none; }
.vbadge.on-plum { color: #d7e3c8; }

/* ==========================================================================
   5. §1 Countdown bar — fixed, slim, one line
   ========================================================================== */
.countdown {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  gap: var(--s2) var(--s5); flex-wrap: wrap;
  padding: 7px var(--gutter);
  background: var(--plum-deep); color: var(--peach);
  text-align: center;
}
.countdown-msg { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.countdown-clock { display: inline-flex; gap: var(--s3); }
.cd-unit { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; min-width: 26px; }
.cd-unit b { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.cd-unit i { font-style: normal; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

/* ==========================================================================
   6. §2 Hero
   ========================================================================== */
/* Mobile: content should start close under the fixed countdown bar, not float
   with dead space above it. Desktop restores the larger --s9 top pad at 768px.
   Bottom padding tightened — it was stacking with .hero-cta's own margin below,
   leaving ~104px of dead space before the press bar. */
.hero { padding-block: var(--s4) var(--s7); }
.hero-grid { display: flex; flex-direction: column; }

/* Grüns-style social proof bar: overlapping avatar circles + stacked
   stars/text, read as a community rather than a bare stat. */
.social-proof { display: flex; align-items: center; gap: var(--s3); flex-wrap: nowrap; margin-bottom: var(--s4); }
.sp-avatars { display: flex; flex: none; }
.sp-avatars img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--peach); box-shadow: var(--e-1);
  margin-left: -10px;
  flex: none;
}
.sp-avatars img:first-child { margin-left: 0; }
.sp-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.social-proof .sp-text { font-size: .84375rem; font-weight: 700; line-height: 1.3; }

/* "For women with hypothyroidism & Hashimoto's" as a pill badge, not plain text. */
.hero-pill {
  display: inline-block; margin-bottom: var(--s5);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--sage-tint); color: var(--sage-deep);
  font-size: .78125rem; font-weight: 700;
}

.hero h1 { margin-bottom: var(--s4); }
.hero h1 em { font-style: normal; color: var(--plum); }
.hero .subhead { font-size: 1.0625rem; line-height: 1.6; color: var(--text); margin-bottom: var(--s6); }

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.hero-cta .btn { width: 100%; max-width: 380px; }

/* Hero media — packshot on a dark studio card so it never blends with peach.
   Source photo is a true 1:1 square studio shot; matching the container to
   that ratio shows the whole composition with no crop/stretch. */
/* Sized down from 320px — it was reading as oversized/dominant against the
   copy above and below it. margin-bottom adds the breathing room the subhead
   was missing (previously flush against the image, 0px gap). */
.hero-media-col { margin: 0 0 var(--s6); }
/* 1-main.png bakes in a 5-item callout panel beside the pouch, so it needs
   more width than a plain product shot to stay legible — wider than the old
   250px cap, but still well short of the previous "oversized" complaint. */
.hero-media-wrap { position: relative; max-width: 320px; margin-inline: auto; }
.hero-media {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: var(--r-lg); overflow: hidden;
  background: #3d3d3d; box-shadow: var(--e-3);
}
.hero-media img { width: 100%; height: 100%; object-fit: contain; }

/* ---- Press strip — "As seen in" is its own centred eyebrow line above the
   logo row (previously sat inline to the left of the logos, reading as
   left-aligned against the centred row). Slightly warmer/more legible than
   the greyscale logos below it, not flat body-text weight. ---- */
.press { padding-block: var(--s7); text-align: center; }
.press-label {
  display: block; margin-bottom: var(--s4);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--plum);
}
.press-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s6); }
.press-logo { height: 20px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .55; }

/* ==========================================================================
   7. §4 Badge marquee
   ========================================================================== */
.marquee { padding-block: 0; overflow: hidden; }
.marquee-inner { display: flex; overflow: hidden; padding-block: 16px; }
.marquee-track {
  display: flex; align-items: center; flex: none; gap: var(--s6);
  padding-right: var(--s6); animation: marquee 38s linear infinite; will-change: transform;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-item {
  flex: none; font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; white-space: nowrap; color: var(--text-on-dark);
}
.marquee-dot { flex: none; color: var(--sage); opacity: .8; }

/* ==========================================================================
   9. Reusable feature blocks (§6 every day, §10 ritual, §14 not-all-equal)
   ========================================================================== */
.feature-blocks { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.fblock {
  padding: var(--s6) var(--s5);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--e-1);
}
.s--white .fblock { background: var(--cream); }
.fblock-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: var(--s4);
  border-radius: 50%; background: var(--sage-tint); color: var(--sage);
}
.fblock h3 { font-family: var(--serif); margin-bottom: var(--s2); }
.fblock p { font-size: .9375rem; line-height: 1.55; color: var(--text-muted); }

/* "Not All Supplements Are Equal" — clean text blocks, no icon/image per item. */
.fact-list { display: grid; gap: var(--s8); }
/* Same check-in-circle icon, brand colour, reused for all four points — fills
   the space without sourcing new content. */
.fact-icon {
  width: 40px; height: 40px; margin-bottom: var(--s3); display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-tint); color: var(--sage);
}
.fact h3 { font-family: var(--serif); font-size: 1.1875rem; margin-bottom: var(--s2); }
.fact p { font-size: .9375rem; line-height: 1.55; color: var(--text-muted); }

/* ==========================================================================
   11. §8 Observational study stats
   ========================================================================== */
.study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

/* ==========================================================================
   12. §9 What to expect — timeline
   ========================================================================== */
.timeline {
  position: relative; display: grid; gap: var(--s6);
  padding-left: var(--s6); border-left: 2px solid var(--sage-line);
}
.stage { position: relative; }
.stage::before {
  content: ''; position: absolute; left: calc(var(--s6) * -1 - 7px); top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sage); border: 2px solid var(--cream);
}
.stage-when {
  display: inline-block; padding: 5px 12px; margin-bottom: var(--s2);
  border-radius: var(--r-pill); background: var(--plum); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.stage-title { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.stage p { font-size: .9375rem; line-height: 1.5; color: var(--text-muted); }

/* ==========================================================================
   13. §11 Big pull quote
   ========================================================================== */
.pullquote-sec { padding-block: var(--s10); }
.pullquote { display: grid; gap: var(--s7); align-items: center; }
/* Product plinth shot, not a customer portrait — contained rounded-rect
   rather than a circle crop, sized small so it doesn't dominate the block. */
.pullquote-media { width: 160px; margin-inline: auto; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--e-3); }
.pullquote-media img { width: 100%; height: auto; display: block; object-fit: contain; }
.pullquote-body { text-align: center; }
.pullquote-body .stars { margin-bottom: var(--s4); }
.pullquote-body .stars svg { width: 20px; height: 20px; }
.pullquote blockquote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
.pullquote figcaption { margin-top: var(--s5); font-size: .9375rem; font-weight: 700; display: inline-flex; gap: var(--s2); align-items: center; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   14. §12 Offer / buy box
   ========================================================================== */
.plans { display: grid; gap: var(--s4); }
.plan {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  transition: border-color .16s ease, background .16s ease;
}
/* Selection = GREEN. Nothing else changes: no shadow, no size jump. */
.plan.is-selected { border: 2px solid var(--sage); background: var(--sage-tint); }
.plan:has(input:focus-visible) { outline: 3px solid var(--sage); outline-offset: 2px; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }

.plan-header {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s5); cursor: pointer; min-height: 76px;
}
.plan-radio {
  flex: none; width: 24px; height: 24px;
  border: 2px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; background: var(--white);
}
.plan.is-selected .plan-radio { border-color: var(--sage); }
.plan-radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); transform: scale(0); transition: transform .16s ease; }
.plan.is-selected .plan-radio::after { transform: scale(1); }

.plan-main { flex: 1; min-width: 0; }
.plan-name { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.2; }
.plan-badge {
  font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill);
  background: var(--sage); color: #fff;
}
.plan-sub { display: block; font-size: .8125rem; line-height: 1.35; color: var(--text-muted); margin-top: 3px; }
.plan-pricing { flex: none; text-align: right; line-height: 1.15; }
.plan-price { display: block; font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--plum-deep); line-height: 1.1; }
.plan-was { display: block; font-size: .875rem; font-weight: 600; color: var(--clay); text-decoration: line-through; }
.plan-rate { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* Bonus panel — expands only inside the selected card (cards 1 & 2). */
/* minmax(0, …) rather than a bare fr value — some content (e.g. buttons with
   fixed dimensions in the qty stepper) resists the auto-min collapse that a
   bare `0fr` track relies on; minmax(0, 0fr) forces a true zero regardless. */
.plan-bonus { display: grid; grid-template-rows: minmax(0, 0fr); transition: grid-template-rows .22s ease; }
.plan.is-selected .plan-bonus { grid-template-rows: minmax(0, 1fr); }
.plan-bonus-inner { min-height: 0; overflow: hidden; }
.bonus-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  margin: 0 var(--s5); padding: var(--s3) 0; border-top: 1px solid var(--sage-line);
  font-size: .84375rem; font-weight: 700;
}
.bonus-free {
  flex: none; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--sage); color: #fff; font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
}
.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: 0 var(--s5) var(--s5); }
/* Thumbnail spans both rows; name on top, price beneath — no horizontal
   collision even in a ~140px tile at 375px. */
.bonus {
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto;
  column-gap: 10px; row-gap: 2px; align-items: center;
  padding: var(--s3); background: var(--white); border-radius: var(--r-md);
}
.bonus img { grid-row: 1 / 3; width: 40px; height: 40px; object-fit: contain; border-radius: var(--r-sm); background: var(--cream); }
.bonus-name { grid-column: 2; min-width: 0; font-size: .78125rem; font-weight: 700; line-height: 1.2; }
.bonus-price { grid-column: 2; display: inline-flex; align-items: baseline; gap: 5px; font-size: .72rem; }
.bonus-price b { color: var(--sage); font-weight: 700; }
.bonus-price s { color: var(--text-muted); }

/* Try Once — genuinely selectable (same radiogroup + selection states as the
   subscription cards) but visually plainer: no badge, no bonus grid, smaller
   type. Separated from the main 3-card group with its own margin. */
.plans-divider { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.plans-divider::before, .plans-divider::after { content: ''; flex: 1; height: 1px; background: var(--border, rgba(18,18,18,.12)); }
.plans-divider span { font-size: .8125rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.plans--onetime { margin-top: var(--s4); }
.plan--onetime .plan-header { min-height: 0; padding: var(--s4) var(--s5); }
.plan--onetime .plan-name { font-size: 1rem; }
.plan--onetime .plan-price { font-size: 1.5rem; }
.plan-qty-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  margin: 0 var(--s5); padding: var(--s4) 0; border-top: 1px solid var(--sage-line);
}
.qty-label { font-size: .84375rem; font-weight: 700; }
.qty-stepper { display: flex; align-items: center; gap: var(--s3); }
.qty-btn {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--white); font-size: 1.125rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; color: var(--text);
}
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-value { min-width: 20px; text-align: center; font-family: var(--serif); font-size: 1.125rem; }

/* Primary CTA + risk reversal directly beneath */
.offer-actions { margin-top: var(--s6); text-align: center; }
.offer-actions .btn { max-width: 460px; margin-inline: auto; }
.offer-cta-sub { margin-top: var(--s3); font-size: .84375rem; font-weight: 700; color: var(--text-muted); }
.auto-tag {
  display: inline-block; margin-top: var(--s3);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage);
}
/* align-items: flex-start (not center) — this line wraps to 2 lines at
   narrower widths, and centering against the full 2-line block visibly
   dropped the checkmark below the first line's baseline. */
.reassure-bar {
  display: flex; align-items: flex-start; justify-content: center; gap: var(--s2);
  margin-top: var(--s5); padding: var(--s3) var(--s4);
  background: var(--sage-tint); color: var(--sage-deep); border-radius: var(--r-pill);
  font-size: .84375rem; font-weight: 700; text-align: left;
}
.reassure-bar svg { flex: none; margin-top: 2px; color: var(--sage); }

.offer-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s6); }
.offer-trust-item { font-size: .75rem; font-weight: 700; line-height: 1.35; text-align: center; }
.offer-trust-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto var(--s2); border-radius: 50%; background: var(--white); color: var(--sage); box-shadow: var(--e-1); }

/* Tastes-like strip */
.tastes-like { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s6); margin-top: var(--s8); }
.tl-item { display: inline-flex; align-items: center; gap: var(--s2); font-size: .84375rem; font-weight: 700; }
.tl-item svg { flex: none; color: var(--sage); }

/* Accordion stack */
.accordion { margin-top: var(--s8); border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line-strong); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s5) var(--s1); font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .chev { flex: none; transition: transform .2s ease; color: var(--plum); }
.accordion details[open] .chev { transform: rotate(180deg); }
.acc-body { padding: 0 var(--s1) var(--s5); }
.acc-body p { font-size: .9375rem; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================================
   15. §13 Ingredient character cards — horizontal strip
   ========================================================================== */
.char-track {
  display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: var(--s1) var(--gutter);
}
.char-track::-webkit-scrollbar { display: none; }
.char-card {
  flex: 0 0 78vw; max-width: 300px; scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e-1);
}
.char-media { aspect-ratio: 4 / 3; background: var(--cream); }
.char-media img { width: 100%; height: 100%; object-fit: cover; }
.char-body { padding: var(--s5); }
.char-body b { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.char-role { display: inline-block; font-family: var(--sans); font-size: .78125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }
.char-dose { display: block; font-size: .8125rem; font-weight: 700; color: var(--text-muted); margin: 4px 0 var(--s2); }
.char-body p { font-size: .9375rem; line-height: 1.5; color: var(--text-muted); }
.char-plus { margin-top: var(--s7); text-align: center; font-size: 1.0625rem; line-height: 1.6; max-width: 640px; margin-inline: auto; }

/* ==========================================================================
   16. §15 Science callout (kept) — proof figure
   ========================================================================== */
.ing-proof { margin: 0 auto; max-width: 480px; text-align: center; }
.study-anchor { margin-top: var(--s8); }
.ing-proof-media { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--clay-tint); box-shadow: var(--e-2); }
.ing-proof-media img { width: 100%; height: 100%; object-fit: cover; }
.ing-proof figcaption { margin-top: var(--s4); font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }

/* ==========================================================================
   17. §16 Reviews (rebuilt)
   ========================================================================== */
.reviews-hero { max-width: 480px; margin: 0 auto var(--s8); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e-2); }
.reviews-hero img { width: 100%; height: auto; display: block; }
.rating-summary { display: grid; gap: var(--s6); align-items: center; max-width: 560px; margin: 0 auto var(--s7); }
.rating-score { text-align: center; }
.rating-score b { display: block; font-family: var(--serif); font-size: 3.5rem; line-height: 1; }
.rating-score .stars { margin: var(--s2) 0 var(--s1); }
.rating-score .stars svg { width: 20px; height: 20px; }
.rating-score span { font-size: .84375rem; font-weight: 700; color: var(--text-muted); }
.rating-bars { display: grid; gap: var(--s2); }
.rbar { display: flex; align-items: center; gap: var(--s3); font-size: .8125rem; font-weight: 700; }
.rbar-label { flex: none; width: 24px; color: var(--text-muted); }
.rbar-track { flex: 1; height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.rbar-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--sage); }
.rbar-pct { flex: none; width: 34px; text-align: right; color: var(--text-muted); }

/* Filter chips (not tabs) */
.chips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: var(--s6); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--white); font-size: .84375rem; font-weight: 700; color: var(--text-muted); cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }

/* Swipeable carousel — 1 card on mobile */
.rev-carousel {
  display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: var(--s1) var(--gutter) var(--s4);
}
.rev-carousel::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 86vw; max-width: 380px; scroll-snap-align: center;
  display: flex; flex-direction: column;
  padding: var(--s6); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--e-1);
}
.rev-card[hidden] { display: none; }
.rev-card .stars { margin-bottom: var(--s4); }
.rev-card .stars svg { width: 18px; height: 18px; }
.rev-card p { font-size: 1rem; line-height: 1.55; }
.rev-card footer { display: flex; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s5); }
.rev-avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sage-tint); color: var(--sage-deep); font-size: .875rem; font-weight: 700; }
/* Photo variant — 2-3 featured reviews only, mixed among the text-only cards. */
.rev-avatar--photo { overflow: hidden; }
.rev-avatar--photo img { width: 100%; height: 100%; object-fit: cover; }
.rev-card cite { font-style: normal; font-size: .9375rem; font-weight: 700; }
.rev-card cite span { display: block; font-weight: 400; font-size: .8125rem; color: var(--text-muted); }
.rev-empty { text-align: center; color: var(--text-muted); padding: var(--s7) 0; }

/* ==========================================================================
   18. §17 UGC videos (kept)
   ========================================================================== */
.proof-rating { display: flex; align-items: center; justify-content: center; gap: var(--s2); margin-bottom: var(--s3); }
.proof-rating .stars svg { width: 15px; height: 15px; }
.proof-rating span:last-child { font-size: .8125rem; font-weight: 700; color: var(--text-muted); }

.ugc-wrap { margin-top: var(--s7); }
.ugc-track {
  display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
}
.ugc-track::-webkit-scrollbar { display: none; }
.ugc-card { flex: 0 0 46vw; max-width: 260px; scroll-snap-align: start; }
.ugc-play {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--line); cursor: pointer;
}
.ugc-play img { width: 100%; height: 100%; object-fit: cover; }
.ugc-play-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(rgba(18,18,18,0), rgba(18,18,18,.35)); }
.ugc-play-icon svg { width: 46px; height: 46px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.ugc-caption { margin-top: var(--s2); font-size: .78125rem; line-height: 1.35; font-weight: 700; text-align: center; }

.ugc-dialog { width: min(92vw, 420px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; }
.ugc-dialog::backdrop { background: rgba(18, 18, 18, .82); }
.ugc-dialog video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; }
.dialog-close.is-dark { background: var(--ink); color: #fff; border-bottom-color: rgba(255,255,255,.12); position: absolute; top: 0; right: 0; width: auto; border-radius: 0 0 0 var(--r-sm); z-index: 1; }

/* ==========================================================================
   19. §18 Format comparison
   ========================================================================== */
/* Three narrow columns side-by-side even on mobile — the previous full-width
   stacked cards (each with a full-bleed square image) took three screens'
   worth of scroll. Condensed padding/type keeps each ~110px column legible
   without truncation. */
.format-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.format-col {
  padding: var(--s3) var(--s2); text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
}
.format-col.is-us { background: var(--sage-tint); border-color: var(--sage-line); }
.format-col b { display: block; font-family: var(--serif); font-size: .9375rem; line-height: 1.2; margin-bottom: var(--s2); }
.format-col ul { list-style: none; padding: 0; display: grid; gap: 3px; }
.format-col li { font-size: .75rem; line-height: 1.3; color: var(--text-muted); }
.format-col.is-us li { color: var(--sage-deep); font-weight: 700; }

/* ==========================================================================
   20. §19 Quality / COA (kept)
   ========================================================================== */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.badge {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-md); font-size: .8125rem; font-weight: 700; line-height: 1.3;
}
.badge svg { flex: none; color: var(--sage); }
.sfp-btn {
  display: block; width: 100%; max-width: 420px; margin: var(--s7) auto 0; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--white); cursor: pointer; overflow: hidden;
}
.sfp-thumb { padding: var(--s6) var(--s6) 0; background: var(--cream); }
.sfp-thumb img { width: 100%; height: auto; object-fit: contain; }
.sfp-btn > span { display: block; padding: var(--s4); font-size: .875rem; font-weight: 700; text-align: center; }

dialog { position: fixed; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); width: min(94vw, 860px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); overflow: auto; }
dialog::backdrop { background: rgba(18, 18, 18, .72); }
dialog img { width: 100%; }
.dialog-close {
  position: sticky; top: 0; width: 100%; padding: var(--s3);
  border: 0; border-bottom: 1px solid var(--line); background: var(--white);
  font-size: .8125rem; font-weight: 700; cursor: pointer;
}

/* ==========================================================================
   21. §20 Guarantee (kept)
   ========================================================================== */
/* No image in this section by design — just the seal and copy, centred. */
.guarantee-grid { display: grid; gap: var(--s8); align-items: center; }
.guarantee-copy { text-align: center; max-width: 560px; margin-inline: auto; }
.seal {
  width: 128px; height: 128px; margin: 0 auto var(--s6); display: grid; place-items: center; text-align: center;
  border: 2px solid rgba(255, 255, 255, .45); border-radius: 50%;
}
.seal b { display: block; font-family: var(--serif); font-size: 2.375rem; line-height: 1; }
.seal span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 5px; }

/* ==========================================================================
   22. §21 FAQ (kept)
   ========================================================================== */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s6) 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { flex: none; transition: transform .2s ease; color: var(--plum); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding-bottom: var(--s6); font-size: 1rem; line-height: 1.6; color: var(--text-muted); }
.faq-help { margin-top: var(--s7); text-align: center; font-size: .875rem; color: var(--text-muted); }

/* ==========================================================================
   23. §22 Final CTA
   ========================================================================== */
.final .crop {
  /* product.png is a clean 1122×1402 (≈4:5) shot, no baked-in text — a plain
     cover fit at its own ratio, not the old hand-tuned crop-to-dodge-text hack. */
  width: 100%; aspect-ratio: 4 / 5; max-width: 320px; margin-inline: auto;
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: #ded4c6;
}
.final .crop > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.final-copy { text-align: center; margin-top: var(--s8); }
.final-copy .btn { width: 100%; max-width: 380px; margin-top: var(--s6); }
.final-trust { margin-top: var(--s5); font-size: .84375rem; color: var(--text-muted); }

/* ==========================================================================
   24. Sticky mobile CTA
   ========================================================================== */
/* CTA-only now — no label competing for space, so the button fills the row.
   Padding stays the same slim 12px so the footer doesn't grow taller. */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100vw; z-index: 60;
  display: flex; align-items: center;
  padding: 12px var(--gutter); padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--ink-soft); color: var(--text-on-dark);
  transform: translateY(110%); transition: transform .22s ease; box-sizing: border-box;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; min-height: 46px; padding: 12px 22px; background: var(--plum); color: #fff; }
.sticky-cta .btn:hover { background: var(--plum-deep); }

/* ==========================================================================
   25. Footer
   ========================================================================== */
body > footer { background: var(--ink); color: rgba(255, 255, 255, .5); padding: var(--s8) 0 calc(var(--s10) + 40px); font-size: .75rem; line-height: 1.65; }
body > footer p + p { margin-top: var(--s3); }
body > footer a { color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   R. Revision v2 — new components (base / mobile-first)
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labelled placeholder for assets not yet supplied. */
.asset-ph {
  display: grid; place-content: center; gap: 2px; text-align: center;
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg);
  background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 10px, #f4ece1 10px, #f4ece1 20px);
  color: var(--text-muted); padding: var(--s5); aspect-ratio: 1 / 1;
}
.asset-ph span { font-size: .8125rem; font-weight: 700; }
.asset-ph small { font-size: .6875rem; opacity: .7; }

/* Mechanism (rewrite) */
.mech-layout { display: grid; gap: var(--s7); align-items: center; }

/* Connected-step visual — icon badges linked by a vertical line, replacing
   plain 01/02/03 numerals with a genuine step-connector treatment. */
.mech-steps { list-style: none; padding: 0; margin: 0; }
.mech-steps li { position: relative; display: flex; gap: var(--s4); align-items: flex-start; padding-bottom: var(--s6); }
.mech-steps li:last-child { padding-bottom: 0; }
.mech-steps li:not(:last-child)::before {
  content: ''; position: absolute; top: 40px; left: 19px; bottom: 4px; width: 2px; background: var(--line-strong);
}
.mech-step-icon {
  position: relative; z-index: 1; flex: none; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 2px solid var(--plum); color: var(--plum);
}
.mech-steps b { display: block; font-family: var(--serif); font-size: 1.1875rem; margin-bottom: 3px; }
.mech-steps p { font-size: .9375rem; line-height: 1.55; color: var(--text-muted); }
.mech-media { border-radius: var(--r-lg); overflow: hidden; }
.mech-media img { width: 100%; height: auto; display: block; }
.mech-close { margin: var(--s8) auto 0; max-width: 720px; text-align: center; font-family: var(--serif); font-size: 1.375rem; line-height: 1.35; }

/* UGC proof insert before "Two Sides, One Formula" */
.mech-ugc { margin: 0 auto; max-width: 520px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e-2); }
.mech-ugc img { width: 100%; height: auto; display: block; }

/* "Two Sides, One Formula" — rebuilt natively (HTML/CSS, not a flat image) so
   it stays legible at any viewport. Mobile: single stacked column, image
   first (DOM order). Desktop (≥1024px): 3-col grid with connector lines,
   reordered via `order` so DOM/reading order stays image → nutrient → stress. */
.mech-two { display: grid; gap: var(--s7); }
.mech-two-media { max-width: 260px; margin-inline: auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e-2); }
.mech-two-media img { width: 100%; height: auto; display: block; }
.mech-two-col { display: grid; gap: var(--s4); align-content: start; }
.mech-two-heading {
  justify-self: start; font-family: var(--serif); font-size: 1rem;
  padding: 6px 16px; border-radius: var(--r-pill); background: var(--plum); color: #fff;
}
.mech-two-row { display: flex; align-items: center; gap: var(--s3); }
.mech-two-icon {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-tint); color: var(--sage-deep);
}
.mech-two-icon.is-text { font-size: .8125rem; font-weight: 700; }
.mech-two-text { display: block; font-size: .9375rem; line-height: 1.4; }
.mech-two-text b { display: block; font-family: var(--serif); font-size: 1.0625rem; margin-bottom: 1px; }
.mech-two-connector { display: none; }

@media (min-width: 1024px) {
  /* Nutrient Support carries twice the rows (4 vs 2), so it gets more of the
     column share — and both columns now align to the same top edge (was
     align-items: center, which floated the shorter Stress column at a
     different vertical start than Nutrient, reading as mismatched spacing
     even though each column's own per-item gap was already identical). */
  .mech-two { grid-template-columns: 1.35fr auto 1fr; align-items: start; gap: var(--s10); }
  .mech-two-col--nutrient { order: 1; }
  /* This is the page's differentiator graphic — 2-3x the mobile size, real
     prominence instead of the previous 260px cap inherited from mobile.
     align-self keeps it vertically centred even though the two text columns
     now align to start. */
  .mech-two-media { order: 2; margin-inline: 0; max-width: 540px; align-self: center; }
  .mech-two-col--stress { order: 3; }
  .mech-two-connector {
    display: block; flex: 1 1 auto; min-width: 20px; height: 2px; background: var(--line-strong); position: relative;
  }
  .mech-two-connector::after {
    content: ''; position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: var(--line-strong); transform: translateY(-50%);
  }
  .mech-two-col--nutrient .mech-two-connector::after { right: -3px; }
  .mech-two-col--stress .mech-two-connector::after { left: -3px; }
}

/* Real Results — progress rings */
.study-stat { background: transparent !important; border: 0 !important; padding: 0; text-align: center; }
.ring { position: relative; display: inline-grid; place-items: center; width: 132px; height: 132px; margin-bottom: var(--s3); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--sage-tint); stroke-width: 10; }
.ring-fill {
  fill: none; stroke: var(--sage); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 326.7px; stroke-dashoffset: 326.7px; transition: stroke-dashoffset 1.1s ease;
}
/* Explicit px units throughout — a bare unitless calc() result was being
   silently rejected for stroke-dashoffset, so the fill never actually
   animated (it matched the selector but the browser fell back to the
   un-animated 326.7 from the base rule above). */
.is-animated .ring-fill { stroke-dashoffset: calc(326.7px - 326.7px * (var(--pct) / 100)); }
/* True centering — the previous version only set `top`, with no horizontal
   centering at all, so the number's position depended on flow fallback and
   drifted outside the ring at some widths (reported on desktop). */
.ring b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-size: 1.75rem; color: var(--plum); }
.study-label { display: block; font-size: .875rem; line-height: 1.4; color: var(--text-muted); max-width: 200px; margin-inline: auto; }

/* Timeline — circular month illustrations sit on the connector nodes */
.timeline--illustrated .stage { padding-left: 0; }
.timeline--illustrated .stage::before { display: none; }
.timeline--illustrated { border-left: 0; padding-left: 0; gap: var(--s7); }
.stage-media { width: 128px; height: 128px; margin-bottom: var(--s3); border-radius: 50%; overflow: hidden; box-shadow: var(--e-1); }
.stage-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Format comparison — product photos */
.format-media { aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s3); background: var(--cream); }
.format-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Comparison table — identical table on mobile and desktop (see the
   overflow-x rule further down); values match the older build's comparison
   table exactly, just scoped under .table-wrap/.compare instead of bare
   table/th/td so nothing else on the page is affected. */
.table-wrap { border-radius: var(--r-lg); border: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--white); }
.compare th, .compare td { padding: var(--s5) var(--s4); text-align: center; font-size: .9375rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 700; background: var(--cream); }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th[scope="row"] { font-weight: 400; color: var(--text-muted); min-width: 200px; }
.compare thead th.is-us, .compare td.is-us { background: var(--plum); color: #fff; }
.compare thead th.is-us { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; }
.compare-product-img {
  display: block; width: 52px; height: 52px; margin: 0 auto 10px;
  border-radius: var(--r-sm); object-fit: contain; background: rgba(255,255,255,.12);
}
.compare td .yes, .compare td .no { font-size: 1rem; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.is-key th { font-weight: 700; color: var(--sage); background: var(--sage-tint); }
.compare tr.is-key td { background: var(--sage-tint); }
.compare tr.is-key td.is-us { background: var(--plum); }
.compare .yes { color: var(--sage); font-weight: 700; }
.compare .no { color: var(--text-muted); }
.compare td.is-us .yes { color: #fff; }

/* "Subscribe & save…" is a secondary reassurance line, not a subhead — smaller
   than the shared .lead size used elsewhere on the page. */
.offer-sublead { font-size: .875rem; }
/* Tighten the dead space between the heading block and the product image —
   the shared .sec-head bottom margin was too generous for this dense buy box. */
#offer .sec-head { margin-bottom: var(--s5); }

/* Offer PDP — gallery + buy */
.offer-pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
.offer-pdp > * { min-width: 0; }
.offer-gallery-main {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
}
.offer-gallery-main::-webkit-scrollbar { display: none; }
.offer-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; padding: var(--s3); }
/* Contain/letterbox, not cover — the set mixes a 1:1, a 16:9 and a portrait
   image, and cropping would distort the odd ones out. A small padding keeps
   the letterboxed image off the card's rounded corners without the old s5
   gutter that read as dead space. */
.offer-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.offer-thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); overflow-x: auto; scrollbar-width: none; }
.offer-thumbs::-webkit-scrollbar { display: none; }
.offer-thumb { flex: 0 0 60px; width: 60px; height: 60px; padding: 4px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; overflow: hidden; }
.offer-thumb img { width: 100%; height: 100%; object-fit: contain; }
.offer-thumb.is-active { border-color: var(--plum); }

/* Accordion constrained within the now-wider offer wrap */
.accordion { max-width: 820px; margin-inline: auto; }
.tastes-like { align-items: center; }

/* Benefits illustrated tiles — 2×2 on mobile */
.feature-blocks--tiles { grid-template-columns: repeat(2, 1fr); }
.fblock--tile { text-align: center; }
.fblock--tile .fblock-media {
  aspect-ratio: 1 / 1; margin-bottom: var(--s4);
  border-radius: var(--r-md); overflow: hidden; background: var(--cream);
}
.fblock--tile .fblock-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ingredient dose badge + role tag */
.char-media { position: relative; }
.char-dose-badge {
  position: absolute; bottom: var(--s3); right: var(--s3);
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--plum); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap;
  box-shadow: var(--e-1);
}
.char-body .char-role { display: inline-block; margin-bottom: 4px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--sage-tint); color: var(--sage-deep); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.char-body b { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin-bottom: var(--s2); }

@media (max-width: 767px) {
  .timeline--illustrated .stage { text-align: center; }
  .stage-media { margin-inline: auto; }
}

/* ==========================================================================
   26. Responsive — ≥768px
   ========================================================================== */
/* Countdown fits on one line once there's room — reserve less. */
@media (min-width: 600px) { :root { --cd-h: 44px; } }

@media (min-width: 768px) {
  :root { --gutter: 32px; --sec-y: 76px; }

  .hero { padding-block: var(--s9) var(--s11); }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) min(42vw, 460px);
    grid-template-rows: repeat(5, auto); column-gap: var(--s9); align-items: center;
  }
  .hero-grid > .social-proof { grid-row: 1; }
  .hero-grid > .hero-pill { grid-row: 2; }
  .hero-grid > h1 { grid-row: 3; }
  .hero-grid > .subhead { grid-row: 4; }
  .hero-grid > .hero-cta { grid-row: 5; margin-bottom: 0; }
  .hero-media-col { grid-column: 2; grid-row: 1 / 6; align-self: center; margin: 0; }
  .hero-media-wrap { max-width: 440px; }
  .hero-media { aspect-ratio: 1 / 1; }

  .feature-blocks { grid-template-columns: repeat(2, 1fr); }
  .feature-blocks--3 { grid-template-columns: repeat(3, 1fr); }
  .fact-list { grid-template-columns: repeat(2, 1fr); gap: var(--s9) var(--s10); }

  .mech-layout { grid-template-columns: 1fr 1fr; }
  .fuelmatch { grid-template-columns: 1fr 1fr; }

  .study-grid { grid-template-columns: repeat(4, 1fr); }

  .timeline {
    grid-template-columns: repeat(4, 1fr); gap: var(--s7);
    padding-left: 0; padding-top: var(--s7); border-left: 0; border-top: 2px solid var(--sage-line);
  }
  .stage::before { left: 0; top: calc(-1 * var(--s7) - 8px); }
  /* Illustrated timeline: the circular images ARE the timeline nodes — no top
     rule or dots, just the four circles across with a soft connector behind.
     Scaled up from the 128px mobile size — it read as undersized for its
     importance on desktop. Connector's top offset tracks the new radius. */
  .timeline--illustrated { border-top: 0; padding-top: 0; position: relative; text-align: center; }
  .timeline--illustrated::before { content: ''; position: absolute; top: 90px; left: 12.5%; right: 12.5%; height: 2px; background: var(--sage-line); z-index: 0; }
  .timeline--illustrated .stage { position: relative; z-index: 1; }
  .stage-media { width: 180px; height: 180px; margin-inline: auto; margin-bottom: var(--s4); }
  .stage-title { font-size: 1.5rem; }
  .stage p { font-size: 1rem; }

  .feature-blocks--tiles { grid-template-columns: repeat(2, 1fr); }

  .pullquote { grid-template-columns: 170px 1fr; text-align: left; gap: var(--s9); }
  .pullquote-media { width: 170px; margin-inline: 0; }
  .pullquote-body { text-align: left; }
  .pullquote figcaption { justify-content: flex-start; }

  .char-card { flex: 0 0 300px; max-width: none; }

  .reviews-hero { max-width: 640px; }
  .rating-summary { grid-template-columns: auto 1fr; gap: var(--s9); max-width: 640px; }
  .rating-score { text-align: left; }

  .rev-card { flex: 0 0 calc((100% - var(--s4) * 2) / 3); max-width: none; }

  .ugc-card { flex: 0 0 auto; width: 240px; max-width: none; }
  .ugc-play-icon svg { width: 54px; height: 54px; }

  /* Scale back up from the condensed mobile treatment — plenty of room now. */
  .format-cols { gap: var(--s4); }
  .format-col { padding: var(--s6) var(--s5); }
  .format-media { margin-bottom: var(--s4); }
  .format-col b { font-size: 1.25rem; margin-bottom: var(--s3); }
  .format-col li { font-size: .9375rem; line-height: 1.4; }

  .badges { grid-template-columns: repeat(3, 1fr); }

  .final .crop { max-width: 360px; }
}

/* ==========================================================================
   27. Responsive — ≥1024px
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --sec-y: 100px; }

  body { font-size: 18px; }
  h3 { font-size: 1.375rem; }
  .lead { font-size: 1.1875rem; }
  .mech-punch { font-size: 1.5rem; }
  /* The ring itself was still the fixed 132px mobile size while its number
     grew to 3.5rem for desktop — the bigger digits spilled past the ring's
     circumference. Scale the ring up to match (SVG viewBox scales the stroke
     proportionally, so no dasharray math to touch). */
  .ring { width: 180px; height: 180px; }
  .study-stat b { font-size: 3.5rem; }
  /* Give the UGC feature review real presence on desktop — it read as too
     small at the previous fixed 460px cap. */
  .mech-ugc { max-width: 720px; }
  /* Give the timeline real presence at true desktop widths too. */
  .stage-media { width: 210px; height: 210px; }
  .timeline--illustrated::before { top: 105px; }
  .stage-title { font-size: 1.625rem; }

  .hero-grid { grid-template-columns: minmax(0, 1fr) min(42vw, 540px); column-gap: var(--s10); }
  .hero-media-wrap { max-width: 540px; }

  .feature-blocks { grid-template-columns: repeat(4, 1fr); }
  /* .feature-blocks--3 (daily ritual, 3 cards) was inheriting the 4-col rule
     above via equal specificity + later cascade — one column sat empty and
     the three cards bunched left instead of centring/balancing evenly. */
  .feature-blocks--3 { grid-template-columns: repeat(3, 1fr); }

  /* Offer PDP goes two-column: gallery left (sticky), buy box right. */
  .offer-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s10); align-items: start; }
  .offer-gallery { position: sticky; top: calc(var(--cd-h) + var(--s5)); }
  .offer-thumb { flex-basis: 72px; width: 72px; height: 72px; }

  .pullquote { grid-template-columns: 200px 1fr; }
  .pullquote-media { width: 200px; }
  .pullquote blockquote { font-size: 1.875rem; }

  .guarantee-copy { max-width: 640px; }

  .final-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--s10); align-items: center; }
  .final-copy { margin-top: 0; text-align: left; }
  .final-copy .btn { width: auto; }

  .sticky-cta { display: none; }
}

/* ==========================================================================
   28. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: var(--s5); padding-right: 0; }
  .marquee-inner { overflow: visible; }
  .fm-on .fm-flame-sm, .fm-on .fm-flame-lg, .fm-on .fm-flame-core { transform: none; opacity: 1; }
}
