/* =====================================================================
   Unchaind funnel — design system
   ===================================================================== */
:root {
  /* Brand */
  --bg-dark: #2c155d;
  /* v5: UI accent, retinted per angle at the end of this file */
  --accent-ui: #7c5cfc;
  --accent-ui-rgb: 124,92,252;
  --accent-ui-soft: #9d7bff;
  --bg-light: #fbf1ec;
  --bg-quiz-top: #f3e5ec;          /* pink-ish */
  --bg-quiz-bot: #fde6d4;          /* cream */
  --bg-quiz-mid: #ecedf0;

  --ink: #0c0c10;                  /* near-black for buttons (Figma) */
  --purple-deep: #2d1369;
  --purple-ink: #152256;

  --accent: #f97316;
  --green: #4caf6e;

  --text: #1a1d2b;
  --muted: #6b6d83;
  --muted-light: rgba(255,255,255,.78);
  --white: #ffffff;

  /* Shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-card: 0 2px 6px rgba(20,30,70,.05), 0 10px 24px rgba(20,30,70,.04);
  --shadow-card-strong: 0 2px 8px rgba(20,30,70,.08), 0 16px 36px rgba(20,30,70,.10);

  /* Safe areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Typography */
  --ff-display: "Fraunces", "Recoleta", Georgia, serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Sizing */
  --content-max: 480px;
  --topbar-h: 72px;
  --content-gap: 28px;
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: hidden;
  transition: background-color .7s cubic-bezier(.32,.04,.18,1), background .7s cubic-bezier(.32,.04,.18,1);
}
body.theme--dark { background: var(--bg-dark); color: var(--white); }
body.theme--quiz { background: var(--bg-quiz, #f4f1fa); color: var(--text); }   /* flat clean lavender(our color) */
/* Cross-fade theme swaps (dark ↔ quiz ↔ light) instead of hard color snaps */
body { transition: background-color .45s ease, color .45s ease; }

/* Body-level mountains for dark theme only. Ped-light uses a pure
   diagonal gradient per Figma 80:647 — no mountains. */
body.theme--dark::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  pointer-events: none;
  z-index: 0;
  height: 60vh;
  background:
    linear-gradient(to top, transparent 78%, var(--bg-dark) 100%),
    var(--mtn, url("assets/mountains.webp")) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 50%, transparent 95%);
          mask-image: linear-gradient(to top, #000 0%, #000 50%, transparent 95%);
}
/* Hide per-screen mountains in pedagogy — body handles them now */
.screen[data-step^="pedagogy-"] .bg-mountains,
.screen[data-step^="pedagogy-"] .bg-mountains--light { display: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =====================================================================
   Top bar (fixed at top, follows body theme)
   ===================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  padding: calc(var(--safe-top) + 12px) 20px 6px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  z-index: 30;
  background: transparent;
}
/* Solid backdrop on prepaywall only — long scroll, content goes under topbar */
body.theme--prepaywall .topbar {
  background: rgba(var(--light-rgb, 251,242,236),.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
/* Lock grid positions so brand stays centered even when back is hidden */
.topbar .topbar-back { grid-column: 1; }
.brand                { grid-column: 2; }
.topbar-step          { grid-column: 3; }
.topbar[hidden] { display: none; }
.topbar .iconbtn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  color: currentColor;
  transition: background .18s ease;
}
.topbar .iconbtn:hover { background: rgba(0,0,0,.06); }
body.theme--dark .topbar .iconbtn:hover { background: rgba(255,255,255,.08); }
.topbar .iconbtn[hidden] { display: none; }

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.brand-name { line-height: 1; }
body.theme--dark .brand,
body.theme--dark .topbar .iconbtn { color: var(--white); }
body:not(.theme--dark) .brand,
body:not(.theme--dark) .topbar .iconbtn { color: var(--ink); }

.topbar-step {
  justify-self: end;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 13px;
  padding-right: 4px;
  color: currentColor;
}
.topbar-step[hidden] { display: none; }

/* Progress bar (right below topbar) */
.topbar-progress {
  position: fixed;
  top: calc(var(--topbar-h) - 8px);
  left: 20px; right: 20px;
  height: 6px;
  z-index: 29;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  overflow: hidden;
}
body.theme--dark .topbar-progress { background: rgba(255,255,255,.15); }
.topbar-progress[hidden] { display: none; }
.topbar-progress .bar-fill {
  height: 100%;
  width: var(--p, 0%);
  background: var(--ink);
  border-radius: 999px;
  transition: width .55s cubic-bezier(.2,.7,.2,1);
}
body.theme--dark .topbar-progress .bar-fill { background: var(--white); }

/* =====================================================================
   App + screen layout
   ===================================================================== */
.app {
  position: relative;
  width: 100%;
  min-height: 100dvh;
}

.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding-top: calc(var(--safe-top) + var(--topbar-h) + 24px);
  padding-bottom: calc(var(--safe-bottom) + 12px);
  overflow-x: hidden;
}
.screen[data-topbar="hide"] { padding-top: var(--safe-top); }
.screen.is-active {
  display: flex;
  position: relative;
  z-index: 2;
  animation: screenFade .5s cubic-bezier(.22,.61,.36,1);
}
.screen.is-leaving {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  animation: screenFadeOut .35s forwards cubic-bezier(.22,.61,.36,1);
}
/* Quiz: kill cross-fade — body bg is constant across all quiz screens, so a
   direct content swap (no positioning trick) feels snappy with no flash. */
.screen[data-step^="quiz-"].is-active   { animation: none; }
.screen[data-step^="quiz-"].is-leaving  { display: none; animation: none; }
/* Welcome-plan ↔ Plan-reveal share the church image — instant swap so the
   image stays put while only the text changes. */
.screen[data-step="welcome-plan"].is-active,
.screen[data-step="plan-reveal"].is-active   { animation: none; }
.screen[data-step="welcome-plan"],
.screen[data-step="plan-reveal"] { padding-top: 0; padding-bottom: 0; }
.screen[data-step="welcome-plan"] .pedagogy,
.screen[data-step="plan-reveal"] .pedagogy { padding-top: 0; padding-bottom: 0; }
.screen[data-step="welcome-plan"].is-leaving,
.screen[data-step="plan-reveal"].is-leaving  { display: none !important; animation: none !important; }
.screen[data-step="welcome-plan"].is-active .hero-img,
.screen[data-step="plan-reveal"].is-active .hero-img { animation: none !important; }
/* Quiz content glides in from the right (native funnel feel) — short and
   horizontal so the 320ms auto-advance never feels jumpy. */
.screen[data-step^="quiz-"].is-active .quiz > * {
  animation: quizSlide .28s cubic-bezier(.22,.61,.36,1) both !important;
}
.screen[data-step^="quiz-"].is-active .quiz > .options { animation-delay: .05s !important; }
.screen[data-step^="quiz-"].is-active .quiz-anon { animation: quizFade .34s ease both; }
@keyframes quizSlide {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes quizFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .screen[data-step^="quiz-"].is-active .quiz > * { animation: quizFade .2s ease both !important; }
}
@keyframes screenFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes screenFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
/* Soft fade-in on inner content. CTA stays put for seamless feel. */
.screen.is-active .quiz > .quiz-eyebrow,
.screen.is-active .quiz > .quiz-question,
.screen.is-active .quiz > .sub,
.screen.is-active .quiz > .options,
.screen.is-active .quiz > .finally-form,
.screen.is-active .welcome,
.screen.is-active .content,
.screen.is-active .pedagogy > *,
.screen.is-active .paywall,
.screen.is-active .scratch-screen,
.screen.is-active .loader {
  animation: contentIn .5s cubic-bezier(.22,.61,.36,1);
}
.screen.is-active .quiz > .quiz-question { animation-delay: .04s; }
.screen.is-active .quiz > .sub            { animation-delay: .06s; }
.screen.is-active .quiz > .options        { animation-delay: .08s; }
.screen.is-active .quiz > .finally-form   { animation-delay: .08s; }
@keyframes contentIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Screens are transparent — body handles theme bg, so same-theme transitions
   don't flash the background */
.screen--dark      { color: var(--white); position: relative; }
.screen--light     { color: var(--text);  position: relative; }
.screen--quiz      { color: var(--text);  position: relative; }
.screen--ped-light { color: var(--text);  position: relative; }
body.theme--ped-light {
  background: var(--ped-bg, linear-gradient(143.2deg, #fff3f1 2.93%, #ffb664 89.59%)) fixed;
  color: var(--text);
}
/* Restore top padding override for "hide" topbar screens */
.screen[data-topbar="hide"] { padding-top: var(--safe-top); }

/* Mountains bg (on dark screens) */
.bg-mountains {
  position: absolute;
  inset: auto 0 0 0;
  height: 60vh;
  max-height: 720px;
  background:
    linear-gradient(to top, transparent 78%, var(--bg-dark) 100%),
    var(--mtn, url("assets/mountains.webp")) center bottom / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Light variant — only bottom portion (real mountains), fades to transparent */
.bg-mountains--light {
  position: absolute;
  inset: auto 0 0 0;
  height: 44vh;
  max-height: 520px;
  background: var(--mtn, url("assets/mountains.webp")) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
  opacity: .85;
  z-index: 0;
  pointer-events: none;
}
/* Same soft mask for dark mountains so it doesn't band sharply either */
.screen--dark .bg-mountains {
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 50%, transparent 95%);
          mask-image: linear-gradient(to top, #000 0%, #000 50%, transparent 95%);
}
/* Soft sun glow behind mountains on welcome screen */
.screen[data-step="welcome"] .bg-mountains::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: clamp(280px, 70vw, 560px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at center,
    rgba(255,170,90,.55) 0%,
    rgba(255,140,60,.22) 26%,
    transparent 60%);
  filter: blur(8px);
  animation: sunGlow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sunGlow {
  0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); }
  50%      { opacity: .95; transform: translateX(-50%) scale(1.08); }
}

/* Inner column — same width for all screens */
.welcome, .pedagogy, .quiz, .content, .loader, .paywall, .scratch-screen {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =====================================================================
   Typography
   ===================================================================== */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(40px, 10vw, 52px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0;
}
.display.sm { font-size: clamp(28px, 6.5vw, 34px); line-height: 1.1; }

.eyebrow {
  font-family: var(--ff-display);
  font-size: clamp(17px, 4vw, 20px);
  margin: 0 0 4px;
}
.lede {
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.45;
  margin: 14px 0 0;
  color: rgba(255,255,255,.78);
  max-width: 36ch;
}
.screen--light .lede,
.screen--quiz .lede,
.screen--ped-light .lede { color: var(--muted); }
.screen--ped-light, .screen--ped-light .display, .screen--ped-light .display.sm { color: var(--text); }

.muted { color: var(--muted); margin: 6px 0 14px; font-size: 15px; }
.muted-light { color: rgba(255,255,255,.72); margin: 6px 0 14px; font-size: 15px; }

.sub { margin: -4px 0 14px; font-size: 14px; color: var(--muted); }

/* =====================================================================
   Welcome
   ===================================================================== */
.welcome {
  flex: 1;
  padding: clamp(56px, 14vh, 112px) 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 0;
}
.welcome[hidden] { display: none; }
.welcome--center { justify-content: center; padding: 24px 24px; }
.welcome-logo {
  width: 72px;
  height: 72px;
  margin: 0 0 28px;
  display: block;
  object-fit: contain;
}

/* Welcome: no entry animation — static layout */
.screen[data-step="welcome"].is-active * { animation: none !important; }

.welcome-stage {
  margin-top: auto;
  position: relative;
  width: 100%;
  min-height: 210px;
}
.welcome-variant {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.welcome-variant.is-active { opacity: 1; transform: none; }
.welcome-variant.chips { flex-direction: column; gap: 10px; align-items: center; }
.welcome-variant.cards {
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
  padding: 0 4px;
}

/* Staggered chip entry on initial mount */
.screen[data-step="welcome"].is-active .welcome-variant.chips.is-active .chip {
  animation: chipIn .7s both cubic-bezier(.2,.7,.2,1);
}
.screen[data-step="welcome"].is-active .welcome-variant.chips.is-active .chip:nth-child(1) { animation-delay: 1.20s; }
.screen[data-step="welcome"].is-active .welcome-variant.chips.is-active .chip:nth-child(2) { animation-delay: 1.32s; }
.screen[data-step="welcome"].is-active .welcome-variant.chips.is-active .chip:nth-child(3) { animation-delay: 1.44s; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: auto;          /* push to bottom of welcome */
  padding-top: 24px;
  padding-bottom: 32px;
  width: 100%;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(20, 27, 65, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
.chip img { width: 22px; height: 22px; }

.ic-card {
  width: 28%;
  min-width: 100px;
  background: rgba(20,27,65,.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--white);
}
.ic-card--lg {
  transform: translateY(-12px);
  background: rgba(20,27,65,.6);
}
.ic-card__img { width: 32px; height: 32px; }
.ic-card__label { font-size: 12px; line-height: 1.3; font-weight: 500; }

/* =====================================================================
   Quiz layout
   ===================================================================== */
.quiz {
  flex: 1;
  min-height: 0;
  padding: clamp(56px, 14vh, 130px) 22px 16px;  /* fixed top offset = question sits at the SAME spot on every screen */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(14px, 2.4vh, 22px);
}
/* Hide "Question #N" eyebrow on quiz screens — the question itself speaks */
.screen[data-step^="quiz-"] .quiz-eyebrow { display: none; }
.quiz > .sub { margin: -4px 0 4px; }
.quiz--center { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.quiz-eyebrow {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(22px, 6vw, 28px);
  text-align: center;
  color: var(--ink);
  margin: 0;
  min-height: 36px;            /* lock height to avoid layout shift */
  letter-spacing: -.02em;
}
.quiz-question {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(21px, 5.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  text-align: center;            /* centered */
  min-height: calc(1.25em * 2);  /* always reserve room for 2 lines */
}
.screen--quiz .section-label,
.quiz > .section-label { display: block; text-align: center; width: 100%; }

.finally-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.finally {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* center the whole group — no dead space */
  text-align: center;
  gap: 14px;
  padding: 0;
  flex: 1;
  min-height: 0;
}
.screen[data-step="finally"] .finally-awards { margin: 24px auto 0; max-width: 230px; }
.finally-skip {
  display: block;
  margin: 14px auto 0;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  opacity: .45;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.finally-skip:hover, .finally-skip:focus-visible { opacity: .75; }
.finally-hero {
  margin: 0 0 14px;
}
.finally-hero-img {
  width: 110px !important;
  height: 110px !important;
  margin: 0 !important;
}
.finally-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(20px, 4.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 30ch;
}
.finally-sub { display: none; }
.finally-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  padding-left: 4px;
  letter-spacing: .02em;
}
.finally-input {
  width: 100%;
  font-size: 17px;
  padding: 18px 20px;
}
.finally-input:focus { outline: 2px solid var(--purple-deep); }
.finally-awards {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: auto auto 0;
  opacity: .9;
}
.finally-anon { margin: 18px 0 12px; padding: 0; }
/* Finally page — must fit viewport without scroll */
.screen[data-step="finally"] { overflow: hidden; }
.screen[data-step="finally"] .quiz {
  padding: 12px 24px 0;
  gap: 0;
  justify-content: center;
}
.text-input {
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 0;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  font-size: 16px;
  color: var(--ink);
}
.text-input::placeholder { color: #9b9caa; }
.text-input:focus { outline: 2px solid rgba(var(--deep-rgb, 45,19,105),.35); outline-offset: 2px; }

/* =====================================================================
   Numbered options (quiz) — match Figma cards
   ===================================================================== */
.options {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 12px);
}
.option {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: clamp(11px, 1.5vh, 15px) 18px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20,30,70,.04), 0 10px 24px rgba(20,30,70,.09);
  border: 1.5px solid transparent;
  text-align: left;
  transition: border-color .18s ease, transform .12s ease, box-shadow .18s ease, background-color .18s ease;
  letter-spacing: -.005em;
  -webkit-tap-highlight-color: transparent;
}
.options--numbered .option { padding-left: 14px; }
.options--icon .option,
.options--multi .option { grid-template-columns: 32px 1fr auto; }
.option:active { transform: scale(.985); }
.option.is-selected {
  background: var(--selected, #8a7adb);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(var(--deep-rgb, 45,19,105),.28);
}
.option.is-selected .opt-num {
  background: #fff;
  color: var(--tint-ink, #3b2270);
}
.option.is-selected .opt-check { color: #fff; }

.opt-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--tint-bg, #efe9f7);
  color: var(--tint-ink, #3b2270);
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .18s, color .18s;
}
.opt-emoji {
  font-size: 22px;
  line-height: 1;
}
.opt-icon {
  width: 32px; height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.opt-label { line-height: 1.3; }

/* "What has porn taken from you?" — 6 options, must fit without scroll */
.screen[data-step="quiz-11"] .quiz { padding: clamp(10px, 2.5vh, 24px) 22px 12px; gap: clamp(10px, 1.8vh, 16px); justify-content: flex-start; }
.screen[data-step="quiz-11"] .quiz > .sub { margin: -2px 0 2px; }
.screen[data-step="quiz-11"] .options { gap: clamp(7px, 1.2vh, 10px); }
.screen[data-step="quiz-11"] .option { padding: clamp(9px, 1.4vh, 13px) 16px; }
.screen[data-step="quiz-11"] .opt-icon { width: 26px; height: 26px; }

/* Goals page — must fit viewport without scroll, use available space */
.screen[data-step="goals"] { overflow: hidden; }
.screen[data-step="goals"] .quiz { gap: 16px; padding: 8px 24px 12px; min-height: 0; justify-content: flex-start; }
.screen[data-step="goals"] .quiz-eyebrow { display: none; }
.screen[data-step="goals"] .options { gap: 10px; flex: 1; justify-content: flex-start; }
.screen[data-step="goals"] .option { padding: 14px 18px; font-size: 16px; }
.screen[data-step="goals"] .opt-icon { width: 32px; height: 32px; }
/* Compact the goals screen on short viewports so all 6 options + CTA
   fit without scrolling (real phones report ~660px with browser chrome) */
@media (max-height: 760px) {
  .screen[data-step="goals"] { padding-top: calc(var(--safe-top) + var(--topbar-h) + 8px); }
  .screen[data-step="goals"] .quiz { gap: 12px; padding: 4px 24px 8px; }
  .screen[data-step="goals"] .sub { margin: 0; }
  .screen[data-step="goals"] .options { gap: 8px; }
  .screen[data-step="goals"] .option { padding: 12px 18px; font-size: 15px; border-radius: 16px; }
  .screen[data-step="goals"] .opt-icon { width: 26px; height: 26px; }
  .screen[data-step="goals"] .cta-bar { padding-top: 8px; padding-bottom: calc(10px + var(--safe-bottom)); }
}
@media (max-height: 620px) {
  .screen[data-step="goals"] .quiz { gap: 8px; }
  .screen[data-step="goals"] .sub { display: none; }
  .screen[data-step="goals"] .options { gap: 6px; }
  .screen[data-step="goals"] .option { padding: 9px 16px; font-size: 14px; }
  .screen[data-step="goals"] .opt-icon { width: 22px; height: 22px; }
}

/* "Your responses are anonymous" footer above the CTA on quiz screens */
.quiz-anon {
  display: none;  /* anonymity is established up front; repeating it on every step wastes space */
}
.opt-check {
  width: 24px; height: 24px;
  display: inline-grid;
  place-items: center;
  opacity: 0;
  transition: opacity .15s ease;
  color: var(--ink);
}
.opt-check::before {
  content: "✓";
  font-weight: 700;
  font-size: 16px;
}
/* Once an SVG check is injected on selection, drop the static ✓ fallback */
.opt-check:has(svg)::before { content: none; }
.opt-check svg { width: 18px; height: 18px; display: block; }
.opt-check svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.option.is-selected .opt-check { opacity: 1; }
/* Selection = reward: the check draws itself in + the option springs */
.option.is-selected .opt-check svg path {
  animation: optCheckDraw .3s .04s cubic-bezier(.65,0,.35,1) forwards;
}
.option.is-selected { animation: optPop .34s cubic-bezier(.34,1.56,.64,1); }
@keyframes optCheckDraw { to { stroke-dashoffset: 0; } }
@keyframes optPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .option.is-selected { animation: none; }
  .option.is-selected .opt-check svg path { animation: none; stroke-dashoffset: 0; }
}

/* =====================================================================
   CTA bar — no background, sits at bottom of flex column
   ===================================================================== */
.cta-bar {
  flex-shrink: 0;
  margin: 0 auto;
  width: 100%;
  max-width: calc(var(--content-max) + 36px);
  padding: 12px 18px calc(16px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  position: relative;
  z-index: 5;
}
.cta-bar[hidden] { display: none; }

/* Single-select auto-advance → hide cta */
.screen:has(.options--numbered[data-required]:not(.options--multi)) .cta-bar { display: none; }

.cta-fineprint { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  transition: transform .12s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.btn--dark {
  background: var(--purple-deep);
  color: var(--white);
}
.btn--ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.btn--ink:hover { background: #1a1a22; }
/* On light quiz screens, the enabled Continue is black (greys out when disabled) */
.screen--quiz .cta-bar .btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}
.btn[disabled],
.btn.is-disabled {
  background: #e4e2ec !important;
  color: #a7a3b6 !important;
  box-shadow: none !important;
  opacity: 1;
  pointer-events: none;
}
.btn:active { transform: scale(.985); }
.btn .arrow { font-weight: 500; }
.btn--block { width: 100%; }

/* Circle arrow icon on dark/ink CTAs */
.cta-circle {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 16px;
  margin-left: 2px;
}

/* =====================================================================
   Loader (simplified — no glow, no halo)
   ===================================================================== */
.loader {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 24px 64px;
  gap: 14px;
}
.loader .display { margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.4); }

/* 4-step loader */
.loader-title {
  font-family: var(--ff-body); font-weight: 800;
  font-size: clamp(22px, 5.8vw, 27px); letter-spacing: -.02em;
  color: #fff; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.loader-pct { font-family: var(--ff-display); font-size: 40px; font-weight: 600; color: #fff; margin: 6px 0 0; }
.loader-bar {
  width: 100%; max-width: 320px; height: 8px;
  background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 4px auto 8px;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #ffb37a, #ff5a3c); border-radius: 999px;
  transition: width .3s linear;
}
.loader-steps {
  list-style: none; padding: 0; margin: 10px auto 6px;
  width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 14px;
}
.loader-steps li {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 14px; color: rgba(255,255,255,.6); transition: color .3s; text-align: left;
}
.loader-steps li.is-active, .loader-steps li.is-done { color: #fff; }
.ls-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ls-pct { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; color: inherit; opacity: .9; }
.ls-track { width: 100%; height: 6px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.ls-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffb37a, #ff5a3c); border-radius: 999px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader > p {
  color: #fff;
  opacity: .9;
  font-size: 15px;
  margin: 0;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.ring {
  position: relative;
  width: clamp(200px, 56vw, 260px);
  aspect-ratio: 1;
  margin-bottom: 24px;
}
.ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  display: block;
}
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.12);
  stroke-width: 12;
}
.ring-fg {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 528;          /* 2π·84 */
  stroke-dashoffset: 528;
  transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1);
}
.ring-pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -.02em;
}
.ring-num {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
}
.ring-num [data-counter] { font-size: clamp(48px, 11vw, 64px); }
.ring-num .pct-sign      { font-size: clamp(22px, 5vw, 28px); margin-left: 1px; opacity: .85; }

/* =====================================================================
   Result
   ===================================================================== */
.content { flex: 1; padding: 8px 22px 24px; }
.content--center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.result-title { display: inline-flex; align-items: center; gap: 8px; }
.result-title .check {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  background: var(--green); color: #fff;
  border-radius: 50%;
  font-size: 14px;
}
/* ===== Result — diagnosis hero (our palette) ===== */
.result-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); margin: 0 0 6px;
}
.result-h {
  font-family: var(--ff-body);
  font-weight: 800; font-size: clamp(22px, 5.8vw, 27px);
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 10px; text-align: center;
}
.score-hero { display: flex; flex-direction: column; align-items: center; gap: 7px; margin: 2px 0 14px; }
.score-big {
  font-family: var(--ff-display);
  font-weight: 600; line-height: .9; color: var(--purple-deep);
  display: flex; align-items: baseline;
}
.score-big > span:first-child { font-size: clamp(60px, 17vw, 84px); letter-spacing: -.03em; }
.score-of { font-size: clamp(22px, 6vw, 28px); color: var(--muted); font-family: var(--ff-body); font-weight: 700; margin-left: 4px; }
.score-sev-pill {
  font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 999px;
  background: #ffe1d6; color: #c2410c;
}
.score-sev-pill[data-sev="high"]   { background: #ffe1d6; color: #c2410c; }
.score-sev-pill[data-sev="severe"] { background: #ffd9d9; color: #b91c1c; }
.score-sev-pill[data-sev="moderate"] { background: #fef0cf; color: #a16207; }
.score-hero-sub { font-size: 15px; color: var(--muted); text-align: center; max-width: 32ch; margin: 4px 0 0; }
.score-hero-sub b { color: var(--ink); }

/* Vertical comparison bars (animated) */
.chart { margin: 18px 0 6px; display: flex; justify-content: center; flex: 1; align-items: center; }
.bars {
  --chart-h: clamp(240px, 56vw, 340px);
  display: flex;
  gap: clamp(26px, 8vw, 48px);
  align-items: flex-end;
  height: var(--chart-h);
}
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; height: 100%; }
.bar-bar {
  width: clamp(96px, 24vw, 124px);
  border-radius: 18px;
  transform-origin: bottom;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  box-shadow: 0 10px 24px rgba(20,30,70,.10);
}
.bar-bar--you { height: var(--you-h, 80%); background: linear-gradient(180deg, #ff7a3c 0%, #ff5a3c 100%); transition: height 1.1s .3s cubic-bezier(.16,.84,.32,1.02); }
.bar-bar--avg { height: 34%; background: linear-gradient(180deg, #7fcf8e 0%, #5fb673 100%); }
.bar-pct { font-family: var(--ff-body); font-size: clamp(26px, 6.5vw, 32px); font-weight: 900; color: #fff; letter-spacing: -.02em; line-height: 1; }
.bar-label { font-size: 15px; color: var(--ink); font-weight: 600; }
.cmp-cap { font-size: 13px; color: var(--muted); margin: 16px 0 10px; text-align: center; }
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; }
.screen[data-step="result"] .disclaimer { margin-top: 22px; }

/* ===== Animated recovery curve (proof-2) ===== */
.heal-chart { width: 100%; max-width: 320px; margin: 0 auto 22px; }
.heal-chart-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6); text-align: center; margin: 0 0 10px;
}
.heal-chart svg { width: 100%; height: 150px; display: block; overflow: visible; }
.heal-axis { stroke: rgba(255,255,255,.15); stroke-width: 1; }
.heal-line { stroke-dasharray: 640; stroke-dashoffset: 640; }
.heal-area { opacity: 0; }
.heal-dot { fill: #ff5a3c; opacity: 0; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 6px rgba(255,90,60,.7)); }
.heal-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.55); margin-top: 6px; padding: 0 8px;
}
@keyframes healDraw { to { stroke-dashoffset: 0; } }
@keyframes healFade { to { opacity: 1; } }
@keyframes healDot { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes healPulse { 0%,100% { r: 6; } 50% { r: 8; } }

/* =====================================================================
   Pedagogy
   ===================================================================== */
.pedagogy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;        /* center the whole content stack vertically */
  text-align: center;
  padding: 60px 28px 64px;         /* leave room for dots at bottom */
  position: relative;
}
.pedagogy > .emoji-hero { margin: 0 0 22px; }
.pedagogy > .display    { margin: 0 0 14px; }
.pedagogy > .lede       { margin: 0; }
.pedagogy > .dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.emoji-hero { font-size: clamp(60px, 18vw, 84px); margin: 8px 0 18px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.hero-img {
  width: clamp(160px, 50vw, 220px);
  height: clamp(160px, 50vw, 220px);
  object-fit: contain;
  margin: 8px 0 18px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}
.emoji-hero.md { font-size: clamp(48px, 12vw, 60px); }
.dots { margin-top: 28px; display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; background: rgba(255,255,255,.35); border-radius: 50%; display: block; }
.dots i.active { background: var(--white); width: 22px; border-radius: 6px; }

/* =====================================================================
   Commitment
   ===================================================================== */
.pledge-text {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 23px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
  text-align: center;
  /* Reserve room for the longest pledge so the input field stays at the
     same Y between pledges 1→2→3 */
  min-height: calc(1.3em * 4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.verse {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 24px;
  text-align: center;
  max-width: 32ch;
  min-height: calc(1.45em * 4);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Anchor pledge content from top so input always lands at same Y */
.screen[data-step^="commit-"] .quiz--center {
  justify-content: flex-start;
  padding-top: clamp(40px, 12vh, 96px);
}
.pledge-input {
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 0;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 16px;
  text-align: center;
}
.pledge-input::placeholder { color: #b5b6c7; }
.pledge-input:focus { outline: 2px solid rgba(var(--deep-rgb, 45,19,105),.35); outline-offset: 2px; }

/* =====================================================================
   Scratch card
   ===================================================================== */
.scratch-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(20px, 6vh, 48px) 24px 24px;
}
.scratch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: clamp(24px, 6vh, 48px);
  backdrop-filter: blur(6px);
}
.scratch-card {
  position: relative;
  margin: 28px 0 16px;
  width: 100%;
  max-width: 320px;
  height: 180px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background:
    radial-gradient(circle at 30% 30%, #ffd4a8 0%, transparent 55%),
    radial-gradient(circle at 70% 80%, #f76b00 0%, transparent 65%),
    linear-gradient(135deg, #ff9b3a, #b03f00);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.scratch-prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.scratch-prize-big {
  font-family: var(--ff-display);
  font-size: clamp(40px, 12vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.scratch-prize-sub {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: clamp(12px, 3.4vw, 14px);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .95;
}
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.scratch-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.95);
  font-weight: 600;
  pointer-events: none;
  transition: opacity .3s ease;
}
.scratch-card.is-touched .scratch-hint { opacity: 0; }
.scratch-progress { font-variant-numeric: tabular-nums; }

/* =====================================================================
   Paywall
   ===================================================================== */
.paywall {
  padding: 16px 18px 32px;
  max-width: 560px;
}
.paywall-hero { text-align: center; padding: 16px 8px 24px; }
.paywall-hero .display { margin-top: 8px; }
.pw-hero-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 8px auto 16px;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}
.pw-hero-check {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.pw-hero-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--pw-ink);
  text-align: center;
  margin: 0 0 8px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
/* Figma-style bullets */
.pw-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
  text-align: left;
}
.pw-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
  color: #656565;
  font-weight: 500;
}
.pw-bullet-img {
  flex-shrink: 0;
  width: 32px; height: 32px;
  object-fit: contain;
  display: block;
}
.pw-bullet {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 22px;
  line-height: 1;
}
.pw-bullet--icon { background: transparent; font-size: 20px; }

/* Goal pills (Figma style) */
.goal-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 8px 12px !important;
  border-radius: 70px !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: none !important;
}
.goal-pill img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.pw-card-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}
.date-card {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.discount-banner {
  margin: 14px auto 0;
  padding: 10px 16px;
  background: linear-gradient(90deg, #ffe2c8, #ffd0a8);
  border-radius: var(--r-md);
  color: #6b2a00;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.discount-banner[hidden] { display: none; }
.pw-block { margin-bottom: 22px; }
.pw-h {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 22px);
  margin: 6px 0 10px;
  text-align: center;
  color: var(--ink);
}
.pw-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.pw-sub { margin: 12px 0 8px; }
.goal-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.goal-pill {
  padding: 8px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7e8df 100%);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.goal-pill.is-selected { background: var(--ink); color: var(--white); }
.checklist { text-align: left; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.checklist li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.testi {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #faefe8;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  line-height: 1.45;
}
.testi header { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.testi .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 12px;
}
.testi .avatar--cross,
.review header .avatar--cross,
.pw-testi-card header .avatar--cross {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  background: var(--pw-accent-bg);
  color: var(--pw-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.avatar--cross svg { display: block; }
.pw-bullet-svg {
  flex-shrink: 0;
  width: 32px; height: 32px;
  color: var(--pw-accent);
  padding: 4px;
}
.testi .stars { color: var(--accent); margin-left: auto; font-size: 12px; }
.paywall-spacer { height: 8px; }
.screen[data-step="prepaywall"] .cta-bar { max-width: 560px; }

/* =====================================================================
   Success
   ===================================================================== */
.code-box {
  margin: 22px auto 22px;
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  backdrop-filter: blur(8px);
  color: #fff;
}
.code-box .code-label {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  color: #fff;
}
.code-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
}
.copy-btn { background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.store-row { display: flex; gap: 12px; margin-top: 16px; width: 100%; max-width: 360px; }
.store-btn { flex: 1; padding: 12px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-md); text-align: center; font-size: 14px; font-weight: 600; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 768px) {
  :root { --content-max: 520px; }
  .topbar-progress { left: max(24px, calc(50vw - 240px)); right: max(24px, calc(50vw - 240px)); }
  .bg-mountains { height: 70vh; max-height: 820px; }
}
@media (min-width: 1024px) {
  :root { --content-max: 560px; }
  .paywall { max-width: 720px; }
  .screen[data-step="prepaywall"] .cta-bar { max-width: 720px; }
  .topbar-progress { left: max(24px, calc(50vw - 280px)); right: max(24px, calc(50vw - 280px)); }
}

/* =====================================================================
   Pricing screen (Harmony-style)
   ===================================================================== */
:root {
  /* Paywall palette — Unchaind brand: warm cream bg, deep purple accents */
  --pw-accent: #2d1369;          /* deep brand purple — primary */
  --pw-accent-strong: #1c0a4a;
  --pw-accent-soft: #c9bcec;
  --pw-accent-bg: #f1ebff;
  --pw-accent-day: #e2d6ff;
  --pw-bg: #fbf2ec;              /* warm cream — same as rest of the funnel */
  --pw-card: #ffffff;
  --pw-ink: #14101f;
  --pw-muted: #6e6478;
  --pw-border: #ece4e0;
  --pw-warm: #fce9d2;
  --pw-shadow: 0 1px 2px rgba(var(--deep-rgb, 45,19,105),.04), 0 8px 24px rgba(var(--deep-rgb, 45,19,105),.06);
}
.screen[data-step="paywall"] { background: var(--pw-bg); }
.screen[data-step="paywall"] .paywall { max-width: 520px; padding: 92px 16px 28px; }

/* Sticky countdown bar */
.pw-countdown {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(244,241,248,.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 10px 14px;
  display: flex;
  justify-content: center;
}
.pw-countdown-inner {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(20,16,31,.08), 0 0 0 1px rgba(20,16,31,.04);
}
.pw-countdown-text { flex: 1; }
.pw-countdown-label { font-size: 13px; margin: 0 0 2px; color: var(--pw-muted); line-height: 1.25; }
.pw-countdown-time  { font-size: 20px; margin: 0; font-weight: 800; color: var(--pw-ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pw-countdown-cta {
  background: var(--pw-accent); color: #fff;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: -.005em;
  transition: background .15s, transform .12s;
}
.pw-countdown-cta:hover { background: var(--pw-accent-strong); }
.pw-countdown-cta:active { transform: scale(.96); }

/* 50% OFF ticket */
.pw-discount {
  background: var(--pw-card);
  border-radius: 20px;
  padding: 14px 14px 14px;
  margin-bottom: 20px;
  box-shadow: var(--pw-shadow);
  position: relative;
  overflow: hidden;
}
.pw-ticket {
  position: relative;
  background: linear-gradient(135deg, var(--grad-a, #7a5cd0) 0%, var(--grad-b, #3b1d8a) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  display: block;
  --c: 16px;
  -webkit-mask:
    radial-gradient(circle at 0 50%, transparent var(--c), #000 calc(var(--c) + 1px)) right/calc(100% - var(--c)) 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent var(--c), #000 calc(var(--c) + 1px)) left/calc(100% - var(--c)) 100% no-repeat;
          mask:
    radial-gradient(circle at 0 50%, transparent var(--c), #000 calc(var(--c) + 1px)) right/calc(100% - var(--c)) 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent var(--c), #000 calc(var(--c) + 1px)) left/calc(100% - var(--c)) 100% no-repeat;
  margin: 0 0 12px;
}
.pw-ticket-tag {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--pw-accent-strong);
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  padding: 6px 14px; border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(var(--deep-rgb, 45,19,105),.25);
}
.pw-ticket-body {
  display: inline-flex;
  align-items: flex-start;
  color: #fff;
  line-height: 1;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.pw-ticket-num { font-family: var(--ff-body); font-weight: 900; font-size: 88px; letter-spacing: -.05em; line-height: .9; }
.pw-ticket-col { display: inline-flex; flex-direction: column; align-items: flex-start; margin: 6px 0 0 10px; line-height: 1; gap: 6px; }
.pw-ticket-pct { font-family: var(--ff-body); font-weight: 800; font-size: 34px; line-height: 1; }
.pw-ticket-off { font-family: var(--ff-body); font-weight: 900; font-size: 26px; letter-spacing: .04em; line-height: 1; }
.pw-ticket-sun {
  position: absolute;
  right: -40px; top: 50%; transform: translateY(-50%);
  width: 240px; height: 240px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><g fill='%23ffffff' fill-opacity='0.22'><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(4 56) scale(3.6)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(70 4) scale(1.8)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(120 100) scale(2.4)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(12 180) scale(1.3)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(70 160) scale(1.1)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(166 22) scale(1.5)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(190 90) scale(1)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(115 200) scale(1.2)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(186 168) scale(1.6)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(48 12) scale(.9)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(150 200) scale(.8)'/><path d='M10 0h4v8h8v4h-8v12h-4V12H2V8h8z' transform='translate(218 210) scale(.7)'/></g></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
.pw-gift-banner {
  background: var(--pw-accent-bg);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.pw-gift-ico { font-size: 28px; line-height: 1; }
.pw-gift-banner p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--pw-ink); font-weight: 600; }
.pw-gift-banner .strike { text-decoration: line-through; color: var(--pw-muted); font-weight: 500; }
.pw-gift-banner .hl   { color: var(--pw-accent); font-weight: 800; }

/* Generic card */
.pw-card {
  background: var(--pw-card);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--pw-shadow);
}

/* Plans */
.pw-plans-card { padding: 28px 22px; }
.pw-plans-h {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(24px, 6.4vw, 30px);
  text-align: center;
  margin: 0 0 22px;
  color: var(--pw-ink);
  letter-spacing: -.02em;
}
.pw-plans { display: flex; flex-direction: column; gap: 12px; }
.pw-plan {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--pw-border);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pw-plan:hover { border-color: var(--pw-accent-soft); }
.pw-plan input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  top: 0; left: 0;
  margin: 0;
  cursor: pointer;
}
.pw-plan-radio {
  width: 22px; height: 22px;
  border: 2px solid var(--muted-line, #cbc4d5);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: border-color .15s;
}
.pw-plan-radio::after {
  content: "";
  position: absolute; inset: 3px;
  background: var(--pw-accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .15s, transform .15s;
}
/* Active selection — use :has for full-row state */
.pw-plan:has(input:checked) {
  border-color: var(--pw-accent);
  background: linear-gradient(180deg, var(--tint-bg, #f5efff) 0%, #fff 60%);
  box-shadow: 0 2px 14px rgba(var(--deep-rgb, 45,19,105),.10);
}
.pw-plan:has(input:checked) .pw-plan-radio { border-color: var(--pw-accent); }
.pw-plan:has(input:checked) .pw-plan-radio::after { opacity: 1; transform: scale(1); }
.pw-plan:has(input:checked) .pw-plan-day-pill { background: var(--pw-accent-day); }
.pw-plan-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-align: left; }
.pw-plan-name { font-weight: 800; font-size: 22px; color: var(--pw-ink); letter-spacing: -.01em; text-align: left; }
.pw-plan-price { font-size: 14px; color: var(--pw-ink); font-weight: 500; text-align: left; white-space: nowrap; }
.pw-plan-was { text-decoration: line-through; color: var(--pw-muted); font-weight: 400; margin-right: 2px; }
.pw-plan-perday { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pw-plan-was-day { font-size: 13px; color: var(--pw-muted); text-decoration: line-through; }

/* Per-day pill: clean rounded shape, no rotated-square trick */
.pw-plan-day-pill {
  background: #eeeaf3;
  color: var(--pw-ink);
  padding: 10px 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-weight: 800;
  line-height: 1;
  transition: background .15s;
  white-space: nowrap;
}
.pw-plan-day-pill .pw-plan-dollar { font-size: 13px; }
.pw-plan-day-pill b { font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.pw-plan-day-pill sup { font-size: 13px; font-weight: 800; vertical-align: super; }
.pw-plan-day-pill .pw-plan-day-label { font-size: 10px; font-weight: 600; margin-left: 6px; opacity: .7; letter-spacing: .02em; }
/* Highlight per-day pill only when its plan is selected */

/* Popular plan: badge only — no border tint unless the user also picks it */
.pw-plan-badge {
  position: absolute;
  top: -11px; right: 18px;
  background: var(--pw-accent); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}

.btn--accent {
  background: var(--pw-accent);
  color: #fff;
  width: 100%;
  padding: 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  margin-top: 22px;
  letter-spacing: -.01em;
  box-shadow: 0 10px 28px rgba(var(--glow-rgb, 92,63,181),.34);
  transition: background .15s, box-shadow .15s, transform .12s;
}
.btn--accent:hover { background: var(--pw-accent-strong); box-shadow: 0 12px 32px rgba(var(--glow-rgb, 92,63,181),.44); }
.btn--accent:active { transform: scale(.985); }

.pw-safe {
  display: block;
  margin: 14px auto 0;
  width: 100%;
  max-width: 280px;
  height: auto;
}
.pw-trust-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 28px auto;
}
.pw-trust-img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  flex: 1 1 0;
  min-width: 0;
  object-fit: contain;
}
.pw-seal-img {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 24px rgba(245,124,30,.32));
}
.pw-secure {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e8f5ec; color: #18883e;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin: 14px auto 8px;
  justify-self: center;
}
.pw-cta + .pw-secure { display: flex; width: max-content; margin-inline: auto; }
.pw-pay-icons {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.pw-pay {
  background: #fff;
  border: 1px solid var(--pw-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px; font-weight: 800;
  color: var(--pw-ink);
  letter-spacing: .02em;
}
.pw-pay--visa { color: #1a1f71; }
.pw-pay--mc   { color: #eb001b; }
.pw-pay--disc { color: #ff6000; }
.pw-pay--pp   { color: #003087; }
.pw-pay--amex { color: #2e77bb; }

/* Trust band */
.pw-trust {
  display: flex; gap: 12px;
  margin: 20px 0;
  justify-content: space-around;
}
.pw-trust-item {
  display: flex; align-items: center; gap: 8px;
}
.pw-trust-body { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.pw-trust-body b { font-size: 16px; color: var(--pw-ink); }
.pw-trust-body span { font-size: 12px; color: var(--pw-muted); }
.pw-laurel { font-size: 28px; color: var(--pw-ink); }
.pw-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }

/* Section heading */
.pw-h--center { text-align: center; }
.pw-h .hl { color: var(--pw-accent); }

/* Features */
.pw-features { padding: 28px 24px; }
.pw-features .pw-h { font-size: clamp(24px, 6vw, 28px); margin: 0 0 22px; font-weight: 800; text-align: center; letter-spacing: -.02em; }
.pw-feat-list { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.pw-feat-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--pw-ink);
  text-align: left;
}
.pw-feat-img {
  flex-shrink: 0;
  width: 60px; height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(20,16,31,.10));
}
.pw-feat-list li div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pw-feat-list li b { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--pw-ink); letter-spacing: -.005em; }
.pw-feat-list li span { font-size: 14px; line-height: 1.45; color: var(--pw-muted); }

/* Why Unchaind works — stats grid */
.pw-stats { padding: 28px 24px; }
.pw-stats .pw-h { font-size: clamp(24px, 6vw, 28px); margin: 0 0 22px; font-weight: 800; text-align: center; letter-spacing: -.02em; }
.pw-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pw-stat {
  background: var(--pw-accent-bg);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.pw-stat b {
  font-family: var(--ff-display);
  font-size: clamp(28px, 7.4vw, 36px);
  font-weight: 700;
  color: var(--pw-accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.pw-stat span { font-size: 12px; color: var(--pw-ink); line-height: 1.35; font-weight: 500; }

/* Before / After columns */
.pw-ba { padding: 28px 24px; }
.pw-ba .pw-h { margin: 0 0 20px; font-weight: 800; font-size: clamp(24px, 6vw, 28px); text-align: center; letter-spacing: -.02em; }
.pw-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pw-ba-col {
  background: #faf6ff;
  border-radius: 16px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.pw-ba-col--before { background: #fcecec; }
.pw-ba-col--after  { background: #e6f4ea; }
.pw-ba-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pw-ba-col--before .pw-ba-label { color: #c43838; }
.pw-ba-col--after .pw-ba-label  { color: #138c3e; }
.pw-ba-col ul { display: flex; flex-direction: column; gap: 10px; }
.pw-ba-col li { font-size: 13px; line-height: 1.4; color: var(--pw-ink); padding-left: 20px; position: relative; }
.pw-ba-col--before li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #c43838 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%23fff'%3E%3Cpath d='M2.5 2.5l7 7m0-7l-7 7' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/9px no-repeat;
}
.pw-ba-col--after li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #138c3e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5L9.5 4' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Testimonial cards */
.pw-testi-card { padding: 22px 22px; text-align: left; }
.pw-testi-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pw-testi-card header b { font-size: 15px; color: var(--pw-ink); font-weight: 700; }
.pw-testi-card header .avatar--cross { width: 32px; height: 32px; flex-shrink: 0; }
.pw-testi-card header .pw-stars { margin-left: auto; color: #f5a623; font-size: 14px; letter-spacing: 2px; }
.pw-testi-card h4 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--pw-ink); letter-spacing: -.005em; }
.pw-testi-card > p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--pw-muted); }

.pw-social-header {
  text-align: center;
  font-size: 18px;
  color: var(--pw-ink);
  margin: 16px 0 18px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.005em;
}
.pw-social-header b { font-weight: 800; color: var(--pw-accent); }

.pw-testi-name { color: var(--pw-ink) !important; font-weight: 700; margin-top: 14px !important; }

/* Money-back guarantee */
.pw-guarantee { text-align: center; padding: 32px 24px; }
.pw-guarantee .pw-h { font-size: clamp(22px, 5.6vw, 26px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.pw-guarantee > p { font-size: 14px; line-height: 1.55; color: var(--pw-muted); margin: 0; max-width: 38ch; margin-inline: auto; }
.pw-seal {
  width: 180px; height: 180px;
  margin: 8px auto 16px;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, transparent 47%, #f57c1e 48%, #f57c1e 100%);
  border-radius: 50%;
  display: grid; place-items: center;
}
.pw-seal::before {
  content: "";
  position: absolute; inset: 6px;
  background:
    repeating-conic-gradient(#f57c1e 0deg 11deg, #fff 11deg 12deg);
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
          mask: radial-gradient(circle, transparent 60%, #000 62%);
}
.pw-seal-inner {
  position: relative; z-index: 2;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: #f57c1e;
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  gap: 0;
}
.pw-seal-top, .pw-seal-bot { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.pw-seal-mid {
  background: #ff9636; color: #fff;
  padding: 6px 14px;
  font-size: 14px; font-weight: 900;
  letter-spacing: .04em;
  width: 110%;
  text-align: center;
  margin: 4px 0;
}

/* FAQ */
.pw-faq { padding: 8px 24px; }
.pw-faq details {
  border-bottom: 1px solid var(--pw-border);
  padding: 18px 0;
}
.pw-faq details:last-child { border-bottom: none; }
.pw-faq summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 700; font-size: 16px; color: var(--pw-ink);
  list-style: none;
  cursor: pointer;
  letter-spacing: -.005em;
}
.pw-faq summary::-webkit-details-marker { display: none; }
.pw-faq summary::after {
  content: "+";
  color: var(--pw-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease;
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.pw-faq details[open] summary::after { transform: rotate(45deg); }
.pw-faq details p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--pw-muted);
  line-height: 1.55;
  text-align: left;
}

.pw-bottom-cta {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pw-bottom-cta .btn { margin-top: 0; }

.pw-brand-footer {
  background: #efebf3;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: none;
}
.pw-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pw-brand-row .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.pw-brand-row h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pw-brand-footer p { font-size: 13px; line-height: 1.55; color: var(--pw-muted); margin: 8px 0; text-align: left; }
.pw-brand-footer a { color: var(--pw-accent); text-decoration: underline; font-weight: 600; }

/* =====================================================================
   Reviews screen — compact, fits in one viewport
   ===================================================================== */
.reviews-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 22px;
  gap: 14px;
}
.reviews-title {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(22px, 5.5vw, 26px);
  margin: 0;
  color: var(--pw-ink);
  text-align: center;
  letter-spacing: -.01em;
}
.reviews-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pw-muted);
  text-align: center;
  max-width: 36ch;
}
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}
.review {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}
.review header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.review header .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pw-accent); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.review header b { color: var(--pw-ink); font-size: 15px; }
.review header .pw-stars { margin-left: auto; font-size: 13px; color: #f5a623; }
.review p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pw-muted);
}

/* Trustpilot-style verified reviews */
.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-top .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pw-accent); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.review-id { display: flex; flex-direction: column; line-height: 1.25; }
.review-id b { color: var(--pw-ink); font-size: 15px; }
.review-meta { font-size: 12px; color: var(--pw-muted); }
.review-verified { color: #00b67a; font-weight: 700; }
.review-date { margin-left: auto; font-size: 12px; color: var(--pw-muted); white-space: nowrap; align-self: flex-start; }
.review-stars { display: inline-flex; gap: 3px; margin-bottom: 8px; }
.review-stars i {
  width: 18px; height: 18px;
  background: #00b67a;
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-style: normal;
  border-radius: 3px;
}

/* =====================================================================
   Pledge celebration overlay
   ===================================================================== */
.pledge-celebrate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  animation: pledgeBgIn .25s ease both;
}
.pledge-celebrate.is-out { animation: pledgeBgOut .35s ease both; }
.pledge-celebrate-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: pledgePop .55s cubic-bezier(.16,1,.32,1.05) both;
}
.pledge-celebrate.is-out .pledge-celebrate-card { animation: pledgePopOut .35s ease both; }
.pledge-celebrate-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green, #4caf6e);
  color: #fff;
  display: grid; place-items: center;
  font-size: 40px; font-weight: 800;
  animation: pledgeTick .4s .15s cubic-bezier(.2,1.4,.3,1) both;
  transform: scale(0);
}
.pledge-lottie {
  width: 200px;
  height: 200px;
  display: block;
}
.pledge-lottie svg { width: 100% !important; height: 100% !important; }
.pledge-celebrate-card p {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
@keyframes pledgeBgIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pledgeBgOut { to   { opacity: 0; } }
@keyframes pledgePop {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pledgePopOut {
  to { opacity: 0; transform: scale(.95); }
}
@keyframes pledgeTick { to { transform: scale(1); } }

/* =====================================================================
   Pedagogy slide transition — only animate the content stack (emoji,
   title, lede). Button + dots stay put across pedagogy steps.
   ===================================================================== */
.screen[data-step^="pedagogy-"].is-active .pedagogy > .hero-img,
.screen[data-step^="pedagogy-"].is-active .pedagogy > .display,
.screen[data-step^="pedagogy-"].is-active .pedagogy > .lede {
  animation: pedSlideIn .45s cubic-bezier(.18,.84,.32,1.02);
}
.screen[data-step^="pedagogy-"].is-active .pedagogy > .dots,
.screen[data-step^="pedagogy-"].is-active .cta-bar > .btn { animation: none !important; }
@keyframes pedSlideIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Superwall paywall iframe — fills the screen, no padding
   ===================================================================== */
.screen[data-step="paywall"] {
  padding: 0 !important;
}
.paywall-redirect {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pw-bg);
}
.paywall-redirect[hidden] { display: none; }
.paywall-redirect-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(var(--deep-rgb, 44,21,93), .18);
  border-top-color: var(--purple-deep);
  animation: spin .7s linear infinite;
}

/* =====================================================================
   Our own paywall (paywall_arm "own"): a copy of Superwall's
   "w2a unchaind v3.5.2", measured on the live page at 390 px.
   ===================================================================== */
/* Superwall loads no web font: the page renders in the device's system font. */
.pw-own {
  --pwo-ink: #14101f; --pwo-muted: #6e6478; --pwo-purple: #2d1369;
  --pwo-orange: #e8641c; --pwo-tint: #f5efff; --pwo-line: #ece4e0;
  min-height: 100dvh; background: #fbf1ec; color: var(--pwo-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.15; text-align: left;
}
.pw-own[hidden], .pwo-after[hidden], .pwo-sheet[hidden], .pwo-sep[hidden] { display: none; }
.pwo-timer {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; align-items: baseline; gap: 7px;
  padding: 12px 16px; background: var(--pwo-orange); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .6px;
}
.pwo-timer b { font-size: 15px; font-weight: 900; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pwo-page { max-width: 440px; margin: 0 auto; padding: 4px 16px 0; }

.pwo-discount {
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 10px;
  padding: 14px 16px 12px; background: #fff; border: 2px solid var(--pwo-orange); border-radius: 18px;
}
.pwo-discount-col { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.pwo-discount-h { font-size: 15px; font-weight: 800; }
.pwo-code {
  align-self: stretch; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0 8px; background: var(--pwo-tint); border-radius: 12px;
}
.pwo-off { padding: 3px 8px; border-radius: 6px; background: var(--pwo-purple); color: #fff; font-size: 11px; font-weight: 800; }
.pwo-code-name { font-size: 18px; font-weight: 900; letter-spacing: 1px; }
.pwo-clock { display: flex; gap: 6px; }
.pwo-clock-box {
  width: 62px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--pwo-tint); border-radius: 12px;
}
.pwo-clock-box b { font-size: 28px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.pwo-clock-box span { margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--pwo-muted); }
.pwo-applied { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 12px; color: var(--pwo-muted); }

.pwo-card { margin-top: 14px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px rgba(20,30,70,.06); }
.pwo-card-head { display: flex; flex-direction: column; gap: 6px; padding: 12px 18px; background: var(--pwo-purple); }
.pwo-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; color: #cbb8ff; }
.pwo-card-title { font-size: 19px; font-weight: 800; color: #fff; }
.pwo-card-body { padding: 14px 18px 16px; }
.pwo-plans { display: flex; flex-direction: column; gap: 18px; }
.pwo-plan {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 16px;
  background: #fff; border: 1.5px solid var(--pwo-line); border-radius: 16px;
  font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pwo-plan[aria-checked="true"] { background: var(--pwo-tint); border-color: var(--pwo-purple); }
.pwo-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbc4d5; background: #fff; }
.pwo-plan[aria-checked="true"] .pwo-radio { background: var(--pwo-purple); border-color: var(--pwo-purple); }
.pwo-plan-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pwo-plan-name { font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -.22px; }
.pwo-plan-prices { font-size: 14px; }
.pwo-plan-prices s { color: var(--pwo-muted); margin-right: 6px; }
.pwo-plan-prices b { font-weight: 700; }
.pwo-day {
  flex: none; display: flex; align-items: flex-start; gap: 0; padding: 10px 14px; height: 50px;
  background: #eeeaf3; border-radius: 14px; font-weight: 800;
}
.pwo-plan[aria-checked="true"] .pwo-day { background: #e2d6ff; }
.pwo-day-cur { align-self: flex-end; margin-bottom: 4px; font-size: 13px; }
.pwo-day-int { font-size: 30px; line-height: 30px; letter-spacing: -.6px; }
.pwo-day-dec { font-size: 13px; margin-top: 1px; }
.pwo-day-per { align-self: flex-end; margin: 0 0 3px 6px; font-size: 10px; font-weight: 600; }
.pwo-badge {
  position: absolute; top: -10px; right: 18px; padding: 5px 14px; border-radius: 999px;
  background: var(--pwo-purple); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .44px; line-height: 13px;
}
.pwo-guarantee {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 14px;
  background: #f7f2ee; border-radius: 12px;
}
.pwo-guarantee svg { flex: none; }
.pwo-guarantee span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--pwo-muted); }
.pwo-guarantee b { font-size: 14px; color: var(--pwo-ink); }
.pwo-cta {
  display: block; width: 100%; margin-top: 15px; padding: 18px; border: 0; border-radius: 14px;
  background: var(--pwo-purple); color: #fff; font: 700 17px/1.15 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.17px;
  box-shadow: 0 10px 28px rgba(92,63,181,.34); cursor: pointer;
}
.pwo-cta:disabled { opacity: .55; cursor: default; }
/* The glint that sweeps Superwall's "Get my plan" every 2 s */
.pwo-cta[data-pwo-cta] { position: relative; overflow: hidden; }
.pwo-cta[data-pwo-cta]::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -35%; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); animation: pwo-shine 2s linear infinite;
}
@keyframes pwo-shine { 0%, 45% { left: -35%; } 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .pwo-cta[data-pwo-cta]::after { animation: none; display: none; } }
.pwo-renew { margin: 12px 0 0; padding-top: 10px; text-align: center; font-size: 12px; color: var(--pwo-muted); }
.pwo-safe { display: block; width: 251px; height: auto; margin: 20px auto 0; }
.pwo-notice {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff3ec; border: 1.5px solid var(--pwo-orange);
  font-size: 14px; line-height: 1.4; color: var(--pwo-ink);
}
.pwo-notice[hidden] { display: none; }

.pwo-sheet {
  scroll-margin-top: 56px; /* below the sticky timer bar */
  margin-top: 18px; padding: 16px; border: 1.5px solid var(--pwo-line); border-radius: 16px; background: #fff;
  animation: pwo-in .25s ease-out;
}
@keyframes pwo-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .pwo-sheet { animation: none; } }
.pwo-sheet-total { display: flex; justify-content: space-between; margin: 0 0 14px; font-size: 15px; }
.pwo-sep { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-size: 12px; color: var(--pwo-muted); }
.pwo-sep::before, .pwo-sep::after { content: ""; flex: 1; height: 1px; background: var(--pwo-line); }
.pwo-email { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; font-size: 13px; font-weight: 600; }
.pwo-email input {
  padding: 12px; border: 1px solid #d9d3e0; border-radius: 10px; font: 400 16px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--pwo-ink);
}
.pwo-email input:focus { outline: 2px solid var(--pwo-purple); outline-offset: 0; }
.pwo-error { min-height: 0; margin: 10px 0 0; font-size: 13px; color: #c0262d; }
.pwo-error:empty { display: none; }
.pwo-after a { color: var(--pwo-purple); }

/* The rest of the v3.5.2 page. Its section titles name Fraunces but the page
   never loads it, so they render in the system sans: same here. */
.pwo-title { font-size: 20px; font-weight: 700; text-align: center; }
.pwo-box { margin-top: 14px; padding: 22px 18px; background: #fff; border-radius: 20px; box-shadow: 0 10px 24px rgba(20,30,70,.06); }
.pwo-box h2 { margin: 0; }
.pwo-hero { padding-top: 20px; text-align: center; }
.pwo-brand { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; padding: 10px 0 4px; font-size: 17px; font-weight: 700; color: var(--pwo-purple); }
.pwo-brand img { border-radius: 6px; }
.pwo-hero-title { margin: 14px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.56px; }
.pwo-hero-title span { color: var(--pwo-orange); }
.pwo-avatars { display: flex; justify-content: center; margin-top: 9px; }
.pwo-avatars img, .pwo-avatars-count { height: 38px; border: 2px solid #fbf1ec; border-radius: 999px; }
.pwo-avatars img { width: 38px; object-fit: cover; object-position: 50% 18%; background: #e7ddf3; }
.pwo-avatars > * + * { margin-left: -12px; }
.pwo-avatars-count { display: flex; align-items: center; padding: 0 12px; background: var(--pwo-orange); color: #fff; font-size: 13px; font-weight: 800; }
.pwo-hero-line { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--pwo-muted); }
.pwo-hero-line b { font-weight: 800; color: var(--pwo-ink); }
.pwo-laurels { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.pwo-laurels img { width: 172px; height: auto; min-width: 0; flex: 1 1 0; }
.pwo-pocket {
  margin-top: 14px; padding-top: 18px; overflow: hidden; border-radius: 20px; text-align: center;
  background: #120303 linear-gradient(#160808 0%, #2e0806 45%, #7a240a 80%, #b8461a 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.pwo-pocket h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; color: #fff; }
.pwo-pocket video { display: block; width: 100%; aspect-ratio: 960 / 790; object-fit: cover; }
.pwo-everywhere { margin-top: 15px; padding: 18px 14px; box-shadow: none; text-align: center; }
.pwo-everywhere h2 { font-size: 17px; font-weight: 800; }
.pwo-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pwo-stores span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 6px; font-size: 13px; font-weight: 700; }
.pwo-features ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pwo-features li { display: flex; align-items: flex-start; gap: 14px; }
.pwo-features img { flex: none; border-radius: 12px; }
.pwo-features li span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--pwo-muted); padding-top: 6px; }
.pwo-features li b { font-size: 15px; font-weight: 700; color: var(--pwo-ink); }
.pwo-features h2 span, .pwo-join b { color: var(--pwo-purple); }
.pwo-press { margin-top: 14px; padding: 18px 20px; text-align: center; }
.pwo-press-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8a8f99; }
.pwo-press-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; }
.pwo-press-logos img { height: 15px; width: auto; filter: grayscale(1) brightness(0); opacity: .42; }
.pwo-press-logos .pwo-press-ct { height: 27px; }
.pwo-press-logos span { font-size: 13px; font-weight: 600; opacity: .42; }
.pwo-press-logos .pwo-press-wide { height: 10px; flex-basis: 100%; object-fit: contain; }
.pwo-life-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.pwo-life-cols > div { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 14px; font-size: 13px; line-height: 18.85px; }
.pwo-life-cols b { font-weight: 800; letter-spacing: .52px; line-height: 15px; }
.pwo-life-before { background: #fcecec; color: var(--pwo-muted); }
.pwo-life-before b { color: #c43838; }
.pwo-life-after { background: #e6f4ea; }
.pwo-life-after b { color: #138c3e; }
.pwo-screens {
  display: flex; gap: 16px; margin: 13px -16px 0; padding: 6px 55px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pwo-screens::-webkit-scrollbar { display: none; }
.pwo-screens img { flex: none; width: 171px; height: 371px; border-radius: 26px; }
.pwo-join { margin: 21px 0 0; text-align: center; font-size: 18px; font-weight: 600; line-height: 20.7px; }
.pwo-join b { font-weight: 800; }
.pwo-review { margin-top: 14px; padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 10px 24px rgba(20,30,70,.06); }
.pwo-review-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; color: #4a4f5c; }
.pwo-review p { margin: 20px 0 0; font-size: 16px; line-height: 24.8px; color: #3c4250; }
.pwo-promise { padding: 24px 18px; text-align: center; }
.pwo-promise img { display: block; margin: 0 auto; width: 120px; height: 96px; object-fit: contain; }
.pwo-promise h2 { margin-top: 10px; }
.pwo-promise p { margin: 10px 0 0; font-size: 14px; line-height: 21px; color: var(--pwo-muted); }
.pwo-card--dark .pwo-card-head { padding: 16px 18px; background: #111; }
.pwo-card--dark .pwo-cta, .pwo-card--dark .pwo-badge { background: #111; }
.pwo-card--dark .pwo-card-body { padding-top: 18px; }
.pwo-card--dark .pwo-plans { gap: 22px; }
.pwo-card--dark .pwo-plan { padding: 14px 16px; }
.pwo-card--dark .pwo-guarantee { margin-top: 14px; padding: 10px 14px; }
.pwo-faq .pwo-faq-item { margin-top: 10px; padding: 16px 16px 14px; background: var(--pwo-tint); border-radius: 14px; }
.pwo-faq h2 + .pwo-faq-item { margin-top: 10px; }
.pwo-faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 700;
}
.pwo-faq-item summary::-webkit-details-marker { display: none; }
.pwo-faq-item summary span { font-size: 20px; font-weight: 600; color: var(--pwo-muted); transition: transform .2s; }
.pwo-faq-item[open] summary span { transform: rotate(45deg); }
.pwo-faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 21px; color: var(--pwo-muted); }
.pwo-foot { padding: 24px 18px; margin-bottom: 40px; font-size: 12px; line-height: 18px; color: var(--pwo-muted); }
.pwo-foot p { margin: 0 0 10px; }
.pwo-foot p:last-child { margin: 0; line-height: 14px; }
.pwo-foot b { font-weight: 700; }
.pwo-foot a { color: inherit; text-decoration: none; }
.pwo-foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px !important; }
.pwo-foot-brand span { font-size: 20px; color: var(--pwo-ink); }

.pwo-after {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; background: #fbf1ec; color: #14101f; text-align: center; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.pwo-after h2 { margin: 0; font-size: 24px; font-weight: 800; }
.pwo-after p { margin: 0; max-width: 32ch; font-size: 15px; line-height: 1.45; }
.pwo-after .pwo-after-help { font-size: 13px; color: #6e6478; }
.pwo-after .pwo-cta { max-width: 340px; background: #2d1369; color: #fff; text-align: center; text-decoration: none; }

/* =====================================================================
   Dev skip button — visible only on localhost (toggled via JS)
   ===================================================================== */
.dev-skip {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  background: #ff3b30;
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font: 600 12px/1 ui-monospace, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,59,48,.4);
  opacity: .9;
}
.dev-skip:hover { opacity: 1; transform: translateY(-1px); }
.dev-skip[hidden] { display: none; }

/* =====================================================================
   Success page — processing / failed / done states
   ===================================================================== */
.success-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255,255,255,.18);
  border-top-color: var(--white, #fff);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: successSpin 1s linear infinite;
}
@keyframes successSpin { to { transform: rotate(360deg); } }
.success-processing .display,
.success-failed .display { color: var(--white, #fff); }
.success-processing .lede,
.success-failed .lede { color: rgba(255,255,255,.78); }
.success-help {
  margin: 18px 0 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-align: center;
}
.success-download {
  margin-top: 28px;
  padding: 20px 24px !important;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  background: #fff !important;
  color: var(--ink-deep, #1c1340) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.success-download:hover { transform: translateY(-1px); }
.success-download .arrow { font-size: 18px; }

/* =====================================================================
   Payment modal — opens on paywall Continue click
   ===================================================================== */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: payFadeIn .25s ease;
  transition: opacity .22s ease, visibility 0s linear 0s;
}
/* Closed state — modal stays in DOM (so Stripe iframe is preloaded) but is
 * invisible and non-interactive. */
.pay-modal.is-closed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
  /* visibility:hidden still lays the modal out, so its loading="lazy" image
     counted as in-viewport and downloaded on the welcome screen. Skipping the
     subtree defers it until the modal is actually opened. */
  content-visibility: hidden;
}
.pay-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(var(--shade-rgb, 20,18,40),.55);
}
.pay-modal__card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 22px 22px 18px;
  max-width: 440px;
  width: 100%;
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(var(--shade-rgb, 20,18,40),.40);
  animation: payPop .28s cubic-bezier(.22,1.2,.36,1);
}
.pay-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-deep, #1c1340);
  cursor: pointer;
  transition: background .15s;
}
.pay-modal__close:hover { background: rgba(0,0,0,.06); }
.pay-modal__title {
  margin: 2px 0 10px;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  color: var(--ink-deep, #1c1340);
  letter-spacing: -.01em;
}
.pay-modal__pitch {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink-deep, #1c1340);
  letter-spacing: -.01em;
}
.pay-modal__hl { color: var(--pw-accent); }
.pay-modal__hl--accent { color: var(--pw-accent); }
.pay-modal__hl--warm { color: #ff5a3c; }

.pay-modal__breakdown {
  margin: 0 0 8px;
  padding: 0;
}
.pay-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 2px;
  font-size: 14px;
  color: #6e6a85;
  font-weight: 600;
}
.pay-modal__row b { color: #6e6a85; font-weight: 700; font-size: 15px; }
.pay-modal__row--discount { color: #e15a5a; }
.pay-modal__row--discount b { color: #e15a5a; }
.pay-modal__row--total {
  border-top: 1px solid #e9e6ef;
  margin-top: 2px;
  padding-top: 8px;
  color: var(--ink-deep, #1c1340);
  font-size: 15px;
}
.pay-modal__row--total span { font-weight: 800; }
.pay-modal__row--total b { color: var(--ink-deep, #1c1340); font-weight: 900; font-size: 19px; letter-spacing: -.01em; }

.pay-modal__express {
  margin: 4px 0 0;
}
.pay-modal__express:empty { display: none; }
.pay-modal__sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  font-size: 10px;
  color: var(--muted-ink, #8a85a3);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.pay-modal__sep::before, .pay-modal__sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e9e6ef;
}
.pay-modal__sep[hidden] { display: none; }
.pay-modal__mount {
  margin: 4px 0 6px;
  min-height: 220px;
  position: relative;
}
.pay-modal__mount .checkout-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #6e6a85;
  font-size: 13px;
}
.pay-modal__mount .checkout-loading::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 3px solid rgba(var(--deep-rgb, 45,19,105),.15);
  border-top-color: var(--pw-accent);
  border-radius: 50%;
  animation: payLoadSpin .8s linear infinite;
}
@keyframes payLoadSpin { to { transform: rotate(360deg); } }
/* Skeleton rows while Stripe iframe loads */
.pay-modal__mount .checkout-loading::after {
  content: "Loading secure payment…";
  opacity: .8;
}
.pay-modal__error {
  color: #d33;
  font-size: 12px;
  text-align: center;
  margin: 4px 0 0;
  min-height: 14px;
}
.pay-modal__submit {
  width: 100%;
  margin: 8px 0 4px;
  padding: 14px;
  font-size: 15px;
  border-radius: 12px;
  font-weight: 700;
}
.pay-modal__submit[disabled] { opacity: .65; cursor: wait; }
.pay-modal__safe {
  width: 100%;
  max-width: 220px;
  margin: 10px auto 0;
  display: block;
  opacity: .85;
}
.pay-modal__fineprint {
  text-align: center;
  font-size: 11px;
  color: var(--muted-ink, #8a85a3);
  margin: 4px 0 0;
}
@keyframes payFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes payPop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .pay-modal { padding: 10px; align-items: flex-end; }
  .pay-modal__card { border-radius: 22px 22px 14px 14px; max-height: calc(100dvh - 20px); }
}

/* ===== Prepaywall sticky CTA — always visible, unlocks near page bottom ===== */
.screen[data-step="prepaywall"] .cta-bar--sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(var(--light-rgb, 251,242,236),0) 0%, rgb(var(--light-rgb, 251,242,236)) 42%);
  padding-top: 30px;
}
.screen[data-step="prepaywall"] .paywall { padding-bottom: 132px; }
.cta-bar--sticky .btn.is-locked { opacity: .55; pointer-events: auto !important; cursor: pointer; }
.cta-bar--sticky .btn.is-locked .cta-circle { animation: ctaScrollBounce 1.2s ease-in-out infinite; }
@keyframes ctaScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* ===== Insight (reassurance) screens between quiz questions ===== */
.insight {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 28px;
}
.insight-big {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(54px, 16vw, 84px);
  line-height: 1;
  color: var(--purple-deep);
  letter-spacing: -.02em;
}
/* Social proof: keep the whole group centered (don't push awards to the bottom) */
.screen[data-step="social-1"] .finally-awards { margin: 18px auto 0; max-width: 240px; }
.insight-title {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(22px, 5.8vw, 27px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
  max-width: 340px;
}
.insight-sub {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

/* =====================================================================
   V2 additions — trust strip, score, freedom, plan preview, timer
   ===================================================================== */

/* Trust strip (welcome screen) */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted-light);
  opacity: .8;
}
.trust-strip span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.trust-strip svg {
  flex-shrink: 0;
  opacity: .7;
}

/* Welcome v2 — fills entire viewport with content distributed */
.welcome-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 16px);
  overflow: hidden;
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
/* Top spacer pushes content to golden ratio ~40% from top */
.welcome-v2-logo {
  width: 56px;
  height: 56px;
  margin-top: auto;
  margin-bottom: 16px;
}
.welcome-v2-title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 6.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 10px;
  max-width: 320px;
}
.welcome-v2-sub {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted-light);
  max-width: 300px;
  margin: 0 0 24px;
}
.welcome-v2-quiz {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .02em;
  margin: 4px 0 26px;
}
.welcome-v2-quiz .hl-accent {
  font-weight: 800;
  letter-spacing: .12em;
}
.welcome-v2-ageq {
  font-family: var(--ff-body);
  font-size: clamp(20px, 5.4vw, 24px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
/* Trust line (inline stats) */
.welcome-v2-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-sep { opacity: .4; }

/* Privacy reassurance directly under the age choices */
.welcome-v2-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: -.005em;
}
.welcome-v2-secure .lock { font-size: 13px; opacity: .9; }

/* Age grid pushes to bottom via auto margin (secure line rides with it) */
.screen[data-step="welcome"] .welcome-v2-secure {
  margin-bottom: auto;
}
/* Dark options variant */
.options--dark .option {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.options--dark .option.is-selected {
  background: rgba(var(--accent-ui-rgb),.35);
  border-color: var(--accent-ui);
}
/* Age options — 2x2 grid */
.options--age {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 26px;
  width: 100%;
  margin: 0 auto 26px;
}
.options--age .option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.options--age .opt-avatar {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
}
.options--age .option:active,
.options--age .option.is-selected {
  transform: scale(.97);
  background: rgba(var(--accent-ui-rgb),.35);
  border-color: var(--accent-ui);
}

/* ===================== V2 intro additions ===================== */
.welcome-v2-brand {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; margin-bottom: 20px;
}
.welcome-v2-brand .welcome-v2-logo { width: 40px; height: 40px; margin: 0; }
.welcome-v2-brandname {
  font-family: var(--ff-display); font-size: 24px; font-weight: 700;
  color: #fff; letter-spacing: -.01em;
}
.tag-chip {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-ui), var(--accent-ui-soft));
  color: #fff; font-weight: 800;
  padding: .02em .4em; border-radius: .3em;
  box-shadow: 0 4px 16px rgba(var(--accent-ui-rgb),.5);
  transform: rotate(-1.5deg);
}
.welcome-v2-quiz b { color: #fff; font-weight: 800; }
/* Photo age cards: photo fills card, gradient, pill + arrow at bottom */
.options--age .option {
  position: relative; padding: 0; height: 200px; border-radius: 20px; overflow: visible;
  display: flex; flex-direction: row; gap: 0; align-items: flex-end; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(var(--accent-ui-rgb),.24) 100%);
  border: 1.5px solid rgba(255,255,255,.16);
}
.options--age .option::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  background: linear-gradient(180deg, transparent 42%, rgba(var(--shade-rgb, 18,9,44),.6) 100%);
}
.options--age .opt-avatar {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 20px; filter: none;
}
.options--age .opt-label {
  position: relative; z-index: 2; margin: 0 6px -14px 0;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--bg-dark);
  padding: 9px 12px 9px 18px; border-radius: 50px;
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.age-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--bg-dark); color: #fff; font-size: 15px; font-weight: 700; line-height: 1;
}
.options--age .option.is-selected { outline: 3px solid var(--accent-ui); }
.options--age .option.is-selected .opt-label { background: var(--accent-ui); color: #fff; }
.options--age .option.is-selected .age-arrow { background: #fff; color: var(--accent-ui); }

/* Intro splash — like the app launch screen (longer so the verse can land) */
/* Intro splash. Was 1.9s and swallowed every tap until it finished — on paid
   traffic that is ~1.9s of blank screen before anyone can pick an age.
   Now 900ms, and pointer-events: none from frame 1 so an early tap on the age
   options still lands. app.js also removes it from the DOM once it is done. */
.intro-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: var(--bg-dark);
  pointer-events: none;
  animation: introSplash 1.6s ease forwards;   /* v5: verse readable ~0.8s (was .9s) */
}
.intro-splash-mark { width: 72px; height: 72px; animation: introMark .5s ease; }
.intro-splash-name {
  font-family: var(--ff-display); font-size: 30px; font-weight: 700;
  color: #fff; letter-spacing: -.01em;
}
.intro-splash-verse {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  color: rgba(255,255,255,.78);
  max-width: 300px;
  margin: 10px 0 0;
  animation: introVerse .35s ease .1s both;
}
.intro-splash-verse-ref {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}
@keyframes introVerse {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes introSplash {
  0%, 78% { opacity: 1; visibility: visible; }   /* hold to 1.25s, then a .35s fade */
  100% { opacity: 0; visibility: hidden; }
}
@keyframes introMark {
  0% { transform: scale(.86); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .intro-splash { display: none; } }

/* Score card */
.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 24px 0 16px;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-strong);
}
.score-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}
.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
}
.score-label {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.score-severity {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* Score markers */
.score-markers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 20px;
}
.score-marker {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--tint-bg, #f3e8ff);
  color: var(--tint-ink, #6b21a8);
  border-radius: var(--r-pill);
}

/* Freedom card */
.freedom-card {
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, var(--ink-deep, var(--ink-deep, #1c1340)) 0%, var(--purple-deep) 100%);
  border-radius: var(--r-lg);
  text-align: center;
  color: #fff;
}
.freedom-label {
  font-size: 13px;
  opacity: .75;
  margin: 0 0 6px;
}
.freedom-date {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffb37a;
}
.freedom-sub {
  font-size: 12px;
  opacity: .65;
  margin: 0;
}

/* Plan preview */
.plan-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.plan-day {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.plan-day-num {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ui);
  min-width: 44px;
}
.plan-day-text {
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
}
.plan-preview-sub {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* Review streak badge */
.review-streak {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4caf6e;
}

/* Discount timer */
.scratch-timer {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-light);
  text-align: center;
}
.scratch-timer b {
  color: #ffb37a;
  font-variant-numeric: tabular-nums;
}
.pw-timer-reminder {
  margin-top: 8px;
  font-size: 14px;
  color: #e53e3e;
  text-align: center;
}
.pw-timer-reminder b {
  font-variant-numeric: tabular-nums;
}

/* Discreet billing note */
.pw-discreet {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Pinned section name, fixed right under the progress segments */
.section-name[hidden] { display: none; }
.section-name {
  position: fixed;
  top: calc(var(--topbar-h) + 4px);
  left: 0; right: 0;
  z-index: 29;
  margin: 0;
  text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ui);
  pointer-events: none;
}
/* The old in-flow label is replaced by the pinned one */
.quiz > .section-label { display: none; }

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-ui);
  margin-bottom: 12px;
}

/* Insight images */
.insight-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 16px;
}

/* Welcome v2 hero image */
.welcome-v2-hero {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 20px;
}

/* Accent highlight for welcome sub */
.hl-accent {
  color: #ffb37a;
  font-weight: 600;
}

/* Mentioned-in logos */
.mentioned-in-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 20px 0 8px;
  text-align: center;
}
.mentioned-in-logos {
  max-width: 220px;
  margin: 0 auto;
  opacity: .35;
  filter: grayscale(1);
}

/* =====================================================================
   Press row (social-1)
   Real logo files from each publication's own CDN, flattened to one grey.
   Sized by HEIGHT, not width: these wordmarks range from 3.7:1 (Christianity
   Today) to 19:1 (The Christian Post), so a fixed-width grid made the wide
   ones unreadable. A common optical height plus flex-wrap lets each mark take
   the width it needs and the row reflow on its own.
   TO ADD OR SWAP A LOGO: drop the file in assets/social/press/ and add one
   <li><img src="..." alt="..." loading="lazy" decoding="async" /></li>.
   The grey treatment and sizing below apply automatically. Give a mark wider
   than ~10:1 the .press-row-wide class so it gets its own line.
   ===================================================================== */
.press-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.press-row li {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* One grey, one opacity, one optical height. A press row that keeps each
   brand's own colour competes with the headline above it. */
.press-row img {
  height: 17px;
  width: auto;
  max-width: 100%;
  filter: grayscale(1) brightness(0);
  opacity: .42;
}
/* Very wide wordmarks get their own line so they do not squeeze the rest. */
.press-row-wide { flex: 0 0 100%; }

/* Per-title optical tuning. A single common height does NOT give equal weight:
   a two-line stacked mark needs roughly double the height of a one-line mark
   to read at the same size, and a very bold caps mark needs less. These values
   were set by eye at 390px, not calculated. */
.pl--ct img        { height: 27px; }   /* two lines stacked */
.pl--relevant img  { height: 14px; }   /* heavy caps, reads big */
.pl--charisma img  { height: 15px; }
.pl--crosswalk img { height: 17px; }
.pl--post img      { height: 10px; }   /* 19:1 banner, own line */

/* Fallback for a title with no official file yet: set typographically, tuned
   to sit at the same optical weight as the flattened logos. */
.press-row .press-mark {
  color: var(--text);
  opacity: .42;
  line-height: 1.05;
  font-size: 13px;
  text-align: center;
}
.press-mark--tgc {
  font-family: var(--ff-display);
  font-weight: 600;
  flex-direction: column;
  gap: 0;
}
.press-mark--tgc span {
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* =====================================================================
   Authority quote (faith-proof) — denomination-matched, filled by app.js
   ===================================================================== */
.faith-quote {
  position: relative;
  max-width: 340px;
  margin: 22px auto 0;
  padding: 18px 18px 16px;
  border-radius: 16px;
  /* Dark, near-opaque fill: this card sits over the mountain artwork, and a
     6% white wash let the silhouette read straight through the quote. */
  background: rgba(var(--shade-rgb, 20,12,46), .72);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(var(--shade-rgb, 10,5,28), .3);
  text-align: left;
}
@supports (backdrop-filter: blur(8px)) {
  .faith-quote {
    background: rgba(var(--shade-rgb, 20,12,46), .55);
    backdrop-filter: blur(10px);
  }
}
.faith-quote-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 8px;
}
.faith-quote-text {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.faith-quote-cite {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-body, inherit);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
}
.faith-quote-cite small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}

/* Light fineprint */
.cta-fineprint--light {
  color: var(--muted-light);
  opacity: .6;
}

/* ===== Before/After grid ===== */
/* Before/After — fill the screen, center vertically */
.content--ba { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ba-title {
  font-family: var(--ff-body); font-weight: 800;
  font-size: clamp(22px, 5.8vw, 27px); letter-spacing: -.02em;
  text-align: center; color: var(--ink); margin: 2px 0 4px;
}
.ba-arrow {
  align-self: center;
  font-size: 26px; color: var(--purple-deep); font-weight: 700;
}
.ba-foot { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.ba-foot b { color: var(--ink); }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  margin: 22px 0 4px;
}
.ba-col {
  padding: 18px 14px;
  border-radius: var(--r-md);
}
.ba-col--before {
  background: #fce8e8;
}
.ba-col--after {
  background: #e8f5e9;
}
.ba-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 10px;
}
.ba-col--before .ba-label { color: #c62828; }
.ba-col--after .ba-label { color: #2e7d32; }
.ba-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ba-col li {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}
.ba-col--before li::before { content: "- "; color: #c62828; font-weight: 600; }
.ba-col--after li::before { content: "+ "; color: #2e7d32; font-weight: 600; }

/* Loader: allow scroll when popups appear */
.screen[data-step="calculating"] { min-height: 100dvh; height: auto; overflow-y: auto; }
.screen[data-step="calculating"] .loader { justify-content: center; padding-top: 0; }

/* ===== Loader popup — centered modal ===== */
.loader-popup[hidden] { display: none; }
.loader-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(var(--shade-rgb, 20,10,45),.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: popupFade .25s ease;
}
.loader-popup-card {
  width: 100%; max-width: 340px;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(var(--shade-rgb, 20,10,45),.35);
}
.loader-popup-label {
  text-align: center; font-size: 13px; color: #8b8a99; margin: 0;
  padding: 20px 20px 4px;
}
.loader-popup-q {
  text-align: center; font-size: 18px; font-weight: 800; color: var(--ink);
  margin: 0; padding: 4px 20px 18px; line-height: 1.3;
}
.loader-popup-btns {
  display: flex; gap: 12px; justify-content: center;
  padding: 0 20px 20px;
}
.loader-popup-btn {
  flex: 1; padding: 14px 0; border-radius: 14px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: none;
  transition: transform .15s ease;
}
.loader-popup-btn--no  { background: var(--muted-bg, #efedf4); color: var(--muted-text, #4a4760); }
.loader-popup-btn--yes { background: var(--purple-deep); color: #fff; }
.loader-popup-btn:active { transform: scale(.96); }
.loader-popup.is-answered { animation: popupFade .25s ease reverse; }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Loader reviews carousel (dark, Trustpilot-style) ===== */
.loader-reviews {
  width: 100%;
  max-width: 330px;
  margin: 26px auto 0;
  padding: 6px 4px 22px;     /* room for the card shadow */
}
/* One review at a time, centred, cross-fade — no partial/cut cards */
.loader-rev-track {
  display: grid;             /* all cards stacked in one cell → sizes to tallest, no clip */
}
.loader-rev {
  grid-area: 1 / 1;
  box-sizing: border-box;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.loader-rev.is-active { opacity: 1; transform: none; }
.loader-rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.loader-rev-top .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--purple-deep); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.loader-rev-id { display: flex; flex-direction: column; line-height: 1.25; }
.loader-rev-id b { color: var(--ink); font-size: 15px; }
.loader-rev-meta { font-size: 12px; color: var(--muted); }
.loader-rev p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted-text, #45435a); }

/* ===== Section progress segments (4 phases) ===== */
.section-dots[hidden] { display: none !important; }
.section-dots {
  position: fixed;
  top: calc(var(--topbar-h) - 6px);
  left: max(20px, calc(50vw - 240px));
  right: max(20px, calc(50vw - 240px));
  z-index: 29;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.section-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
  font-size: 0;            /* hide the text label */
  position: relative;
}
body.theme--dark .section-dot { background: rgba(255,255,255,.15); }
.section-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--f, 0%);
  background: var(--ink);
  border-radius: 999px;
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
body.theme--dark .section-dot::after { background: var(--white); }

/* ===== Success steps ===== */
.success-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
  width: 100%;
  max-width: 320px;
}
.success-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.35;
}
.success-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-ui);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ===== 1-5 Evaluation scale ===== */
.eval-scale {
  width: 100%;
  max-width: 460px;
  margin: 24px auto 0;
}
.eval-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 0 4px;
}
.eval-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.eval-btn {
  flex: 1;
  aspect-ratio: 1;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 2px solid #e0dce6;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(20,30,70,.06);
  cursor: pointer;
  transition: all .2s ease;
}
.eval-btn:hover {
  border-color: var(--accent-ui);
  background: var(--tint-bg, #f5f0ff);
}
.eval-btn.is-selected {
  background: var(--accent-ui);
  border-color: var(--accent-ui);
  color: #fff;
  transform: scale(1.08);
}

/* Inline insight callout under a question (our palette) */
.q-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(var(--accent-ui-rgb),.07);
  border: 1px solid rgba(var(--accent-ui-rgb),.16);
  border-radius: 14px;
  padding: 11px 13px;
  margin: 0 auto;
  max-width: 460px;
  width: 100%;
  font-size: 13px;
  line-height: 1.4;
  color: var(--tint-ink, #473a63);
  text-align: left;
}
.q-callout .q-callout-ic { font-size: 17px; line-height: 1.3; flex-shrink: 0; }
.q-callout b { color: var(--tint-ink, #5b3fb5); font-weight: 700; }
/* Reserve the callout's space while hidden so revealing it never shifts the
   centered layout — only its opacity changes. */
.q-callout[hidden] { display: flex; visibility: hidden; opacity: 0; }
.q-callout.is-in { animation: calloutFade .4s ease both; }
@keyframes calloutFade { from { opacity: 0; } to { opacity: 1; } }
/* On callout screens we don't auto-advance — keep the Continue button visible
   (overrides the single-select auto-advance hide rule above). */
.screen:has(.q-callout) .cta-bar { display: flex !important; }

/* Screen transitions handled by original .screen.is-active animation */

/* ===== Responsive fixes ===== */
/* ===== Mobile-first responsive for all new elements ===== */

/* Insight images — constrained to not overflow */
.insight-img { max-width: min(140px, 30vw); height: auto; }

/* Content containers — must respect mobile padding */
.score-card, .freedom-card, .plan-preview,
.success-steps, .loader-popups, .loader-review {
  max-width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
}

/* Before/After: centered column that scales with the viewport */
.content--ba {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}
.ba-grid {
  max-width: min(100%, 440px);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 600px) {
  .ba-col { padding: 22px 18px; }
  .ba-col li { font-size: 14px; }
  .ba-label { font-size: 14px; }
  .ba-foot { font-size: 15px; }
}

/* Before/After — sequenced reveal: title → today → arrow → after → foot.
   Overrides the generic content fade so the transformation reads as a story. */
.screen[data-step="before-after"].is-active .content--ba { animation: none; }
.screen[data-step="before-after"].is-active .result-eyebrow { animation: baIn .45s .05s both ease; }
.screen[data-step="before-after"].is-active .ba-title      { animation: baIn .45s .14s both cubic-bezier(.22,.61,.36,1); }
.screen[data-step="before-after"].is-active .ba-col--before{ animation: baIn .5s .3s both cubic-bezier(.22,.61,.36,1); }
.screen[data-step="before-after"].is-active .ba-arrow      { animation: baArrow .5s .55s both cubic-bezier(.34,1.56,.64,1); }
.screen[data-step="before-after"].is-active .ba-col--after { animation: baIn .5s .68s both cubic-bezier(.22,.61,.36,1); }
.screen[data-step="before-after"].is-active .ba-foot       { animation: baIn .45s .95s both ease; }
@keyframes baIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes baArrow { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* Faith-proof avatar stack pops in one by one */
.screen[data-step="faith-proof"].is-active .proof-avatars img,
.screen[data-step="faith-proof"].is-active .proof-avatars-more {
  animation: avIn .45s both cubic-bezier(.34,1.56,.64,1);
}
.screen[data-step="faith-proof"].is-active .proof-avatars img:nth-child(1) { animation-delay: .15s; }
.screen[data-step="faith-proof"].is-active .proof-avatars img:nth-child(2) { animation-delay: .24s; }
.screen[data-step="faith-proof"].is-active .proof-avatars img:nth-child(3) { animation-delay: .33s; }
.screen[data-step="faith-proof"].is-active .proof-avatars img:nth-child(4) { animation-delay: .42s; }
.screen[data-step="faith-proof"].is-active .proof-avatars-more { animation-delay: .52s; }
@keyframes avIn { from { opacity: 0; transform: scale(.4) translateX(-6px); } to { opacity: 1; transform: none; } }

/* Prepaywall goal pills stagger in (built from the user's own picks) */
.screen[data-step="prepaywall"].is-active .goal-pill {
  animation: pillIn .4s both cubic-bezier(.34,1.56,.64,1);
}
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(1) { animation-delay: .06s; }
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(2) { animation-delay: .13s; }
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(3) { animation-delay: .20s; }
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(4) { animation-delay: .27s; }
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(5) { animation-delay: .34s; }
.screen[data-step="prepaywall"].is-active .goal-pill:nth-child(6) { animation-delay: .41s; }
@keyframes pillIn { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .screen[data-step="before-after"].is-active .result-eyebrow,
  .screen[data-step="before-after"].is-active .ba-title,
  .screen[data-step="before-after"].is-active .ba-col--before,
  .screen[data-step="before-after"].is-active .ba-arrow,
  .screen[data-step="before-after"].is-active .ba-col--after,
  .screen[data-step="before-after"].is-active .ba-foot,
  .screen[data-step="faith-proof"].is-active .proof-avatars img,
  .screen[data-step="faith-proof"].is-active .proof-avatars-more,
  .screen[data-step="prepaywall"].is-active .goal-pill { animation: none; }
}

/* Eval scale must not overflow */
.eval-scale { max-width: min(460px, calc(100vw - 40px)); }

/* Before/after must stack on very small screens */
@media (max-width: 380px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .ba-col li { font-size: 13px; }
}

/* Small phones */
@media (max-width: 360px) {
  .welcome-v2-proof { flex-wrap: wrap; }
  .eval-btns { gap: 6px; }
  .eval-btn { max-width: 44px; font-size: 16px; }
  .section-dot { font-size: 8px; padding: 2px 6px; }
  .loader-popup-btn { padding: 8px 16px; font-size: 13px; }
}

/* =====================================================================
   Short-viewport fit — keep every question + post-loader screen on ONE
   screen (CTA visible, no scroll) down to iPhone SE (375x667) and Safari
   with the URL bar showing (~750px). Tighten the generous offsets/margins
   that only matter on tall phones.
   ===================================================================== */
@media (max-height: 820px) {
  /* Question screens: reclaim the big fixed top offset + tighten options */
  .quiz { padding-top: clamp(40px, 8vh, 76px); gap: clamp(10px, 1.6vh, 16px); }
  .option { padding: clamp(10px, 1.4vh, 14px) 16px; }

  /* Proof 1 / 2 (pedagogy hero + lede) */
  .pedagogy { padding: 32px 26px 52px; }
  .hero-img { width: clamp(120px, 36vw, 168px); height: clamp(120px, 36vw, 168px); margin: 4px 0 12px; }
  .pedagogy > .display { margin: 0 0 10px; }
  .heal-chart { margin: 0 auto 14px; }
  .heal-chart svg { height: 120px; }

  /* Result diagnosis */
  .content { padding-top: 4px; padding-bottom: 12px; }
  .result-h { margin: 0 0 6px; }
  .score-hero { gap: 5px; margin: 0 0 8px; }
  .score-big > span:first-child { font-size: clamp(48px, 13vw, 68px); }
  .chart { margin: 6px 0 4px; }
  .bars { --chart-h: clamp(170px, 40vw, 240px); }
  .screen[data-step="result"] .disclaimer { padding-top: 8px; }

  /* Proof 3 reviews */
  .reviews-content { gap: 10px; padding: 12px 22px; }
  .reviews-grid { gap: 8px; }
  .review { padding: 12px 16px; }
  .review-top { margin-bottom: 6px; }
  .review-stars { margin-bottom: 6px; }
  .review p { font-size: 13px; line-height: 1.45; }

  /* Before / after */
  .ba-title { margin: 0 0 2px; }
  .ba-grid { margin: 12px 0 4px; gap: 8px; }
  .ba-col { padding: 12px 12px; }
  .ba-col ul { gap: 6px; }
  .ba-col li { font-size: 12.5px; line-height: 1.3; }
  .ba-label { margin: 0 0 6px; }

  /* Scratch reward */
  .scratch-screen { padding-top: 14px; }
  .scratch-badge { margin-bottom: 14px; }
  .scratch-card { margin: 16px 0 12px; height: 150px; }
}

@media (max-height: 700px) {
  .quiz { padding-top: clamp(28px, 5vh, 52px); gap: clamp(8px, 1.3vh, 14px); }
  .option { padding: clamp(9px, 1.2vh, 12px) 16px; }
  .pedagogy { padding: 24px 26px 48px; }
  .hero-img { width: clamp(108px, 30vw, 150px); height: clamp(108px, 30vw, 150px); }
  .bars { --chart-h: clamp(150px, 36vw, 210px); }
  /* Keep before/after side-by-side (stacking doubles the height) */
  .ba-grid { grid-template-columns: 1fr auto 1fr; }
  .ba-arrow { transform: none; }
  .ba-col { padding: 10px 10px; }
  .ba-col li { font-size: 12px; }
  /* Proof 3 reviews — squeeze hard so all 3 + CTA clear the fold */
  .reviews-content { gap: 8px; padding: 10px 22px; }
  .reviews-title { font-size: clamp(19px, 5vw, 22px); }
  .reviews-grid { gap: 6px; }
  .review { padding: 9px 14px; }
  .review-top { margin-bottom: 5px; }
  .review-top .avatar { width: 30px; height: 30px; }
  .review-stars { margin-bottom: 4px; }
  .review p { font-size: 12.5px; line-height: 1.35; }
}

/* ===== V2: linear progress only (hide hardcoded section dots) ===== */
#section-dots, #section-name { display: none !important; }

/* =====================================================================
   V2 net-new screens — stat proof · community avatars · testimonials
   ===================================================================== */
body.theme--dark .insight-title { color: var(--white); }
body.theme--dark .insight-sub { color: rgba(255,255,255,.74); }
body.theme--dark .insight-sub b { color: #fff; }

.proof-stat { display:flex; align-items:baseline; justify-content:center; gap:6px; margin-bottom:4px; }
.proof-stat-num {
  font-family: var(--ff-display); font-size: 76px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--accent-ui-soft), var(--accent-ui));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-stat-unit { font-size: 22px; font-weight: 700; color: rgba(255,255,255,.78); }

.proof-avatars { display:flex; align-items:center; justify-content:center; margin-top: 22px; }
.proof-avatars img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--bg-dark); margin-left: -12px; background: var(--tint-mid, #3a2a6b);
}
.proof-avatars img:first-child { margin-left: 0; }
.proof-avatars-more {
  margin-left: -8px; padding: 0 13px; height: 48px;
  display: inline-flex; align-items: center;
  border-radius: 50px; background: var(--accent-ui); color: #fff;
  font-weight: 800; font-size: 14px; border: 2px solid var(--bg-dark);
}

.testi-list { display:flex; flex-direction:column; gap: 12px; width: 100%; max-width: 360px; margin: 20px auto 0; }
.testi-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 14px 16px; text-align: left;
}
.testi-top { display:flex; align-items:center; gap: 10px; margin-bottom: 8px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center top; flex: 0 0 auto; }
.testi-top b { display:block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.testi-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.45; }
.testi-card .review-stars { font-size: 12px; }

/* ===== Hold-to-commit pledge ===== */
.hold-commit {
  position: relative; margin: 30px auto 4px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none;
}
.hold-commit-ring { position: relative; width: 144px; height: 144px; display: grid; place-items: center; }
.hold-commit-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hcr-bg { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 8; }
.hcr-fg { fill: none; stroke: var(--accent-ui); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke .25s ease; }
.hold-commit-emoji { font-size: 54px; line-height: 1; transition: transform .2s ease; }
.hold-commit.is-holding .hold-commit-emoji { transform: scale(1.14); }
.hold-commit.is-committed .hcr-fg { stroke: #34d399; }
.hold-commit-label { font-weight: 700; font-size: 15px; color: #fff; letter-spacing: .01em; }

/* ===== Result — 90-day projection curve (replaces flat bars) ===== */
.result-proj { width: 100%; max-width: 360px; margin: 14px auto 8px; }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.rp-tag { font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.rp-tag b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.rp-tag--now { text-align: left; color: #e0552f; }
.rp-tag--now b { color: #e0552f; }
.rp-tag--free { text-align: right; color: #1f9d57; }
.rp-tag--free b { color: #1f9d57; }
.rp-plot { position: relative; height: 168px; }
.rp-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rp-line { filter: drop-shadow(0 4px 10px rgba(var(--accent-ui-rgb),.35)); }
.rp-dot { stroke: #fff; stroke-width: 3; }
.rp-dot--start { fill: #ff5a3c; }
.rp-dot--end { fill: #34d399; }
.rp-axis { display: flex; justify-content: space-between; margin-top: 6px; }
.rp-axis span { font-size: 11px; color: var(--muted); font-weight: 600; }
.rp-axis span:nth-child(2) { transform: translateX(-6px); }

/* ===== Hold-to-commit clarity + verse contrast (dark) ===== */
body.theme--dark .verse { color: rgba(255,255,255,.7); }
.commit-intro-screen .verse, [data-step="commit-intro"] .verse { color: rgba(255,255,255,.72); }
/* idle pulse cue so the ring reads as interactive */
.hold-commit:not(.is-holding):not(.is-committed) .hold-commit-ring::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(var(--accent-ui-rgb),.55); animation: holdPulse 1.8s ease-out infinite;
}
@keyframes holdPulse {
  0% { transform: scale(.92); opacity: .8; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ===== Auto-advancing questions: answer advances automatically → hide Continue.
   Callout screens (insight reveal) and multi-select keep their button. ===== */
.screen:has(.options--numbered[data-required]):not(:has(.q-callout)) .cta-bar,
.screen:has(.eval-scale[data-required]):not(:has(.q-callout)) .cta-bar { display: none; }

/* Kill the mobile blue tap-flash on all interactive controls (was showing blue→purple) */
button, .btn, .eval-btn, .option, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* ===== Generic proof curve (rising, distinct from the result's descending curve) ===== */
.proof-curve { width: 100%; max-width: 340px; margin: 16px auto 4px; }
.proof-curve-cap { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 6px; text-align: center; }
.proof-curve-cap b { color: #34d399; font-weight: 800; font-size: 16px; }
.proof-curve-svg { width: 100%; height: 120px; display: block; overflow: visible; }
.proof-curve .pc-line { filter: drop-shadow(0 4px 10px rgba(52,211,153,.35)); }
.proof-curve .pc-dot { fill: #34d399; stroke: var(--bg-dark); stroke-width: 3; }

/* Draw the curve in when the screen activates: line traces left → right,
   area sweeps behind it, end dot pops last. Re-runs on every entry because
   the screen flips display:none → flex. */
.screen.is-active .proof-curve .pc-line {
  stroke-dasharray: 1;
  animation: pcDraw 1.5s .25s cubic-bezier(.16,.84,.32,1.02) both;
}
.screen.is-active .proof-curve .pc-area {
  animation: pcSweep 1.5s .25s cubic-bezier(.16,.84,.32,1.02) both;
}
.screen.is-active .proof-curve .pc-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: pcPop .4s 1.55s cubic-bezier(.34,1.56,.64,1) both;
}
.screen.is-active .proof-curve-cap {
  animation: pcCap .45s 1.7s ease both;
}
@keyframes pcDraw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
@keyframes pcSweep {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes pcPop {
  from { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.35); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pcCap {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen.is-active .proof-curve .pc-line,
  .screen.is-active .proof-curve .pc-area,
  .screen.is-active .proof-curve .pc-dot,
  .screen.is-active .proof-curve-cap { animation: none; }
}
.proof-curve-axis { display: flex; justify-content: space-between; margin-top: 4px; }
.proof-curve-axis span { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; }
.proof-curve-axis span:nth-child(2) { transform: translateX(-6px); }

/* Hold-to-commit seal: the wash floods DURING the hold, in the NEXT page's
   color (commit-done = theme--quiz lavender var(--bg-quiz, #f4f1fa)), then fades to reveal it. */
.hold-burst {
  position: fixed; width: 44px; height: 44px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  background: var(--bg-quiz, #f4f1fa);
  z-index: 60; pointer-events: none; opacity: 1;
  transition: transform .42s cubic-bezier(.5, 0, .25, 1), opacity .5s ease;
}
.hold-burst.is-grown { transform: translate(-50%, -50%) scale(62); }
.hold-burst.is-fading { opacity: 0; }
.hold-burst-hands {
  position: fixed; left: 50%; top: 42%; z-index: 61; pointer-events: none;
  transform: translate(-50%, -50%) scale(.4); opacity: 0;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.35), opacity .35s ease;
}
.hold-burst-hands span { font-size: 76px; line-height: 1; display: block; filter: drop-shadow(0 10px 22px rgba(var(--glow-rgb, 90,63,214),.28)); }
/* Lottie prayer played on completion (emoji text is the no-lottie fallback) */
.hold-burst-hands [data-hands-lottie] {
  width: 150px; height: 150px;
  display: grid; place-items: center;
  font-size: 76px; line-height: 1;
  filter: drop-shadow(0 10px 22px rgba(var(--glow-rgb, 90,63,214),.28));
}
.hold-burst-hands [data-hands-lottie] svg { width: 100%; height: 100%; }
.hold-burst-hands.is-in { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.hold-burst-hands.is-out { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }

/* On dark screens, the near-black ink CTA was invisible → make it a light button */
body.theme--dark .cta-bar .btn--ink {
  background: var(--white); color: var(--ink);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
body.theme--dark .cta-bar .btn--ink .cta-circle {
  background: rgba(20,20,30,.12); color: var(--ink);
}

/* =====================================================================
   v5 — angle modules on the prepaywall
   Only the module matching <html data-angle> renders (set before first
   paint in index.html); the generalist /quiz/v5/ shows none, like v3.
   ===================================================================== */
.pw-angle { display: none; text-align: left; }
html[data-angle="lust"]   .pw-angle--lust,
html[data-angle="prayer"] .pw-angle--prayer,
html[data-angle="90days"] .pw-angle--90days { display: block; }
.pw-angle .pw-h { margin-top: 2px; }

.pwa-eyebrow {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pw-accent);
}

/* Lust: three numbered lines of defense joined by a rail */
.pwa-steps { list-style: none; margin: 4px 0 0; padding: 0; position: relative; }
.pwa-steps::before {
  content: "";
  position: absolute; left: 15px; top: 16px; bottom: 16px;
  width: 2px; background: var(--pw-accent-soft);
}
.pwa-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.pwa-num {
  flex-shrink: 0; position: relative; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pw-accent); color: #fff;
  font-family: var(--ff-display); font-weight: 600; font-size: 16px;
}
.pwa-steps b, .pwa-day b { display: block; font-size: 15px; color: var(--pw-ink); line-height: 1.3; }
.pwa-steps span:not(.pwa-num), .pwa-day span:not(.pwa-time) {
  display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--pw-muted);
}

/* Prayer: a day from morning to evening */
.pwa-day { list-style: none; margin: 8px 0 0; padding: 0; }
.pwa-day li {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start;
  padding: 12px 0; border-top: 1px solid var(--pw-border);
}
.pwa-day li:first-child { border-top: 0; padding-top: 4px; }
.pwa-time {
  display: inline-block; justify-self: start;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--pw-accent-bg); color: var(--pw-accent);
  font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}

/* 90 days: date range, a 90-cell streak grid, the app's own milestones */
.pwa-range {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 2px 0 14px;
  font-family: var(--ff-display); font-size: 20px; color: var(--pw-ink);
}
.pwa-range span { color: var(--pw-accent-soft); font-family: var(--ff-body); }
.pwa-grid {
  display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px;
  margin: 0 auto 16px; max-width: 360px;
}
.pwa-grid i {
  display: block; aspect-ratio: 1; border-radius: 4px;
  background: var(--pw-accent-day); opacity: .55;
}
.pwa-grid i.is-mile { opacity: 1; background: var(--pw-accent-soft); }
.pwa-grid i.is-now { opacity: 1; background: var(--pw-accent); box-shadow: 0 0 0 3px var(--pw-accent-bg); }
.pwa-grid i.is-goal { opacity: 1; background: var(--accent); }
.pwa-miles { list-style: none; margin: 0; padding: 0; }
.pwa-miles li {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: baseline;
  padding: 9px 0; border-top: 1px solid var(--pw-border); font-size: 15px;
}
.pwa-miles li:first-child { border-top: 0; }
.pwa-mday { font-size: 12px; font-weight: 700; color: var(--pw-muted); text-transform: uppercase; letter-spacing: .04em; }
.pwa-miles b { color: var(--pw-ink); font-weight: 600; }
.pwa-miles time { font-size: 14px; color: var(--pw-muted); font-variant-numeric: tabular-nums; }
.pwa-miles li.is-now b, .pwa-miles li.is-now time { color: var(--pw-accent); }
.pwa-miles li.is-goal b { font-family: var(--ff-display); font-size: 17px; }
.pwa-miles li.is-goal time { color: var(--accent); font-weight: 700; }


/* =====================================================================
   v5 — angle themes on the first screen (intro splash + welcome)
   The rest of the funnel keeps the brand palette; the welcome is where
   the ad's look has to carry over. body.on-welcome is set by updateTheme().
   ===================================================================== */
.intro-splash-verse[data-angle-only] { display: none; }
html[data-angle="lust"]   .intro-splash-verse:not([data-angle-only]),
html[data-angle="prayer"] .intro-splash-verse:not([data-angle-only]),
html[data-angle="90days"] .intro-splash-verse:not([data-angle-only]) { display: none; }
html[data-angle="lust"]   .intro-splash-verse[data-angle-only="lust"],
html[data-angle="prayer"] .intro-splash-verse[data-angle-only="prayer"],
html[data-angle="90days"] .intro-splash-verse[data-angle-only="90days"] { display: block; }

.welcome-eyebrow {
  margin: 0 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.welcome-eyebrow:empty { display: none; }

/* The light prayer welcome paints its own background instead of the mountains */
html[data-angle="prayer"] body.on-welcome::before,
html[data-angle="prayer"] .screen[data-step="welcome"] .bg-mountains { display: none; }

/* ---------- lust: ember on near-black (KILLLUST, HOLDTHELINE, SOLDIER) ---------- */
html[data-angle="lust"] .intro-splash { background: #140909; }
html[data-angle="lust"] .intro-splash-verse-ref { color: #ff8a5c; }
html[data-angle="lust"] body.on-welcome {
  background: radial-gradient(120% 70% at 50% 0%, #4a1514 0%, #1c0b0c 55%, #0e0707 100%) fixed #0e0707;
}
html[data-angle="lust"] .welcome-eyebrow { color: #ff8a5c; }
html[data-angle="lust"] .tag-chip {
  background: linear-gradient(135deg, #d93a2b, #ff7a3d);
  box-shadow: 0 4px 18px rgba(255,90,40,.45);
}
html[data-angle="lust"] .options--age .option {
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(217,58,43,.22) 100%);
  border-color: rgba(255,122,61,.3);
}
html[data-angle="lust"] .options--age .option::after { background: linear-gradient(180deg, transparent 45%, rgba(20,6,6,.72) 100%); }
html[data-angle="lust"] .options--age .opt-label { color: #2a0d0d; }
html[data-angle="lust"] .age-arrow { background: #c2311f; }
html[data-angle="lust"] .options--age .option.is-selected { outline-color: #ff7a3d; }
html[data-angle="lust"] .options--age .option.is-selected .opt-label { background: #ff7a3d; color: #fff; }
html[data-angle="lust"] .options--age .option.is-selected .age-arrow { color: #c2311f; }

/* ---------- prayer: warm morning light (NNNFORGOD, SEEDWORDS, FALLSSEVEN) ---------- */
html[data-angle="prayer"] .intro-splash { background: #fff6e8; }
html[data-angle="prayer"] .intro-splash-mark,
html[data-angle="prayer"] .screen[data-step="welcome"] .welcome-v2-logo { filter: brightness(0) opacity(.82); }
html[data-angle="prayer"] .intro-splash-name { color: #2b1d0e; }
html[data-angle="prayer"] .intro-splash-verse { color: rgba(43,29,14,.78); }
html[data-angle="prayer"] .intro-splash-verse-ref { color: #a8741f; }
html[data-angle="prayer"] body.on-welcome {
  background: linear-gradient(180deg, #fff8ec 0%, #f8e6c6 55%, #efd09c 100%) fixed #f8e6c6;
  color: #2b1d0e;
}
html[data-angle="prayer"] .screen[data-step="welcome"] :is(.welcome-v2-title, .welcome-v2-brandname, .welcome-v2-ageq) { color: #2b1d0e; }
html[data-angle="prayer"] .screen[data-step="welcome"] .welcome-v2-quiz { color: rgba(43,29,14,.72); }
html[data-angle="prayer"] .screen[data-step="welcome"] .welcome-v2-quiz b { color: #2b1d0e; }
html[data-angle="prayer"] .screen[data-step="welcome"] .welcome-v2-secure { color: rgba(43,29,14,.62); }
html[data-angle="prayer"] .welcome-eyebrow { color: #a8741f; }
html[data-angle="prayer"] .tag-chip {
  background: linear-gradient(135deg, #c8902f, #e8b04a);
  box-shadow: 0 4px 16px rgba(200,144,47,.4);
}
html[data-angle="prayer"] .options--age .option {
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(232,176,74,.35) 100%);
  border-color: rgba(168,116,31,.25);
  box-shadow: 0 10px 24px rgba(120,80,30,.14);
}
html[data-angle="prayer"] .options--age .option::after { background: linear-gradient(180deg, transparent 50%, rgba(60,36,10,.45) 100%); }
html[data-angle="prayer"] .options--age .opt-label { color: #3a2610; }
html[data-angle="prayer"] .age-arrow { background: #a8741f; }
html[data-angle="prayer"] .options--age .option.is-selected { outline-color: #c8902f; }
html[data-angle="prayer"] .options--age .option.is-selected .opt-label { background: #c8902f; color: #fff; }
html[data-angle="prayer"] .options--age .option.is-selected .age-arrow { color: #a8741f; }

/* ---------- 90days: black + lime, a day counter (GIVEGOD90DAYS, NIGHTPUSHUPS) ---------- */
html[data-angle="90days"] .intro-splash { background: #0a0a0c; }
html[data-angle="90days"] .intro-splash-verse-ref { color: #22c55e; }
html[data-angle="90days"] body.on-welcome {
  background: radial-gradient(120% 60% at 50% 0%, #1b1c20 0%, #0d0d10 58%, #0a0a0c 100%) fixed #0a0a0c;
}
html[data-angle="90days"] .welcome-eyebrow {
  color: #0a0a0c; background: #22c55e; padding: 4px 10px; border-radius: 6px; letter-spacing: .18em;
}
html[data-angle="90days"] .tag-chip {
  background: #22c55e; color: #0a0a0c;
  box-shadow: 0 4px 18px rgba(34,197,94,.35);
}
html[data-angle="90days"] .options--age .option {
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.12) 100%);
  border-color: rgba(255,255,255,.16);
}
html[data-angle="90days"] .options--age .option::after { background: linear-gradient(180deg, transparent 45%, rgba(5,8,5,.72) 100%); }
html[data-angle="90days"] .options--age .opt-label { color: #0a0a0c; }
html[data-angle="90days"] .age-arrow { background: #0a0a0c; color: #22c55e; }
html[data-angle="90days"] .options--age .option.is-selected { outline-color: #22c55e; }
html[data-angle="90days"] .options--age .option.is-selected .opt-label { background: #22c55e; color: #0a0a0c; }
/* white dawn behind the B&W mountains instead of the orange sun */
html[data-angle="90days"] .screen[data-step="welcome"] .bg-mountains::before {
  background: radial-gradient(circle at center, rgba(255,255,255,.22) 0%, rgba(255,255,255,.07) 26%, transparent 60%);
}

/* =====================================================================
   v5 — lust block (other-sins multi-select, lust-proof cycle)
   ===================================================================== */
.options--sins .option { justify-content: flex-start; gap: 12px; }
.options--sins .opt-emoji { font-size: 20px; line-height: 1; width: 26px; text-align: center; flex-shrink: 0; }
.options--sins .opt-label { flex: 1; text-align: left; }

.lust-echo {
  margin: 0 0 12px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff;
}
.lust-cycle {
  list-style: none; margin: 18px auto 6px; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 3px; flex-wrap: nowrap;
}
.lust-cycle li { display: flex; align-items: center; gap: 3px; }
.lust-cycle li + li::before { content: "→"; color: rgba(255,255,255,.5); font-size: 12px; }
.lust-cycle b {
  display: inline-block; padding: 7px 8px; border-radius: 11px; font-size: 13px !important;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap;
}
.lust-cycle li.is-key b { background: #ff7a3d; border-color: #ff7a3d; box-shadow: 0 0 0 4px rgba(255,122,61,.25); }

/* v5 lust: real App Store reviews (initial instead of a stock face) */
.testi-card .testi-initial {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #d93a2b, #ff7a3d); color: #fff;
  font-weight: 800; font-size: 16px;
}
.testi-card .testi-src { margin: 8px 0 0; font-size: 12px; opacity: .6; }

.pwa-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -2px 0 10px; }
.pwa-chips span {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--pw-accent-bg); color: var(--pw-accent);
  font-size: 13px; font-weight: 600;
}
.pwa-chips .pwa-chips-label { background: none; padding-left: 0; padding-right: 2px; color: var(--pw-muted); }

/* =====================================================================
   v5 — the angle's colors across the whole funnel. Every v3 purple is a
   variable (each rule keeps the v3 value as its fallback, so the
   generalist is unchanged): dark screens and their mountains, the light
   quiz and pedagogy screens, the deep ink (big numbers, dark buttons),
   selected answers, tints, shadows, the prepaywall accent.
   ===================================================================== */
html[data-angle="lust"] {
  --bg-light: #f8f2ef; --pw-bg: #f8f2ef; --light-rgb: 248,242,239;
  /* ember on near-black; warm off-white quiz screens */
  --bg-dark: #170a09;
  --mtn: url("assets/angles/lust/mountains.webp");
  --bg-quiz: #f8f2ef;
  --ped-bg: linear-gradient(143.2deg, #fff4f0 2.93%, #f1a688 89.59%);
  --purple-deep: #8a2716;
  --ink-deep: #2a100c;
  --selected: #c9452b;
  --tint-bg: #fbe9e2; --tint-ink: #8a2716; --tint-mid: #4a1a12;
  --deep-rgb: 92,26,16; --shade-rgb: 24,9,7; --glow-rgb: 217,72,43;
  --grad-a: #c9452b; --grad-b: #5e1a0e;
  --muted-ink: #9a8884; --muted-line: #dfcdc7; --muted-text: #5b4642; --muted-bg: #f4ebe7;
  --accent-ui: #d9482b; --accent-ui-rgb: 217,72,43; --accent-ui-soft: #ff8a5c;
  --pw-accent: #8a2716; --pw-accent-strong: #5e1a0e; --pw-accent-soft: #f0b6a3;
  --pw-accent-bg: #fbeae4; --pw-accent-day: #f6d5ca;
}
html[data-angle="prayer"] {
  --bg-light: #fbf6ec; --pw-bg: #fbf6ec; --light-rgb: 251,246,236;
  /* midnight navy and a gold dawn; cream quiz screens */
  --bg-dark: #0f1628;
  --mtn: url("assets/angles/prayer/mountains.webp");
  --bg-quiz: #fbf6ec;
  --ped-bg: linear-gradient(143.2deg, #fffaf0 2.93%, #efcd8c 89.59%);
  --purple-deep: #1c2740;
  --ink-deep: #151d31;
  --selected: #b8862f;
  --tint-bg: #f5ead3; --tint-ink: #7a5414; --tint-mid: #26355a;
  --deep-rgb: 28,39,64; --shade-rgb: 10,15,28; --glow-rgb: 200,144,47;
  --grad-a: #2a3a5e; --grad-b: #131b30;
  --muted-ink: #8d877b; --muted-line: #ded4c1; --muted-text: #4d483e; --muted-bg: #f3ede1;
  --accent-ui: #b07a1f; --accent-ui-rgb: 176,122,31; --accent-ui-soft: #e2b25a;
  --pw-accent: #1c2740; --pw-accent-strong: #121a2c; --pw-accent-soft: #c9cfdc;
  --pw-accent-bg: #f8efdc; --pw-accent-day: #f1e2c0;
}
html[data-angle="90days"] {
  --bg-light: #f2f2f4; --pw-bg: #f2f2f4; --light-rgb: 242,242,244;
  /* the app's own look: near-black, black-and-white mountains, green */
  --bg-dark: #0a0a0c;
  --mtn: url("assets/angles/90days/mountains.webp");
  --bg-quiz: #f2f2f4;
  --ped-bg: linear-gradient(143.2deg, #f7f7f8 2.93%, #cfe8d8 89.59%);
  --purple-deep: #111113;
  --ink-deep: #111113;
  --selected: #1f9d55;
  --tint-bg: #e6f6ec; --tint-ink: #15803d; --tint-mid: #26272c;
  --deep-rgb: 17,17,19; --shade-rgb: 8,8,10; --glow-rgb: 34,197,94;
  --grad-a: #2a2b30; --grad-b: #0a0a0c;
  --muted-ink: #8b8b93; --muted-line: #d4d4d8; --muted-text: #48484e; --muted-bg: #ececef;
  --accent-ui: #1f9d55; --accent-ui-rgb: 31,157,85; --accent-ui-soft: #4ade80;
  --pw-accent: #15803d; --pw-accent-strong: #14532d; --pw-accent-soft: #a7e3bd;
  --pw-accent-bg: #e8f6ed; --pw-accent-day: #d1eedb;
}
/* 90days: the challenge's goal day in the app's green, not the brand orange */
html[data-angle="90days"] .pwa-grid i.is-goal { background: var(--pw-accent-strong); }
html[data-angle="90days"] .pwa-miles li.is-goal time { color: var(--pw-accent); }
/* loader bars, the "porn-free by day 90" curve and disabled buttons follow the angle */
html[data-angle="lust"]   { --load-a: #ffb37a; --load-b: #ff5a3c; --curve: #ff8a5c; --btn-off: #eadfdb; --btn-off-ink: #a8938e; }
html[data-angle="prayer"] { --load-a: #f3d08a; --load-b: #c8902f; --curve: #e8b04a; --btn-off: #ece4d4; --btn-off-ink: #a89c86; }
html[data-angle="90days"] { --load-a: #4ade80; --load-b: #22c55e; --curve: #22c55e; --btn-off: #e4e4e7; --btn-off-ink: #9b9ba3; }
html:not([data-angle="generalist"]) :is(.loader-bar-fill, .ls-fill) { background: linear-gradient(90deg, var(--load-a), var(--load-b)); }
html:not([data-angle="generalist"]) .proof-curve .pc-line { stroke: var(--curve); }
html:not([data-angle="generalist"]) .proof-curve stop { stop-color: var(--curve); }
html:not([data-angle="generalist"]) .proof-curve .pc-dot { fill: var(--curve); }
html:not([data-angle="generalist"]) .proof-curve-cap b { color: var(--curve); }
html:not([data-angle="generalist"]) :is(.btn[disabled], .btn.is-disabled) { background: var(--btn-off) !important; color: var(--btn-off-ink) !important; }

/* =====================================================================
   v5 — commitment per angle
   lust: "I will not fall to lust" + hold · 90days: hold counts Day 1 → 90 ·
   prayer: the app's onboarding prayer, sealed by typing "Amen" (no hold)
   ===================================================================== */
.hold-commit-day,
.commit-prayer,
.commit-prayer-cta { display: none; }

html[data-angle="90days"] .hold-commit-emoji { display: none; }
html[data-angle="90days"] .hold-commit-day {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
html[data-angle="90days"] .hold-commit-day b {
  display: block; margin-top: 4px;
  font-family: var(--ff-display); font-size: 44px; font-weight: 700; letter-spacing: -.02em; text-transform: none;
  color: #fff; font-variant-numeric: tabular-nums;
}
html[data-angle="90days"] .hold-commit.is-committed .hold-commit-day b { color: #22c55e; }

html[data-angle="prayer"] .screen[data-step="commit-intro"] :is(.hold-commit, .verse) { display: none; }
/* the prayer, the Amen field and the button all fit one phone screen */
html[data-angle="prayer"] .screen[data-step="commit-intro"] { padding-top: calc(var(--safe-top) + var(--topbar-h) + 4px); }
html[data-angle="prayer"] .screen[data-step="commit-intro"] .welcome { justify-content: flex-start; padding: 4px 20px 0; }
html[data-angle="prayer"] .screen[data-step="commit-intro"] .display { font-size: clamp(26px, 7.4vw, 32px); margin: 0 0 4px; }
html[data-angle="prayer"] .screen[data-step="commit-intro"] .lede { margin: 0; font-size: 14px; }
html[data-angle="prayer"] .commit-prayer { display: block; width: 100%; max-width: 420px; margin: 12px auto 0; text-align: left; }
html[data-angle="prayer"] .commit-prayer-cta { display: block; }
.commit-prayer-text {
  padding: 14px 16px; border-radius: 18px;
  background: rgba(10,15,28,.72); border: 1px solid rgba(226,178,90,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.commit-prayer-text p {
  margin: 0 0 7px;
  font-family: var(--ff-display); font-style: italic; font-size: 15px; line-height: 1.42;
  color: #efe3cc;
}
.commit-prayer-text p:last-child { margin: 0; color: #e2b25a; font-weight: 600; }
.commit-amen {
  display: block; width: 100%; margin-top: 10px; padding: 13px 18px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,15,28,.6); color: #fff;
  font: 600 17px/1.2 var(--ff-body); text-align: center;
}
.commit-amen::placeholder { color: rgba(255,255,255,.5); font-weight: 500; }
.commit-amen:focus { outline: 2px solid rgba(226,178,90,.6); outline-offset: 2px; }

/* =====================================================================
   v5 — dark question screens for lust and 90days, like the app's own
   onboarding ("Summit Mono"): the welcome no longer flips to a white quiz,
   the funnel previews the app they'll open, and it stays discreet at night.
   Questions sit on plain near-black; the mountains stay on the insight
   screens so those still stand out. Prayer keeps its light cream screens.
   The prepaywall stays light. Cards follow the app: dark glass, hairline
   border, the selected answer tinted with the accent.
   ===================================================================== */
html[data-angle="lust"] {
  --q-bg: #130908; --q-card: #1f1311; --q-card-2: #2c1a17; --q-line: rgba(255,255,255,.09);
  --q-acc: #e2603f; --q-acc-ink: #fff; --q-sel-bg: rgba(226,96,63,.16); --q-big: #ff8a5c;
}
html[data-angle="90days"] {
  --q-bg: #0a0a0c; --q-card: #16171a; --q-card-2: #232429; --q-line: rgba(255,255,255,.08);
  --q-acc: #22c55e; --q-acc-ink: #0a0a0c; --q-sel-bg: rgba(34,197,94,.10); --q-big: #ffffff;
}
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) { background: var(--q-bg); color: #fff; }
:root:is([data-angle="lust"],[data-angle="90days"]) .hold-burst { background: var(--q-bg); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) :is(.brand, .topbar .iconbtn) { color: #fff; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .topbar-progress { background: rgba(255,255,255,.12); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .topbar-progress .bar-fill { background: #f5f5f7; }

:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) :is(.quiz-question, .insight-title, .result-h, .display, .ba-title, .score-big, .score-hero-sub b) { color: #fff; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) :is(.sub, .quiz-anon, .insight-sub, .muted, .lede, .mentioned-in-label, .score-of, .score-hero-sub, .eval-labels, .disclaimer, .section-label, .finally-sub) { color: rgba(255,255,255,.62); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .insight-big { color: var(--q-big); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .result-eyebrow { color: var(--q-acc); }

:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .option { background: var(--q-card); color: #fff; border-color: var(--q-line); box-shadow: none; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .option:hover { background: var(--q-card-2); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .opt-num { background: var(--q-card-2); color: rgba(255,255,255,.82); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .option.is-selected { background: var(--q-sel-bg); border-color: var(--q-acc); color: #fff; box-shadow: none; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .option.is-selected .opt-num { background: var(--q-acc); color: var(--q-acc-ink); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .option.is-selected .opt-check { color: var(--q-acc); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .eval-btn { background: var(--q-card); color: #fff; border-color: var(--q-line); box-shadow: none; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .eval-btn:hover { background: var(--q-card-2); border-color: var(--q-acc); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .eval-btn.is-selected { background: var(--q-acc); border-color: var(--q-acc); color: var(--q-acc-ink); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .q-callout { background: var(--q-card); border-color: var(--q-line); color: rgba(255,255,255,.82); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .q-callout b { color: #fff; }

:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .text-input { background: var(--q-card); color: #fff; border: 1px solid var(--q-line); box-shadow: none; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .text-input::placeholder { color: rgba(255,255,255,.4); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .finally-skip { color: rgba(255,255,255,.6); }

:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .cta-bar :is(.btn--primary, .btn--ink) { background: #f5f5f7; color: #111; box-shadow: none; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .cta-bar :is(.btn--primary, .btn--ink) .cta-circle { background: rgba(0,0,0,.08); color: #111; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) :is(.btn[disabled], .btn.is-disabled) { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.35) !important; }

:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .press-row img { filter: grayscale(1) brightness(0) invert(1); opacity: .5; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .press-row .press-mark { color: rgba(255,255,255,.5); }

/* result */
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .score-sev-pill { background: rgba(239,92,86,.16); color: #ff8a80; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .score-sev-pill[data-sev="moderate"] { background: rgba(245,180,60,.16); color: #f5c060; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-tag { color: rgba(255,255,255,.6); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-tag--now, :root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-tag--now b { color: #ff7a5c; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-tag--free, :root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-tag--free b { color: #4ade80; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-axis { color: rgba(255,255,255,.45); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .rp-dot--end { stroke: var(--q-bg); }

/* before / after */
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--before { background: rgba(239,92,86,.10); border-color: rgba(239,92,86,.22); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--after { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.24); }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--before .ba-label, :root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--before li::before { color: #ff8a80; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--after .ba-label, :root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col--after li::before { color: #4ade80; }
:root:is([data-angle="lust"],[data-angle="90days"]) body:is(.theme--quiz,.theme--light) .ba-col li { color: rgba(255,255,255,.86); }

/* v5 prayer: the diagnosis line on the result, and the verse under "willpower isn't enough" */
.result-faith {
  margin: 10px auto 0; max-width: 34ch; padding: 9px 14px; border-radius: 14px;
  background: var(--tint-bg, #f3e8ff); color: var(--ink-deep, #1c1340);
  font-size: 14px; line-height: 1.4; text-align: center;
}
.result-faith[hidden], .proof-verse:empty { display: none; }
.proof-verse { margin-top: 14px; }
/* dark name screen: the title, and the award laurels (dark lettering) flipped for a dark background */
:root:is([data-angle="lust"],[data-angle="90days"]) body.theme--quiz .finally-title { color: #fff; }
:root:is([data-angle="lust"],[data-angle="90days"]) body.theme--quiz .finally-awards { filter: invert(1) hue-rotate(180deg); opacity: .9; }
