/*
 * CULTR HEALTH staging experience system
 * Shared interaction, type, spacing, responsive and accessibility layer.
 * The Glassmorphism material file defines how these shared semantics feel.
 */

:root {
  /* Geist leads the display system; Manrope keeps supporting copy calm and legible. */
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /*
   * Spacing contract — every fixed value is a multiple of the 4px base.
   * 1=4px · 2=8px · 3=12px · 4=16px · 5=24px · 6=32px
   * 7=48px · 8=64px · 9=96px. Components consume the semantic aliases
   * below so both material themes keep one shared rhythm.
   */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Semantic spacing aliases. Fluid endpoints remain 4px-aligned. */
  --gutter-page: clamp(1.25rem, 4vw, 3.5rem);
  --gutter-sheet: var(--space-3);
  --section-block: clamp(4.5rem, 7.5vw, 8rem);
  --section-block-compact: clamp(var(--space-7), 6vw, var(--space-8));
  --stack-xs: var(--space-2);
  --stack-sm: var(--space-3);
  --stack-md: var(--space-4);
  --stack-lg: var(--space-5);
  --stack-xl: var(--space-6);
  --stack-section: var(--space-7);
  --grid-gap: clamp(var(--space-4), 2vw, var(--space-5));
  --card-padding: clamp(var(--space-5), 2vw, var(--space-6));
  --panel-padding: clamp(var(--space-5), 4vw, var(--space-7));
  --control-gap: var(--space-2);
  --control-padding-block: var(--space-3);
  --control-padding-inline: var(--space-5);
  --bar-compact: 2.5rem; /* 40px */
  --nav-mobile: 4.75rem; /* 76px */

  /* Compatibility aliases for the original presentation layer. */
  --space-section: var(--section-block);
  --page-gutter: var(--gutter-page);

  /* iPhone notch, Dynamic Island and home-indicator insets. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --visual-viewport-height: 100vh;

  /* Fluid typography */
  --text-xs: max(.8125rem, 13px);
  --text-sm: max(.875rem, 14px);
  --text-md: max(1rem, 16px);
  --text-lg: max(1.125rem, 18px);
  --text-xl: max(1.25rem, 20px);
  --text-display: clamp(49.6px, 5.3vw, 82.4px);
  --text-heading: clamp(34.4px, 4vw, 56.8px);
  --leading-tight: 1.01;
  --leading-heading: 1.08;
  --leading-body: 1.62;
  --leading-small: 1.5;
  --measure-body: 68ch;
  --measure-narrow: 58ch;

  /* Component sizing */
  --container-page: 76rem;
  --container-copy: 42rem;
  --control-min: max(2.75rem, 44px);
  --control-lg: max(3rem, 48px);
  --radius-control: 999px;
  --radius-card: clamp(1.25rem, 2vw, 1.75rem);
  --radius-panel: clamp(1.5rem, 2.6vw, 2.25rem);

  /* Motion */
  --duration-fast: 160ms;
  --duration-base: 240ms;
  --duration-enter: 560ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-emphasized: cubic-bezier(.22, 1, .36, 1);

  /* Semantic defaults; each material theme overrides these. */
  --surface-page: var(--cream);
  --surface-card: var(--cream);
  --surface-subtle: var(--cream-2);
  --surface-strong: var(--forest);
  --text-primary: var(--ink);
  --text-secondary: #405652;
  --text-muted: #536763;
  /* Predictable on-dark roles: never use light-surface text tokens in inverse sections. */
  --surface-inverse: var(--forest);
  --surface-inverse-deep: var(--forest-deep);
  --surface-inverse-raised: #2e5750;
  --text-inverse-primary: #edf7f4;
  --text-inverse-secondary: #dce8e3;
  --text-inverse-muted: #c4d5d0;
  --accent-inverse: var(--sage);
  --border-inverse: rgba(237, 247, 244, .28);
  --track-inverse: #9bb6af;
  --border-subtle: rgba(31, 48, 45, .16);
  --border-strong: rgba(31, 48, 45, .3);
  --focus-color: #2a5f58;
  --focus-color-inverse: #d7f3df;
  --focus-ring: 0 0 0 2px var(--surface-page), 0 0 0 5px var(--focus-color);
  --focus-ring-inverse: 0 0 0 2px var(--forest-deep), 0 0 0 5px var(--focus-color-inverse);
  --shadow-card: var(--sh-sm);
  --shadow-card-hover: var(--sh-md);
  --sticky-surface-visible: var(--surface-card);
  --sticky-edge-visible: var(--border-subtle);
  --sticky-shadow-visible: var(--shadow-card-hover);
  --sticky-halo: linear-gradient(105deg, rgba(99, 196, 154, .18), rgba(210, 238, 220, .26), rgba(64, 126, 115, .14));
  --sticky-halo-blur: .75rem;
  --sticky-button-shadow: 0 10px 24px rgba(10, 55, 48, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--duration-base);
  animation-timing-function: var(--ease-out);
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-padding-top: calc(7rem + var(--safe-top));
  scrollbar-color: var(--forest-light) transparent;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(42, 95, 88, .16);
  font-synthesis: none;
  font-kerning: normal;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-primary);
  background: var(--surface-page);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

b,
strong {
  font-weight: 600;
}

main p,
main li,
footer p {
  overflow-wrap: break-word;
}

.head p,
.hero .sub,
.beat p,
.pricing-note,
.evidence-note,
.reco-card span:last-child,
.assessment-step > p,
.assessment-result span,
.f-disc {
  max-width: var(--measure-body);
}

.eyebrow,
.stage-caption,
.dialog-footnote,
.pricing-note,
.evidence-note,
.f-bottom,
.sticky-note small {
  line-height: var(--leading-small);
}

body.menu-locked,
body.dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a[href],
button {
  touch-action: manipulation;
}

button,
.btn,
.fbtn,
.gchip,
.menu-btn,
.q button,
.assessment-option,
.dialog-close {
  -webkit-appearance: none;
  appearance: none;
}

a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

:where(main, section, h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: calc(7rem + var(--safe-top));
}

.wrap {
  width: min(100%, var(--container-page));
  max-width: none;
  padding-left: max(var(--gutter-page), var(--safe-left));
  padding-right: max(var(--gutter-page), var(--safe-right));
}

.pad {
  padding-block: var(--section-block);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hero h1 {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -.045em;
  max-width: 15ch;
  margin-block: var(--stack-md) var(--stack-lg);
}

.hero h1 .accent,
.beat h2 .li {
  font-style: normal;
}

.head {
  max-width: var(--container-copy);
}

.head h2 {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  letter-spacing: -.035em;
  margin-block: var(--stack-sm) var(--stack-md);
}

.head p,
.hero .sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, .95rem + .22vw, 1.125rem);
}

.eyebrow {
  min-height: 1.5rem;
  color: var(--forest-light);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Content remains usable if scripts fail. */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(.9rem);
  transition: opacity var(--duration-enter) var(--ease-emphasized),
              transform var(--duration-enter) var(--ease-emphasized);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/*
 * The primary message must never depend on IntersectionObserver timing.
 * This also prevents a blank first paint in iOS Safari during tab restores,
 * screenshots, low-power mode, and fast back/forward-cache restores.
 */
html.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.d1 { transition-delay: 45ms !important; }
.d2 { transition-delay: 90ms !important; }
.d3 { transition-delay: 135ms !important; }
.d4 { transition-delay: 180ms !important; }

/* Focus is independent from shadow/material. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: var(--focus-ring) !important;
  border-radius: .65rem;
}

.note :focus-visible,
.cred :focus-visible,
.lab :focus-visible,
.beat :focus-visible,
footer :focus-visible,
dialog :focus-visible {
  box-shadow: var(--focus-ring-inverse) !important;
}

.promo {
  min-height: var(--control-min);
  padding: 0 max(var(--stack-md), var(--safe-right)) 0 max(var(--stack-md), var(--safe-left));
  display: block;
  font-size: var(--text-sm);
  line-height: 1.3;
  text-align: center;
}

.promo a {
  min-height: var(--control-min);
  padding-inline: var(--space-1);
  display: inline-flex;
  align-items: center;
}

.promo a:hover {
  color: var(--forest-deep);
  text-decoration-thickness: .12em;
}

/* Header + navigation */
header {
  isolation: isolate;
  top: var(--safe-top);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.nav {
  /* Keep the header's physical measure stable when a browser uses a smaller base font. */
  width: min(100%, 1216px);
  min-height: 5.25rem;
  padding-block: var(--stack-sm);
  gap: var(--grid-gap);
}

header.scrolled .nav {
  min-height: 4.5rem;
  padding-block: var(--space-2);
}

.logo img,
.logo svg {
  height: clamp(2.75rem, 4vw, 3.35rem);
}

.logo {
  flex: none;
  min-height: var(--control-min);
  display: inline-flex;
  align-items: center;
  transition: opacity var(--duration-fast) linear,
              transform var(--duration-fast) var(--ease-out);
}

header.scrolled .logo img,
header.scrolled .logo svg {
  height: clamp(2.5rem, 3.4vw, 2.75rem);
}

.nav-links {
  align-items: center;
  gap: clamp(var(--stack-sm), 1vw, var(--stack-md));
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.nav-links a {
  position: relative;
  min-height: var(--control-min);
  padding-block: var(--space-1);
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: var(--space-1);
  height: 2px;
  border-radius: 2px;
  background: var(--forest-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  flex: none;
}

.nav-cta .btn {
  letter-spacing: -.01em;
  white-space: nowrap;
}

.menu-btn {
  min-width: var(--control-min);
  min-height: var(--control-min);
  border-radius: 50%;
  place-items: center;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast);
}

.menu-btn svg {
  color: var(--forest);
  stroke: currentColor;
}

.menu-btn[aria-expanded="true"] {
  transform: rotate(90deg);
}

.mobile-panel {
  position: absolute;
  top: calc(100% + var(--stack-sm));
  left: clamp(var(--stack-md), 4vw, var(--stack-xl));
  right: clamp(var(--stack-md), 4vw, var(--stack-xl));
  z-index: 3;
  padding: var(--stack-md);
  border-radius: var(--radius-panel);
  border: 1px solid var(--border-subtle);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-panel[hidden] {
  display: none !important;
}

.mobile-scrim {
  position: fixed;
  inset: 0;
  z-index: 69;
  background: rgba(6, 24, 22, .46);
  backdrop-filter: blur(var(--space-1));
  -webkit-backdrop-filter: blur(var(--space-1));
}

.mobile-scrim[hidden] {
  display: none !important;
}

.mobile-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: var(--control-min);
  margin-bottom: var(--stack-sm);
  padding-bottom: var(--stack-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  color: var(--text-primary);
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-panel-head strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
  letter-spacing: -.012em;
}

.mobile-panel-close {
  min-width: var(--control-min);
}

.mobile-panel nav {
  display: grid;
  gap: var(--space-1);
}

.mobile-panel nav a {
  min-height: var(--control-lg);
  padding: var(--stack-sm) var(--stack-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  color: var(--text-primary);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.mobile-panel nav a::after {
  content: "→";
  color: var(--forest-light);
}

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--control-gap);
  margin-top: var(--stack-sm);
  padding-top: var(--stack-sm);
  border-top: 1px solid var(--border-subtle);
}

.mobile-actions .btn {
  justify-content: center;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.mobile-actions [data-assessment] {
  grid-column: 1 / -1;
}

.progress {
  height: 3px;
}

/* Controls */
.btn {
  min-height: var(--control-lg);
  padding: var(--control-padding-block) var(--control-padding-inline);
  justify-content: center;
  border-radius: var(--radius-control);
  font-size: var(--text-sm);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn[aria-disabled="true"],
.unavailable-link[aria-disabled="true"] {
  opacity: .48;
  cursor: not-allowed;
}

.fbtn,
.gchip,
.q button,
.socials a {
  min-height: var(--control-min);
}

.fbtn,
.gchip {
  padding: var(--space-2) var(--stack-md);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast);
}

.fbtn:hover,
.gchip:hover {
  transform: translateY(-1px);
}

.fbtn:active,
.gchip:active {
  transform: translateY(0) scale(.98);
}

/* Hero */
.hero-mark {
  top: 35%;
}

.hero-inner {
  min-height: min(47rem, calc(100vh - 8rem));
  min-height: min(47rem, calc(100svh - 8rem));
  grid-template-columns: minmax(0, .92fr) minmax(30rem, 1.08fr);
  gap: clamp(var(--stack-lg), 3.5vw, 3.5rem);
  padding-block: clamp(var(--space-7), 4.8vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .sub {
  max-width: 37rem;
  margin-bottom: var(--stack-md);
}

.hero .micro {
  gap: var(--control-gap);
  margin-bottom: var(--stack-lg);
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.hero .micro span {
  min-height: var(--control-min);
  padding: var(--space-1) var(--stack-sm);
  border-radius: var(--radius-control);
  border: 1px solid var(--border-subtle);
}

.hero-cta {
  gap: var(--stack-sm);
}

.hero-qualifier {
  max-width: 37rem;
  margin-top: var(--stack-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.watch {
  min-height: var(--control-lg);
  padding: var(--space-2) var(--stack-sm);
  border-radius: var(--radius-control);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast);
}

.watch:hover {
  color: var(--forest-deep);
  transform: translateY(-1px);
}

.watch .pc {
  width: var(--control-min);
  height: var(--control-min);
}

.cta-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1) var(--stack-sm);
  margin-top: var(--stack-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.cta-note span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.cta-note span::before {
  content: "";
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--forest-light);
}

.stage {
  height: min(40rem, 68vh);
  height: min(40rem, 68svh);
}

.stage-caption {
  position: absolute;
  right: 6%;
  bottom: 2%;
  z-index: 5;
  max-width: 18rem;
  padding: var(--space-2) var(--stack-sm);
  border-radius: var(--radius-control);
  color: var(--text-muted);
  background: var(--surface-card);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: 550;
  text-align: center;
}

.pcard .ph small,
.ring-row .rl,
.mrow .mt {
  font-size: var(--text-xs);
}

/* Meaningful compact labels share one legibility floor across both themes. */
.chip,
.chip .dn,
.ba .cap,
.stat .pill,
.stat .who,
.evidence-badge,
.mk,
.doc .cred-t,
.tier.feat::before,
.media .ph-tag {
  font-size: var(--text-xs);
  line-height: var(--leading-small);
}

/* Only media handoff tags use the shared lower-left anchor. */
.media .ph-tag {
  left: var(--space-3);
  bottom: var(--space-3);
  padding: var(--space-1) var(--space-2);
}

/*
 * Component rhythm — normalize the active legacy inline layer onto the
 * shared 4px system. Decorative icon alignment remains optical by design.
 */
.nav-cta {
  gap: var(--space-2);
}

.pcard {
  padding: var(--space-5);
}

.pcard .ph {
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.ring-row {
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.mrow {
  margin-block: var(--space-2);
}

.mrow .mt {
  margin-bottom: var(--space-1);
}

.chip {
  padding: var(--space-2) var(--space-3);
  gap: var(--space-2);
}

.scale .s .l,
.cat .cl {
  margin-top: var(--space-1);
}

.step h3 {
  margin-bottom: var(--space-2);
}

.tcard h3 {
  margin: var(--space-1) 0 var(--space-2);
}

.tcard .tg {
  margin-bottom: var(--space-4);
}

.tcard ul {
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tcard li {
  gap: var(--space-2);
}

.tnote {
  margin-top: var(--space-6);
}

.lab p {
  margin: var(--space-3) 0 var(--space-5);
}

.sliderbox .lbls,
.metric .top {
  margin-bottom: var(--space-2);
}

.metrics {
  gap: var(--space-4);
}

.metric .mv .delta {
  padding: var(--space-1) var(--space-2);
}

.ba {
  gap: var(--space-3);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.ba .cap {
  margin-top: var(--space-2);
  padding-inline: var(--space-1);
}

.stat {
  padding: var(--space-5);
}

.stat-grid {
  margin-top: var(--space-4);
}

.stat .pill {
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  margin-bottom: var(--space-4);
}

.stat .marker {
  margin-top: var(--space-1);
}

.stat .quote {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

.stat .who {
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.panel {
  margin-top: var(--space-4);
}

.marquee {
  margin-top: var(--space-6);
}

.marquee .track2 {
  gap: var(--space-3);
}

.mk {
  padding: var(--space-2) var(--space-4);
}

.docs {
  margin-top: var(--space-6);
}

.doc {
  gap: var(--space-4);
}

.chips {
  gap: var(--control-gap);
}

.beat p {
  margin: var(--space-5) auto var(--space-6);
}

.tier,
.reco-card {
  position: relative;
  isolation: isolate;
}

.tier.feat::before {
  top: calc(0px - var(--space-3));
  right: auto;
  bottom: auto;
  left: var(--space-5);
  width: max-content;
  height: auto;
  z-index: 2;
  padding: var(--space-1) var(--space-3);
  white-space: nowrap;
}

.tier .price {
  margin: var(--space-2) 0 var(--space-1);
}

.tier .desc {
  min-height: 3.75rem;
  margin-bottom: var(--space-5);
}

.tier-best {
  margin: 0 0 var(--space-5);
  padding: var(--stack-sm) 0;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.tier-best span {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--text-muted);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.tier ul {
  flex: 1 1 auto;
  margin-bottom: var(--space-5);
  gap: var(--space-2);
}

.tier li {
  gap: var(--space-2);
}

.tier li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--forest-light);
  font-weight: 700;
}

.tier-cadence {
  margin: 0 0 var(--stack-md);
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-small);
}

.f-brand .socials {
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.fcol a {
  padding-block: var(--space-1);
}

.f-bottom {
  padding-block: var(--space-5);
  gap: var(--space-3) var(--space-5);
}

.pcard .ph b {
  font-size: var(--text-sm);
}

/* Trust strip */
.cred .wrap {
  min-height: 4.25rem;
  padding-block: var(--stack-sm);
  gap: var(--stack-sm) clamp(var(--stack-md), 3vw, 2.5rem);
  font-size: var(--text-sm);
}

.cred a {
  min-height: var(--control-min);
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.cred a:hover {
  color: var(--accent-inverse);
}

/* Image-first care stories — full-bleed editorial modules with terse actions. */
.lifestyle-showcase {
  overflow: hidden;
}

.lifestyle-head {
  margin-bottom: var(--stack-xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--stack-lg);
}

.lifestyle-head .eyebrow {
  margin-bottom: var(--space-2);
}

.lifestyle-head h2 {
  max-width: 10ch;
}

.lifestyle-all {
  min-height: var(--control-min);
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .25em;
}

.lifestyle-all:hover {
  color: var(--forest);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(18rem, auto);
  gap: var(--grid-gap);
}

.lifestyle-card {
  position: relative;
  min-width: 0;
  min-height: clamp(24rem, 34vw, 34rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--duration-base) var(--ease-out);
}

.lifestyle-card--sexual {
  grid-column: span 7;
}

.lifestyle-card--hormones {
  grid-column: span 5;
}

.lifestyle-card--metabolic {
  grid-column: span 5;
  min-height: clamp(28rem, 42vw, 40rem);
}

.lifestyle-card--recovery {
  grid-column: span 7;
  min-height: clamp(28rem, 42vw, 40rem);
}

.lifestyle-card--longevity {
  grid-column: span 7;
}

.lifestyle-card--skin {
  grid-column: span 5;
}

.lifestyle-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 25, 27, .5) 0%, rgba(4, 25, 27, .05) 36%),
    linear-gradient(180deg, transparent 58%, rgba(4, 25, 27, .66) 100%);
}

.lifestyle-card__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform var(--duration-enter) var(--ease-out);
}

.lifestyle-card__image--city {
  object-position: 50% 58%;
}

.lifestyle-card__image--metabolic {
  object-position: 50% 30%;
}

.lifestyle-card__image--longevity {
  object-position: 52% 32%;
}

.lifestyle-card__image--balance {
  object-position: 50% 36%;
}

.lifestyle-card__image--recovery {
  object-position: 60% 42%;
}

.lifestyle-card__image--skin {
  object-position: 50% 36%;
}

.lifestyle-card__label {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--stack-sm);
  text-shadow: 0 1px 24px rgba(0, 0, 0, .46);
}

.lifestyle-card__label strong {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.045em;
}

.lifestyle-card__label > span {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-shadow: none;
}

.lifestyle-card:hover,
.lifestyle-card:focus-visible {
  transform: translateY(-.25rem);
  box-shadow: var(--shadow-card-hover);
}

.lifestyle-card:hover .lifestyle-card__image,
.lifestyle-card:focus-visible .lifestyle-card__image {
  transform: scale(1.035);
}

.lifestyle-note {
  margin-top: var(--stack-sm);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-align: right;
}

@media (max-width: 820px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: var(--space-5);
  }

  .lifestyle-card,
  .lifestyle-card--metabolic,
  .lifestyle-card--recovery {
    grid-column: 1;
    min-height: clamp(25rem, 112vw, 34rem);
  }

  .lifestyle-card__label {
    padding: clamp(1.35rem, 7vw, 2rem);
  }

  .lifestyle-card__label strong {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .lifestyle-card__label > span {
    min-height: 2.5rem;
    padding: .6rem .85rem;
  }
}

/* Shared card hierarchy */
.steps,
.stat-grid,
.tiers,
.tgrid {
  gap: var(--grid-gap);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--stack-section);
  padding: 0;
  list-style: none;
}

.step,
.tcard,
.stat,
.tier,
.doc,
.ba {
  border-radius: var(--radius-card);
}

.step,
.stat,
.doc,
.ba,
#test .cat,
.supplement-quality-card {
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

.step:hover,
.stat:hover,
.doc:hover,
.ba:hover {
  transform: none;
}

.step {
  padding: var(--card-padding);
}

.step .n {
  width: var(--control-min);
  height: var(--control-min);
  margin-bottom: var(--stack-md);
}

.step h3 {
  font-size: var(--text-xl);
}

.step p,
.tcard .tg,
.tier .desc,
.doc p,
.stat .marker,
.stat .quote {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.step .ln {
  top: calc(var(--space-5) + var(--space-5));
}

.story-media-grid,
.ba {
  margin-top: var(--stack-xl);
}

.filter {
  gap: var(--control-gap);
  margin-block: var(--stack-xl) var(--stack-section);
}

.tgrid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
}

/* Critical catalog content remains present when JavaScript is unavailable. */
html:not(.js) #therapies .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.tcard {
  position: relative;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base);
}

.tcard:hover,
.tcard:focus-within {
  transform: translateY(-.35rem);
  box-shadow: var(--shadow-card-hover);
}

.tcard .body {
  padding: var(--space-5);
}

.tcard .therapy-video {
  position: relative;
  overflow: hidden;
  background: var(--surface-subtle);
}

.tcard .therapy-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Preview films are decorative; keep iOS from opening its native control
     chrome over a card-sized surface when someone begins a page scroll. */
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transform: scale(1.01);
  transition: transform var(--duration-base) var(--ease-out);
}

.media > video[data-preview-video] {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.video-motion-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--duration-fast) linear;
}

.video-motion-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media.is-playing .video-motion-fallback {
  opacity: 0;
  transition: opacity var(--duration-fast) linear;
}

.video-preview-retry {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  min-width: var(--control-min);
  min-height: var(--control-min);
  display: none;
  place-items: center;
  translate: -50% -50%;
  color: var(--cream);
  background: rgba(13, 55, 51, .9);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(5, 35, 31, .3), inset 0 1px 0 rgba(255, 255, 255, .2);
  -webkit-tap-highlight-color: transparent;
  transition: scale var(--duration-fast) var(--ease-out);
}

.media.autoplay-blocked .video-preview-retry {
  display: grid;
}

.media.is-playing .video-preview-retry {
  display: none;
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
  .video-motion-fallback {
    display: block;
  }
}

.tcard .therapy-product {
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .78), transparent 58%), var(--surface-subtle);
}

.tcard .therapy-product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.tcard .cat,
.tcard .count {
  font-size: var(--text-xs);
}

.tcard h3 {
  font-size: var(--text-xl);
}

.tcard ul {
  font-size: var(--text-sm);
}

.tcard .foot {
  min-height: var(--control-min);
  padding-top: var(--stack-xs);
  border-top: 1px solid var(--border-subtle);
}

.tcard .ex,
.card-action {
  min-height: var(--control-min);
  margin: calc(0px - var(--space-2)) calc(0px - var(--space-2)) calc(0px - var(--space-2)) 0;
  padding: var(--space-2) var(--stack-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  border-radius: var(--radius-control);
  color: var(--forest);
  font-size: var(--text-sm);
  font-weight: 650;
}

.tcard .ex > span {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.tcard .ex:hover > span {
  transform: translateX(.25rem);
}

.price,
.metric .mv,
.scale .n,
#test .cn,
.compare-table {
  font-variant-numeric: tabular-nums;
}

.tnote,
.tcard .count,
.ba .cap {
  color: var(--text-muted);
}

.ba .follow-up-label {
  color: var(--forest-light);
}

.tnote {
  max-width: 60rem;
  margin-inline: auto;
  font-size: var(--text-xs);
}

.scale .wrap {
  gap: var(--stack-md);
  padding-block: var(--section-block-compact);
}

.scale .s {
  padding: var(--stack-md);
}

/* Goal finder */
.goal .wrap {
  max-width: 70rem;
}

.chips {
  margin-block: var(--stack-xl) var(--stack-md);
}

.reco-card {
  width: min(100%, 48rem);
  min-height: 7.5rem;
  margin: var(--stack-lg) auto 0;
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  display: grid;
  gap: var(--space-1);
  text-align: left;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
}

.reco-card__label {
  color: var(--forest-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

.reco-card strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.reco-card span:last-child {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.goal-actions {
  display: flex;
  justify-content: center;
  gap: var(--stack-sm);
  flex-wrap: wrap;
  margin-top: var(--stack-lg);
}

.goal .wrap > .btn,
.panel .head .btn {
  margin-top: var(--stack-lg);
}

/* Lab / slider */
.lab {
  color: var(--text-inverse-primary);
  background-color: var(--surface-inverse);
  border-radius: var(--radius-panel);
}

.lab h2,
.lab h3,
.lab .metric .mn,
.lab .metric .mv {
  color: var(--text-inverse-primary);
}

.tracking-lab {
  margin-top: var(--space-5);
}

.tracking-lab h3 {
  font-size: var(--text-2xl);
}

.lab p {
  color: var(--text-inverse-secondary);
}

.lab .eyebrow,
.lab-timeline strong {
  color: var(--accent-inverse);
}

.lab .inner {
  padding: var(--panel-padding);
  gap: clamp(var(--stack-xl), 5vw, var(--space-8));
}

.sliderbox {
  padding: var(--stack-md);
  background-color: var(--surface-inverse-raised);
  border-color: var(--border-inverse);
}

.sliderbox .lbls {
  color: var(--text-inverse-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
}

input[type="range"].rng {
  width: 100%;
  height: var(--control-min);
  background: transparent !important;
  cursor: pointer;
  touch-action: pan-y;
}

input[type="range"].rng::-webkit-slider-runnable-track {
  height: .4rem;
  border-radius: var(--radius-control);
  background: linear-gradient(90deg, var(--accent-inverse) var(--p, 30%), var(--track-inverse) var(--p, 30%));
}

input[type="range"].rng::-webkit-slider-thumb {
  width: 1.75rem;
  height: 1.75rem;
  /* Optical centering against the 6.4px native track; not layout spacing. */
  margin-top: calc((.4rem - 1.75rem) / 2);
}

input[type="range"].rng::-moz-range-track {
  height: .4rem;
  border-radius: var(--radius-control);
  background: var(--track-inverse);
}

input[type="range"].rng::-moz-range-progress {
  height: .4rem;
  border-radius: var(--radius-control);
  background: var(--accent-inverse);
}

.metric .mn small {
  color: var(--text-inverse-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  margin-left: var(--space-2);
}

.metric .mn {
  font-size: var(--text-sm);
}

.metric .mv .delta {
  font-size: var(--text-xs);
}

.metric-unit {
  color: var(--text-inverse-muted) !important;
  font-size: var(--text-xs) !important;
  font-weight: 500;
}

.lab-timeline {
  margin-top: var(--stack-md);
  color: var(--text-inverse-muted) !important;
  font-size: var(--text-sm);
}

.lab .evidence-note {
  color: var(--text-inverse-secondary);
  background: var(--surface-inverse-raised);
  border-color: var(--border-inverse);
  font-size: var(--text-sm);
  line-height: 1.5;
  text-align: left;
}

.lab .track {
  background: var(--track-inverse);
}

/* Evidence clarity */
.evidence-note {
  margin-top: var(--stack-md);
  padding: var(--stack-sm) var(--stack-md);
  border-radius: 1rem;
  color: var(--text-secondary);
  background: var(--surface-card);
  background: color-mix(in srgb, var(--surface-card) 78%, transparent);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  text-align: center;
}

.proof .evidence-note {
  margin-bottom: var(--stack-lg);
  text-align: left;
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--forest-light);
  font-weight: 650;
  font-style: normal;
}

.stat .quote {
  font-style: normal;
}

/* Dense information uses more opaque sheets. */
.panel {
  gap: clamp(var(--stack-xl), 5vw, var(--space-8));
}

.cats {
  gap: var(--stack-sm);
}

.cat {
  padding: var(--stack-md);
  border-color: var(--border-subtle);
}

.cat:hover {
  transform: none;
}

.docs {
  gap: var(--stack-md);
}

.doc {
  padding: var(--space-5);
}

.doc .media {
  width: 4.25rem;
  height: 4.25rem;
}

.trust-links {
  margin-top: var(--stack-lg);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--stack-sm);
}

.trust-links a {
  min-height: var(--control-min);
  padding: var(--space-2) var(--stack-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-control);
  color: var(--forest);
  background: var(--surface-card);
  font-size: var(--text-sm);
  font-weight: 650;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.trust-links a:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

/* CULTR-branded white-label supplement service */
.supplement-quality {
  background: var(--surface-subtle);
}

.supplement-quality.pad {
  padding-block: var(--section-block-compact);
}

.supplement-quality-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(var(--space-6), 5vw, var(--space-8));
  align-items: start;
}

.supplement-quality-copy {
  max-width: none;
}

.supplement-quality-answer {
  max-width: var(--measure-body);
  color: var(--text-secondary);
  font-size: var(--text-lg) !important;
  line-height: var(--leading-body);
}

.supplement-quality-verification {
  margin-top: var(--space-6);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: var(--space-7) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  border: 1px solid var(--border-inverse);
  border-radius: var(--radius-card);
  color: var(--text-inverse-primary);
  background: var(--surface-inverse);
  box-shadow: var(--shadow-card-hover);
}

.supplement-quality-seal {
  width: var(--space-7);
  height: var(--space-7);
  display: grid;
  place-items: center;
  border: 1px solid var(--border-inverse);
  border-radius: 50%;
  color: var(--accent-inverse);
  background: var(--surface-inverse-raised);
}

.supplement-quality-verification > span:last-child {
  min-width: 0;
  display: grid;
  gap: var(--space-1);
}

.supplement-quality-verification small,
.supplement-quality-verification em {
  color: var(--text-inverse-muted);
  font-size: var(--text-xs);
  font-style: normal;
  line-height: var(--leading-small);
}

.supplement-quality-verification small {
  color: var(--accent-inverse);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

.supplement-quality-verification strong {
  color: var(--text-inverse-primary);
  font-size: var(--text-md);
  line-height: var(--leading-heading);
}

.supplement-quality-detail,
.supplement-quality-grid {
  display: grid;
  gap: var(--space-4);
}

.supplement-quality-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.supplement-quality-card {
  min-width: 0;
  margin: 0;
  padding: var(--card-padding);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.supplement-quality-card h3 {
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-heading);
}

.supplement-quality-card h3 span {
  min-width: var(--space-6);
  min-height: var(--space-6);
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--forest-light);
  background: var(--surface-subtle);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
}

.supplement-quality-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.supplement-quality-actions {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.supplement-quality-citations {
  margin-top: var(--space-2);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text-muted);
  background: var(--surface-card);
  background: color-mix(in srgb, var(--surface-card) 82%, transparent);
  font-size: var(--text-xs);
  line-height: var(--leading-small);
}

.supplement-quality-citations p {
  max-width: var(--measure-body);
}

.supplement-quality-citations strong {
  color: var(--text-primary);
}

/* Semantic comparison table */
.compare-scroll {
  margin-top: var(--stack-xl);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 41rem;
  border-collapse: collapse;
  background: var(--surface-card);
  font-size: var(--text-sm);
}

.compare-table th,
.compare-table td {
  padding: var(--stack-md) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.compare-table th:first-child {
  width: 44%;
  text-align: left;
}

.compare-table thead th {
  color: var(--text-primary);
  background: var(--surface-subtle);
  font-weight: 700;
}

.compare-table thead th:nth-child(2) {
  color: var(--cream);
  background: var(--forest);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.compare-table tbody th {
  color: var(--text-primary);
  font-weight: 550;
}

.compare-table td:nth-child(2) {
  color: var(--forest);
  background: var(--surface-subtle);
  background: color-mix(in srgb, var(--sage) 20%, var(--surface-card));
  font-weight: 700;
}

.compare-table td:nth-child(3) {
  color: var(--text-muted);
}

.compare-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* Pricing */
.tiers {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.25rem), 1fr));
  margin-top: var(--stack-section);
}

.tier {
  padding: var(--space-5);
}

.tier:hover,
.tier:focus-within {
  transform: translateY(-.3rem);
}

.tier-kicker {
  width: fit-content;
  margin-bottom: var(--stack-sm);
  padding: var(--space-1) var(--stack-sm);
  border-radius: var(--radius-control);
  color: var(--forest-light);
  background: var(--sage-soft);
  background: color-mix(in srgb, var(--sage) 28%, transparent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}

.tier .price {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

.tier .price small {
  font-size: var(--text-xs);
  line-height: var(--leading-small);
}

.tier .btn {
  width: 100%;
}

.pricing-note {
  width: min(100%, 54rem);
  margin: var(--stack-lg) auto 0;
  padding: var(--stack-md) var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  color: var(--text-secondary);
  background: var(--surface-card);
  background: color-mix(in srgb, var(--surface-card) 78%, transparent);
  font-size: var(--text-xs);
  text-align: center;
}

/* FAQ */
.faq {
  max-width: 52rem;
  margin-top: var(--stack-xl);
}

.q {
  border-color: var(--border-subtle);
}

.q button {
  min-height: 4rem;
  padding-block: var(--stack-md);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  transition: transform var(--duration-fast) var(--ease-out);
}

.q .a[hidden] {
  display: none;
}

.q.open .a {
  max-height: none;
  overflow: visible;
}

.q .a p {
  padding-bottom: var(--stack-lg);
  color: var(--text-secondary);
}

/* Footer + sticky conversion */
.socials a {
  min-width: var(--control-min);
  min-height: var(--control-min);
}

.f-brand p,
.f-brand .addr,
.fcol a {
  font-size: var(--text-sm);
}

.footer-logo {
  width: clamp(11rem, 22vw, 16rem);
  height: auto;
}

.fcol h3 {
  color: var(--accent-inverse);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: none;
  margin-bottom: var(--stack-md);
}

.fcol a {
  min-height: var(--control-min);
  display: flex;
  align-items: center;
  color: var(--text-inverse-secondary);
}

.fcol a:hover,
.fcol a:focus-visible {
  color: var(--text-inverse-primary);
}

footer {
  color: var(--text-inverse-primary);
  background-color: var(--surface-inverse-deep);
}

.f-brand p {
  color: var(--text-inverse-secondary);
}

.f-brand .addr,
.f-bottom,
footer .unavailable-link[aria-disabled="true"] {
  color: var(--text-inverse-muted);
}

footer .unavailable-link[aria-disabled="true"] {
  opacity: 1;
}

footer .fcol .unavailable-link[aria-disabled="true"]:hover,
footer .fcol .unavailable-link[aria-disabled="true"]:focus-visible {
  color: var(--text-inverse-muted);
}

footer .socials a,
footer .socials .unavailable-link[aria-disabled="true"] {
  color: var(--text-inverse-primary);
  background: var(--surface-inverse-raised);
  border-color: var(--border-inverse);
  opacity: 1;
}

footer .socials svg {
  stroke: currentColor;
}

footer .socials [fill="#FCFBF7"] {
  fill: currentColor;
}

.f-bottom {
  border-color: var(--border-inverse);
  font-size: var(--text-xs);
}

.f-top {
  position: relative;
}

.f-brand .addr a,
.footer-legal a {
  color: var(--text-inverse-secondary);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.f-brand .addr a,
.dialog-footnote a {
  min-height: var(--control-min);
  display: inline-flex;
  align-items: center;
}

.f-brand .addr a:hover,
.footer-legal a:hover {
  color: var(--text-inverse-primary);
}

.footer-legal {
  flex: 1 1 100%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-1) var(--stack-md);
}

.footer-legal a {
  min-width: var(--control-min);
  min-height: var(--control-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-certification {
  position: absolute;
  top: clamp(3rem, 8vh, 5.25rem);
  right: 0;
  width: 6.5rem;
  min-width: 6.5rem;
  min-height: var(--control-min);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: var(--radius-sm);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast);
}

.footer-certification img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-certification:focus-visible {
  outline-color: var(--cream);
  outline-offset: var(--space-2);
}

.footer-certification:hover {
  transform: translateY(-2px) scale(1.02);
}

.sticky {
  bottom: calc(var(--stack-md) + var(--safe-bottom));
  width: min(calc(100% - max(var(--stack-md), var(--safe-left)) - max(var(--stack-md), var(--safe-right))), 34rem);
  min-height: 4.25rem;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--stack-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  border: 1px solid var(--sticky-edge-visible);
  border-radius: var(--radius-control);
  background: var(--sticky-surface-visible);
  box-shadow: var(--sticky-shadow-visible);
  isolation: isolate;
  overflow: visible;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.sticky::before {
  content: "";
  position: absolute;
  inset: -.35rem;
  z-index: 0;
  border-radius: inherit;
  background: var(--sticky-halo);
  filter: blur(var(--sticky-halo-blur));
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
}

.sticky > * {
  position: relative;
  z-index: 1;
}

body:not(.menu-locked):not(.dialog-open) .sticky.show:not(.is-suppressed)::before {
  opacity: .26;
  animation: none;
}

@keyframes sticky-illuminate {
  from {
    opacity: .22;
    transform: scale(.998);
  }
  to {
    opacity: .32;
    transform: scale(1.006);
  }
}

.sticky-note {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.sticky-eyebrow {
  margin-bottom: .2rem;
  color: var(--forest);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.sticky-note strong {
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.sticky-note small {
  margin-top: var(--space-1);
  overflow: hidden;
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky .btn {
  position: relative;
  min-height: var(--control-min);
  padding-inline: var(--stack-md);
  flex: none;
  box-shadow: var(--sticky-button-shadow);
}

/*
 * The source keeps a real same-page link available until the assessment
 * enhancer has successfully bound its button. This covers iOS Files/Quick
 * Look and partial-script failures without exposing a dead dialog trigger.
 */
.sticky [data-assessment] {
  display: none;
}

.sticky[data-sticky-ready] [data-assessment] {
  display: inline-flex;
}

.sticky[data-sticky-ready] .sticky-fallback-action {
  display: none;
}

.sticky .btn::after {
  display: none;
}

.sticky:not(.show),
.sticky.is-suppressed,
body.menu-locked .sticky,
body.dialog-open .sticky {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  translate: -50% 1rem !important;
}

body:not(.menu-locked):not(.dialog-open) .sticky.show:not(.is-suppressed) {
  visibility: visible;
}

/*
 * The baseline inline scroll manager runs before the shared enhancement and
 * mirrors its hero/pricing/footer lifecycle. Never force an unmanaged fixed
 * control onscreen: if scripts are unavailable, the in-flow hero CTA remains.
 */
@media (max-width: 1024px) {
  /* If the inline lifecycle itself never starts, fail visibly with the real
     #goals link. A managed lifecycle still owns entrance and suppression. */
  body:not(.menu-locked):not(.dialog-open) .sticky:not([data-sticky-lifecycle]):not(.is-suppressed) {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    translate: -50% 0 !important;
    border-color: var(--sticky-edge-visible) !important;
    background: var(--sticky-surface-visible) !important;
    box-shadow: var(--sticky-shadow-visible) !important;
  }

  body:not(.menu-locked):not(.dialog-open) .sticky:not([data-sticky-lifecycle]):not(.is-suppressed)::before {
    z-index: 0;
    opacity: .3;
  }

  body:not(.menu-locked):not(.dialog-open) .sticky.show:not([data-adaptive]):not(.is-suppressed) {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    translate: -50% 0 !important;
    border-color: var(--sticky-edge-visible) !important;
    background: var(--sticky-surface-visible) !important;
    box-shadow: var(--sticky-shadow-visible) !important;
  }

  body:not(.menu-locked):not(.dialog-open) .sticky.show:not([data-adaptive]):not(.is-suppressed)::before {
    z-index: 0;
    opacity: .3;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  body:not(.menu-locked):not(.dialog-open) .sticky.show:not(.is-suppressed)::before {
    opacity: .3;
    animation: sticky-illuminate 4.8s var(--ease-out) infinite alternate;
  }
}

.sticky:not(.show)::before,
.sticky.is-suppressed::before,
body.menu-locked .sticky::before,
body.dialog-open .sticky::before {
  animation: none;
  opacity: 0;
}

/* Assessment dialog: a working, non-data-collecting conversion experience. */
.assessment-dialog {
  width: min(calc(100% - var(--space-6)), 42rem);
  max-width: calc(100% - max(var(--stack-md), var(--safe-left)) - max(var(--stack-md), var(--safe-right)));
  max-height: min(46rem, calc(100vh - 2rem));
  max-height: min(46rem, calc(100dvh - 2rem));
  max-height: min(46rem, calc(var(--visual-viewport-height) - max(2rem, calc(var(--safe-top) + var(--safe-bottom) + 1rem))));
  margin: auto;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  box-shadow: 0 2rem 7rem rgba(8, 32, 29, .28);
}

.assessment-dialog::backdrop {
  background: rgba(6, 24, 22, .58);
  backdrop-filter: blur(.45rem);
  -webkit-backdrop-filter: blur(.45rem);
}

.dialog-shell {
  display: grid;
  max-height: inherit;
  grid-template-rows: auto minmax(0, 1fr);
}

.dialog-head {
  position: static;
  min-height: 0;
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--stack-md);
  color: var(--text-primary);
  background: transparent !important;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.dialog-head p {
  color: var(--forest-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

.dialog-head h2 {
  margin-top: var(--space-1);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.dialog-close {
  width: var(--control-min);
  height: var(--control-min);
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--forest);
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  transition: transform var(--duration-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .logo:hover {
    opacity: .82;
    transform: translateY(-1px);
  }

  .menu-btn:hover,
  .dialog-close:hover {
    background-color: color-mix(in srgb, var(--mint) 24%, transparent);
    border-color: color-mix(in srgb, var(--forest) 34%, transparent);
  }

  .video-preview-retry:hover {
    scale: 1.06;
    background-color: var(--forest);
  }

  .q button:hover {
    color: var(--forest-light);
    transform: translateX(var(--space-1));
  }
}

.logo:active,
.menu-btn:active,
.dialog-close:active {
  opacity: .76;
}

.logo:active,
.dialog-close:active {
  transform: scale(.975);
}

.video-preview-retry:active {
  scale: .94;
}

.dialog-body {
  padding: var(--space-5);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.assessment-step {
  display: grid;
  gap: var(--stack-md);
}

.assessment-step[hidden] {
  display: none;
}

.assessment-step > p {
  color: var(--text-secondary);
}

.assessment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--stack-sm);
}

.assessment-option {
  min-height: 4rem;
  padding: var(--stack-sm) var(--stack-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  border: 1px solid var(--border-subtle);
  border-radius: 1.1rem;
  color: var(--text-primary);
  background: var(--surface-subtle);
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.assessment-option::after {
  content: "→";
  color: var(--forest-light);
}

.assessment-option:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.assessment-result {
  padding: var(--space-5);
  display: grid;
  gap: var(--stack-sm);
  border: 1px solid var(--border-subtle);
  border-radius: 1.2rem;
  background: var(--surface-subtle);
}

.assessment-result h3 {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-heading);
}

.assessment-result span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.dialog-actions {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
  flex-wrap: wrap;
}

.dialog-actions .btn {
  flex: 1 1 12rem;
}

.dialog-footnote {
  color: var(--text-muted) !important;
  font-size: var(--text-xs);
}

.dialog-footnote a {
  color: var(--forest-light);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.dialog-footnote a:hover {
  color: var(--forest-deep);
  text-decoration-thickness: .12em;
}

/* Full-width reference films carry the same visual weight as the care bento. */
.story-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.story-video {
  cursor: default;
}

.story-media-grid .story-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 39rem;
  aspect-ratio: 16 / 9;
  background: var(--forest-deep);
}

.story-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-video .video-motion-fallback img {
  object-fit: cover;
}

.story-video .media-credit {
  position: absolute;
  z-index: 3;
  right: var(--space-3);
  top: var(--space-3);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-control);
  color: var(--cream);
  background: rgba(8, 36, 33, .82);
  font-size: var(--text-xs);
  line-height: var(--leading-small);
  backdrop-filter: blur(.5rem);
  -webkit-backdrop-filter: blur(.5rem);
}

.story-video .media-credit a {
  min-height: var(--control-min);
  padding: var(--space-2) var(--space-3);
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.story-video .media-credit a:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36);
}

.story-video .media-credit strong {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (max-width: 680px) {
  .story-media-grid {
    grid-template-columns: 1fr;
  }
}

.slot-label {
  max-width: calc(100% - var(--space-6));
  padding: var(--space-2) var(--stack-sm);
  border-radius: var(--radius-control);
  color: var(--cream);
  background: rgba(8, 36, 33, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: var(--text-xs);
  font-weight: 650;
  text-align: center;
}

/* Progressive disclosure keeps the first scan visual and decision-led. */
.tgrid {
  display: block;
}

.featured-care-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.care-card-note,
.section-qualifier {
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-small);
}

.care-card-note {
  min-height: 2.5em;
  margin: calc(0px - var(--space-2)) 0 var(--space-4);
}

.section-qualifier {
  max-width: var(--measure-body);
  margin: var(--space-4) auto 0;
  text-align: center;
}

.read-more,
.care-more {
  margin-top: var(--space-5);
}

.read-more > summary,
.care-more > summary {
  width: fit-content;
  min-height: var(--control-lg);
  margin-inline: auto;
  padding: var(--space-2) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-control);
  color: var(--forest);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.read-more > summary::-webkit-details-marker,
.care-more > summary::-webkit-details-marker {
  display: none;
}

.read-more > summary::marker,
.care-more > summary::marker {
  content: "";
}

.read-more > summary span,
.care-more > summary span {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.read-more[open] > summary span,
.care-more[open] > summary span {
  transform: rotate(180deg);
}

.read-more > summary:active,
.care-more > summary:active {
  transform: scale(.98);
}

.care-more-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.panel-more,
.supplement-quality-detail {
  margin-top: 0;
}

.panel-more > summary,
.supplement-quality-detail > summary {
  margin-bottom: var(--space-5);
}

.comparison-more {
  max-width: 64rem;
  margin-inline: auto;
}

.results-more > summary {
  margin-top: var(--space-5);
}

/* A real interface illustration replaces missing outcome-photo placeholders. */
.progress-preview {
  width: min(100%, 62rem);
  margin: var(--space-6) auto 0;
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  display: grid;
  gap: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-panel);
  color: var(--text-primary);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.progress-preview__head,
.progress-preview__foot,
.progress-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.progress-preview__head {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: .04em;
  text-transform: none;
}

.progress-preview__head strong {
  color: var(--forest);
}

.progress-preview__row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 5rem;
  font-size: var(--text-sm);
  font-weight: 650;
}

.progress-preview__row i {
  position: relative;
  height: .5rem;
  overflow: hidden;
  border-radius: var(--radius-control);
  background: var(--surface-subtle);
}

.progress-preview__row i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--forest-light));
  transform: scaleX(var(--progress));
  transform-origin: left center;
}

.progress-preview__row b {
  color: var(--forest-light);
  font-size: var(--text-xs);
  text-align: right;
}

.progress-preview__foot {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.hero-film {
  overflow: hidden;
}

.hero-film video,
.hero-photo > img,
.hero-film .video-motion-fallback,
.hero-film .video-motion-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-film video,
.hero-photo > img,
.hero-film .video-motion-fallback img {
  object-fit: cover;
  object-position: center;
}

.hero-photo > img {
  object-position: 66% 48%;
  transform: scale(1.12);
}

@media (max-width: 1088px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(25rem, .95fr);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step .ln {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: grid;
    margin-left: auto;
  }

  .mobile-panel {
    position: fixed;
    top: auto;
    left: max(var(--gutter-sheet), var(--safe-left));
    right: max(var(--gutter-sheet), var(--safe-right));
    bottom: calc(var(--gutter-sheet) + var(--safe-bottom));
    z-index: 70;
    max-height: calc(100vh - var(--space-5) - var(--safe-top) - var(--safe-bottom));
    max-height: calc(100dvh - var(--space-5) - var(--safe-top) - var(--safe-bottom));
    max-height: calc(var(--visual-viewport-height) - var(--space-5) - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
  }

  body.menu-locked .sticky {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: clamp(var(--space-7), 9vw, 5.5rem);
  }

  .hero-copy {
    order: 1;
    align-self: start;
  }

  .stage {
    order: 2;
    height: clamp(18rem, 65vw, 25rem);
    margin-top: var(--stack-lg);
  }

  .stage-bg {
    inset: 4% 2%;
  }

  .hero-photo > img {
    object-position: 68% 48%;
    transform: scale(1.16);
  }

  .panel,
  .lab .inner {
    grid-template-columns: 1fr;
  }

  .tiers,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .f-brand {
    grid-column: 1 / -1;
  }

  .supplement-quality-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter-page: 1.25rem;
    --section-block: clamp(var(--space-8), 16vw, 5rem);
    --card-padding: var(--space-5);
    --panel-padding: var(--space-5);
  }

  html {
    scroll-padding-top: calc(5.25rem + var(--safe-top));
  }

  section[id] {
    scroll-margin-top: calc(5.25rem + var(--safe-top));
  }

  .promo {
    min-height: var(--control-min);
    font-size: var(--text-xs);
  }

  .nav {
    min-height: var(--nav-mobile);
  }

  .logo img,
  .logo svg {
    height: var(--control-min);
  }

  .mobile-panel {
    left: max(var(--stack-xs), var(--safe-left));
    right: max(var(--stack-xs), var(--safe-right));
    bottom: calc(var(--stack-xs) + var(--safe-bottom));
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 50.4px);
  }

  .hero-mark {
    left: 50%;
    right: auto;
    top: 16%;
    width: max-content;
    transform: translate(-50%, -50%);
    font-size: clamp(6rem, 29vw, 8rem);
    letter-spacing: -.06em;
    -webkit-text-stroke-width: 1px;
  }

  .hero-inner {
    padding-block: var(--space-6);
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero .sub {
    font-size: 1rem;
  }

  .hero .micro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: var(--space-4) 0 0;
    order: 2;
  }

  .hero .micro span {
    min-width: 0;
    padding-inline: var(--space-2);
    line-height: 1.3;
    white-space: normal;
  }

  .hero-cta {
    display: grid;
    align-items: stretch;
    order: 1;
  }

  .hero-qualifier {
    order: 2;
    margin-top: var(--space-3);
  }

  .cta-note {
    order: 3;
  }

  .hero-cta .btn,
  .hero-cta .watch {
    width: 100%;
  }

  .hero-cta .watch {
    justify-content: center;
  }

  .stage {
    height: 17rem;
  }

  .pcard {
    width: min(18rem, calc(100% - 2rem));
    padding: var(--stack-md);
  }

  .chip.c1,
  .chip.c2,
  .chip.c3 {
    font-size: var(--text-xs);
  }

  .chip.c2,
  .chip.vial {
    right: 0;
  }

  .stage {
    margin-bottom: calc(var(--space-6) + var(--control-min));
  }

  .stage-caption {
    left: var(--space-3);
    right: var(--space-3);
    top: calc(100% + var(--space-6));
    bottom: auto;
    max-width: none;
    display: block;
  }

  .cred .wrap {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .cred span {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .steps,
  .tiers,
  .stat-grid,
  .cats,
  .supplement-quality-grid,
  .f-top {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-certification {
    width: 5.5rem;
    min-width: 5.5rem;
  }

  .f-brand {
    padding-right: 7rem;
  }

  .step {
    display: grid;
    grid-template-columns: var(--control-min) 1fr;
    column-gap: var(--stack-md);
  }

  .step .n {
    grid-row: 1 / span 2;
  }

  .step p {
    grid-column: 2;
  }

  .filter,
  .chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-left: calc(0px - max(var(--gutter-page), var(--safe-left)));
    margin-right: calc(0px - max(var(--gutter-page), var(--safe-right)));
    padding-left: max(var(--gutter-page), var(--safe-left));
    padding-right: max(var(--gutter-page), var(--safe-right));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filter::-webkit-scrollbar,
  .chips::-webkit-scrollbar {
    display: none;
  }

  .fbtn,
  .gchip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .ba {
    grid-template-columns: 1fr;
  }

  .ba .media {
    aspect-ratio: 4 / 3;
  }

  .compare-scroll {
    margin-left: calc(0px - max(var(--gutter-page), var(--safe-left)));
    margin-right: calc(0px - max(var(--gutter-page), var(--safe-right)));
    border-radius: 0;
    border-inline: 0;
  }

  .assessment-options {
    grid-template-columns: 1fr;
  }

  .dialog-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: var(--stack-md);
    background: var(--surface-card) !important;
  }

  .dialog-body {
    padding: var(--stack-md);
    padding-bottom: max(var(--stack-md), var(--safe-bottom));
  }

  .sticky {
    width: min(calc(100% - max(var(--stack-sm), var(--safe-left)) - max(var(--stack-sm), var(--safe-right))), 34rem);
    min-height: 4.25rem;
    padding-left: var(--stack-sm);
  }

  .sticky-note {
    flex: 1 1 10rem;
  }

  .sticky-note small {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: var(--text-xs);
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sticky-eyebrow {
    display: none;
  }

  .sticky .btn {
    min-width: 0;
    max-width: 46%;
    padding-inline: var(--stack-sm);
    font-size: max(.8125rem, 13px);
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

/* On phone widths the comparison reads as complete per-feature cards, not a hidden table column. */
@media (max-width: 480px) {
  /* Keep the review switcher out of the first iPhone viewport. */
  .note,
  .promo {
    display: none;
  }

  header {
    top: 0;
    padding-top: var(--safe-top);
  }

  /* Ordinary content reflows; no hidden horizontal gesture is required. */
  .cred .wrap {
    min-height: 0;
    padding-block: var(--stack-md);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: var(--stack-sm);
    overflow: visible;
    scroll-snap-type: none;
  }

  .cred span {
    min-width: 0;
    min-height: var(--control-min);
    padding: var(--space-2);
    align-items: flex-start;
    line-height: var(--leading-small);
    white-space: normal;
    scroll-snap-align: none;
  }

  .filter,
  .chips {
    margin-inline: 0;
    padding-inline: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--control-gap);
    overflow: visible;
    scroll-snap-type: none;
  }

  .fbtn,
  .gchip {
    width: 100%;
    min-width: 0;
    min-height: var(--control-min);
    padding-inline: var(--space-2);
    justify-content: center;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    scroll-snap-align: none;
  }

  .filter .fbtn:last-child:nth-child(odd),
  .chips .gchip:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

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

  .filter .fbtn:last-child:nth-child(odd) {
    grid-column: 2;
  }

  .tcard .media {
    aspect-ratio: 4 / 3;
  }

  .supplement-quality-actions {
    display: grid;
  }

  .supplement-quality-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .compare-scroll {
    margin-inline: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .compare-table {
    min-width: 0;
    display: block;
    background: transparent;
  }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .compare-table tbody {
    display: grid;
    gap: var(--stack-sm);
  }

  .compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
  }

  .compare-table tbody th,
  .compare-table tbody th:first-child {
    grid-column: 1 / -1;
    width: 100%;
    padding: var(--stack-sm) var(--stack-md);
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
  }

  .compare-table tbody td {
    min-width: 0;
    padding: var(--stack-sm) var(--stack-md) var(--stack-md);
    display: grid;
    align-content: start;
    gap: var(--space-1);
    border-bottom: 0;
    font-size: var(--text-sm);
    text-align: left;
  }

  .compare-table tbody td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: none;
  }

  .compare-table tbody td:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Hims-inspired mobile pacing: one visual decision per viewport with a visible next card. */
@media (max-width: 640px) {
  :root {
    --section-block: clamp(3.5rem, 13vw, 4.5rem);
  }

  .lifestyle-head {
    margin-bottom: var(--space-5);
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .lifestyle-head h2 {
    max-width: 8ch;
  }

  .lifestyle-grid {
    gap: var(--space-5);
  }

  .lifestyle-card__label {
    inset: 0;
    padding: clamp(1.35rem, 7vw, 2rem);
  }

  .lifestyle-card__label strong {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .lifestyle-note {
    margin-top: 0;
    text-align: left;
  }

  .head h2 {
    font-size: clamp(32px, 9.2vw, 43px);
  }

  .head p,
  .hero .sub {
    line-height: 1.5;
  }

  .hero-inner {
    gap: var(--space-5);
    padding-block: var(--space-5) var(--space-6);
  }

  .hero h1 {
    max-width: 10.5ch;
    margin-block: var(--space-2) var(--space-4);
  }

  .hero-mark {
    top: 8rem;
    font-size: clamp(7rem, 31vw, 9rem);
  }

  .stage {
    height: clamp(27rem, 62svh, 34rem);
    margin: var(--space-2) 0 0;
  }

  .stage-bg {
    inset: 0;
  }

  .hero-photo > img {
    object-position: 69% 50%;
    transform: scale(1.38);
  }

  .stage .chip {
    display: none;
  }

  .pcard {
    left: 50%;
    top: auto;
    bottom: var(--space-4);
    width: min(19rem, calc(100% - var(--space-6)));
    padding: var(--space-4);
    translate: -50% 0;
  }

  .pcard .ring-row {
    display: none;
  }

  .stage-caption {
    left: auto;
    right: var(--space-3);
    top: var(--space-3);
    bottom: auto;
    max-width: 12rem;
  }

  .filter {
    display: none !important;
  }

  .featured-care-row,
  .steps,
  .docs,
  .tiers,
  .care-more-grid,
  .results-more .stat-grid {
    margin-left: calc(0px - max(var(--gutter-page), var(--safe-left)));
    margin-right: calc(0px - max(var(--gutter-page), var(--safe-right)));
    padding: var(--space-3) max(var(--gutter-page), var(--safe-left)) var(--space-6);
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 21rem);
    gap: var(--space-4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: max(var(--gutter-page), var(--safe-left));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-care-row::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .docs::-webkit-scrollbar,
  .tiers::-webkit-scrollbar,
  .care-more-grid::-webkit-scrollbar,
  .results-more .stat-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-care-row > *,
  .steps > *,
  .docs > *,
  .tiers > *,
  .care-more-grid > *,
  .results-more .stat-grid > * {
    min-width: 0;
    scroll-snap-align: start;
  }

  .featured-care-row .tcard .media {
    aspect-ratio: 4 / 5;
  }

  .care-more-grid {
    margin-top: var(--space-4);
  }

  .steps {
    margin-top: var(--space-6);
  }

  .step {
    display: block;
  }

  .step .n {
    margin-bottom: var(--space-4);
  }

  .step p {
    grid-column: auto;
  }

  .docs,
  .tiers {
    margin-top: var(--space-6);
  }

  .read-more > summary,
  .care-more > summary {
    width: 100%;
  }

  .progress-preview {
    padding: var(--space-5);
    gap: var(--space-4);
  }

  .progress-preview__row {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .progress-preview__row b {
    grid-column: 1 / -1;
    text-align: left;
  }

  .results-more .stat-grid {
    margin-top: var(--space-4);
  }

  .marquee {
    display: none;
  }

  .supplement-quality-verification {
    margin-top: var(--space-5);
  }

  .scale .wrap {
    padding-block: var(--space-7);
  }
}

@media (max-width: 376px) {
  .mobile-actions {
    grid-template-columns: 1fr;
  }

  .sticky {
    gap: var(--space-2);
  }

  .sticky .btn {
    width: auto;
  }

}

@media (max-width: 340px) {
  .cred .wrap {
    grid-template-columns: 1fr;
  }

  .sticky {
    padding: var(--space-2);
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--radius-panel);
  }

  .filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter .fbtn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .sticky-note {
    flex: 0 0 auto;
    text-align: center;
  }

  .sticky .btn {
    max-width: none;
    width: 100%;
  }
}

/* Short iPhone landscape viewports keep the hero useful without a 400px visual block. */
@media (orientation: landscape) and (max-width: 1024px) and (max-height: 496px) {
  /* Preserve the decision and CTA inside short iPhone landscape viewports. */
  .note,
  .promo {
    display: none;
  }

  .nav {
    min-height: 3.5rem;
  }

  .logo img,
  .logo svg {
    height: var(--space-6);
  }

  .hero-mark {
    left: 50%;
    right: auto;
    top: 43%;
    width: max-content;
    transform: translate(-50%, -50%);
    font-size: clamp(5.5rem, 18vw, 9.5rem);
    letter-spacing: -.06em;
    -webkit-text-stroke-width: 1px;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, .8fr);
    gap: clamp(var(--space-5), 3vw, var(--space-6));
    padding-block: var(--space-4);
  }

  .hero-copy {
    order: 1;
    align-self: start;
  }

  .hero h1 {
    margin-block: var(--space-1) var(--space-3);
    font-size: clamp(34px, 4.7vw, 40px);
    line-height: 1;
  }

  .hero .sub,
  .hero .micro,
  .hero .cta-note,
  .hero .hero-qualifier {
    display: none;
  }

  .hero-cta .watch {
    display: none;
  }

  .hero-cta .btn {
    min-height: var(--control-min);
    padding-block: var(--space-2);
  }

  .stage {
    order: 2;
    height: min(17rem, calc(var(--visual-viewport-height) - 3rem));
    margin-top: 0;
  }

  .mobile-panel {
    left: max(var(--gutter-sheet), var(--safe-left));
    right: max(var(--gutter-sheet), var(--safe-right));
    bottom: calc(var(--stack-xs) + var(--safe-bottom));
    max-height: calc(var(--visual-viewport-height) - var(--stack-md) - var(--safe-top) - var(--safe-bottom));
    padding: var(--space-2);
  }

  .mobile-panel-head {
    margin-bottom: var(--stack-xs);
    padding-bottom: var(--stack-xs);
  }

  .mobile-panel nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
  }

  .mobile-panel nav a {
    min-height: var(--control-min);
    padding: var(--space-2) var(--stack-sm);
  }

  .mobile-panel nav a:last-child {
    grid-column: 1 / -1;
  }

  .mobile-actions {
    margin-top: var(--stack-xs);
    padding-top: var(--stack-xs);
  }
}

/* Mobile Safari can retain :hover after a tap; touch feedback comes from :active. */
@media (hover: none), (pointer: coarse) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .fcol a {
    min-height: var(--control-min);
  }

  .btn:hover,
  .fbtn:hover,
  .gchip:hover,
  .tcard:hover,
  .tier:hover,
  .stat:hover,
  .doc:hover,
  .assessment-option:hover {
    transform: none;
  }

  .btn:hover .arrow,
  .tcard .ex:hover > span,
  input[type="range"].rng::-webkit-slider-thumb:hover {
    transform: none;
  }

  /* Native-feeling, non-sticky tap feedback for iPhone and iPad. */
  .btn:active,
  .fbtn:active,
  .gchip:active,
  .watch:active,
  .promo a:active,
  .dialog-footnote a:active,
  .footer-certification:active,
  #story .media-credit a:active,
  .assessment-option:active,
  .menu-btn:active,
  .dialog-close:active {
    transform: scale(.975);
    transition-duration: var(--duration-fast);
  }

  .btn:active .arrow {
    transform: translateX(.18rem);
  }

  .mobile-panel nav a:active,
  .trust-links a:active,
  .footer-legal a:active,
  .socials a:active,
  .tcard .ex:active {
    transform: scale(.98);
  }

  /* Scroll-position feedback replaces unavailable persistent hover on iPhone. */
  html.touch-motion .lifestyle-card,
  html.touch-motion .step,
  html.touch-motion .tcard,
  html.touch-motion .stat,
  html.touch-motion .tier,
  html.touch-motion .doc,
  html.touch-motion .ba,
  html.touch-motion #test .cat,
  html.touch-motion .supplement-quality-card {
    transition-property: transform, opacity;
  }

  html.touch-motion .lifestyle-card.is-touch-active,
  html.touch-motion .step.is-touch-active,
  html.touch-motion .tcard.is-touch-active,
  html.touch-motion .stat.is-touch-active,
  html.touch-motion .tier.is-touch-active,
  html.touch-motion .doc.is-touch-active,
  html.touch-motion .ba.is-touch-active,
  html.touch-motion #test .cat.is-touch-active,
  html.touch-motion .supplement-quality-card.is-touch-active {
    transform: translateY(-.25rem) scale(1.005);
  }

  html.touch-motion .is-touch-pressed {
    transform: translateY(0) scale(.985) !important;
    transition-duration: var(--duration-fast) !important;
  }

  html.touch-motion .tcard.is-touch-active .therapy-video video {
    transform: scale(1.04);
  }

  html.touch-motion .lifestyle-card.is-touch-active .lifestyle-card__image {
    transform: scale(1.025);
  }

  html.touch-motion .tcard.is-touch-active .therapy-product img,
  html.touch-motion .tcard.is-touch-active .media > svg {
    transform: scale(1.025);
  }

  .ph-tag {
    display: none;
  }

  .assessment-dialog::backdrop {
    background: rgba(6, 24, 22, .68);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-scrim {
    background: rgba(6, 24, 22, .68);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-scrim,
  .assessment-dialog::backdrop {
    background: rgba(6, 24, 22, .76);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@supports (height: 100dvh) {
  :root {
    --visual-viewport-height: 100dvh;
  }
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.skip {
  top: var(--safe-top);
  padding: var(--space-3) var(--space-4);
}

.f-bottom {
  padding-bottom: max(var(--space-5), var(--safe-bottom));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee .track2 {
    animation: none !important;
    flex-wrap: wrap;
    white-space: normal;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }

  .video-motion-fallback {
    display: none !important;
  }

  .sticky::before {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid Highlight !important;
    outline-offset: 3px;
    box-shadow: none !important;
  }

  .btn,
  .fbtn,
  .gchip,
  .step,
  .tcard,
  .stat,
  .tier,
  .doc,
  .cat,
  .assessment-option,
  .mobile-panel {
    border: 1px solid CanvasText !important;
    box-shadow: none !important;
  }

  .btn-primary,
  [aria-pressed="true"] {
    forced-color-adjust: none;
  }
}

@media print {
  .note,
  .promo,
  header,
  .sticky,
  .marquee,
  .filter,
  .hero .stage {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Figma desktop import — staging rebuild                                      */
/* -------------------------------------------------------------------------- */

.figma-rebuild {
  --figma-section-space: clamp(5rem, 10vw, 10rem);
  --figma-card-gap: clamp(1rem, 1.5vw, 1.5rem);
  overflow-x: clip;
}

.figma-rebuild h1,
.figma-rebuild h2,
.figma-rebuild h3 {
  text-wrap: balance;
}

.figma-rebuild main {
  display: flex;
  flex-direction: column;
}

.figma-rebuild main > .hero { order: 1; }
.figma-rebuild main > .cred:not(.cred--repeated) { order: 2; }
.figma-rebuild #care { order: 3; }
.figma-rebuild .cred--after-care { order: 4; }
.figma-rebuild .figma-how { order: 5; }
.figma-rebuild .cred--after-how { order: 6; }
.figma-rebuild .figma-biomarkers { order: 7; }
.figma-rebuild .cred--after-test { order: 8; }
.figma-rebuild .supplement-quality { order: 9; }
.figma-rebuild #pricing { order: 10; }
.figma-rebuild #docs { order: 11; }
.figma-rebuild #faq { order: 12; }

.figma-rebuild :is(#care, #how, #test, #pricing, #docs, #faq) {
  scroll-margin-top: 7rem;
}

.figma-rebuild .hero {
  padding: clamp(1.5rem, 3vw, 3rem) 0 0;
  background: transparent;
}

.figma-rebuild .hero-inner {
  position: relative;
  display: block;
  min-height: clamp(34rem, 46vw, 39rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  contain: paint;
  background: #28a4cc;
  border-radius: 0;
}

.figma-rebuild .hero-copy {
  position: relative;
  z-index: 2;
  width: min(48%, 34rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.figma-rebuild .hero .eyebrow {
  display: none;
}

.figma-rebuild .hero h1 {
  max-width: 8ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 5.5vw, 5.7rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.065em;
}

.figma-rebuild .hero h1 .accent {
  color: inherit;
}

.figma-rebuild .hero .sub {
  max-width: 12ch;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  color: #155258;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3.35rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}

.figma-rebuild .hero-cta {
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
}

.figma-rebuild .hero .btn-primary {
  color: var(--cream);
  background: var(--forest-deep);
}

.figma-rebuild .hero .watch {
  color: #155258;
}

.figma-rebuild .hero-qualifier {
  max-width: 30rem;
  margin: 1rem 0 0;
  color: rgba(15, 59, 65, .88);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.figma-rebuild .hero .stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
}

.figma-rebuild .hero .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 164, 204, .97) 0%, rgba(35, 164, 204, .78) 38%, rgba(35, 164, 204, .08) 66%);
}

.figma-rebuild .hero .stage-bg,
.figma-rebuild .hero .stage-bg img {
  width: 100%;
  height: 100%;
}

.figma-rebuild .hero .stage-bg img {
  object-fit: cover;
  object-position: center;
}

.figma-rebuild .cred {
  margin-top: clamp(2rem, 4vw, 4.5rem);
  color: rgba(255, 255, 255, .92);
  background: var(--forest);
}

.figma-rebuild .cred--repeated {
  margin-top: 0;
}

.figma-rebuild .cred .wrap {
  min-height: 4.25rem;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 2rem);
}

.figma-rebuild .cred span {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--text-xs);
  white-space: nowrap;
}

.figma-rebuild .lifestyle-showcase {
  padding-block: var(--figma-section-space) clamp(3rem, 7vw, 7rem);
}

.figma-rebuild .lifestyle-head {
  align-items: flex-end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.figma-rebuild .lifestyle-head h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.figma-rebuild .lifestyle-head p:not(.eyebrow) {
  max-width: 33rem;
  margin: .35rem 0 0;
  color: var(--text-secondary);
  font-size: var(--text-md);
}

.figma-rebuild .lifestyle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(24rem, 1fr);
  gap: var(--figma-card-gap);
}

.figma-rebuild .lifestyle-card,
.figma-rebuild .lifestyle-card--sexual,
.figma-rebuild .lifestyle-card--hormones,
.figma-rebuild .lifestyle-card--metabolic,
.figma-rebuild .lifestyle-card--recovery,
.figma-rebuild .lifestyle-card--longevity,
.figma-rebuild .lifestyle-card--skin {
  grid-column: auto;
  min-height: 0;
  height: clamp(22rem, 31vw, 31rem);
  border-radius: 1.25rem;
}

.figma-rebuild .lifestyle-card__label {
  display: block;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.figma-rebuild .lifestyle-card__label strong {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 9ch;
  font-size: clamp(2rem, 4.5vw, 4.15rem);
  line-height: .88;
}

.figma-rebuild .lifestyle-card__label > span {
  position: absolute;
  top: clamp(1.1rem, 2.5vw, 1.75rem);
  right: clamp(1.1rem, 2.5vw, 1.75rem);
}

.figma-rebuild .figma-how {
  padding-block: var(--figma-section-space) clamp(4rem, 8vw, 8rem);
}

.figma-rebuild .how-visual {
  position: relative;
  min-height: clamp(36rem, 61vw, 59rem);
  overflow: hidden;
  background: var(--forest-deep);
}

.figma-rebuild .how-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 21, 20, .22) 0%, transparent 40%, rgba(1, 21, 20, .38) 100%);
}

.figma-rebuild .how-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.figma-rebuild .how-visual h2 {
  position: absolute;
  z-index: 2;
  top: clamp(2rem, 5vw, 4.5rem);
  left: 50%;
  width: min(100% - 3rem, 32rem);
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: .95;
  text-align: center;
  transform: translateX(-50%);
}

.figma-rebuild .how-visual .steps {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--figma-card-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.figma-rebuild .how-visual .step {
  min-height: 10.75rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: #fff;
  background: rgba(61, 175, 212, .95);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 .75rem 1.75rem rgba(1, 28, 32, .22);
}

.figma-rebuild .how-visual .step .n {
  width: 2rem;
  height: 2rem;
  margin-bottom: .9rem;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: #c4f3d8;
  border-radius: 50%;
  font-weight: 700;
}

.figma-rebuild .how-visual .step h3 {
  margin: 0;
  color: inherit;
  font-family: var(--font-ui);
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.15;
}

.figma-rebuild .how-visual .step p,
.figma-rebuild .how-visual .step .ln {
  display: none;
}

.figma-rebuild .process-qualifier {
  margin-top: 1rem;
  text-align: center;
}

.figma-rebuild .figma-biomarkers {
  padding-block: var(--figma-section-space) clamp(3rem, 6vw, 6rem);
  background: var(--cream);
}

.figma-rebuild .biomarker-visual {
  position: relative;
  max-width: 68.75rem;
  min-height: clamp(23rem, 35vw, 34rem);
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background: var(--forest-deep);
  border-radius: 1.25rem;
}

.figma-rebuild .biomarker-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 31, 29, .82), rgba(12, 31, 29, .1) 72%);
}

.figma-rebuild .biomarker-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-rebuild .biomarker-visual__copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(1.5rem, 5vw, 4rem);
  width: min(29rem, calc(100% - 3rem));
  transform: translateY(-50%);
}

.figma-rebuild .biomarker-visual h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .9;
}

.figma-rebuild .biomarker-visual p {
  max-width: 18ch;
  margin: 1rem 0 1.5rem;
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.15;
}

.figma-rebuild .panel-more {
  max-width: 68.75rem;
  margin: 1.25rem auto 0;
}

.figma-rebuild .marquee {
  margin-top: 1.25rem;
}

.figma-rebuild .supplement-quality {
  padding-block: var(--figma-section-space);
}

.figma-rebuild .supplement-quality-layout {
  grid-template-columns: minmax(0, .9fr) minmax(17rem, .65fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 9rem);
}

.figma-rebuild .supplement-quality-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: .9;
}

.figma-rebuild .supplement-quality-product {
  max-width: 26rem;
  margin: 0 auto;
}

.figma-rebuild .supplement-quality-product img {
  width: 100%;
  height: auto;
  display: block;
}

.figma-rebuild .supplement-quality-detail {
  display: none;
}

.figma-rebuild #pricing,
.figma-rebuild #docs,
.figma-rebuild #faq {
  padding-block: var(--figma-section-space);
}

.figma-rebuild #pricing .wrap,
.figma-rebuild #docs .wrap,
.figma-rebuild #faq .wrap {
  max-width: 69rem;
}

.figma-rebuild #pricing .head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.figma-rebuild .tiers {
  gap: var(--figma-card-gap);
}

.figma-rebuild .tier {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 1rem;
}

.figma-rebuild .tier ul {
  margin-block: 1.25rem;
}

.figma-rebuild #docs .head,
.figma-rebuild #faq .head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.figma-rebuild #faq {
  background: var(--cream);
}

.figma-rebuild .faq {
  max-width: 52rem;
  margin: 0 auto;
}

.figma-rebuild .faq .q button:focus-visible,
.figma-rebuild .lifestyle-card:focus-visible,
.figma-rebuild .how-visual .step:focus-visible,
.figma-rebuild .btn:focus-visible {
  outline: 3px solid #79e7be;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .figma-rebuild {
    --figma-section-space: clamp(4.5rem, 17vw, 7rem);
  }

  .figma-rebuild .hero {
    padding-top: 1rem;
  }

  .figma-rebuild .hero-inner {
    min-height: 43rem;
    padding: 1.75rem;
  }

  .figma-rebuild .hero-copy {
    width: min(100%, 25rem);
  }

  .figma-rebuild .hero h1 {
    max-width: 7ch;
    font-size: clamp(3.25rem, 13vw, 4.8rem);
  }

  .figma-rebuild .hero .sub {
    max-width: 11ch;
    font-size: clamp(1.75rem, 8vw, 2.8rem);
  }

  .figma-rebuild .hero .stage::after {
    background: linear-gradient(180deg, rgba(35, 164, 204, .94) 0%, rgba(35, 164, 204, .7) 48%, rgba(35, 164, 204, .12) 78%);
  }

  .figma-rebuild .hero .stage-bg img {
    object-position: 65% center;
  }

  .figma-rebuild .cred .wrap {
    min-height: 0;
    padding-block: .65rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .figma-rebuild .cred .wrap::-webkit-scrollbar {
    display: none;
  }

  .figma-rebuild .lifestyle-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .figma-rebuild .lifestyle-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .figma-rebuild .lifestyle-card,
  .figma-rebuild .lifestyle-card--sexual,
  .figma-rebuild .lifestyle-card--hormones,
  .figma-rebuild .lifestyle-card--metabolic,
  .figma-rebuild .lifestyle-card--recovery,
  .figma-rebuild .lifestyle-card--longevity,
  .figma-rebuild .lifestyle-card--skin {
    height: clamp(23rem, 105vw, 32rem);
  }

  .figma-rebuild .how-visual {
    min-height: 43rem;
  }

  .figma-rebuild .how-visual h2 {
    top: 1.5rem;
    font-size: clamp(2.75rem, 12vw, 4.5rem);
  }

  .figma-rebuild .how-visual .steps {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: .65rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .figma-rebuild .how-visual .step {
    min-height: 8.8rem;
    padding: 1rem;
  }

  .figma-rebuild .how-visual .step .n {
    width: 1.7rem;
    height: 1.7rem;
    margin-bottom: .6rem;
    font-size: .8rem;
  }

  .figma-rebuild .how-visual .step h3 {
    font-size: .9rem;
  }

  .figma-rebuild .biomarker-visual {
    min-height: 32rem;
  }

  .figma-rebuild .biomarker-visual::after {
    background: linear-gradient(180deg, rgba(12, 31, 29, .7), rgba(12, 31, 29, .18) 80%);
  }

  .figma-rebuild .biomarker-visual__copy {
    top: 1.75rem;
    left: 1.5rem;
    transform: none;
  }

  .figma-rebuild .supplement-quality-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .figma-rebuild .supplement-quality-product {
    max-width: 20rem;
    order: -1;
  }

  .figma-rebuild .tiers {
    grid-template-columns: 1fr;
  }

  .figma-rebuild .docs,
  .figma-rebuild .tiers {
    width: auto;
    margin: 0;
    padding: 0;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
  }
}
