/* ═══════════════════════════════════════════════════════════════════════════
   v3-quiz — paper theme (warm cream + selective pink-wash + magazine-feel)
   Replaces design.md Peach default with a V1-aesthetic blend tuned to women 35+.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* paper theme — default */
  --bg:           #FAF8F5;          /* warm cream paper */
  --bg-2:         #F4EFE6;          /* paper-2 (cards-on-cream) */
  --surface:      #FFFFFF;          /* white card */
  --ink:          #1a1a1a;          /* near-black, warm */
  --ink-soft:     #4a4a4a;
  --ink-mute:     #8a8a8a;
  --ink-faint:    #b8b4ac;
  --rule:         #E8E4DD;
  --rule-soft:    #EFEBE3;
  --hairline:     rgba(0,0,0,0.10);
  --hairline-2:   rgba(0,0,0,0.06);

  /* pink — soft wash highlight (text background) */
  --accent:       #D4458C;
  --accent-hover: #B83678;
  --accent-wash:  #FCE7F1;          /* the .hl background */
  --accent-soft:  #FAD7E5;

  /* bright — high-saturation CTA fill. Kolenda: max preattentive grab on cream */
  --bright:       #FF2D8C;          /* hot pink-magenta — primary CTA bg */
  --bright-hover: #E61F7C;
  --bright-deep:  #B5165E;          /* shadow under bright CTA on hover */

  /* warning — red+white universal stop/qualifier signal */
  --warn:         #D43030;
  --warn-deep:    #8E1A1A;
  --warn-soft:    #FBE5E5;

  /* secondary accent (off-rotation stickers) */
  --olive:        #DDD9A8;
  --olive-deep:   #A6A37A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif-i: 'Instrument Serif', Georgia, serif;
  --font-mono:    'DM Mono', ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 9999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 22px;
  --s-6: 28px;
  --s-7: 40px;
}

[data-theme="matcha"] {
  --bg:           #F4F6EA;
  --bg-2:         #ECEFDB;
  --accent:       #5C8A52;
  --accent-hover: #496D41;
  --accent-wash:  #DEEBD2;
  --accent-soft:  #C8DBB5;
}
[data-theme="hot"] {
  --bg:           #FBF1EA;
  --bg-2:         #F5E5D8;
  --accent:       #D44518;
  --accent-hover: #B33614;
  --accent-wash:  #FBE0D2;
  --accent-soft:  #F8C7B0;
}

/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 481px) {
  body {
    box-shadow: 0 0 0 1px var(--rule);
    min-height: 100vh;
  }
}
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ─── the highlight — selective pink wash over non-bold phrases ─── */
.hl {
  background: linear-gradient(transparent 58%, var(--accent-wash) 58%, var(--accent-wash) 92%, transparent 92%);
  padding: 0 3px;
}

/* ─── stickers (kept, but lighter on paper) ─── */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  transform: rotate(-2deg);
  box-shadow: 0 2px 0 var(--ink);
  white-space: nowrap;
}
.sticker--accent { background: var(--accent-wash); }
.sticker--positive { transform: rotate(3deg); }
.sticker--cta {
  background: var(--bright);
  color: #FFFFFF;
  border-color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 160ms;
  letter-spacing: 0.6px;
}
.sticker--cta:hover { background: var(--bright-hover); }
.sticker--cta:active { transform: rotate(-2deg) translateY(1px); box-shadow: 0 1px 0 var(--ink); }
/* warning stamp — solid red rectangular tape look, real warning aesthetic */
.warn-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: var(--warn);
  color: #FFFFFF;
  border: 2px solid var(--warn-deep);
  border-radius: 3px;
  padding: 9px 16px;
  transform: rotate(-1.5deg);
  box-shadow: 0 3px 0 var(--warn-deep);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  white-space: nowrap;
}

/* ─── app shell ─── */
.app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 14px var(--s-5) var(--s-7);
  display: flex;
  flex-direction: column;
}

/* ─── progress ─── */
.progress { display: none; margin-bottom: var(--s-5); }
.progress.is-active { display: block; }
.progress-bar {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--rule-soft);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: var(--r-pill);
  transition: width 360ms cubic-bezier(.2,.9,.3,1);
}
.progress-caption {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── screen ─── */
.screen { display: none; flex: 1; flex-direction: column; }
.screen.is-active { display: flex; animation: screenIn 360ms cubic-bezier(.2,.9,.3,1); }
@keyframes screenIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INTRO — Hook V4 (creator-led, paper aesthetic)
   ═══════════════════════════════════════════════════════════════════════════ */

.intro-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-5);
}
.intro-strip-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  object-fit: cover;
  flex-shrink: 0;
}
.intro-strip-meta { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; }
.intro-strip-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.intro-strip-bio {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-top: -1px;
}
.verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.verified-tick svg { display: block; }

.intro-hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--ink);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--s-5);
  box-shadow: 0 4px 0 var(--ink);
}
.intro-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-hero-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(0,0,0,0.78);
  color: var(--bg);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.intro-quote {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: var(--s-4);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.intro-quote-cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
  padding-left: 1px;
}

.intro-h {
  font-family: var(--font-display);
  font-size: clamp(30px, 7.6vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.intro-sub {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.intro-sub strong { color: var(--ink); font-weight: 700; }

.intro-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--s-4);
  justify-content: center;
}

.intro-sticker-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--s-4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA — pill (kept the design.md shape but warmer)
   ═══════════════════════════════════════════════════════════════════════════ */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bright);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  border: 2px solid var(--ink);
  padding: 16px 22px;
  min-height: 58px;
  width: 100%;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 160ms;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.pill:hover { background: var(--bright-hover); }
.pill:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
}
.pill:disabled, .pill[aria-disabled="true"] {
  background: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.4);
  border-color: rgba(0,0,0,0.15);
  box-shadow: none;
  cursor: not-allowed;
  animation: none;
  text-shadow: none;
}

/* mini pill — secondary CTA, same color treatment, smaller. fits in intro strip top-right. */
.pill--mini {
  width: auto;
  min-height: 0;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 3px 0 var(--accent);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.pill--mini:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--accent);
}
.pill--mini:disabled, .pill--mini[aria-disabled="true"] { box-shadow: none; }

/* subtle pulse — for primary CTAs in resting state. NOT gimmicky.
   1.8% scale + accent-shadow depth shift. Pauses on hover/active/disabled. */
@keyframes pillPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 5px 0 var(--ink);
  }
  50% {
    transform: scale(1.022);
    box-shadow: 0 7px 0 var(--ink), 0 0 0 6px rgba(255, 45, 140, 0.14);
  }
}
.pill--pulse {
  animation: pillPulse 2.6s ease-in-out infinite;
}
.pill--pulse:hover, .pill--pulse:active, .pill--pulse:disabled, .pill--pulse[aria-disabled="true"] {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .pill--pulse { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   QUESTIONS — chip + image-pick + slider + name
   ═══════════════════════════════════════════════════════════════════════════ */

.q-h {
  font-family: var(--font-display);
  font-size: clamp(26px, 6.8vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.q-h em {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.q-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.q-aside {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: -10px;
  margin-bottom: var(--s-4);
  letter-spacing: -0.005em;
}

.chips { display: flex; flex-direction: column; gap: 8px; }
.chip {
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: left;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 0 var(--rule);
  transition: transform 120ms ease-out, background 160ms, color 160ms, border-color 160ms, box-shadow 160ms;
  -webkit-tap-highlight-color: transparent;
}
.chip:active { transform: translateY(2px); box-shadow: 0 0 0 var(--rule); }
.chip.is-selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--accent);
}
.chip-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  flex-shrink: 0;
  background: transparent;
  position: relative;
  transition: background 160ms, border-color 160ms;
}
.chip.is-selected .chip-mark {
  background: var(--bg);
  border-color: var(--bg);
}
.chip.is-selected .chip-mark::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
}

.imgpicks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.imgpick {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  border: 1.5px solid var(--rule);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--s-3);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 0 var(--rule);
  transition: transform 120ms, background 160ms, border-color 160ms, box-shadow 160ms;
  text-align: center;
  line-height: 1.25;
}
.imgpick:active { transform: translateY(2px); }
.imgpick.is-selected {
  background: var(--accent-wash);
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.imgpick-emoji { font-size: 40px; line-height: 1; }

.slider-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); padding-top: var(--s-3); }
.slider-num {
  font-family: var(--font-display);
  font-size: 92px;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--ink);
  font-weight: 600;
}
.slider-num-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  margin-top: 4px;
  text-align: center;
}
.slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--rule-soft);
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  outline: none;
  accent-color: var(--accent);
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
}

.name-input-wrap { padding: var(--s-3) 0; }
.name-input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 16px 18px;
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
  box-shadow: 0 2px 0 var(--rule);
  -webkit-appearance: none;
  font-weight: 500;
}
.name-input:focus { border-color: var(--ink); box-shadow: 0 3px 0 var(--accent); }
.name-input::placeholder { color: var(--ink-mute); font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════════════
   INTERSTITIAL (mid-quiz reveal)
   ═══════════════════════════════════════════════════════════════════════════ */

.interstitial {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-5);
  box-shadow: 0 5px 0 var(--ink);
  margin-bottom: var(--s-4);
  text-align: center;
}
.interstitial-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.interstitial-stat {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.interstitial-label {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-size: 18px;
  line-height: 1.32;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.interstitial-label strong { color: var(--ink); font-weight: 600; font-style: normal; }
.interstitial-note {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING — answer echo (kept ring + lines, paper-tinted)
   ═══════════════════════════════════════════════════════════════════════════ */

.screen--loading { align-items: center; justify-content: center; min-height: 70vh; padding-top: var(--s-6); }
.loading-stack { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); width: 100%; }
.loading-ring { position: relative; width: 140px; height: 140px; }
.loading-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loading-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.loading-ring .ring-track { stroke: var(--rule-soft); }
.loading-ring .ring-fill { stroke: var(--accent); stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 80ms linear; }
.loading-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -1px;
  color: var(--ink);
  font-weight: 600;
}
.loading-card {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: 0 4px 0 var(--ink);
}
.loading-card-h {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  margin-bottom: var(--s-3);
}
.loading-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0.4;
  transition: opacity 240ms, color 240ms;
}
.loading-line:last-child { border-bottom: none; }
.loading-line.is-active { opacity: 1; color: var(--ink); }
.loading-line.is-done { opacity: 1; color: var(--ink-mute); }
.loading-line-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-mute);
  flex-shrink: 0;
  position: relative;
}
.loading-line.is-done .loading-line-mark { background: var(--accent); border-color: var(--accent); }
.loading-line.is-done .loading-line-mark::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--bg);
  font-weight: 700;
}
.loading-line strong { color: var(--ink); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESULT (paper-themed, magazine-like, multi-card)
   ═══════════════════════════════════════════════════════════════════════════ */

.result-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--s-3);
}

/* qualifier callout — frames the result as a privilege earned, not a purchase */
.qualifier-callout {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  box-shadow: 0 4px 0 var(--ink);
  position: relative;
}
.qualifier-callout-stamp {
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
}
.qualifier-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: start;
  text-align: center;
  padding-top: var(--s-2);
}
.qualifier-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qualifier-row strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 600;
}
.qualifier-row span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
}
.qualifier-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--warn);
  font-weight: 700;
  margin-top: var(--s-3);
  text-align: center;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.result-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 7.2vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.result-h em {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.result-name { color: var(--accent); }

.result-sub {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: var(--s-6);
}
.result-sub strong { color: var(--ink); font-style: normal; font-weight: 600; }

.result-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: 0 4px 0 var(--ink);
  margin-bottom: var(--s-4);
}
.result-card-stamp { position: absolute; top: -10px; right: 14px; }
.result-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.result-card-h {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.014em;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.result-card-h em {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-weight: 400;
}
.result-card-body { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.result-card-body p { margin-bottom: 12px; }
.result-card-body p:last-child { margin-bottom: 0; }
.result-card-body strong { color: var(--ink); font-weight: 600; }

/* the reveal card with the sipping image */
.reveal-card { padding: 0; overflow: hidden; }
.reveal-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.reveal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.reveal-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--rule) 8px, var(--rule) 16px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reveal-content { padding: var(--s-5); }

/* mechanism breakdown */
.mech-list { list-style: none; margin: var(--s-3) 0; }
.mech-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.mech-list li:last-child { border-bottom: none; }
.mech-list-head {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mech-list-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* bundle */
.bundle-list { list-style: none; margin: var(--s-3) 0; }
.bundle-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.bundle-list li:last-child { border-bottom: none; }
.bundle-x { color: var(--accent); font-weight: 700; margin-right: 8px; font-family: var(--font-mono); }
.bundle-cost {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.bundle-totals {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1.5px solid var(--ink);
}
.bundle-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bundle-totals-row strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bundle-totals-row--save strong { color: var(--accent); font-size: 22px; }

/* timeline strip */
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: var(--s-3) 0;
}
.timeline-strip figure { display: flex; flex-direction: column; gap: 3px; }
.timeline-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink);
}
.timeline-strip figcaption {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  text-align: center;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   OFFER
   ═══════════════════════════════════════════════════════════════════════════ */

.offer-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.offer-h {
  font-family: var(--font-display);
  font-size: clamp(26px, 6.8vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.offer-h em {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-weight: 400;
}

.offer-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-5) var(--s-5);
  box-shadow: 0 5px 0 var(--ink);
  margin-bottom: var(--s-4);
}
.offer-card-stamp { position: absolute; top: -12px; right: 16px; }

/* product hero — lifestyle photo of maya holding the drink + pouch, top of offer card */
.offer-product-hero {
  margin: calc(var(--s-6) * -1) calc(var(--s-5) * -1) var(--s-4);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.offer-product-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.offer-product-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.offer-product-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.offer-product-desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.offer-product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
.benefit-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-soft);
  color: var(--ink);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}
.offer-price-now {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--ink);
  font-weight: 600;
}
.offer-price-was {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
  text-decoration: line-through;
}

.offer-includes { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-4); }
.offer-includes-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.offer-includes-mark {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.offer-includes-item strong { font-weight: 600; color: var(--ink); }
.offer-includes-item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offer-includes-item span {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.offer-trust-line {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: var(--s-3);
}

.offer-alts {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  margin: var(--s-4) auto;
  line-height: 1.7;
  letter-spacing: 0.3px;
  max-width: 30em;
  text-transform: uppercase;
}
.offer-alts a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
}

.offer-timer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-wash);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--ink);
}
.offer-timer {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 700;
}

.offer-testi { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s-5); }
.offer-testi-h {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.offer-testi-card {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
}
.offer-testi-card p {
  font-family: var(--font-serif-i);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}
.offer-testi-card span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.offer-faq {
  border-top: 1.5px solid var(--ink);
  padding-top: var(--s-4);
  margin-bottom: var(--s-5);
}
.offer-faq-item { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.offer-faq-item summary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.offer-faq-item summary::-webkit-details-marker { display: none; }
.offer-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}
.offer-faq-item[open] summary::after { content: '−'; }
.offer-faq-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 8px 0 0;
  line-height: 1.5;
}

.offer-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  line-height: 1.7;
}
.offer-foot a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 2px; }
.offer-foot strong { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY CTA — appears on result + offer screens only
   ═══════════════════════════════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  padding: 12px var(--s-5) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  z-index: 50;
  transition: transform 280ms cubic-bezier(.2,.9,.3,1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(250, 248, 245, 0.95);
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}
.sticky-cta .pill {
  margin: 0;
  box-shadow: 0 4px 0 var(--ink);
}
.sticky-cta .pill:active {
  box-shadow: 0 2px 0 var(--ink);
}
.sticky-cta-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 6px;
}

/* extra breathing room at the bottom of long screens */
.screen[data-screen="intro"],
.screen[data-screen="result"],
.screen[data-screen="offer"] {
  padding-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
