/* Real Encounters — v.B interactive SPA
   Design tokens mirror public/index.html so the visual language is the same:
   antique parchment + gold leaf, on dark.                                    */

:root {
  --ink: #0e0a06;
  --ink-2: #1a120a;
  --ink-3: #24180e;
  --paper: #f4ead6;
  --cream: #f8f1dd;
  --gold: #c9a961;
  --gold-hi: #e6c67f;
  --gold-dark: #8a6f35;
  --text: #f4ead6;
  --text-dim: #b8a88a;
  --text-dark: #2a1e10;
  --text-dark-dim: #6b5535;
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Crimson Pro", Georgia, serif;
  --f-ui: "Inter", system-ui, sans-serif;
  --read: 680px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Explicit scroll behavior — guarantees the body is the scroller and
     prevents an accidental horizontal scrollbar from any overflowing
     element (badges, glow blurs, etc.). */
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, #1a120a 0%, #0e0a06 60%) no-repeat;
}

button { font: inherit; cursor: pointer; }

/* ═══ CANDLE — sentimental anchor across steps ══════════════════════
   Fixed top-right (top-center on small screens). Flame intensity scales
   by step via [data-intensity], driven from app.js as the user advances. */
.candle {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 90px;
  pointer-events: none;
  z-index: 80;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
  transition: opacity 600ms ease;
}
.candle-glow {
  position: absolute;
  top: -22px; left: 50%;
  width: 110px; height: 100px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 60%, rgba(255, 174, 0, 0.22) 0%, rgba(255,154,42,0.08) 45%, transparent 75%);
  pointer-events: none;
  transition: opacity 600ms ease, transform 600ms ease;
  opacity: 0.6;
}
.candle-flame-wrap {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%) scale(0.6);
  opacity: 0.6;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 700ms ease, filter 700ms ease;
  filter: brightness(0.85);
}
.candle-flame {
  position: relative;
  width: 14px; height: 22px;
  background: radial-gradient(ellipse at 50% 70%, #fff5d8 0%, #ffd485 30%, #ffa83a 65%, rgba(255, 138, 30, 0.35) 90%, transparent 100%);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  animation: candleFlicker 1.6s ease-in-out infinite;
  transform-origin: 50% 100%;
  box-shadow: 0 0 16px 4px rgba(255, 174, 0, 0.45);
}
@keyframes candleFlicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  25%      { transform: scale(0.96) rotate(1deg); }
  55%      { transform: scale(1.05) rotate(-1deg); }
  80%      { transform: scale(0.98) rotate(2deg); }
}
.candle-wick {
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  background: #2a1e10;
  border-radius: 1px;
}
.candle-wax {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 58px;
  background: linear-gradient(180deg, #f5e8c8 0%, #e0caa1 50%, #b89a6c 100%);
  border-radius: 4px 4px 2px 2px;
  box-shadow: inset 0 -10px 16px rgba(0,0,0,0.22), inset 0 4px 8px rgba(255,255,255,0.18);
}

.candle[data-intensity="1"] .candle-flame-wrap { transform: translateX(-50%) scale(0.55); opacity: 0.55; filter: brightness(0.78); }
.candle[data-intensity="1"] .candle-glow       { opacity: 0.35; transform: translateX(-50%) scale(0.7); }
.candle[data-intensity="2"] .candle-flame-wrap { transform: translateX(-50%) scale(0.72); opacity: 0.75; filter: brightness(0.92); }
.candle[data-intensity="2"] .candle-glow       { opacity: 0.5; transform: translateX(-50%) scale(0.85); }
.candle[data-intensity="3"] .candle-flame-wrap { transform: translateX(-50%) scale(0.85); opacity: 0.9; filter: brightness(1); }
.candle[data-intensity="3"] .candle-glow       { opacity: 0.65; transform: translateX(-50%) scale(0.95); }
.candle[data-intensity="4"] .candle-flame-wrap { transform: translateX(-50%) scale(0.96); opacity: 1; filter: brightness(1.05); }
.candle[data-intensity="4"] .candle-glow       { opacity: 0.8; transform: translateX(-50%) scale(1.05); }
.candle[data-intensity="5"] .candle-flame-wrap { transform: translateX(-50%) scale(1.08); opacity: 1; filter: brightness(1.12) drop-shadow(0 0 8px rgba(255,174,0,0.55)); }
.candle[data-intensity="5"] .candle-glow       { opacity: 0.95; transform: translateX(-50%) scale(1.18); }
.candle[data-intensity="6"] .candle-flame-wrap,
.candle[data-intensity="7"] .candle-flame-wrap {
  transform: translateX(-50%) scale(1.18);
  opacity: 1;
  filter: brightness(1.2) drop-shadow(0 0 14px rgba(255,174,0,0.75));
}
.candle[data-intensity="6"] .candle-glow,
.candle[data-intensity="7"] .candle-glow {
  opacity: 1; transform: translateX(-50%) scale(1.35);
}

@media (max-width: 540px) {
  .candle { width: 28px; height: 68px; top: 10px; right: 12px; }
  .candle-wax { width: 14px; height: 46px; }
  .candle-flame { width: 11px; height: 17px; }
  .candle-wick { top: 20px; height: 5px; }
  .candle-flame-wrap { top: 4px; }
}

/* ═══ STEP MACHINE ═══ */
.app {
  position: relative;
  min-height: 100dvh;
}
.step {
  display: none;
  min-height: 100dvh;
  padding: 32px 20px 64px;
  overflow: visible;
}
.step.active { display: block; }
.step-inner {
  max-width: var(--read);
  margin: 0 auto;
  text-align: center;
}
.step.wide .step-inner { max-width: 920px; }

/* ═══ STEP 1 — HERO HOOK ═══ */
.step-1 .step-inner {
  display: flex;
  flex-direction: column;
  /* Removed `justify-content: center` + `min-height: 92dvh` — they were
     forcing the content to fight the viewport on small screens and
     locking the perception of scroll. Content now flows from the top
     with comfortable padding. */
  padding-top: 6vh;
  padding-bottom: 4vh;
}
.eyebrow {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.hero-h1 em { color: var(--gold); font-style: italic; }
.hero-sub {
  color: var(--text-dim);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto 40px;
}
.micro {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  opacity: 0.75;
  margin-top: 18px;
}

/* ═══ BUTTONS ═══ */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-dark));
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 16px 32px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.25);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201,169,97,0.35); }
.btn-gold:active { transform: translateY(0); }
.btn-gold.lg { padding: 20px 40px; font-size: 18px; }

.pulse {
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%,100% { box-shadow: 0 6px 20px rgba(201,169,97,0.25); }
  50%     { box-shadow: 0 6px 28px rgba(230,198,127,0.55); }
}

.btn-text {
  display: inline-block;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 24px;
  padding: 8px 12px;
}
.btn-text:hover { color: var(--gold); }

/* ═══ STEP 2 — QUIZ ═══ */
.step-2 .step-inner {
  padding-top: 12vh;
}
.quiz-screen {
  animation: fadeUp 320ms ease both;
}
.quiz-screen[hidden] { display: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 36px);
  line-height: 1.2;
  margin: 0 0 32px;
  color: var(--cream);
}
.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.quiz-opt {
  background: rgba(244, 234, 214, 0.04);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 6px;
  color: var(--cream);
  padding: 16px 18px;
  font-family: var(--f-body);
  font-size: 17px;
  text-align: left;
  line-height: 1.4;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.quiz-opt:hover {
  background: rgba(201,169,97,0.10);
  border-color: var(--gold);
  transform: translateX(2px);
}
.quiz-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.quiz-screen input[type="text"],
.quiz-screen input[type="email"],
.quiz-screen input[type="number"] {
  width: 100%;
  max-width: 420px;
  padding: 16px 18px;
  background: rgba(244,234,214,0.06);
  border: 1px solid rgba(201,169,97,0.30);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 18px;
  margin: 0 auto 20px;
  display: block;
}
.quiz-screen input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244,234,214,0.10);
}
/* Age input: keep the field on the design-system rails AND drop the
   default browser spinner arrows that look out-of-place against the
   serif/gold theme. Buyer types the number directly. */
.quiz-screen input[type="number"] {
  -moz-appearance: textfield;
  text-align: center;
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  max-width: 200px;
}
.quiz-screen input[type="number"]::-webkit-outer-spin-button,
.quiz-screen input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Country dropdown — match the input styling and override the default
   browser select chrome. Native dropdown menu still opens on click. */
.quiz-select {
  width: 100%;
  max-width: 420px;
  padding: 16px 44px 16px 18px;
  background: rgba(244,234,214,0.06);
  border: 1px solid rgba(201,169,97,0.30);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  margin: 0 auto 20px;
  display: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Inline SVG chevron in gold (color: #c9a961). */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23c9a961' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.quiz-select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(244,234,214,0.10);
}
/* Native option list inherits OS rendering — but force readable colors
   on browsers that do honour the option text-color CSS (Chrome/Edge). */
.quiz-select option {
  background: #1a120a;
  color: var(--cream);
  font-family: var(--f-body);
}
.quiz-select option[value=""] { color: var(--text-dim); }
/* Story age screen — sits inside step-6 but should center like the quiz
   screens (its parent .step-inner is left-anchored for the story tabs). */
.story-age-screen {
  text-align: center;
  margin-top: 8vh;
  animation: fadeUp 320ms ease both;
}
.story-age-screen .quiz-q { text-align: center; }
.story-age-screen .micro {
  max-width: 420px;
  margin: 18px auto 0;
  color: var(--text-dim);
}

/* ═══ STEP 3 — LOADING ═══ */
.step-3 .step-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80dvh;
}
.dots {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 28px;
}
.dots::before, .dots::after, .dots span {
  content: ''; display: inline-block; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.dots::after { animation-delay: 0.2s; }
.dots span   { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
.loading-msg {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--cream);
  letter-spacing: 0.005em;
  transition: opacity 320ms ease;
}
.loading-msg.fade-in {
  animation: fadeIn 480ms ease both;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ═══ STEP 4 — REVEAL ═══ */
.step-4 .step-inner { padding-top: 6vh; }
.reveal-h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.25;
  margin: 0 0 28px;
}
.reveal-h2 em { color: var(--gold); font-style: italic; }

.reveal-cards {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reveal-card {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 28px 26px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform 360ms ease, opacity 360ms ease;
}
/* Witness portrait — circular avatar above the quote. Comes from
   featuredTestimonies.json photoUrl. Hidden gracefully if missing. */
.card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border: 2px solid rgba(201, 169, 97, 0.45);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.06);
}
.card-num {
  font-family: var(--f-display);
  color: var(--gold-dark);
  font-size: 56px;
  line-height: 0.6;
  display: inline-block;
  margin-bottom: 8px;
}
.card-quote {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.card-author {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--text-dark-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.card-meta {
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--text-dark-dim);
  opacity: 0.7;
  margin: 0;
}

/* Locked state */
.reveal-card.locked .card-inner {
  filter: blur(8px);
  opacity: 0.4;
  user-select: none;
}
.reveal-card.locked {
  cursor: pointer;
}
.reveal-card.locked:hover .lock-glyph {
  transform: scale(1.15);
}
.card-lock {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(244,234,214,0.7), rgba(248,241,221,0.85));
}
.reveal-card.locked .card-lock { display: flex; }
.lock-glyph {
  font-size: 36px;
  color: var(--gold-dark);
  transition: transform 240ms ease;
}
.lock-label {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.reveal-card.revealed {
  animation: cardReveal 600ms ease both;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

#step4-closing {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 26px);
  color: var(--cream);
  margin: 32px 0 24px;
  line-height: 1.35;
}
#step4-closing strong { color: var(--gold); font-style: normal; font-weight: 500; }

/* ═══ STEP 5 — VSL FRAME (gated video) ═══════════════════════════════ */
.step-5 .step-inner { padding-top: 4vh; }
.vsl-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 24px auto 0;
  background: linear-gradient(135deg, #1a120a 0%, #0e0a06 50%, #1a120a 100%);
  border: 1px solid rgba(201,169,97,0.35);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,169,97,0.10) inset;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.vsl-frame:hover { transform: translateY(-2px); box-shadow: 0 28px 56px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,169,97,0.25) inset; }
.vsl-poster {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201,169,97,0.20) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 60%, rgba(255,154,42,0.12) 0%, transparent 70%);
}
.vsl-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.vsl-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-dark));
  border: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 0 6px rgba(201,169,97,0.15);
  cursor: pointer;
  padding-left: 6px; /* visual centering of play triangle */
  transition: transform 220ms ease;
}
.vsl-frame:hover .vsl-play { transform: translate(-50%, -50%) scale(1.06); }
.vsl-frame.playing .vsl-play,
.vsl-frame.playing .vsl-label { display: none; }
.vsl-frame.playing { cursor: default; }
.vsl-label {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  white-space: nowrap;
}
.vsl-frame.playing .vsl-label { display: none; }
.vsl-frame.playing .vsl-play  { display: none; }

/* When playing, give the poster a subtle pulse so the user feels the
   video is "alive" even though it's the placeholder. Replace with a real
   <video> and this animation goes away. */
.vsl-frame.playing .vsl-poster {
  animation: vslPosterPulse 4s ease-in-out infinite;
}
@keyframes vslPosterPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}

/* ─── Offer reveal (after gate unlocks). Mirrors tartotlp's pattern: no
   "Continue" button, the offer content itself fades in below the video. */
.vsl-offer-reveal {
  margin: 28px auto 0;
  max-width: var(--read);
  text-align: center;
  animation: vslOfferFadeIn 700ms ease both;
}
.vsl-offer-reveal[hidden] { display: none; }
@keyframes vslOfferFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vsl-divider {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.6em;
  margin: 0 0 18px;
}
.offer-list {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  max-width: 520px;
  text-align: left;
}
.offer-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 8px 0;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px dotted rgba(201,169,97,0.20);
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li strong { color: var(--gold-hi); font-weight: 500; }
.offer-list li em { color: var(--text-dim); font-style: italic; font-size: 13.5px; }
.offer-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.vsl-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 22px auto 8px;
}
.vsl-wait-dots {
  display: flex; gap: 8px;
}
.vsl-wait-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.vsl-wait-dots i:nth-child(2) { animation-delay: 0.2s; }
.vsl-wait-dots i:nth-child(3) { animation-delay: 0.4s; }

#step5-end-sentinel { height: 1px; }

/* ═══ Founder note (visible when VSL_ENABLED=false in app.js) ═══
   Closes the loop with the real book cover + 3 lines of strategic copy
   and hands off to the offer reveal CTA below. Toggled by the body
   class — re-enabling VSL just flips the JS flag, no markup changes.

   Design intent: cinematic, not card-y. The cover does the talking, lines
   breathe around it. No border, no panel — the page itself is the frame. */
.founder-note { display: none; }
body.vsl-disabled .vsl-frame,
body.vsl-disabled .vsl-waiting { display: none !important; }
/* Hide the page-level "Watch this — then I'll show you what I prepared"
   eyebrow + h2 when there's no video to watch. The .vsl-offer-reveal block
   carries its own eyebrow + h2 ("your spot is ready / Here's what I
   prepared for you.") that work in this context. */
body.vsl-disabled .step-5 .step-inner > .eyebrow,
body.vsl-disabled .step-5 .step-inner > .reveal-h2 { display: none; }
body.vsl-disabled .founder-note {
  display: block;
  max-width: 540px;
  margin: 4vh auto 36px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  animation: vslOfferFadeIn 800ms ease both;
}
.founder-cover {
  display: block;
  width: 240px;
  height: 320px;
  object-fit: cover;
  margin: 0 auto 36px;
  border-radius: 4px;
  /* Layered shadow: deep drop, gold halo, hairline rim. Reads cinematic. */
  box-shadow:
    0 32px 60px -8px rgba(0, 0, 0, 0.85),
    0 0 80px -10px rgba(201, 169, 97, 0.32),
    0 0 0 1px rgba(201, 169, 97, 0.42);
}
.founder-line {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--cream);
  margin: 0 auto 20px;
  max-width: 460px;
}
.founder-line:last-child { margin-bottom: 0; }
.founder-line strong { color: var(--gold-hi, var(--gold)); font-weight: 500; }
.founder-line.founder-transition {
  font-style: italic;
  color: var(--text-dim);
  font-size: 16.5px;
  margin-top: 26px;
  padding-top: 24px;
  max-width: 420px;
  position: relative;
}
.founder-line.founder-transition::before {
  content: '✦';
  display: block;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.6em;
  margin-bottom: 18px;
  opacity: 0.75;
}

/* (Legacy) Story-block + gate styles. Kept for back-compat in case the
   text-wall version is reintroduced as an A/B variant. */
/* ═══ STEP 5 — STORY (founder voice) ═══ */
.step-5 .step-inner { padding-top: 5vh; max-width: var(--read); text-align: left; }
.story-block { color: var(--text-dim); font-size: 18px; line-height: 1.75; }
.story-block h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 36px);
  color: var(--cream);
  text-align: center;
  margin: 0 0 28px;
}
.founder-headshot {
  display: block; margin: 0 auto 24px;
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ink-3);
  object-fit: cover;
}
.story-block p { margin: 0 0 18px; }
.story-block em { color: var(--gold-hi); font-style: italic; }
.founder-sig {
  margin-top: 32px;
  font-family: var(--f-display);
  color: var(--cream);
}
.founder-sig .signature {
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  display: inline-block;
  margin-top: 4px;
}

.gate {
  margin: 40px auto 8px;
  text-align: center;
}
.gate-label {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.gate-bar {
  width: 240px; height: 3px; background: rgba(201,169,97,0.18);
  margin: 0 auto; border-radius: 2px; overflow: hidden;
}
.gate-fill { height: 100%; width: 0%; background: var(--gold); transition: width 100ms linear; }

#step5-end-sentinel { height: 1px; }

.step-5 .cta-wrap { text-align: center; margin-top: 24px; }

/* ═══ HERO CANDLE — large, centered on Step 1 ═══════════════════════
   Same visual language as the corner candle but scaled up. The
   sentimental "your candle" framing introduces it. */
.hero-candle {
  position: relative;
  width: 84px;
  height: 200px;
  margin: 8px auto 18px;
  pointer-events: none;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.55));
}
.hero-candle .candle-glow {
  position: absolute;
  top: -40px; left: 50%;
  width: 240px; height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 60%, rgba(255, 174, 0, 0.45) 0%, rgba(255,154,42,0.16) 40%, transparent 75%);
  pointer-events: none;
  opacity: 0.95;
}
.hero-candle .candle-flame-wrap {
  position: absolute;
  /* Flame must sit on the wick. Wax top is at 66px (200 - 134 wax height);
     wick visible above wax is 56→66. Anchor flame so its bottom edge
     overlaps the wick at ~62px (slightly engulfing the wick). */
  top: 40px; left: 50%;
  transform: translateX(-50%);
  filter: brightness(1.18) drop-shadow(0 0 18px rgba(255,174,0,0.85));
}
.hero-candle .candle-flame {
  width: 28px; height: 44px;
  background: radial-gradient(ellipse at 50% 70%, #fff5d8 0%, #ffd485 25%, #ffa83a 60%, rgba(255, 138, 30, 0.35) 88%, transparent 100%);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  animation: candleFlicker 1.6s ease-in-out infinite;
  transform-origin: 50% 100%;
  box-shadow: 0 0 32px 10px rgba(255, 174, 0, 0.55), 0 0 80px 30px rgba(255, 154, 42, 0.18);
}
.hero-candle .candle-wick {
  position: absolute;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 12px;
  background: #2a1e10;
  border-radius: 1px;
}
.hero-candle .candle-wax {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 134px;
  background: linear-gradient(180deg, #f5e8c8 0%, #e0caa1 50%, #b89a6c 100%);
  border-radius: 6px 6px 3px 3px;
  box-shadow: inset 0 -16px 26px rgba(0,0,0,0.25), inset 0 6px 12px rgba(255,255,255,0.18);
}
.hero-candle-label {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--gold-hi);
  letter-spacing: 0.01em;
  margin: 0 0 24px;
  text-align: center;
}
.hero-candle-label em { color: #fff5d8; font-style: italic; }

/* Hide the corner (fixed) candle while Step 1 is active — the hero
   candle takes its place visually. */
body.step-1-active .candle { opacity: 0; pointer-events: none; }

@media (max-width: 540px) {
  .hero-candle { width: 64px; height: 160px; }
  .hero-candle .candle-flame { width: 22px; height: 34px; }
  .hero-candle .candle-wax { width: 32px; height: 110px; }
  /* Mobile: wax top at 50 (160 - 110), wick top 40, flame should bottom
     out around wax top so it engulfs the wick. */
  .hero-candle .candle-wick { top: 40px; height: 12px; }
  .hero-candle .candle-flame-wrap { top: 18px; }
}

/* ═══ STORY TABS (Step 6 + success-v2 Step 7) ════════════════════════ */
.story-tabs {
  display: flex;
  gap: 4px;
  max-width: 600px;
  margin: 0 auto 14px;
  background: rgba(244,234,214,0.04);
  border: 1px solid rgba(201,169,97,0.20);
  border-radius: 8px;
  padding: 4px;
}
.story-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.story-tab:hover { color: var(--cream); }
.story-tab.active {
  background: linear-gradient(180deg, rgba(201,169,97,0.18), rgba(201,169,97,0.10));
  color: var(--gold-hi);
  box-shadow: inset 0 0 0 1px rgba(201,169,97,0.4);
}
.story-tab-icon { font-size: 15px; line-height: 1; }

.story-panel {
  max-width: 600px;
  margin: 0 auto 18px;
}
.story-panel[hidden] { display: none; }

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  background: rgba(244,234,214,0.04);
  border: 1.5px dashed rgba(201,169,97,0.40);
  border-radius: 10px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  min-height: 180px;
  text-align: center;
}
.file-drop:hover { background: rgba(244,234,214,0.08); border-color: var(--gold); }
.file-drop .file-icon { font-size: 36px; line-height: 1; }
.file-prompt {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cream);
}
.file-prompt .file-name {
  display: block;
  font-style: normal;
  color: var(--gold-hi);
  font-size: 15px;
  margin-top: 4px;
}
.file-prompt .file-name:empty { display: none; }
.file-prompt .file-name:not(:empty) ~ .file-prompt-default,
.file-drop:has(.file-name:not(:empty)) .file-prompt-default { display: none; }
.file-hint {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  opacity: 0.75;
}

.upload-status {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--gold);
  text-align: center;
  margin: 10px 0;
}
.upload-status[hidden] { display: none; }
.upload-status.error { color: #ff8a7a; }

/* ═══ RECORDER (mic + camera, in-browser MediaRecorder) ════════════ */
.recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: rgba(244,234,214,0.04);
  border: 1.5px dashed rgba(201,169,97,0.40);
  border-radius: 10px;
  text-align: center;
}
.rec-btn {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(201,169,97,0.10);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 160ms ease, transform 120ms ease;
}
.rec-btn:hover { background: rgba(201,169,97,0.18); transform: translateY(-1px); }
.rec-btn .rec-icon-stop { display: none; }
.rec-btn.recording {
  background: linear-gradient(180deg, #c8453d, #8a2d27);
  border-color: #6e1414;
  color: #fff;
  animation: recPulse 1.2s ease-in-out infinite;
}
.rec-btn.recording .rec-icon-mic { display: none; }
.rec-btn.recording .rec-icon-stop { display: block; }
@keyframes recPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200, 70, 60, 0.6); }
  50%     { box-shadow: 0 0 0 14px rgba(200, 70, 60, 0); }
}
.rec-label {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin: 0;
}
.rec-timer {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--gold-hi);
  letter-spacing: 0.05em;
  margin: 0;
}
.rec-timer[hidden] { display: none; }
.rec-player {
  width: 100%;
  max-width: 480px;
  margin-top: 4px;
  border-radius: 6px;
}
.rec-actions { display: flex; gap: 14px; }
.rec-or {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--text-dim);
  margin: 8px 0 0;
}
.rec-upload-link {
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
}
.rec-upload-link:hover { color: var(--gold-hi); }

/* Video recorder: live preview + recorded playback */
.recorder-video .rec-video-preview {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  background: var(--ink-3);
  border-radius: 8px;
  border: 1px solid rgba(201,169,97,0.25);
  object-fit: cover;
  display: none; /* shown only while recording (or before, once camera is on) */
}
.recorder-video.live .rec-video-preview { display: block; }
.recorder-video.has-recording .rec-video-preview { display: none; }
.recorder-video.has-recording .rec-player { display: block !important; }
.recorder-video.has-recording > .rec-label { display: none; }
.rec-btn-video {
  background: rgba(201,169,97,0.10);
}

/* ═══ STEP 7 — COMBINED CHECKOUT (product+bumps left, payment right) ═ */
.step-7 { padding: 0; }
.step-7 .co-banner {
  text-align: center;
  padding: 32px 20px 24px;
  border-bottom: 1px solid rgba(201,169,97,0.18);
  background: linear-gradient(180deg, rgba(201,169,97,0.06), transparent);
}
.co-banner-eyebrow {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.co-banner-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 38px);
  color: var(--cream);
  margin: 0 0 14px;
}
.co-banner-badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
}
.co-badge {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(244,234,214,0.04);
  border: 1px solid rgba(201,169,97,0.18);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Social proof + urgency strip between banner and grid. */
.co-social {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--cream);
  text-align: center;
  flex-wrap: wrap;
}
.co-social-text strong { color: var(--gold-hi); font-weight: 600; }
.co-social-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #66d97a;
  box-shadow: 0 0 0 0 rgba(102, 217, 122, 0.5);
  animation: socialPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes socialPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(102, 217, 122, 0.55); }
  50%     { box-shadow: 0 0 0 8px rgba(102, 217, 122, 0); }
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .co-grid { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px 40px; }
}

.co-left, .co-right { display: flex; flex-direction: column; gap: 16px; }

.co-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(201,169,97,0.22);
  border-radius: 10px;
  padding: 22px 22px;
}
.co-card.co-product {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.co-product-art {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 108px;
}
.co-product-art img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 169, 97, 0.30);
}
.co-product-meta { flex-grow: 1; min-width: 0; }
.co-eyebrow {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.co-product-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.2;
}
.co-product-sub {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.co-includes {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: var(--text-dim);
}
.co-includes li {
  padding: 3px 0 3px 16px; position: relative;
}
.co-includes li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold);
  font-weight: 700; font-size: 12px; top: 4px;
}

.co-bumps-section { padding: 18px; }
.co-bumps-eyebrow {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px 4px;
}
.co-bump {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 12px;
  align-items: flex-start;
  background: rgba(244,234,214,0.04);
  border: 1px solid rgba(201,169,97,0.20);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  position: relative;
}
.co-bump:hover { background: rgba(201,169,97,0.08); border-color: rgba(201,169,97,0.45); }
.co-bump input[type="checkbox"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.co-bump.selected,
.co-bump:has(input:checked) {
  background: linear-gradient(180deg, rgba(201,169,97,0.14), rgba(201,169,97,0.05));
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,169,97,0.25) inset;
}
.co-bump-body { min-width: 0; }
.co-bump-badge {
  display: inline-block;
  background: rgba(201,169,97,0.18);
  color: var(--gold-hi);
  font-family: var(--f-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.co-bump-title {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--cream);
  margin: 0 0 4px;
  font-weight: 500;
}
.co-bump-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-hi);
  margin: 0 0 8px;
}
.co-bump-desc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.co-bump-prices {
  font-family: var(--f-display);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.co-bump-original {
  color: var(--text-dim);
  font-size: 16px;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 138, 122, 0.65);
  text-decoration-thickness: 1.5px;
  opacity: 0.85;
}
.co-bump-now { color: var(--gold); font-size: 22px; font-weight: 500; }
.co-bump-save {
  display: inline-block;
  background: rgba(255, 138, 122, 0.14);
  color: #ffb89c;
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: auto;
}

/* Same was/now/save block, used in the base ebook product card */
.co-product-prices {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--f-display);
}

/* Order-total strikethrough */
.co-strike {
  color: var(--text-dim);
  opacity: 0.7;
  margin-right: 6px;
  text-decoration-color: rgba(255, 138, 122, 0.6);
}
.co-total-row.co-total-savings {
  color: #ffb89c;
  border-bottom: 1px dashed rgba(255, 138, 122, 0.20);
}
.co-total-row.co-total-savings span:last-child { color: #ffb89c; font-weight: 500; }
.co-bump-checkmark {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,169,97,0.35);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  margin-top: 4px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.co-bump:has(input:checked) .co-bump-checkmark,
.co-bump.selected .co-bump-checkmark {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.co-guarantee {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.co-seal {
  flex-shrink: 0;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(201,169,97,0.08);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.co-seal small { font-family: var(--f-ui); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: block; line-height: 1; margin-bottom: 1px; }
.co-seal b { font-family: var(--f-display); font-size: 24px; color: var(--gold-hi); display: block; line-height: 1; }
.co-seal i { font-family: var(--f-ui); font-style: normal; font-size: 9px; letter-spacing: 0.12em; color: var(--gold); display: block; line-height: 1; margin-top: 2px; }
.co-guarantee h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.3;
}
.co-guarantee p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; margin: 0; }

.co-section-title {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.co-label {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.co-label > span {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.co-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(244,234,214,0.06);
  border: 1px solid rgba(201,169,97,0.30);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  box-sizing: border-box;
}
.co-input:focus { outline: none; border-color: var(--gold); background: rgba(244,234,214,0.10); }
.co-microcopy {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  opacity: 0.78;
  margin: 4px 0 0;
}

.co-total { padding: 14px 22px; }
.co-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--text-dim);
  border-bottom: 1px dotted rgba(201,169,97,0.18);
}
.co-total-row:last-child { border-bottom: none; }
.co-total-row.co-total-bump span:first-child { color: var(--gold-hi); }
.co-total-row.co-total-final {
  padding-top: 14px;
  border-top: 1px solid rgba(201,169,97,0.30);
  margin-top: 4px;
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--cream);
}
.co-total-row.co-total-final span:last-child { color: var(--gold); font-weight: 500; }

.co-payment-element {
  min-height: 240px;
  background: rgba(244,234,214,0.03);
  border: 1px solid rgba(201,169,97,0.15);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}
.co-payment-loading {
  text-align: center;
  color: var(--text-dim);
  font-family: var(--f-ui);
  font-size: 13px;
  padding: 60px 12px;
  font-style: italic;
}
.co-error {
  color: #ff8a7a;
  font-family: var(--f-ui);
  font-size: 13px;
  margin: 0 0 12px;
}
.co-error[hidden] { display: none; }
.co-cta {
  width: 100%;
  margin-bottom: 12px;
}
.co-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: saturate(0.65);
}
.co-cta:disabled:hover { transform: none; box-shadow: 0 6px 20px rgba(201,169,97,0.25); }
.co-trust {
  text-align: center;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0;
}

/* ═══ STEP 6 — TELL YOURS NOW (optional inline draft) ═══════════════ */
.step-6 .step-inner { padding-top: 6vh; }
.story-now-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto 28px;
}
#storyDraftInput {
  width: 100%;
  max-width: 600px;
  min-height: 200px;
  padding: 18px 20px;
  background: rgba(244,234,214,0.06);
  border: 1px solid rgba(201,169,97,0.30);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  resize: vertical;
  display: block;
  margin: 0 auto 18px;
  box-sizing: border-box;
}
#storyDraftInput:focus { outline: none; border-color: var(--gold); background: rgba(244,234,214,0.10); }
.story-now-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.story-private {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  opacity: 0.78;
  margin-top: 22px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ═══ STEP 7a — ORDER BUMP STACK (base + optional bumps) ═══════════ */
.step-7a .step-inner { padding-top: 5vh; }
.bump-list {
  max-width: 640px;
  margin: 8px auto 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.bump-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(201,169,97,0.22);
  border-radius: 10px;
  padding: 18px 20px;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.bump-row.bump-base {
  background: linear-gradient(180deg, rgba(244,234,214,0.06), rgba(244,234,214,0.03));
  border-color: rgba(201,169,97,0.30);
}
.bump-row.bump-toggle {
  cursor: pointer;
}
.bump-row.bump-toggle:hover {
  border-color: rgba(201,169,97,0.55);
  background: linear-gradient(180deg, rgba(201,169,97,0.08), var(--ink-3));
}
.bump-row.bump-toggle:has(.bump-check:checked) {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,97,0.35) inset;
}
.bump-check {
  position: absolute;
  top: 22px; left: 18px;
  width: 22px; height: 22px;
  accent-color: var(--gold);
  cursor: pointer;
  z-index: 2;
}
.bump-row.bump-toggle .bump-icon,
.bump-row.bump-toggle .bump-row-text {
  margin-left: 32px;
}
.bump-icon {
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  margin-top: 4px;
}
.bump-row-text { min-width: 0; }
.bump-row-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--cream);
  margin: 0 0 6px;
  line-height: 1.2;
}
.bump-badge-included {
  display: inline-block;
  background: rgba(201,169,97,0.18);
  color: var(--gold-hi);
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.bump-row-desc {
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}
.bump-row-price {
  font-family: var(--f-display);
  text-align: right;
  white-space: nowrap;
}
.bump-row-price .amount-add {
  color: var(--text-dim);
  font-size: 18px;
  margin-right: 2px;
}
.bump-row-price .amount {
  color: var(--gold);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}
.bump-row-price .cents {
  font-size: 16px;
  color: var(--gold-hi);
}
.bump-row-price .amount-note {
  display: block;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 540px) {
  .bump-row { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 16px 14px; }
  .bump-icon { font-size: 22px; }
  .bump-row-name { font-size: 17px; }
  .bump-row-desc { font-size: 13.5px; }
  .bump-row-price .amount { font-size: 22px; }
  .bump-row-price .cents { font-size: 13px; }
  .bump-row.bump-toggle .bump-icon,
  .bump-row.bump-toggle .bump-row-text { margin-left: 26px; }
  .bump-check { width: 18px; height: 18px; left: 14px; top: 20px; }
}

/* Total bar */
.total-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 640px;
  margin: 10px auto 22px;
  padding: 16px 22px;
  background: linear-gradient(180deg, rgba(201,169,97,0.12), rgba(201,169,97,0.04));
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 10px;
  font-family: var(--f-display);
}
.total-label {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.total-value {
  font-size: 38px;
  color: var(--gold-hi);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 200ms ease, transform 200ms ease;
}
.total-value.bump {
  animation: totalPulse 360ms ease;
}
@keyframes totalPulse {
  0%   { transform: scale(1); color: var(--gold-hi); }
  50%  { transform: scale(1.08); color: #fff5d8; }
  100% { transform: scale(1); color: var(--gold-hi); }
}

/* (Legacy) 3-tier styles kept dead; kept around so we can flip back if
   needed without re-authoring. The .tiers selector is no longer rendered
   in v.B. */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 28px;
  text-align: left;
}
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

.tier {
  position: relative;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(201,169,97,0.22);
  border-radius: 10px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  cursor: pointer;
}
.tier:hover {
  transform: translateY(-2px);
  border-color: rgba(201,169,97,0.55);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,169,97,0.15) inset;
}
.tier.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,169,97,0.08), var(--ink-3) 80%);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,169,97,0.35) inset;
}
.tier.featured:hover { transform: translateY(-3px); }
.tier-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--text-dark);
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--cream);
  letter-spacing: 0;
}
.tier-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-hi);
  margin: 0 0 18px;
  line-height: 1.35;
}
.tier-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-grow: 1;
}
.tier-bullets li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.45;
}
.tier-bullets li::before {
  content: '·';
  position: absolute; left: 6px; top: 6px;
  color: var(--gold);
  font-weight: 700;
}
.tier-price {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 38px;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1;
}
.tier-price .cents {
  font-size: 22px;
  color: var(--gold-hi);
  letter-spacing: 0;
}
.tier-cta {
  background: rgba(201,169,97,0.08);
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  width: 100%;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.tier:hover .tier-cta {
  background: var(--gold);
  color: var(--text-dark);
}
.tier.featured .tier-cta {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-dark));
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.25);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(201,169,97,0.3);
}

.tier-mbg {
  text-align: center;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--text-dim);
  margin: 12px 0 0;
  letter-spacing: 0.02em;
}

/* (Legacy) Single-offer styles kept for back-compat — currently unused
   on the SPA page. Kept so we can A/B test the layout later if needed. */
/* ═══ STEP 6a — OFFER ═══ */
.step-6a .step-inner { padding-top: 5vh; }
.offer-h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 38px);
  margin: 0 0 8px;
  color: var(--cream);
}
.offer-edition {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.bullets li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dotted rgba(201,169,97,0.25);
  color: var(--cream);
  font-size: 17px;
  line-height: 1.4;
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: '✦';
  position: absolute; left: 0; top: 10px;
  color: var(--gold);
  font-size: 16px;
}
.price-row {
  margin: 24px 0 18px;
  font-family: var(--f-display);
}
.price-row s {
  color: var(--text-dim); opacity: 0.6;
  font-size: 22px;
  margin-right: 14px;
}
.price-big {
  color: var(--gold);
  font-size: clamp(48px, 8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bump {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  background: rgba(201,169,97,0.06);
  border: 1px dashed rgba(201,169,97,0.35);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px auto 24px;
  max-width: 520px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.bump:hover { background: rgba(201,169,97,0.12); border-color: var(--gold); }
.bump input[type="checkbox"] {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.bump-text { font-size: 15px; line-height: 1.45; color: var(--cream); }
.bump-text strong { color: var(--gold-hi); font-weight: 500; }
.bump-price { color: var(--gold); font-weight: 600; white-space: nowrap; }

.total-row {
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--text-dim);
  margin: 18px 0 28px;
  letter-spacing: 0.02em;
}
.total-row #totalPrice {
  color: var(--gold-hi);
  font-weight: 600;
  font-size: 18px;
  margin-right: 10px;
}
.total-row .mbg { display: block; margin-top: 6px; opacity: 0.8; }

/* ═══ STEP 6b — CHECKOUT ═══ */
.step-6b .step-inner { max-width: 980px; padding-top: 4vh; text-align: left; }
.checkout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
.lock-summary {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 8px;
  padding: 24px 22px;
}
.lock-summary h3 {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.lock-amount {
  font-family: var(--f-display);
  font-size: 44px;
  color: var(--cream);
  margin: 0 0 12px;
  font-weight: 500;
}
.lock-line {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--text-dim);
  margin: 0 0 16px;
  line-height: 1.4;
}
.lock-mbg {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.85;
  letter-spacing: 0.02em;
  margin: 0;
}
.stripe-mount {
  min-height: 480px;
  background: rgba(244,234,214,0.04);
  border: 1px solid rgba(201,169,97,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.stripe-mount-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--f-ui);
  font-size: 13px;
}

/* ═══ DOWNSELL MODAL ═══ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,10,6,0.85);
  padding: 20px;
  animation: fadeIn 200ms ease;
}
.modal[hidden] { display: none; }
.modal-card {
  background: linear-gradient(180deg, var(--paper), var(--cream));
  color: var(--text-dark);
  max-width: 460px;
  width: 100%;
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.modal-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--text-dark);
}
.modal-card h3 em { color: var(--gold-dark); font-style: italic; }
.modal-card p {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--text-dark);
}
.modal-card .price-line {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--gold-dark);
  margin: 18px 0;
}
.modal-card .btn-text { color: var(--text-dark-dim); }
.modal-card .btn-text:hover { color: var(--gold-dark); }
