/* Future Self RX quiz — light surfaces with the brand's molecule blue. */

:root {
  --accent: #2453E0;
  --accent-soft: rgba(36, 83, 224, 0.12);
  --accent-glow: rgba(36, 83, 224, 0.40);
  --accent-ink: #0A245F;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-2: #F6F7F8;
  --card: #FFFFFF;
  --card-hover: #F3F4F6;
  --card-elev: #FFFFFF;
  --line: rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.14);
  --soft: rgba(0,0,0,0.03);

  /* Ink */
  --ink: #15181B;
  --ink-2: rgba(21,24,27,0.86);
  --ink-3: rgba(21,24,27,0.60);
  --ink-4: rgba(21,24,27,0.42);
  --ink-5: rgba(21,24,27,0.22);

  /* Semantic */
  --success: #10A37F;
  --success-bg: rgba(16, 163, 127, 0.12);
  --warn: #C7891B;
  --danger: #E5484D;

  /* Card plate (for portrait body cards) */
  --plate: radial-gradient(80% 100% at 50% 50%, #F3F4F6 0%, #FFFFFF 100%);
  --plate-selected: radial-gradient(80% 100% at 50% 50%, rgba(36,83,224,0.14) 0%, #FFFFFF 100%);

  /* Type — Sora is heavy/geometric, matches the fitness funnel display font */
  --display: "Sora", "Manrope", -apple-system, system-ui, sans-serif;
  --ui:      "Manrope", "Sora", -apple-system, system-ui, sans-serif;
  --mono:    "Geist Mono", ui-monospace, monospace;

  /* Radii / motion */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Result-page card system — 3-tier radius scale + one elevated-card shadow.
     Scoped to the long-form LP so the quiz screens keep their own radii. */
  --rc-lg: 22px;   /* hero / band / MD / pricing */
  --rc-md: 16px;   /* cards / accordions */
  --rc-sm: 12px;   /* chips / pills */
  --shadow-card: 0 18px 44px -24px rgba(0,0,0,.7);

  /* Layout — phone-width column, centered (MadMuscles-style) */
  --content-max: 440px;
  --header-h: 64px;
  --progress-h: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--ui);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; }
input, select { font: inherit; color: inherit; }

/* ─── Top app bar ──────────────────────────────────────────── */
.sp-app {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.sp-topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.sp-topbar-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 20px;
  gap: 16px;
}
.sp-back {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.06);
  color: var(--ink);
  transition: background 0.15s var(--ease);
  justify-self: start;
}
.sp-back:hover { background: rgba(0,0,0,0.12); }
.sp-back:disabled { opacity: 0; pointer-events: none; }

.sp-topbar-right {
  display: flex; align-items: center; gap: 22px;
  justify-self: end;
  color: var(--ink);
  font-size: 15px; font-weight: 600;
}
.sp-topbar-right .sp-link { color: var(--ink); cursor: pointer; transition: color 0.15s; }
.sp-topbar-right .sp-link:hover { color: var(--accent); }
.sp-menu {
  display: grid; place-items: center; width: 28px; height: 28px;
  color: var(--ink); cursor: pointer;
  background: none; border: 0; padding: 0;
  -webkit-appearance: none; appearance: none;
}
.sp-menu:hover { color: var(--accent); }

/* ── legal/help dropdown hung off the ☰ ───────────────────── */
.sp-menu-wrap { position: relative; display: flex; align-items: center; }
.sp-menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 210px;
  background: var(--card-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.06);
  padding: 6px;
  z-index: 40;
  display: flex; flex-direction: column;
  animation: sp-menu-in 0.14s var(--ease);
}
@keyframes sp-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sp-menu-item {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s var(--ease), color 0.12s var(--ease);
}
.sp-menu-item:hover { background: var(--card-hover); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sp-menu-panel { animation: none; } }

/* Wordmark — Future Self RX white lockup */
.sp-wordmark {
  display: inline-flex; align-items: center;
  line-height: 1;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  /* the wordmark renders as a <button> inside the quiz (tap = first question), so
     strip the UA button chrome and keep it visually identical to the old <a>. */
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.sp-wordmark .sp-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Progress bar */
.sp-progress-wrap {
  position: relative;
  height: var(--progress-h);
  background: var(--line-strong);
}
.sp-progress-fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--accent);
  transition: width 0.45s var(--ease);
  box-shadow: 0 0 16px var(--accent-glow);
}
.sp-progress-count {
  position: absolute;
  top: 8px; right: 20px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  font-weight: 600;
}

/* ─── Main layout ─────────────────────────────────────────── */
.sp-main {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 56px 24px 0;
}
.sp-screen-inner {
  width: 100%;
  max-width: var(--content-max);
  display: flex; flex-direction: column;
  gap: 28px;
  padding-bottom: 140px; /* leave room for sticky footer */
}
/* "wide" screens (image grids) stay phone-width too — centered, not sprawled */
.sp-screen-inner.wide { max-width: var(--content-max); }

.sp-title-block {
  text-align: center;
  display: flex; flex-direction: column; gap: 10px;
  align-items: center;
}

/* ─── Type ────────────────────────────────────────────────── */
.sp-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 33px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.sp-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 5.5vw, 25px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.sp-sub {
  font-family: var(--ui);
  font-size: 15px; line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
  max-width: 540px;
  text-wrap: pretty;
}
.sp-eyebrow {
  font-family: var(--ui);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.sp-tiny { font-size: 12px; line-height: 1.45; color: var(--ink-4); }
.sp-mono { font-family: var(--mono); }

/* ─── Sticky CTA footer ───────────────────────────────────── */
.sp-footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  padding: 24px 24px 32px;
  background: linear-gradient(180deg, rgba(14, 16, 17, 0) 0%, var(--bg) 40%);
  display: flex; justify-content: center;
  pointer-events: none;
  z-index: 5;
}
.sp-footer-inner {
  width: 100%;
  max-width: 420px;
  pointer-events: auto;
  display: flex; flex-direction: column; gap: 10px;
}

/* ─── Primary CTA (brand-blue pill) ───────────────────────── */
.sp-cta {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.005em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 20px -6px rgba(36,83,224, 0.4),
              0 1px 0 rgba(0,0,0,0.18) inset;
  transition: transform 0.12s var(--ease), box-shadow 0.2s var(--ease), filter 0.15s;
}
.sp-cta:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 12px 30px -8px rgba(36,83,224, 0.5); }
.sp-cta:active { transform: translateY(1px); }
.sp-cta:disabled { opacity: 0.4; box-shadow: none; cursor: not-allowed; }
.sp-cta.ghost {
  background: transparent; color: var(--ink-2); box-shadow: none;
  border: 1px solid var(--line-strong);
}

/* ─── Option card (horizontal row) ────────────────────────── */
.sp-card {
  position: relative;
  background: var(--card);
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  padding: 13px 15px;
  display: flex; align-items: center; gap: 13px;
  text-align: left;
  transition: all 0.15s var(--ease);
  width: 100%;
  color: var(--ink);
}
.sp-card:hover { background: var(--card-hover); }
.sp-card:active { transform: scale(0.995); }
.sp-card.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
}
.sp-card-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.sp-card-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.sp-card-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,0,0,0.05);
  display: grid; place-items: center;
  color: var(--ink-2);
}
.sp-card-icon.dot {
  background: var(--accent-soft); color: var(--accent);
}
.sp-card.selected .sp-card-icon.dot { background: var(--accent); color: #fff; }
.sp-card-grow { flex: 1 1 auto; min-width: 0; }
.sp-card-trail {
  flex: 0 0 auto;
  color: var(--ink-4);
}

/* Multi-select checkbox */
.sp-check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  color: transparent; transition: 0.15s;
  flex: 0 0 auto;
}
.sp-card.selected .sp-check { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Single-select radio circle */
.sp-radio {
  width: 22px; height: 22px; border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.sp-card.selected .sp-radio { border-color: var(--accent); }
.sp-card.selected .sp-radio::after {
  content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--accent);
}

/* ─── Portrait/body card (dark plate w/ image or silhouette) ─ */
.sp-portrait {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--plate);
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.28);
  transition: all 0.18s var(--ease);
  display: flex; flex-direction: column;
  cursor: pointer;
  /* Global compact cap — overrides the per-screen inline height props
     (300/260/258) so every image card is small & consistent. */
  max-height: 208px !important;
}
.sp-portrait:hover { border-color: rgba(0,0,0,0.45); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sp-portrait:hover:not(.selected) {
    border-color: rgba(36,83,224, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(0,0,0,0.6);
  }
  .sp-portrait:active { transform: translateY(0); }
}
.sp-portrait.selected {
  border-color: var(--accent);
  background: var(--plate-selected);
  box-shadow: 0 0 0 1px var(--accent),
              0 12px 32px -8px rgba(36,83,224, 0.25);
}
.sp-portrait-body {
  flex: 1 1 auto;
  min-height: 120px;            /* guarantee a box for the absolute image (mobile flex height can otherwise collapse) */
  display: grid; place-items: center;
  padding: 12px 8px 6px;
  position: relative;
}
.sp-portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sp-portrait-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,20,0) 55%, rgba(11,14,20,0.55) 100%);
  pointer-events: none;
}
.sp-portrait-label {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 9px 12px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.sp-portrait.selected .sp-portrait-label {
  background: rgba(36,83,224, 0.18);
  color: var(--ink);
}

/* Solid accent label bar (image + blue stripe + arrow) */
.sp-portrait-label.accent {
  background: var(--accent);
  color: #fff;
  border-top: 0;
  font-weight: 800;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.sp-portrait.selected .sp-portrait-label.accent { background: var(--accent); color: #fff; }
.sp-portrait-arrow {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(0,0,0, 0.22);
  color: #fff;
  display: grid; place-items: center;
}

/* ─── Goal cards (full-width row: label left · model image right) ─── */
.sp-goalcard {
  position: relative; width: 100%;
  display: flex; align-items: stretch;
  background: var(--card); border: 1.5px solid transparent;
  border-radius: var(--r-lg); overflow: hidden;
  min-height: 112px; text-align: left;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.sp-goalcard:hover { background: var(--card); }
.sp-goalcard:active { transform: scale(0.995); }
.sp-goalcard.selected {
  border-color: var(--accent);
  background: var(--card);
}
@media (hover: hover) and (pointer: fine) {
  .sp-goalcard:not(.selected):hover { border-color: rgba(53, 88, 221, 0.28); }
}
.sp-goalcard-text {
  flex: 1 1 auto; min-width: 0;
  padding: 16px 16px 16px 18px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.sp-goalcard-title { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.sp-goalcard-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.sp-goalcard-img { position: relative; flex: 0 0 34%; max-width: 150px; }
.sp-goalcard-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; padding: 8px 12px 8px 0;
  display: block; user-select: none; -webkit-user-drag: none;
  /* The source cutouts have near-white pixels baked into their canvases.
     Normalize those pixels against the card's permanent white background. */
  filter: contrast(1.08) brightness(1.03) saturate(.98);
}
.sp-goalcard-scrim { display: none; }
.sp-goalcard-check {
  position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: #fff; z-index: 2;
}
.sp-goalcard-check.on { background: var(--accent); border-color: var(--accent); }

/* Grid helpers */
.sp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sp-grid-2-tall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sp-stack { display: flex; flex-direction: column; gap: 12px; }
.sp-row { display: flex; align-items: center; gap: 8px; }

/* Divider */
.sp-divider {
  border: 0; border-top: 1px solid var(--line-strong);
  margin: 4px 0; height: 0;
}

/* Banner */
.sp-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--success-bg);
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
  color: var(--success);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px; font-weight: 600;
}
.sp-banner svg { flex: 0 0 auto; }

/* Pill */
.sp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.06); color: var(--ink-2);
  border: 1px solid var(--line);
}
.sp-pill.accent {
  background: var(--accent-soft); color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Input */
.sp-input {
  width: 100%;
  height: 64px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  padding: 0 20px;
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  text-align: center;
}
.sp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.sp-input::placeholder { color: var(--ink-4); font-weight: 500; }

/* Unit toggle */
.sp-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
}
.sp-toggle button {
  height: 36px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-3);
  transition: all 0.15s;
}
.sp-toggle button.on { background: var(--accent); color: #fff; }

/* ─── Dual scroll-wheel height picker (iOS-style) ─── */
.sp-scroll-row { display: flex; justify-content: center; gap: 12px; margin: 8px 0 4px; }
.sp-scroll-row > div { text-align: center; }
.sp-scroll-picker { position: relative; width: 104px; -webkit-mask-image: linear-gradient(transparent 0%, #000 32%, #000 68%, transparent 100%); mask-image: linear-gradient(transparent 0%, #000 32%, #000 68%, transparent 100%); }
.sp-scroll-track { overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; }
.sp-scroll-track::-webkit-scrollbar { display: none; }
.sp-scroll-item { display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); opacity: 0.3; transition: opacity 0.12s; will-change: opacity; }
.sp-scroll-item.sel { color: var(--accent); opacity: 1 !important; }
.sp-scroll-frame { position: absolute; left: 6px; right: 6px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); pointer-events: none; }
.sp-scroll-unit { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.04em; }
.sp-height-readout { text-align: center; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink-2); margin-top: 10px; }


/* Slider */
.sp-slider-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.sp-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--p, 50%), rgba(0,0,0,0.12) var(--p, 50%), rgba(0,0,0,0.12) 100%);
  outline: none;
}
.sp-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(36,83,224, 0.5);
  cursor: pointer;
}
.sp-slider::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--accent); border: 3px solid #fff;
}

/* Loader dots */
@keyframes spbounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4 } 40% { transform: scale(1); opacity: 1 } }
.sp-dots { display: inline-flex; gap: 6px; }
.sp-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: spbounce 1.2s infinite var(--ease); }
.sp-dots span:nth-child(2) { animation-delay: 0.15s; }
.sp-dots span:nth-child(3) { animation-delay: 0.3s; }

/* Loading checklist */
/* SMS opt-in card on the loading screen */
.sp-sms-card {
  background: var(--plate);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 30px -16px rgba(0,0,0,0.6);
}
.sp-sms-card .sp-input { margin-bottom: 4px; }
.sp-sms-done {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(36,83,224,0.08), var(--plate));
  padding: 14px 18px;
}

/* Insight reflection cards — "show your work" after vertical deep-dives */
.sp-insight-header .sp-eyebrow { color: var(--accent); }
.sp-insight-list { display: flex; flex-direction: column; gap: 12px; }
.sp-insight-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--plate);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.sp-insight-ic {
  flex: '0 0 auto'; width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(36,83,224,0.1); color: var(--accent);
}
.sp-insight-body { flex: 1; }
.sp-insight-t { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.sp-insight-d { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* Halfway email capture */
.sp-halfway-capture {
  background: var(--plate);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px;
}
.sp-halfway-capture .sp-input { margin-bottom: 4px; }

/* Paywall value stack — total value vs price + per-day framing */
.sp-valuestack {
  background: var(--plate);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
}
.sp-valuestack-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.sp-vs-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sp-vs-ic {
  width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(36,83,224,0.08); color: var(--accent);
}
.sp-vs-label { flex: 1; font-size: 14px; color: var(--ink-2); }
.sp-vs-val { font-size: 13px; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.sp-vs-divider { height: 1px; background: var(--line-strong); margin: 10px 0 6px; }
.sp-vs-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: var(--ink-3);
}
.sp-vs-total-val { font-weight: 700; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.sp-vs-actual {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 4px;
}
.sp-vs-actual > span:first-child { font-size: 16px; font-weight: 700; color: var(--ink); }
.sp-vs-actual-val {
  font-family: var(--display); font-weight: 800; font-size: 26px;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.sp-vs-save {
  text-align: center; margin-top: 8px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(36,83,224,0.08); border-radius: 8px; padding: 6px 0;
}
.sp-vs-perday {
  text-align: center; margin-top: 10px;
  font-size: 13px; color: var(--ink-3); line-height: 1.4;
}
.sp-vs-perday strong { color: var(--ink); font-weight: 700; }

/* Post-purchase confirmation screen */
.sp-confirmed-badge { margin-bottom: 16px; animation: sp-pop 0.5s var(--ease) both; }
@keyframes sp-pop { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.sp-confirmed-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--plate); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg); padding: 16px 18px;
}
.sp-confirmed-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(36,83,224,0.15); color: var(--accent);
  font-weight: 800; font-size: 14px; font-family: var(--display);
  display: grid; place-items: center;
}
.sp-confirmed-body { flex: 1; }
.sp-confirmed-t { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.sp-confirmed-d { font-size: 13px; line-height: 1.45; color: var(--ink-2); }

.sp-load-list {
  list-style: none; margin: 22px 0 0; padding: 0;
  width: 100%; max-width: 340px;
  display: flex; flex-direction: column; gap: 2px; text-align: left;
}
.sp-load-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 12px;
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.sp-load-item.active { background: var(--card); }
.sp-load-dot {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.sp-load-item.done .sp-load-dot { background: var(--accent); border-color: var(--accent); }
.sp-load-item.active .sp-load-dot { border-color: var(--accent); }
.sp-load-label {
  font-size: 14px; line-height: 1.3; color: var(--ink-4);
  transition: color 0.3s var(--ease);
}
.sp-load-item.done .sp-load-label { color: var(--ink-2); }
.sp-load-item.active .sp-load-label { color: var(--ink); font-weight: 600; }
.sp-load-spin {
  width: 11px; height: 11px; border-radius: 999px;
  border: 2px solid var(--accent-glow); border-top-color: var(--accent);
  animation: sp-load-spin 0.7s linear infinite;
}
@keyframes sp-load-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sp-load-spin { animation: none; border-top-color: var(--accent-glow); }
}

/* Projection chart draw-in */
@media (prefers-reduced-motion: no-preference) {
  .sp-proj-line {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: sp-proj-draw 1.1s var(--ease) 0.15s forwards;
  }
  .sp-proj-fill { opacity: 0; animation: sp-proj-fade 0.7s ease-out 0.7s forwards; }
  .sp-proj-end { opacity: 0; animation: sp-proj-fade 0.4s ease-out 1.1s forwards; }
}
@keyframes sp-proj-draw { to { stroke-dashoffset: 0; } }
@keyframes sp-proj-fade { to { opacity: 1; } }

/* Doctor card */
.sp-doc {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.sp-doc-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, #E6E8EC, #D2D6DD);
  flex: 0 0 auto;
}

/* Star rating */
.sp-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }

/* image-slot styling */
image-slot {
  --is-bg: transparent;
  --is-border: rgba(0,0,0,0.04);
  --is-border-empty: rgba(0,0,0,0.12);
  --is-placeholder-color: rgba(0,0,0,0.4);
  --is-radius: 0;
  display: block;
}

/* ─── Step entrance: staggered answer reveal ───────────────────
   MadMuscles-style. The question appears immediately; each answer card starts
   just above its final position and fades/drops into place top-to-bottom. */
@keyframes spRowIn {
  0%   { opacity: 0; transform: translateY(-56px) scale(0.96); }
  70%  { opacity: 1; transform: translateY(3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.sp-enter .sp-stack > *,
.sp-enter .sp-grid-2 > *,
.sp-enter .sp-grid-2-tall > * {
  animation-name: spRowIn !important;
  animation-duration: 0.95s !important;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  animation-fill-mode: both !important;
  animation-iteration-count: 1 !important;
  transform-origin: top center !important;
  /* will-change removed: forcing compositor layers on entrance cards blanks
     not-yet-decoded images on mobile WebKit. The animation still runs without it. */
}
.sp-enter .sp-stack > *:nth-child(1),  .sp-enter .sp-grid-2 > *:nth-child(1),  .sp-enter .sp-grid-2-tall > *:nth-child(1)  { animation-delay: 0.16s !important; }
.sp-enter .sp-stack > *:nth-child(2),  .sp-enter .sp-grid-2 > *:nth-child(2),  .sp-enter .sp-grid-2-tall > *:nth-child(2)  { animation-delay: 0.38s !important; }
.sp-enter .sp-stack > *:nth-child(3),  .sp-enter .sp-grid-2 > *:nth-child(3),  .sp-enter .sp-grid-2-tall > *:nth-child(3)  { animation-delay: 0.60s !important; }
.sp-enter .sp-stack > *:nth-child(4),  .sp-enter .sp-grid-2 > *:nth-child(4),  .sp-enter .sp-grid-2-tall > *:nth-child(4)  { animation-delay: 0.82s !important; }
.sp-enter .sp-stack > *:nth-child(5),  .sp-enter .sp-grid-2 > *:nth-child(5),  .sp-enter .sp-grid-2-tall > *:nth-child(5)  { animation-delay: 1.04s !important; }
.sp-enter .sp-stack > *:nth-child(6),  .sp-enter .sp-grid-2 > *:nth-child(6),  .sp-enter .sp-grid-2-tall > *:nth-child(6)  { animation-delay: 1.26s !important; }
.sp-enter .sp-stack > *:nth-child(7),  .sp-enter .sp-grid-2 > *:nth-child(7),  .sp-enter .sp-grid-2-tall > *:nth-child(7)  { animation-delay: 1.48s !important; }
.sp-enter .sp-stack > *:nth-child(8),  .sp-enter .sp-grid-2 > *:nth-child(8),  .sp-enter .sp-grid-2-tall > *:nth-child(8)  { animation-delay: 1.70s !important; }
.sp-enter .sp-stack > *:nth-child(9),  .sp-enter .sp-grid-2 > *:nth-child(9)  { animation-delay: 1.92s !important; }
.sp-enter .sp-stack > *:nth-child(10), .sp-enter .sp-grid-2 > *:nth-child(10) { animation-delay: 2.14s !important; }
.sp-enter .sp-stack > *:nth-child(11), .sp-enter .sp-grid-2 > *:nth-child(11) { animation-delay: 2.36s !important; }
.sp-enter .sp-stack > *:nth-child(12), .sp-enter .sp-grid-2 > *:nth-child(12) { animation-delay: 2.58s !important; }

/* ─── Body PHOTO map (clickable highlight zones over real photo) ─── */
.bpm {
  position: relative; width: 100%;
  border-radius: 12px; overflow: hidden;
  background: #F6F7F8;
  line-height: 0;
}
.bpm-img {
  display: block; width: 100%; height: auto;
  user-select: none; -webkit-user-drag: none;
}
.bpm-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.bpm-zone {
  fill: rgba(0,0,0,0);
  stroke: rgba(0,0,0,0.16);
  stroke-width: 0.4;
  cursor: pointer;
  transition: fill 0.18s var(--ease), stroke 0.18s var(--ease);
}
.bpm-zone:hover {
  fill: rgba(0,0,0,0.12);
  stroke: rgba(0,0,0,0.4);
}
.bpm-zone.on {
  fill: color-mix(in srgb, var(--accent) 42%, transparent);
  stroke: var(--accent);
  stroke-width: 0.9;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

/* ─── Result page (long-form reveal + sell) ──────────────────── */
/* Section rhythm: every top-level LP section breathes equally; intra-section
   content stays tight. Reads as deliberate chapters rather than a wall. */
.res-lp { display: flex; flex-direction: column; gap: 40px; }
.res-block { display: flex; flex-direction: column; gap: 11px; }
.res-eyebrow { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.res-h { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rc-md); padding: 16px; box-shadow: var(--shadow-card); }

.res-sales-block { gap: 14px; }
.res-sales-sub {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.45;
  margin: -4px 0 0;
}
.res-reco-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(286px, 88%);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.res-reco-scroll::-webkit-scrollbar { display: none; }
.res-reco-card {
  scroll-snap-align: start;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(36,83,224,.14), transparent 42%),
    linear-gradient(180deg, rgba(0,0,0,.035), transparent 52%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--rc-md);
  padding: 16px;
  display: grid;
  gap: 13px;
  min-height: 330px;
  box-shadow: var(--shadow-card);
}
.res-reco-card--v2 { transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .res-reco-card--v2:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 22px 50px -24px rgba(0,0,0,.78); }
}
.res-reco-head {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 11px;
  align-items: start;
}
.res-reco-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(36,83,224,.20);
}
.res-reco-main { min-width: 0; }
.res-reco-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.res-reco-main h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}
.res-reco-main p {
  margin: 5px 0 0;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.35;
}
.res-reco-price {
  color: var(--accent);
  font-weight: 850;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
}
.res-reco-price span {
  display: block;
  color: var(--ink-4);
  font-size: 10.5px;
  margin-top: 3px;
  font-weight: 700;
}
.res-reco-price.muted {
  color: var(--ink-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.res-reco-why {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.42;
}
.res-reco-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.res-reco-chips span {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.04);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11.5px;
  font-weight: 700;
}
.res-reco-detail-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(36,83,224,.34);
  border-radius: var(--rc-sm);
  background: rgba(36,83,224,.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .res-reco-detail-btn:hover { background: rgba(36,83,224,.14); border-color: rgba(36,83,224,.5); }
}
.res-reco-detail-btn svg {
  flex: 0 0 auto;
  color: var(--accent);
  transition: transform .18s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .res-reco-detail-btn:hover svg { transform: translateX(3px); }
}
.res-reco-detail-grid {
  display: grid;
  gap: 12px;
}
.res-reco-detail-grid p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.48;
  margin: 0;
}
.res-reco-note {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.035);
  border-radius: 12px;
  padding: 11px 12px;
}
.res-reco-card .res-proof-meta span:last-child {
  flex-basis: auto;
  border-radius: 10px;
}
.res-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.res-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(6px);
}
.res-detail-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(86vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--rc-lg) var(--rc-lg) var(--rc-md) var(--rc-md);
  padding: 0;
  box-shadow: 0 -18px 60px rgba(0,0,0,.55);
}
@media (prefers-reduced-motion: no-preference) {
  .res-detail-modal .res-detail-sheet { animation: res-sheet-up .26s var(--ease); }
}
@keyframes res-sheet-up { from { transform: translateY(18px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }
.res-detail-grip {
  position: absolute;
  top: 9px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.4);
}
.res-detail-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 11px;
  color: #fff;
  background: rgba(10,10,12,.5);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
/* vial-hero band */
.res-detail-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px 16px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(36,83,224,.22), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), transparent);
  border-bottom: 1px solid var(--line);
}
.res-detail-hero-vial {
  position: relative;
  width: 64px; height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--plate);
  border: 1px solid var(--line);
}
.res-detail-hero-vial img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 5px; box-sizing: border-box; background: #f5f7fb; }
.res-detail-hero-vial-fb { position: absolute; inset: 0; display: none; place-items: center; color: var(--accent); }
.res-detail-hero-meta { min-width: 0; }
.res-detail-hero-meta h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.05;
  margin: 3px 0 0;
}
.res-detail-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.res-detail-evi, .res-detail-dose {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  padding: 4px 9px; border-radius: 999px;
}
.res-detail-evi { color: var(--accent); background: var(--accent-soft); }
.res-detail-dose { color: var(--ink-3); background: rgba(0,0,0,.05); border: 1px solid var(--line); }
.res-detail-scroll { overflow: auto; padding: 16px 18px 18px; }
.res-detail-cta { margin-top: 16px; }

/* shared icon-led education sections (modal + accordion) */
.res-edu-secs { display: flex; flex-direction: column; gap: 2px; }
.res-edu-sec { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.res-edu-sec:last-child { border-bottom: 0; }
.res-edu-sec-ico {
  flex: 0 0 auto; width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: var(--ink-3);
  background: rgba(0,0,0,.045);
  border: 1px solid var(--line);
  margin-top: 1px;
}
.res-edu-sec-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-4); margin-bottom: 3px;
}
.res-edu-sec-body { min-width: 0; }
.res-edu-sec-body p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.res-edu-sec.is-why { background: var(--accent-soft); border: 1px solid rgba(36,83,224,.22); border-radius: 13px; padding: 12px; margin-bottom: 6px; }
.res-edu-sec.is-why .res-edu-sec-ico { color: var(--accent); background: rgba(36,83,224,.16); border-color: transparent; }
.res-edu-sec.is-why .res-edu-sec-title { color: var(--accent); }
.res-edu-sec.is-why .res-edu-sec-body p { color: var(--ink); }
.res-edu-sec.is-caution .res-edu-sec-ico { color: #F4B441; background: rgba(244,180,65,.12); border-color: transparent; }
.res-edu-sec.is-caution .res-edu-sec-title { color: #F4B441; }
.res-sales-cta { margin-top: 2px; }
.res-inline-checkout-note { margin-top: -7px; text-align: center; }
.res-inline-error { color: #b42318; font-size: 12px; line-height: 1.45; text-align: center; }
.res-support-options {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rc-md);
  background: var(--card);
}
.res-support-toggle {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.res-support-toggle > span:first-child { display: grid; gap: 4px; }
.res-support-toggle strong { font-size: 14px; line-height: 1.25; }
.res-support-toggle small { color: var(--ink-4); font-size: 11.5px; line-height: 1.35; }
.res-support-toggle-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}
.res-support-list {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.res-support-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
}
.res-support-row-media {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--plate);
}
.res-support-row-media img { width: 100%; height: 100%; display: block; object-fit: contain; padding: 3px; box-sizing: border-box; }
.res-support-row-copy { min-width: 0; display: grid; gap: 3px; }
.res-support-row-copy > span { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.res-support-row-copy strong { overflow: hidden; color: var(--ink); font-size: 12.5px; line-height: 1.25; text-overflow: ellipsis; }
.res-support-row-copy small { color: var(--ink-4); font-size: 10.5px; }
.res-support-row-actions { display: grid; justify-items: end; gap: 5px; }
.res-support-row-actions button {
  padding: 3px 0;
  border: 0;
  color: var(--ink-3);
  background: transparent;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 750;
}
.res-support-row-actions button.choose { color: var(--accent); }
.res-support-disclaimer { margin: 2px 3px 0; color: var(--ink-4); font-size: 10px; line-height: 1.45; }
.res-inline-message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border-radius: var(--rc-md);
  background: linear-gradient(145deg, var(--accent-soft), var(--bg-2));
}
.res-inline-message-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.res-inline-message-copy { min-width: 0; }
.res-inline-message h3 { margin: 0; color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1.18; }
.res-inline-message p { margin: 7px 0 13px; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.res-inline-message-cta { min-height: 47px; height: auto; background: var(--card); color: var(--accent); border: 1px solid rgba(36,83,224,.35); box-shadow: none; }
.res-inline-message-cta:hover { background: var(--accent-soft); }
.res-inline-message-help { margin-top: 7px; color: var(--ink-4); font-size: 10.5px; line-height: 1.4; text-align: center; }
.res-inline-message-help a { color: inherit; text-decoration: underline; }

@media (max-width: 390px) {
  .res-support-row { grid-template-columns: 46px minmax(0, 1fr); }
  .res-support-row-media { width: 46px; height: 46px; }
  .res-support-row-actions { grid-column: 2; grid-template-columns: auto auto; justify-content: start; justify-items: start; gap: 14px; }
  .res-inline-message { grid-template-columns: 1fr; }
  .res-inline-message-icon { display: none; }
}

/* per-vertical concept band */
.res-band {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 21 / 9;
  border-radius: var(--rc-lg);
  border: 1px solid var(--line);
}
.res-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.res-band-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 140% at 0% 100%, var(--accent-glow) 0%, rgba(36,83,224,0) 42%),
    linear-gradient(180deg, rgba(13,14,16,0.15) 0%, rgba(13,14,16,0.72) 100%);
}
.res-band-kicker {
  position: absolute; left: 16px; bottom: 13px; right: 16px; z-index: 1;
  font-family: var(--display); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2);
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
}

/* before / after projection */
.res-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.res-ba .ph { position: relative; border-radius: var(--rc-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--plate); border: 1px solid var(--line); }
.res-ba .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.res-ba .ph.after {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 46px -16px var(--accent-glow);
}
/* gradient frame so the transformation pops */
.res-ba .ph.after::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(36,83,224,.5), rgba(36,83,224,0) 45%);
  mix-blend-mode: screen;
}
.res-ba-badge {
  position: absolute; top: 7px; right: 7px; z-index: 3;
  font-size: 9px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 12px -4px var(--accent-glow);
}
.res-ba .cap { text-align: center; font-size: 11.5px; font-weight: 700; margin-top: 7px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.05em; }
.res-ba .cap.after { color: var(--accent); }
.res-ba .arrow { display: grid; place-items: center; }
.res-ba-arrow-chip {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(36,83,224,.34);
  color: var(--accent);
}

/* summary chips */
.res-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.res-chip { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.res-chip .k { font-size: 10.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.06em; }
.res-chip .v { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 2px; }

/* 12-week phases */
.res-phase { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.res-phase:first-child { border-top: 0; padding-top: 2px; }
.res-phase .wk { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; padding-top: 2px; }
.res-phase .pt { font-weight: 700; font-size: 15px; color: var(--ink); }
.res-phase .pd { font-size: 13px; color: var(--ink-3); line-height: 1.45; margin-top: 3px; }

/* included list */
.res-inc { display: flex; gap: 12px; align-items: flex-start; }
.res-inc .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.res-inc .it { font-weight: 700; font-size: 14px; color: var(--ink); }
.res-inc .idsc { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }

/* social proof + testimonial */
.res-stat { text-align: center; padding: 6px 0; }
.res-stat .n {
  font-family: var(--mono); font-weight: 800; font-size: 42px; color: var(--ink); line-height: 1;
  letter-spacing: -0.02em; text-shadow: 0 0 28px var(--accent-glow);
}
.res-stat .sp-stars { color: var(--accent); }
.res-stat .l { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.res-quote .stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.res-quote p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 8px 0 0; }
.res-quote .who { font-size: 12px; color: var(--ink-4); margin-top: 10px; font-weight: 600; }

/* visual proof — before→after thumbnail pair inside a quote card */
.res-quote--proof { padding: 0; overflow: hidden; display: flex; }
.res-quote-pair { display: flex; align-items: stretch; flex: 0 0 auto; }
.res-quote-shot { position: relative; width: 92px; overflow: hidden; background: var(--bg-2); }
.res-quote-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block; }
.res-quote-shot-fb { position: absolute; inset: 0; background: var(--plate); z-index: -1; }
.res-quote-pair-rule { width: 3px; background: var(--accent); flex: 0 0 auto; }
.res-quote-text { flex: 1; min-width: 0; padding: 14px 15px; display: flex; flex-direction: column; justify-content: center; }
.res-quote-text p { margin: 7px 0 0; }
.res-quote-text .who { margin-top: 8px; }

.res-proof-card {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(36,83,224,.08), transparent 46%),
    var(--card);
}
.res-proof-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.res-proof-name {
  font-weight: 800;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}
.res-proof-dose {
  margin-top: 4px;
  color: var(--ink-3);
  font: 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.res-proof-grade {
  flex: 0 0 auto;
  border: 1px solid rgba(36,83,224,.36);
  background: rgba(36,83,224,.10);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.res-proof-grid {
  display: grid;
  gap: 12px;
}
.res-proof-label {
  color: var(--ink-4);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.res-proof-grid p,
.res-proof-meta,
.res-cite {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.48;
  margin: 0;
}
.res-proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.res-proof-meta span {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.035);
  border-radius: 10px;
  padding: 7px 9px;
}
.res-proof-meta span:last-child {
  flex-basis: 100%;
  border-radius: 12px;
}
.res-citations {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.res-cite {
  display: grid;
  gap: 2px;
  padding-left: 10px;
  border-left: 2px solid rgba(36,83,224,.46);
}
.res-cite span {
  color: var(--ink);
  font-weight: 700;
}
.res-cite em {
  color: var(--ink-4);
  font-style: normal;
  font-size: 12px;
}

.checkout-products {
  display: grid;
  gap: 10px;
}
.checkout-products-sub {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.4;
}
.checkout-product {
  width: 100%;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.025);
  color: var(--ink);
  text-align: left;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.checkout-product.selected {
  border-color: rgba(36,83,224,.55);
  background: rgba(36,83,224,.09);
}
.checkout-product:active { transform: scale(.99); }
.checkout-product-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line-strong);
  color: #fff;
  display: grid;
  place-items: center;
}
.checkout-product.selected .checkout-product-check {
  background: var(--accent);
  border-color: var(--accent);
}
.checkout-product-main {
  min-width: 0;
}
.checkout-product-name {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink);
}
.checkout-product-meta {
  margin-top: 3px;
  color: var(--ink-4);
  font-size: 11.5px;
  line-height: 1.35;
}
.checkout-product-price {
  color: var(--accent);
  font: 700 12.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.checkout-products-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 12px;
  padding: 2px 2px 0;
}
.checkout-products-total strong {
  color: var(--ink);
  font-size: 13px;
}

/* ─── Focused GenHealth checkout ─────────────────────────── */
.pay-focus-screen { gap: 20px; }
.pay-focus-hero {
  display: grid;
  gap: 10px;
  padding: 12px 4px 4px;
  text-align: center;
}
.pay-focus-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.pay-focus-hero p {
  margin: 2px auto 0;
  max-width: 42ch;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.pay-focus-primary {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--accent);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 20px 46px -30px rgba(36,83,224,.58);
}
.pay-focus-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pay-focus-match,
.pay-focus-selected {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}
.pay-focus-match {
  color: #fff;
  background: var(--accent);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pay-focus-selected { color: var(--accent); background: var(--accent-soft); }
.pay-focus-product-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}
.pay-focus-product-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(27px, 7.2vw, 36px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.pay-focus-product-head p {
  margin: 6px 0 0;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1.35;
}
.pay-focus-price {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}
.pay-focus-why {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--accent-soft);
}
.pay-focus-why-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
  background: var(--card);
}
.pay-focus-why strong { color: var(--ink); font-size: 13px; }
.pay-focus-why p { margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }
.pay-focus-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pay-focus-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg-2);
  font-size: 11.5px;
  font-weight: 700;
}
.pay-focus-checkout { min-height: 54px; height: auto; padding: 13px 14px; line-height: 1.3; }
.pay-focus-note { text-align: center; }
.pay-focus-error { color: #b42318; text-align: center; font-size: 12px; line-height: 1.45; }
.pay-focus-empty {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.pay-focus-empty h2 { margin: 0; color: var(--ink); font-family: var(--display); font-size: 21px; line-height: 1.15; }
.pay-focus-empty p { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.pay-focus-alternatives {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.pay-focus-alternative-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.pay-focus-alternative-toggle > span:first-child { display: grid; gap: 3px; }
.pay-focus-alternative-toggle strong { font-size: 14px; }
.pay-focus-alternative-toggle small { color: var(--ink-4); font-size: 11.5px; }
.pay-focus-toggle-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}
.pay-focus-alternative-body {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.pay-focus-alternative-option {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
  text-align: left;
}
.pay-focus-radio { width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 999px; }
.pay-focus-alternative-copy { min-width: 0; display: grid; gap: 3px; }
.pay-focus-alternative-copy strong { font-size: 13.5px; line-height: 1.25; }
.pay-focus-alternative-copy small { color: var(--ink-4); font-size: 10.5px; line-height: 1.35; }
.pay-focus-alternative-price { color: var(--accent); font-family: var(--mono); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.pay-focus-alternative-body > p { margin: 0 3px; color: var(--ink-4); font-size: 10.5px; line-height: 1.45; }
.pay-focus-support {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 20px;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--accent-soft), var(--bg-2));
}
.pay-focus-support-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.pay-focus-support-copy { min-width: 0; }
.pay-focus-support h3 { margin: 0; color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1.18; }
.pay-focus-support p { margin: 7px 0 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.pay-focus-message { min-height: 48px; height: auto; background: var(--card); color: var(--accent); border: 1px solid rgba(36,83,224,.35); box-shadow: none; }
.pay-focus-message:hover { background: var(--accent-soft); }
.pay-focus-message-help { margin-top: 8px; color: var(--ink-4); font-size: 10.5px; line-height: 1.4; text-align: center; }
.pay-focus-message-help a { color: inherit; text-decoration: underline; }

@media (max-width: 390px) {
  .pay-focus-screen { gap: 17px; }
  .pay-focus-primary { padding: 17px; }
  .pay-focus-product-head { align-items: flex-start; }
  .pay-focus-product-head h2 { font-size: 27px; }
  .pay-focus-price { font-size: 12px; }
  .pay-focus-checkout { font-size: 13px; }
  .pay-focus-support { grid-template-columns: 1fr; }
  .pay-focus-support-icon { display: none; }
}

/* ─── Body-fat photo slider (crossfade lean → heavy) ─────────── */
.bf-stack {
  position: relative; width: 100%; max-width: 232px; margin: 0 auto;
  aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  background: var(--plate); border: 1px solid var(--line);
  box-shadow: 0 16px 38px -18px rgba(0,0,0,0.65);
}
.bf-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 14%;
  opacity: 0; transition: opacity 0.28s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.bf-img.on { opacity: 1; }
.bf-stack-pct {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center; padding: 14px 12px 10px;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  color: #fff; letter-spacing: -0.01em;
  background: linear-gradient(180deg, rgba(11,14,20,0) 0%, rgba(11,14,20,0.72) 70%);
  pointer-events: none;
}

/* Large conditional education cards */
.edu-screen {
  gap: 30px;
  justify-content: center;
  padding-bottom: 106px;
}
.edu-image-panel {
  position: relative;
  width: min(100%, 470px);
  margin: 0 auto;
  height: clamp(230px, 38vh, 288px);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 70%, rgba(63,111,248,.18), transparent 48%),
    linear-gradient(135deg, #171716, #101211 52%, #171716);
  border: 1px solid rgba(0,0,0,.045);
  box-shadow: 0 22px 60px -34px rgba(0,0,0,.85);
  display: grid;
  place-items: center;
}
.edu-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(15,17,16,.96) 0%, rgba(15,17,16,.55) 9%, transparent 23%, transparent 77%, rgba(15,17,16,.55) 91%, rgba(15,17,16,.96) 100%),
    linear-gradient(180deg, rgba(15,17,16,.46) 0%, transparent 18%, transparent 78%, rgba(15,17,16,.50) 100%),
    radial-gradient(ellipse at 50% 52%, transparent 48%, rgba(15,17,16,.36) 100%);
}
.edu-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
  filter: drop-shadow(0 0 22px rgba(63,111,248,.34));
  user-select: none;
  -webkit-user-drag: none;
}
.edu-transform .edu-img-before {
  opacity: 1;
  filter: saturate(.78) brightness(.82) drop-shadow(0 0 18px rgba(0,0,0,.35));
  animation: eduBeforeOut 2.6s var(--ease) .45s both;
}
.edu-transform .edu-img-after {
  opacity: 0;
  filter: saturate(1.08) brightness(1.08) drop-shadow(0 0 22px rgba(63,111,248,.34));
  animation: eduAfterIn 2.6s var(--ease) .45s both;
}
.edu-scan {
  position: absolute;
  z-index: 2;
  inset: -18% auto -18% -34%;
  width: 34%;
  transform: skewX(-14deg);
  background:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 20%, rgba(0,0,0,.92) 50%, rgba(36,83,224,.52) 68%, transparent 100%);
  filter: blur(.4px) drop-shadow(0 0 18px rgba(0,0,0,.46)) drop-shadow(0 0 28px rgba(36,83,224,.38));
  opacity: 0;
  mix-blend-mode: screen;
  animation: eduScan 2.15s cubic-bezier(.2,.82,.18,1) .58s both;
}
.edu-flash {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0,0,0,.52), rgba(36,83,224,.22) 28%, transparent 62%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: eduFlash 2.5s var(--ease) .55s both;
}
@keyframes eduBeforeOut {
  0%, 36% { opacity: 1; filter: saturate(.78) brightness(.82) drop-shadow(0 0 18px rgba(0,0,0,.35)); }
  54%, 100% { opacity: 0; filter: saturate(.9) brightness(1.05) blur(2px) drop-shadow(0 0 26px rgba(36,83,224,.28)); }
}
@keyframes eduAfterIn {
  0%, 42% { opacity: 0; transform: scale(1.035); filter: saturate(.96) brightness(.9) blur(3px) drop-shadow(0 0 18px rgba(63,111,248,.12)); }
  62%, 100% { opacity: 1; transform: scale(1.08); filter: saturate(1.08) brightness(1.08) drop-shadow(0 0 22px rgba(63,111,248,.34)); }
}
@keyframes eduScan {
  0% { opacity: 0; left: -34%; }
  16% { opacity: .95; }
  70% { opacity: .95; left: 102%; }
  100% { opacity: 0; left: 122%; }
}
@keyframes eduFlash {
  0%, 30% { opacity: 0; }
  44% { opacity: .72; }
  58% { opacity: .22; }
  100% { opacity: 0; }
}
.edu-copy {
  width: min(100%, 540px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.edu-headline {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  color: var(--ink);
  font-size: clamp(28px, 5.8vw, 36px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}
.edu-headline span { color: var(--accent); }
.edu-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.46;
}
.edu-bullets { display: grid; gap: 14px; }
.edu-bullet {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 8px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.42;
}
.edu-check {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
}

/* Educational "feedback" note card (blue) shown under some questions */
.sp-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(63, 111, 248, 0.10);
  border: 1px solid rgba(63, 111, 248, 0.28);
  color: var(--ink-2);
  border-radius: 12px; padding: 12px 14px;
  font-size: 13px; line-height: 1.45;
}
.sp-note svg { flex: 0 0 auto; color: #7e9bff; margin-top: 1px; }
.sp-note-in { animation: spRowIn 0.34s var(--ease) both; }

/* Body silhouette glow (used on portrait cards) */
.bs-glow {
  filter: drop-shadow(0 0 24px rgba(60, 100, 180, 0.3));
}
.sp-portrait.selected .bs-glow {
  filter: drop-shadow(0 0 24px rgba(36,83,224, 0.45));
}

/* Hide scrollbar for cleanliness */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.16); }

/* Mobile responsiveness */
@media (max-width: 640px) {
  .sp-main { padding: 24px 14px 0; }
  .sp-topbar-row { padding: 0 14px; }
  .sp-topbar-right { gap: 14px; font-size: 14px; }
  .sp-topbar-right .sp-link.hide-mobile { display: none; }
  .sp-screen-inner { gap: 18px; padding-bottom: 124px; }
  .sp-grid-2 { gap: 10px; }
  .sp-portrait { max-height: 186px !important; }   /* compact image cards on phones */
  .sp-portrait-label { font-size: 13px; padding: 8px 10px; }
  .sp-card { padding: 12px 13px; gap: 11px; }
  .sp-footer { padding: 16px 14px 22px; }
  .edu-screen { gap: 26px; padding-top: 8px; }
  .edu-image-panel { height: min(34vh, 250px); border-radius: 18px; }
  .edu-copy { gap: 20px; }
  .edu-copy p { font-size: 17px; }
  .edu-bullet { font-size: 16px; }
}

/* ── Tried-before yes/no card stack ── */
.tc-dots { display: flex; gap: 6px; justify-content: center; margin: 2px 0 10px; }
.tc-dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); transition: all .25s var(--ease); }
.tc-dots span.on { background: var(--accent); width: 20px; }
.tc-dots span.done { background: var(--accent); opacity: .45; }
.tc-stage { width: 100%; max-width: 330px; margin: 0 auto; }
.tc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 44px -22px rgba(0,0,0,0.7);
  animation: tcIn .3s var(--ease) both;
}
.tc-card.yes { animation: tcOutR .25s var(--ease) forwards; }
.tc-card.no  { animation: tcOutL .25s var(--ease) forwards; }
.tc-img { aspect-ratio: 1 / 1; background: radial-gradient(80% 100% at 50% 45%, #1c1f24 0%, #101113 100%); display: grid; place-items: center; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-cap { text-align: center; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); padding: 14px 12px; background: var(--bg-2); border-top: 1px solid var(--line); }
.tc-actions { display: flex; gap: 14px; width: 100%; max-width: 330px; margin: 18px auto 0; }
.tc-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 15px 0;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .12s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.tc-btn .tc-ic { color: var(--accent); display: grid; place-items: center; }
.tc-btn:active { transform: scale(.96); }
.tc-btn.no:hover  { border-color: rgba(0,0,0,0.18); }
.tc-btn.yes:hover { border-color: var(--accent); background: var(--accent-soft); }
@keyframes tcIn  { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tcOutR { to { opacity: 0; transform: translateX(70%) rotate(7deg); } }
@keyframes tcOutL { to { opacity: 0; transform: translateX(-70%) rotate(-7deg); } }

/* ── Testimonial before/after tags ── */
.testi-tag {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 0; background: rgba(0,0,0,0.55); color: var(--ink-2);
}
.testi-tag.accent { background: var(--accent); color: #fff; }

/* ════════════════════════════════════════════════════════════════════════
   RESULT LANDING PAGE — premium education + sales (E3 rebuild)
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1 · Personalized hero ── */
.res-hero {
  position: relative; border-radius: var(--rc-lg); overflow: hidden;
  border: 1px solid rgba(36,83,224,.22);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(36,83,224,.14) 0%, rgba(36,83,224,0) 58%),
    linear-gradient(145deg, #fff 0%, #f7f9ff 100%);
  box-shadow: 0 24px 60px -34px rgba(36,83,224,.36);
}
.res-hero-body {
  position: relative; z-index: 1; padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 12px; text-align: left; align-items: stretch;
}
.res-hero-body .sp-h1 { margin: 2px 0 0; max-width: 18ch; font-weight: 850; font-size: clamp(30px, 6.5vw, 43px); line-height: .98; color: var(--ink); }
.res-hero-body .sp-sub { margin: 0; max-width: 44ch; line-height: 1.55; color: var(--ink-2); }
/* status-pill eyebrow with a live dot */
.res-hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(36,83,224,.1); border: 1px solid rgba(36,83,224,.28);
  padding: 5px 11px; border-radius: 999px; align-self: flex-start;
}
.res-hero-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .res-hero-dot { animation: res-pulse 2s var(--ease) infinite; }
}
@keyframes res-pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 6px rgba(36,83,224,0); }
  100% { box-shadow: 0 0 0 0 rgba(36,83,224,0); }
}
.res-hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: flex-start; margin-top: 2px;
}
.res-hero-trust span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
}
.res-hero-trust span svg { color: var(--accent); }
.res-hero-offer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 4px; padding: 15px 16px; border-radius: 15px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(36,83,224,.18);
  box-shadow: 0 12px 32px -24px rgba(36,83,224,.5);
}
.res-hero-offer-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.res-hero-offer-copy span, .res-hero-offer-price span { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); font-weight: 800; }
.res-hero-offer-copy strong { color: var(--ink); font-size: 16px; line-height: 1.25; }
.res-hero-offer-copy small { color: var(--ink-4); font-size: 11px; line-height: 1.35; margin-top: 2px; }
.res-hero-offer-price { flex: 0 0 auto; text-align: right; }
.res-hero-offer-price span { display: block; color: var(--ink-4); }
.res-hero-offer-price strong { display: block; margin-top: 3px; color: var(--ink); font-family: var(--display); font-size: 25px; line-height: 1; }
.res-hero-offer-price em { color: var(--ink-4); font-size: 12px; font-style: normal; }
.res-hero-review-btn {
  min-height: 46px; border: 0; border-radius: 13px; padding: 0 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer;
}

/* ── 2 · Why these for you ── */
.res-why-lead { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.res-why-lead strong { color: var(--ink); }
.res-why-grid { display: flex; flex-direction: column; gap: 8px; }
.res-why-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--accent-soft); border: 1px solid rgba(36,83,224,0.22);
  border-radius: 12px; padding: 10px 13px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.res-why-chip svg { color: var(--accent); flex: 0 0 auto; }

/* ── 3 · Recommended protocol stack (compact product cards) ── */
.res-reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 12px;
  align-items: start;
}
.res-product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(24,24,27,.05);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .2s var(--ease);
}
.res-product-card.primary { border-color: rgba(36,83,224,.24); }
.res-product-card-top { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.res-product-card-media {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--plate);
  display: grid;
  place-items: center;
}
.res-product-card-media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 5px; box-sizing: border-box; }
.res-product-card-media-fb { display: none; width: 100%; height: 100%; place-items: center; color: var(--accent); }
.res-product-card-summary { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.res-product-card-badge {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--plate);
  color: var(--ink-3);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}
.res-product-card.primary .res-product-card-badge { background: var(--accent-soft); color: var(--accent); border-color: rgba(36,83,224,.2); }
.res-product-card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; }
.res-product-card-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.res-product-card-price { display: flex; align-items: baseline; gap: 2px; flex: 0 0 auto; white-space: nowrap; }
.res-product-card-price strong { color: var(--ink); font-size: 19px; line-height: 1; font-weight: 750; }
.res-product-card-price span { color: var(--ink-4); font-size: 11px; font-weight: 600; }
.res-product-card-price.muted { color: var(--ink-3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.res-product-card-subtitle { color: var(--ink-3); font-size: 12.5px; line-height: 1.35; }
.res-product-card-reason { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; text-wrap: pretty; }
.res-product-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.res-product-card-chips span {
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--plate);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 650;
}
.res-product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.res-product-card-proof { color: var(--ink-4); font-size: 11.5px; line-height: 1.35; }
.res-product-card-details {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 5px 0;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.res-product-card-details svg { transition: transform .18s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .res-product-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 34px -24px rgba(0,0,0,.55); }
  .res-product-card-details:hover svg { transform: translateX(3px); }
}
.res-reco-card--v2 {
  width: auto; min-width: 0; flex: none;
  display: grid; grid-template-columns: 132px 1fr; gap: 0; overflow: hidden;
  align-items: stretch; padding: 0;
}
.res-reco-vial {
  position: relative; background: radial-gradient(90% 80% at 50% 42%, #fff 0%, #f1f4f9 100%);
  display: grid; place-items: center; border-right: 1px solid var(--line);
}
.res-reco-vial img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; padding: 7px; box-sizing: border-box; }
.res-reco-vial-fb { display: none; width: 100%; height: 100%; place-items: center; color: var(--accent); }
.res-reco-badge {
  position: absolute; top: 7px; left: 7px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: var(--ink-2); border: 1px solid var(--line-strong);
}
.res-reco-badge.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.res-reco-body { padding: 14px 15px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }

/* ── 4 · Per-peptide education cards ── */
/* molecular banner above the education accordion */
.res-edu-banner { position: relative; border-radius: var(--rc-lg); overflow: hidden; border: 1px solid var(--line); margin: 14px 0 16px; aspect-ratio: 21 / 9; }
.res-edu-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-edu-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,14,16,.55)); }

/* "how it works" process visual */
.res-process { margin: 4px 0 18px; }
.res-process img { width: 100%; border-radius: var(--rc-md); border: 1px solid var(--line); display: block; }
.res-process figcaption { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.res-process figcaption span { font-size: 10.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink-3); text-align: center; line-height: 1.25; }

/* "Your peptides, explained" — clean accordion */
.res-edu-list { display: flex; flex-direction: column; gap: 10px; }
.res-edu-acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--rc-md); overflow: hidden; transition: border-color .18s var(--ease); }
.res-edu-acc.open { border-color: rgba(36,83,224,.35); }
.res-edu-acc-head {
  width: 100%; display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; background: none; border: 0; text-align: left; cursor: pointer;
}
.res-edu-acc-vial {
  position: relative; flex: 0 0 auto; width: 46px; height: 46px;
  border-radius: 12px; overflow: hidden; background: var(--plate); border: 1px solid var(--line);
}
.res-edu-acc-vial img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 4px; box-sizing: border-box; background: #f5f7fb; }
.res-edu-acc-vial-fb { position: absolute; inset: 0; display: none; place-items: center; color: var(--accent); }
.res-edu-acc-main { min-width: 0; flex: 1 1 auto; }
.res-edu-acc-name { display: block; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); line-height: 1.15; }
.res-edu-acc-sum {
  display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.res-edu-acc-chev { flex: 0 0 auto; color: var(--ink-4); transform: rotate(-90deg); transition: transform .2s ease; }
.res-edu-acc.open .res-edu-acc-chev { transform: rotate(90deg); color: var(--accent); }
.res-edu-acc-body { padding: 2px 14px 14px; border-top: 1px solid var(--line); }
.res-edu-acc-evi { font-size: 11.5px; color: var(--accent); font-weight: 700; margin: 12px 0 2px; }

/* physician credibility — photo-led card */
.res-md-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rc-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.res-md-card--clean { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: linear-gradient(145deg, rgba(36,83,224,.07), transparent 58%), var(--card); }
.res-md-card--clean .res-md-body { padding: 0; }
.res-md-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(36,83,224,.2); }
.res-md-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--plate); }
.res-md-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.res-md-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,14,16,.85)); }
.res-md-photo-fb { position: absolute; inset: 0; display: none; place-items: center; color: var(--accent); }
.res-md-body { padding: 14px 16px 16px; }
.res-md-title { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.18; }
.res-md-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.res-md-turn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-top: 10px; }

/* ── 6 · Proof trust row ── */
.res-trust-row { display: flex; flex-direction: column; gap: 8px; }
.res-trust-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.res-trust-item svg { color: var(--accent); flex: 0 0 auto; }
.pay-trust-row { flex-direction: row; gap: 8px; }
.pay-trust-row .res-trust-item { flex: 1; justify-content: center; padding: 9px 6px; font-size: 11.5px; gap: 6px; }

/* ── 8 · FAQ accordion ── */
.res-faq { display: flex; flex-direction: column; gap: 10px; }
.res-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--rc-md); overflow: hidden; transition: border-color .15s var(--ease); }
.res-faq-item.open { border-color: var(--line-strong); }
.res-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 15px 16px; font-size: 14.5px; font-weight: 700; color: var(--ink);
}
.res-faq-q svg { color: var(--accent); flex: 0 0 auto; }
.res-faq-a { padding: 0 16px 16px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.res-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 5px 0 9px; }
.res-process-grid div { min-height: 88px; padding: 12px 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); display: flex; flex-direction: column; gap: 9px; }
.res-process-grid span { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 850; }
.res-process-grid strong { color: var(--ink-2); font-size: 11.5px; line-height: 1.25; }

/* ── 9 · Pricing card (decision moment) ── */
.res-price-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rc-lg); padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 16px;
}
.res-price-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.res-price-amount { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink); line-height: 1; margin-top: 2px; }
.res-price-amount span { font-size: 16px; color: var(--ink-3); font-weight: 700; }
.res-price-trust { margin: 0; }
.res-price-trust .res-trust-item { background: var(--bg-2); }

/* ── 9 · Sticky bottom CTA (mobile) ── */
.res-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(20,22,25,0.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.7);
}
@media (prefers-reduced-motion: no-preference) {
  @media (max-width: 640px) { .res-sticky-cta { animation: res-sticky-up .3s var(--ease); } }
}
@keyframes res-sticky-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
/* hide the sticky bar while the detail modal is open so it doesn't overlap the sheet CTA */
body.res-modal-open .res-sticky-cta { display: none !important; }
.res-sticky-price { display: flex; flex-direction: column; line-height: 1.1; flex: 0 0 auto; }
.res-sticky-price strong { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.res-sticky-price strong span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.res-sticky-price em {
  font-style: normal; font-size: 10.5px; color: var(--accent); font-weight: 700;
  letter-spacing: .01em; margin-top: 3px; align-self: flex-start;
  padding: 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.res-sticky-btn { flex: 1; margin: 0; height: 50px; }

@media (max-width: 640px) {
  .res-sticky-cta { display: flex; }
  /* On phones the fixed sticky bar IS the persistent CTA — hide the in-flow
     sticky footer CTA within the LP so they don't stack. */
  .res-lp .sp-footer { position: static; padding-bottom: 8px; }
  .res-lp { padding-bottom: 92px; gap: 32px; }   /* room for the fixed sticky CTA */
  .res-hero-body { padding: 24px 18px 20px; }
  .res-product-card { padding: 16px; gap: 13px; }
  .res-product-card-media { width: 88px; height: 88px; flex-basis: 88px; }
}

@media (max-width: 480px) {
  .res-lp { gap: 28px; }
  .res-hero-body .sp-h1 { font-size: clamp(24px, 8vw, 30px); }
  .res-hero-offer { align-items: flex-start; padding: 13px 14px; }
  .res-hero-offer-copy small { max-width: 25ch; }
  .res-process-grid { grid-template-columns: repeat(2, 1fr); }
  .res-quote-shot { width: 84px; }
  .res-faq-q { padding: 14px 14px; }
  .res-edu-acc-head { padding: 12px 13px; }
  .res-ba { gap: 8px; }
  .res-product-card { padding: 15px; }
  .res-product-card-top { gap: 12px; }
  .res-product-card-media { width: 82px; height: 82px; flex-basis: 82px; }
  .res-product-card-title-row h3, .res-product-card-price strong { font-size: 18px; }
  .res-product-card-footer { align-items: flex-end; }
}

/* ── Scroll-reveal (progressive enhancement, JS-applied) ── */
.res-reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.res-reveal.is-in { opacity: 1; transform: none; }

/* ── Focus-visible: one consistent accent ring for every interactive element ── */
.res-lp a:focus-visible,
.res-lp button:focus-visible,
.res-detail-modal button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--rc-sm);
}

/* ── Respect reduced-motion globally on the LP ── */
@media (prefers-reduced-motion: reduce) {
  .res-reveal { opacity: 1; transform: none; transition: none; }
  .res-hero-dot, .res-hero-bloom, .res-detail-sheet, .res-sticky-cta { animation: none !important; }
  .res-reco-card--v2, .res-reco-detail-btn, .res-reco-detail-btn svg { transition: none; }
}
