/* ============================================================
   DESTINY PALM — design tokens + base + components
   Mobile-first, 375–430px column. Gold / ivory / pastel.
   Ported from the Claude Design handoff (Destiny Palm/styles.css).
   ============================================================ */

:root {
  /* palette */
  --paper:      #FFF8E8;   /* warm ivory */
  --paper-2:    #FAF1DC;   /* cream */
  --card:       #FFFDF6;   /* near-white card */
  --ink:        #2A1830;   /* deep plum/espresso */
  --ink-soft:   #5b4a59;   /* muted text */
  --ink-faint:  #8a7b88;

  --gold:       #D9A441;
  --gold-2:     #E8B84E;
  --gold-deep:  #b5832b;
  --gold-wash:  #F6E7C4;

  --pink:       #F7B7D2;
  --lavender:   #C9B6FF;
  --mint:       #BFE8D4;
  --peach:      #FFD6B8;

  --line:       #2A1830;   /* thin dark outline */
  --line-soft:  rgba(42,24,48,.14);

  /* type */
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Plus Jakarta Sans", system-ui, sans-serif;

  /* shape */
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-soft: 0 10px 30px -12px rgba(42,24,48,.20);
  --shadow-card: 0 2px 0 rgba(42,24,48,.85), 0 14px 34px -18px rgba(42,24,48,.35);
  --shadow-pop:  0 18px 50px -20px rgba(42,24,48,.45);

  --maxw: 430px;
}

/* Japanese locale — swap to Noto JP fonts */
.lang-ja {
  --serif: "Noto Serif JP", "Fraunces", Georgia, serif;
  --sans:  "Noto Sans JP", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% -10%, #fffdf6 0%, var(--paper) 42%, var(--paper-2) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* mobile = full-bleed (edge-to-edge); web/desktop = centered card on a soft textured field */
.stage {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background:
    repeating-linear-gradient(135deg, rgba(42,24,48,.012) 0 22px, transparent 22px 44px),
    linear-gradient(160deg, #f4ecd9, #efe4cd);
}

.app {
  position: relative;
  width: 100%;
  height: 100dvh;
  background:
    radial-gradient(120% 40% at 50% -6%, #fffef9 0%, var(--paper) 46%, var(--paper-2) 100%);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* mobile: no max-width, no frame -> fills the whole screen */
}
@media (min-width: 640px) {
  /* web/desktop: the outlined card on the textured field (like the reference jpeg).
     Breakpoint = facecard's Tailwind `sm` (40rem/640px): below this the column stays
     FULL-BLEED edge-to-edge mobile (no frame); at/above it becomes the outlined card. */
  .stage { padding: 20px; }
  .app {
    max-width: var(--maxw);
    height: calc(100dvh - 40px);
    border-radius: 34px;
    box-shadow: 0 0 0 1px rgba(42,24,48,.06), 0 40px 90px -40px rgba(42,24,48,.45);
  }
}

[hidden] { display: none !important; }

/* ---------- typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.serif-italic { font-style: italic; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  -webkit-appearance: none; appearance: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 3px 0 var(--gold-deep), 0 12px 26px -12px rgba(181,131,43,.85);
}
.btn-primary:hover { box-shadow: 0 3px 0 var(--gold-deep), 0 16px 32px -12px rgba(181,131,43,.95); }
.btn-primary:active { box-shadow: 0 1px 0 var(--gold-deep), 0 8px 18px -12px rgba(181,131,43,.85); }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--line);
}
.btn-ghost:hover { background: #fff; }
.btn-soft {
  border-color: var(--line-soft);
  background: rgba(42,24,48,.06);
  color: var(--ink-faint);
  font-weight: 700;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:active { transform: none; }

.btn-row { display: flex; gap: 10px; }
.btn-row .btn { width: auto; flex: 1; }

/* ---------- pills / chips / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.4px solid var(--line);
  background: var(--card);
  white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(42,24,48,.045);
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- generic card ---------- */
.card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
}
.card-soft {
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
}

/* tint backgrounds */
.t-pink     { background: var(--pink); }
.t-lavender { background: var(--lavender); }
.t-mint     { background: var(--mint); }
.t-peach    { background: var(--peach); }
.t-gold     { background: var(--gold-wash); }

/* ---------- decorative shapes layer ---------- */
.shape {
  position: absolute;
  pointer-events: none;
  color: var(--gold);
  opacity: .9;
  z-index: 0;
}
.shape svg { display: block; overflow: visible; }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 9s ease-in-out infinite; }
.float-c { animation: floatC 6s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-10px) rotate(6deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(9px) rotate(-7deg)} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-7px) rotate(5deg)} }

@keyframes twinkle { 0%,100%{opacity:.25; transform:scale(.85)} 50%{opacity:1; transform:scale(1.1)} }
.twinkle { animation: twinkle 2.6s ease-in-out infinite; }

/* ============================================================
   LANDING
   ============================================================ */
.wrap { position: relative; z-index: 1; padding: 0 18px 120px; }

/* header */
.app-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.logo .mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-wash); border: 1.4px solid var(--line); }
.header-links { display: flex; gap: 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.header-links a { cursor: pointer; }
.header-links a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; padding: 26px 0 8px; text-align: center; }
.hero h1 { font-size: 41px; line-height: .98; letter-spacing: -.02em; }
.hero h1 em { color: var(--gold-deep); }
.hero .sub { margin: 16px auto 0; max-width: 33ch; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.hero-cta { margin-top: 20px; }
.hero .micro { margin-top: 11px; font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }

/* phone/report mockup */
.mock {
  position: relative;
  margin: 26px auto 0;
  width: 250px;
  border-radius: 30px;
  background: linear-gradient(170deg, #fffef9, #fff7e6);
  border: 1.6px solid var(--line);
  box-shadow: var(--shadow-pop);
  padding: 16px 14px 18px;
  z-index: 2;
}
.mock .scan {
  position: relative;
  height: 196px; border-radius: 20px;
  background: radial-gradient(80% 70% at 50% 35%, #fff3d6, #f7e3b6);
  border: 1.4px solid var(--line);
  overflow: hidden;
  display: grid; place-items: center;
}
.mock .scan::after {
  content:""; position:absolute; left:0; right:0; height: 40%;
  background: linear-gradient(180deg, rgba(232,184,78,0), rgba(232,184,78,.55), rgba(232,184,78,0));
  animation: sweep 2.8s ease-in-out infinite;
}
@keyframes sweep { 0%{transform:translateY(-60%)} 100%{transform:translateY(220%)} }
.mock .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mock .tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 9px; border-radius: 999px; border: 1.2px solid var(--line);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.mock-cap { margin-top: 11px; font-size: 11px; font-weight: 700; color: var(--ink-faint); text-align:center; letter-spacing:.06em; text-transform: uppercase; }

/* minimal report-cover preview (hero) */
.cover { text-align: center; padding: 2px 4px 4px; }
.cv-head { display: flex; align-items: center; justify-content: space-between; }
.cv-brand { display: inline-flex; align-items: center; gap: 5px; font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }
.cv-pdf { font-size: 9px; font-weight: 800; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; border: 1.2px solid var(--line); background: var(--gold-wash); color: var(--ink); }
.cv-art { position: relative; margin: 16px auto 13px; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 22px; background: radial-gradient(60% 60% at 50% 42%, #fff4d8, #f8e8c8); border: 1.3px solid var(--line); }
.cv-art::after { content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, rgba(232,184,78,.5), transparent 70%); }
.cv-art svg { position: relative; z-index: 1; }
.cv-title { font-family: var(--serif); font-size: 20px; line-height: 1; }
.cv-sub { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); margin-top: 5px; }
.cv-chips { display: flex; justify-content: center; gap: 6px; margin-top: 13px; }
.cv-chips span { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1.2px solid var(--line); background: var(--card); }

/* badge strip */
.badge-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }

/* social proof — outlined white badge */
.social { margin: 14px auto 0; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; background: #fff; border: 1.4px solid var(--line); border-radius: 18px; padding: 8px 14px; box-shadow: 0 2px 0 var(--line); max-width: 100%; }
.social .stars { display: inline-flex; gap: 1px; font-size: 12px; line-height: 1; letter-spacing: 1px; }
.social .st { font-size: clamp(11px, 3.3vw, 12.5px); font-weight: 700; color: var(--ink-soft); text-align: center; }

/* scroll cue */
.see-wrap { text-align: center; margin-top: 22px; }
.see-more {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  border: 1.4px solid var(--line); background: var(--card);
  font-family: var(--sans); font-weight: 700; font-size: 12.5px; color: var(--ink);
  cursor: pointer; box-shadow: 0 2px 0 var(--line); white-space: nowrap;
}
.see-more:hover { background: #fff; }
.see-more .dn { display: inline-flex; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(3px)} }

/* stat trio */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(6px, 2vw, 9px); margin-top: 14px; }
.stat { text-align: center; padding: clamp(11px, 3.4vw, 15px) clamp(4px, 1.8vw, 8px); border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); }
.stat .se { font-size: clamp(18px, 5.4vw, 22px); line-height: 1; margin-bottom: 7px; }

/* ---- what is Destiny Palm ---- */
.about { position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: linear-gradient(158deg, var(--gold-wash), #fffdf6 68%); box-shadow: var(--shadow-card); }
.about-motif { position: absolute; right: -24px; bottom: -30px; opacity: .12; transform: rotate(-12deg); pointer-events: none; }
.about .eyebrow, .about h2, .about p { position: relative; z-index: 1; }
.about h2 { font-size: 25px; margin-top: 11px; letter-spacing: -.01em; line-height: 1.06; }
.about p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 38ch; }
.stat .sn { font-family: var(--serif); font-size: clamp(16px, 5vw, 23px); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; overflow-wrap: anywhere; }
.stat .sl { margin-top: 6px; font-size: clamp(9.5px, 2.9vw, 11px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.25; overflow-wrap: anywhere; }

/* section header */
.sec { margin-top: 46px; }
.sec-head { text-align: center; margin-bottom: 18px; }
.sec-head h2 { font-size: 28px; letter-spacing: -.015em; }
.sec-head p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; max-width: 32ch; margin-left:auto; margin-right:auto; }

/* privacy trio */
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.trio .card-soft { padding: 14px 10px; text-align: center; }
.trio .ic { width: 34px; height: 34px; margin: 0 auto 9px; display: grid; place-items: center; border-radius: 50%; border: 1.3px solid var(--line); }
.trio b { font-size: 12.5px; line-height: 1.25; display: block; }

/* steps */
.steps { display: grid; gap: 13px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 16px;
}
.step .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  box-shadow: 0 2px 0 var(--gold-deep);
}
.step h3 { font-size: 18px; }
.step p { margin-top: 4px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }

/* report grid */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.report-card { padding: 15px 14px; border-radius: var(--r); position: relative; overflow: hidden; }
.report-card .rc-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1.3px solid var(--line); background: rgba(255,255,255,.55); margin-bottom: 10px; }
.report-card h3 { font-size: 15.5px; line-height: 1.1; }
.report-card p { margin-top: 5px; font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

/* report-preview slideshow */
#preview { margin-top: 14px; }          /* sit right under the headline, no big gap */
.preview-panel {
  position: relative;
  max-width: 320px;                     /* compact, tidy teaser card (not a giant block) */
  margin-left: auto; margin-right: auto;
  padding: 12px 12px 12px;
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, var(--card), var(--paper-2));
  border: 1.6px solid var(--line);
  box-shadow: var(--shadow-card);
}
.preview-panel .pv-head { text-align: center; margin-bottom: 9px; }
.preview-panel .pv-head .eyebrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; letter-spacing: .14em;
}
.preview-panel .pv-head h2 {
  margin-top: 4px; font-size: 14.5px; font-weight: 600;
  line-height: 1.2; letter-spacing: -.005em; color: var(--ink);
}
.slide-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;                  /* shorter than full A4 -> smaller, easier to show */
  border-radius: var(--r);
  overflow: hidden;
  border: 1.4px solid var(--line);
  background: radial-gradient(60% 60% at 50% 38%, #fff4d8, #f4e6c6);
  box-shadow: var(--shadow-soft);
}
.slide-stage .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;         /* show the report's title/header — the recognizable part */
  opacity: 0;
  transition: opacity .8s ease;
}
.slide-stage .slide.is-active { opacity: 1; }
/* soft gold vignette to frame the page edges */
.slide-stage::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(217,164,65,.35), inset 0 -40px 50px -30px rgba(42,24,48,.4);
}
@media (prefers-reduced-motion: reduce) {
  .slide-stage .slide { transition: none; }
}

/* recent-buyer social-proof toast */
.buyer-toast {
  position: fixed; left: 10px; top: 50%; bottom: auto; z-index: 25;
  display: flex; align-items: center; gap: 8px;
  max-width: 208px; padding: 7px 11px 7px 7px;
  border-radius: 13px;
  background: rgba(255,253,246,.92);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1.3px solid var(--line);
  box-shadow: 0 2px 0 rgba(42,24,48,.5), 0 14px 28px -14px rgba(42,24,48,.4);
  opacity: 0; transform: translate(-14px, -50%) scale(.96);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;             /* never intercepts taps — zero burden */
}
.buyer-toast.is-show { opacity: 1; transform: translate(0, -50%) scale(1); }
.buyer-toast .bt-avatar {
  flex: none; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 25%, var(--gold-2), var(--gold-deep));
  color: #fff8e8; border: 1.3px solid var(--line);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45);
}
.buyer-toast .bt-avatar svg { width: 15px; height: 15px; }
.buyer-toast .bt-body { min-width: 0; }
.buyer-toast .bt-head { display: flex; align-items: center; gap: 5px; }
.buyer-toast .bt-title {
  font-family: var(--serif); font-weight: 600; font-size: 10px;
  letter-spacing: .01em; color: var(--gold-deep);
  text-transform: uppercase;
}
.buyer-toast .bt-check {
  display: inline-grid; place-items: center; width: 12px; height: 12px;
  border-radius: 50%; background: #2e7d52; color: #fff;
}
.buyer-toast .bt-check svg { width: 9px; height: 9px; }
.buyer-toast .bt-text {
  margin: 1px 0 0; font-size: 11px; line-height: 1.28; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.buyer-toast .bt-ago {
  display: block; margin-top: 1px; font-size: 9.5px; color: var(--ink-faint);
}
.funnel-open .buyer-toast { display: none; }   /* silent during the questionnaire */
@media (prefers-reduced-motion: reduce) {
  .buyer-toast { transition: none; }
}

/* =========================== CHECKOUT / PAYWALL =========================== */
.checkout {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 16px 24px;
}
.co-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 4px;
}
.co-head .logo {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  color: var(--ink);
}
.co-head .co-mark {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 9px; color: var(--gold-deep);
  background: var(--gold-wash); border: 1.4px solid var(--line);
}
.co-progress {
  flex: 1; max-width: 130px; height: 7px; border-radius: 99px;
  background: #fff; border: 1.4px solid var(--line); overflow: hidden;
}
.co-progress span { display: block; height: 100%; width: 100%; background: var(--gold); }

/* countdown banner */
.co-timer {
  display: flex; flex-direction: column; gap: 4px;
  padding: 9px 13px; border-radius: 14px;
  background: linear-gradient(100deg, #fff3d2, #ffe7c4);
  border: 1.4px solid var(--line);
  box-shadow: 0 2px 0 rgba(42,24,48,.55);
  transition: background .3s ease, border-color .3s ease;
}
.co-timer-row { display: flex; align-items: center; gap: 8px; }
.co-timer-ic { display: inline-grid; place-items: center; color: var(--gold-deep); }
.co-timer-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft);
  text-transform: uppercase;
}
.co-timer-clock {
  margin-left: auto;
  font-family: var(--serif); font-weight: 600; font-size: 17px;
  color: var(--ink); letter-spacing: .02em;
  font-variant-numeric: tabular-nums; min-width: 56px; text-align: right;
}
.co-timer-note {
  font-size: 10.5px; line-height: 1.35; font-weight: 600; color: var(--gold-deep);
  opacity: .9; padding-left: 23px;
}
/* honest urgency: warning state in the final 5 minutes */
.co-timer.is-urgent {
  background: linear-gradient(100deg, #ffe1d6, #ffd2c4);
  border-color: #c0392b;
}
.co-timer.is-urgent .co-timer-clock { color: #c0392b; animation: coUrgent 1s ease-in-out infinite; }
.co-timer.is-urgent .co-timer-label,
.co-timer.is-urgent .co-timer-note,
.co-timer.is-urgent .co-timer-ic { color: #c0392b; }
@keyframes coUrgent { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* heading */
.co-intro { margin-top: 2px; }
.co-h1 {
  font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.08;
  letter-spacing: -.01em; color: var(--ink); text-wrap: balance;
}
.co-sub {
  margin-top: 7px; font-size: 13px; line-height: 1.45; color: var(--ink-soft);
  max-width: 340px; text-wrap: pretty;
}

/* shared card look */
.checkout .card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-card);
}

/* benefit checklist */
.co-benefits { display: grid; gap: 9px; padding: 13px 14px; }
.co-benefit {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.co-check {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--gold); color: #fff8e8;
  border: 1.4px solid var(--line);
}

/* premium-contents section */
.co-premium { overflow: hidden; padding: 0; }
.co-premium-head {
  padding: 14px 15px; border-bottom: 1.5px solid var(--line);
  background: linear-gradient(180deg, #fdeebf, #f9e2ad);
}
.co-eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
}
.co-premium-h {
  margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 20px;
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink);
}
.co-premium-sub {
  margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); text-wrap: pretty;
}
.co-pages {
  display: grid; grid-template-columns: 1fr;
}
.co-page {
  display: grid; grid-template-columns: 34px 1fr; gap: 11px;
  padding: 11px 14px; border-top: 1px solid var(--line-soft);
}
.co-page:first-child { border-top: 0; }
.co-num {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--ink); color: #fff7e6;
  font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.co-page-t { font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.co-page-d { margin-top: 3px; font-size: 11px; line-height: 1.35; color: var(--ink-faint); }
@media (min-width: 380px) {
  .co-pages { grid-template-columns: 1fr 1fr; }
  .co-page:nth-child(2) { border-top: 0; }
  .co-page:nth-child(even) { border-left: 1px solid var(--line-soft); }
}

/* personal-report preview (blurred teaser) */
.co-preview { padding: 14px; }
.co-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.co-preview-eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.co-preview-badge {
  display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px;
  border-radius: 9px; background: var(--ink); color: #fff7e6;
  font-family: var(--serif); font-weight: 600; font-size: 14px;
}
.co-preview-body {
  margin-top: 12px; display: grid; grid-template-columns: 0.9fr 1fr; gap: 12px; align-items: start;
}
.co-preview-thumb {
  border-radius: 14px; overflow: hidden; border: 1.4px solid var(--line);
  background: radial-gradient(60% 60% at 50% 35%, #fff4d8, #f1e2bf);
  aspect-ratio: 4 / 5;
}
.co-preview-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.co-preview-h {
  font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.05;
  color: var(--ink);
}
/* blurred placeholder bars */
.co-blur { display: grid; gap: 7px; }
.co-blur > span {
  height: 11px; border-radius: 99px; background: rgba(42,24,48,.5); filter: blur(2.2px);
}
.co-blur > span.w5 { width: 84%; background: rgba(42,24,48,.4); }
.co-blur > span.w4 { width: 78%; }
.co-blur > span.w3 { width: 62%; background: rgba(42,24,48,.32); }
.co-blur > span.sm { height: 8px; }
.co-blur > span.lg { height: 16px; background: rgba(42,24,48,.6); }
.co-preview-text .co-blur-lines { margin-top: 13px; }
.co-blur-cards { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-blur-cards > .co-blur {
  padding: 9px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.65);
}
.co-blur-wide {
  margin-top: 12px; padding: 11px 12px; border-radius: 13px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.65);
}
.co-preview-tiles { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.co-tile {
  padding: 8px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--paper-2);
}
.co-tile-img { aspect-ratio: 4 / 3; border-radius: 8px; background: #e4d6bd; }
.co-tile .co-blur { margin-top: 8px; gap: 5px; }
.co-tile .co-blur > span { height: 7px; }

/* price + purchase */
.co-buy { margin-top: 2px; display: grid; gap: 10px; }

/* proof beside the CTA */
.co-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.co-stars { display: inline-flex; gap: 1px; color: var(--gold); line-height: 0; }
.co-stars svg { filter: drop-shadow(0 1px 0 rgba(181,131,43,.35)); }
.co-trust-text { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.co-price { display: flex; align-items: baseline; gap: 8px; justify-content: center; }
.co-was {
  font-size: 13px; font-weight: 700; color: var(--ink-faint);
  text-decoration: line-through; text-decoration-color: rgba(42,24,48,.4);
  font-variant-numeric: tabular-nums;
}
.co-now {
  font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: 0;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.co-off {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #fff;
  background: #c0392b; padding: 4px 8px; border-radius: 99px; border: 1.4px solid var(--line);
  align-self: center; animation: coPop .5s cubic-bezier(.16,1,.3,1) both;
}
.co-save {
  text-align: center; margin-top: -2px;
  font-size: 12px; font-weight: 800; letter-spacing: .01em; color: var(--gold-deep);
}
.co-input {
  width: 100%; box-sizing: border-box;
  padding: 15px 16px; border-radius: 16px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-card); outline: none;
}
.co-input::placeholder { color: var(--ink-faint); font-weight: 500; }
.co-input:focus { box-shadow: 0 2px 0 var(--gold-deep), 0 14px 34px -18px rgba(42,24,48,.35); }
.co-cta {
  position: relative; overflow: hidden;
  width: 100%; padding: 17px 18px; border: 1.6px solid var(--line);
  border-radius: 99px; cursor: pointer;
  background: linear-gradient(168deg, var(--gold-2), var(--gold-deep));
  color: #fff8e8; font-family: var(--sans); font-weight: 800; font-size: 17px;
  letter-spacing: .005em; box-shadow: 0 3px 0 var(--line), 0 16px 34px -18px rgba(42,24,48,.5);
  transition: transform .12s ease, box-shadow .12s ease;
  animation: coPulse 2.6s ease-in-out infinite;
}
.co-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line), 0 10px 22px -16px rgba(42,24,48,.5); }
/* keep the label + price crisp above the shimmer sweep */
.co-cta-label, .co-cta-price { position: relative; z-index: 1; }
.co-cta-price { font-weight: 700; }
/* one-shot shimmer sweep to draw the eye */
.co-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: coShine 3.4s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes coPulse {
  0%,100% { box-shadow: 0 3px 0 var(--line), 0 16px 34px -18px rgba(42,24,48,.5), 0 0 0 0 rgba(217,164,65,0); }
  50%     { box-shadow: 0 3px 0 var(--line), 0 16px 34px -18px rgba(42,24,48,.5), 0 0 0 7px rgba(217,164,65,.14); }
}
@keyframes coShine { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }
@keyframes coPop { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: scale(1); } }

/* risk-reversal chip under the CTA */
.co-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--ink-soft);
  text-align: center;
}
.co-guarantee-ic { flex: none; display: inline-grid; place-items: center; color: var(--gold-deep); }

.co-foot {
  text-align: center; font-size: 11px; line-height: 1.5; font-weight: 600; color: var(--ink-faint);
}

/* sticky buy bar — fixed (out of flow, so it never reserves trailing space) */
.co-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--line);
  transform: translateY(120%); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.co-sticky.is-show { transform: translateY(0); opacity: 1; pointer-events: auto; }
/* on the desktop card the page is short + the inline CTA is reachable → no sticky bar */
@media (min-width: 640px) { .co-sticky { display: none; } }
.co-sticky-price { display: flex; flex-direction: column; line-height: 1.05; }
.co-sticky-was {
  font-size: 11px; font-weight: 700; color: var(--ink-faint);
  text-decoration: line-through; font-variant-numeric: tabular-nums;
}
.co-sticky-now {
  font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.co-sticky-cta {
  flex: 1; min-width: 0; padding: 14px 16px; border: 1.6px solid var(--line);
  border-radius: 99px; cursor: pointer;
  background: linear-gradient(168deg, var(--gold-2), var(--gold-deep));
  color: #fff8e8; font-family: var(--sans); font-weight: 800; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 3px 0 var(--line), 0 14px 28px -18px rgba(42,24,48,.5);
  transition: transform .12s ease;
}
.co-sticky-cta:active { transform: translateY(2px); }

/* staggered entrance for the checkout column */
.checkout > .co-head { animation: screenIn .5s ease both; }
.checkout > .co-timer { animation: screenIn .5s ease .06s both; }
.checkout > .co-intro { animation: screenIn .5s ease .12s both; }
.checkout > .co-benefits { animation: screenIn .5s ease .18s both; }
.checkout > .co-premium { animation: screenIn .5s ease .24s both; }
.checkout > .co-preview { animation: screenIn .5s ease .30s both; }
.checkout > .co-buy { animation: screenIn .5s ease .36s both; }

@media (prefers-reduced-motion: reduce) {
  .co-cta, .co-sticky-cta { transition: none; animation: none; }
  .co-cta::before { animation: none; display: none; }
  .co-off, .co-save { animation: none; }
  .co-timer.is-urgent .co-timer-clock { animation: none; }
  .co-sticky { transition: opacity .2s ease; transform: none; }
  .checkout > * { animation: none !important; }
}

/* premium */
.premium {
  position: relative; overflow: hidden;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #2A1830, #3d2347 60%, #4a2a52);
  color: #fbf3e4;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-pop);
}
.premium h2 { color: #fff; font-size: 26px; }
.premium .lead { color: #e7d8c8; font-size: 14px; margin-top: 8px; }
.premium ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.premium li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; }
.premium li .tick {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  display: grid; place-items: center; color: var(--ink);
}
.premium .btn { margin-top: 20px; }
.premium .price-note { margin-top: 11px; text-align: center; font-size: 12px; color: #c9b3d6; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px; font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink);
}
.faq-q .pm { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.3px solid var(--line); display: grid; place-items: center; transition: transform .25s ease; font-size: 16px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--gold-wash); }
.faq-a { max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .25s ease, padding .3s ease; padding: 0 16px; }
.faq-item.open .faq-a { max-height: 320px; opacity: 1; padding: 0 16px 16px; }
.faq-a p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* disclaimer */
.disclaimer { margin-top: 26px; font-size: 11.5px; color: var(--ink-faint); line-height: 1.5; text-align: center; padding: 0 6px; }
.foot { margin-top: 22px; text-align: center; color: var(--ink-faint); font-size: 12px; }

/* sticky bottom CTA */
.sticky-cta {
  position: sticky; bottom: 0; z-index: 30;
  margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,248,232,0), var(--paper) 32%);
  transition: transform .3s ease, opacity .3s ease;
}
.sticky-cta.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ============================================================
   QUESTIONNAIRE FUNNEL
   ============================================================ */
.funnel { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; }

.funnel-top { position: sticky; top: 0; z-index: 20; padding: 14px 18px 12px; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(8px); }
.funnel-top .row { display: flex; align-items: center; gap: 12px; }
.fn-back { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1.4px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fn-back:hover { background: #fff; }
.fn-back[disabled] { opacity: .35; cursor: default; }
.fn-back[hidden] { visibility: hidden; display: grid !important; }
.fn-step-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.fn-quit { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-faint); cursor: pointer; background: none; border: 0; font-family: var(--sans); }
.progress-track { margin-top: 11px; height: 7px; border-radius: 999px; background: rgba(42,24,48,.10); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .45s cubic-bezier(.4,0,.2,1); box-shadow: 0 0 12px rgba(217,164,65,.6); }

/* sticky bottom CTA bar of the funnel */
.funnel-bottom {
  position: sticky; bottom: 0; top: auto; z-index: 20;
  border-top: 1px solid var(--line-soft);
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
}
.fn-nav { display: flex; align-items: center; gap: 14px; }
.fn-circle {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
}
.fn-back-c:hover { background: #fff; }
.fn-next-c {
  margin-left: auto; background: var(--gold); border-color: var(--line);
  box-shadow: 0 4px 0 var(--gold-deep);
}
.fn-next-c:hover { background: var(--gold-2); }
.fn-circle:active { transform: translateY(2px); }
.fn-next-c:active { box-shadow: 0 2px 0 var(--gold-deep); }
.fn-circle[hidden] { display: none; }
.fn-circle[disabled] { opacity: .55; cursor: default; }
.fn-next-c.is-sending { opacity: .7; }

.funnel-body { flex: 1; padding: 22px 18px 26px; position: relative; }
.screen-anim { animation: screenIn .42s cubic-bezier(.2,.7,.2,1); }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* screen show/hide (only the active step is shown) */
.screen { display: none; }
.screen.is-active { display: block; }

.q-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.q-title { font-family: var(--serif); font-size: 26px; line-height: 1.08; margin-top: 8px; letter-spacing: -.01em; }
.q-help { margin-top: 9px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

/* text fields */
.field { margin-top: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.input {
  width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--card); font-family: var(--sans); font-size: 16px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--ink-faint); }
.input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(217,164,65,.18); }
.input.err { border-color: #c0476b; box-shadow: 0 0 0 4px rgba(192,71,107,.15); }
.err-msg { margin-top: 6px; font-size: 12px; font-weight: 600; color: #c0476b; }

/* radio cards */
.options { margin-top: 18px; display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 15px; min-height: 58px;
  border-radius: var(--r-sm); border: 1.6px solid var(--line);
  background: var(--card); cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink);
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  width: 100%; position: relative;
}
.opt:hover { background: #fff; }
.opt:active { transform: scale(.99); }
.opt .lbl { flex: 1; min-width: 0; }
.opt .key {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  border: 1.4px solid var(--line); display: grid; place-items: center;
  font-weight: 800; font-size: 13px; background: rgba(42,24,48,.04);
  transition: background .18s, color .18s;
}
.opt .tickbox { margin-left: auto; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-soft); display: grid; place-items: center; transition: all .18s; color: var(--ink); }
.opt .tickbox svg { display: none; }
.opt.sel .tickbox svg { display: block; }
.opt.sel { box-shadow: 0 3px 0 var(--gold-deep); border-color: var(--gold-deep); }
.opt.sel.tint-pink     { background: color-mix(in srgb, var(--pink) 42%, #fff); }
.opt.sel.tint-lavender { background: color-mix(in srgb, var(--lavender) 40%, #fff); }
.opt.sel.tint-mint     { background: color-mix(in srgb, var(--mint) 46%, #fff); }
.opt.sel.tint-peach    { background: color-mix(in srgb, var(--peach) 48%, #fff); }
.opt.sel .key { background: var(--gold); color: var(--ink); border-color: var(--line); }
.opt.sel .tickbox { background: var(--gold); border-color: var(--line); color: var(--ink); }
/* hide the native radio input */
.opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

/* compact gender picker — two tight pills side by side */
.options[data-gender] { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.options[data-gender] .opt {
  min-height: 0; padding: 11px 10px; gap: 8px;
  justify-content: center; text-align: center;
  font-size: 14px; border-radius: 12px;
}
.options[data-gender] .opt .lbl { flex: none; }
.options[data-gender] .opt .tickbox { display: none; }

/* upload */
.upload-card {
  margin-top: 18px; position: relative; display: block; width: 100%;
  border-radius: var(--r-lg); border: 2.4px dashed var(--gold);
  background: linear-gradient(180deg, #fffef9, #fff6e3);
  padding: 26px 18px; text-align: center; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.upload-card:hover { background: #fffdf2; border-color: var(--gold-deep); }
.upload-card .hand-ic { width: 72px; height: 72px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-wash); border: 1.4px solid var(--line); }
.upload-card h3 { font-family: var(--serif); font-size: 19px; }
.upload-card .uh { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.upload-card .tap { margin-top: 12px; display: inline-flex; }
.upload-card input { position: absolute; opacity: 0; width: 0; height: 0; }

.guides { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* upload preview + scan — true 9:16 portrait frame, full hand always visible */
.preview-card {
  margin: 18px auto 0; position: relative;
  width: 100%; max-width: calc(60vh * 9 / 16);   /* height-capped so it never overflows the screen */
  aspect-ratio: 9 / 16;                            /* responsive: scales with width, stays 9:16 */
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.6px solid var(--line); box-shadow: var(--shadow-card); background:#000;
}
.preview-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.preview-card .scan-overlay { position: absolute; inset: 0; pointer-events: none; }
.preview-card .scan-overlay::after {
  content:""; position: absolute; left: 0; right: 0; height: 60%;
  background: linear-gradient(180deg, rgba(232,184,78,0), rgba(232,184,78,.5), rgba(232,184,78,0));
  animation: sweep 2.4s ease-in-out infinite;
}
.preview-card .done-badge { position: absolute; top: 12px; right: 12px; }
.preview-actions { margin-top: 12px; display: flex; gap: 10px; }

/* review */
.review-list { margin-top: 18px; display: grid; gap: 9px; }
.rev-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; }
.rev-row .rl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.rev-row .rv { margin-left: auto; font-size: 14.5px; font-weight: 700; text-align: right; }
.rev-row .rv.ok { color: #2e8b6a; display: inline-flex; align-items: center; gap: 6px; }
.rev-thumbs { display:flex; gap:8px; margin-left:auto; }
.rev-thumbs img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; border: 1.4px solid var(--line); }

/* loading */
.loader { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; position: relative; z-index: 1; }
.loader > div { width: 100%; max-width: 320px; }
.loader-orb { width: 150px; height: 150px; margin: 0 auto 26px; position: relative; display: grid; place-items: center; }
.loader-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--gold); animation: spin 9s linear infinite; }
.loader-orb .ring.r2 { inset: 16px; border-style: solid; border-color: var(--line-soft); animation: spin 6s linear infinite reverse; }
.loader-orb .core { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(60% 60% at 50% 40%, #fff3d6, var(--gold)); border: 1.5px solid var(--line); display: grid; place-items: center; box-shadow: 0 0 40px rgba(217,164,65,.55); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader h2 { font-size: 24px; margin-bottom: 8px; }
.loader .msg { font-size: 15px; color: var(--ink-soft); font-weight: 600; min-height: 22px; transition: opacity .3s; }
.loader .lbar { margin: 22px auto 0; width: 220px; height: 7px; border-radius: 999px; background: rgba(42,24,48,.1); overflow: hidden; }
.loader .lfill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .4s ease; }

/* ============================================================
   RESULT / DESTINY CARD
   ============================================================ */
.result { position: relative; z-index: 1; padding: 0 18px 40px; }
.result-hero { text-align: center; padding: 26px 0 6px; position: relative; }
.dcard {
  position: relative; margin: 18px auto 0; max-width: 330px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.6px solid var(--line); box-shadow: var(--shadow-pop);
  background: linear-gradient(165deg, #fffdf6, #fff3df);
}
.dcard .dc-top { position: relative; padding: 22px 20px 18px; background: linear-gradient(160deg, #3d2347, #2A1830); color: #fbf3e4; text-align: center; overflow: hidden; }
.dcard .dc-arch { font-family: var(--serif); font-size: 27px; line-height: 1.05; margin-top: 6px; color: #fff; }
.dcard .dc-sign { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.dcard .dc-body { padding: 18px 18px 20px; }
.dc-trait { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.dc-trait:last-child { border-bottom: 0; }
.dc-trait .lab { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); }
.dc-trait .val { margin-left: auto; font-weight: 700; font-size: 14.5px; font-family: var(--serif); }
.lucky-row { display: flex; gap: 8px; margin-top: 14px; }
.lucky { flex: 1; text-align: center; padding: 12px 6px; border-radius: var(--r-sm); border: 1.4px solid var(--line); }
.lucky .lk-ic { width: 30px; height: 30px; margin: 0 auto 6px; display: grid; place-items: center; border-radius: 50%; }
.lucky b { display: block; font-family: var(--serif); font-size: 16px; }
.lucky span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }

.locked { position: relative; margin-top: 20px; }
.locked .blur { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.locked .lock-over {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px;
}
.locked .lock-card { background: color-mix(in srgb, var(--paper) 88%, transparent); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--shadow-pop); }
.locked .lock-ic { width: 44px; height: 44px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-wash); border: 1.4px solid var(--line); }

.affirm { margin-top: 20px; padding: 20px; text-align: center; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--gold-wash); }
.affirm .q { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; }

/* ---------- result: email-sent banner ---------- */
.res-email {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 18px; padding: 13px 14px;
  border-radius: var(--r-lg); border: 1.5px solid var(--line);
  background: linear-gradient(180deg, #eafaef, #dff4e6);
  box-shadow: 0 2px 0 rgba(42,24,48,.5), 0 14px 28px -16px rgba(42,24,48,.4);
}
.res-email .re-ic {
  flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: #1f9d55; color: #fff;
  box-shadow: 0 1px 0 rgba(42,24,48,.4);
}
.res-email .re-title {
  font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink);
  overflow-wrap: anywhere;
}
.res-email .re-note {
  margin-top: 3px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; line-height: 1.35; color: var(--ink-soft);
}
.res-email .re-note svg { flex: 0 0 auto; color: var(--gold-deep); }

/* ---------- result 1: high-conversion "being finalized" waiting block ---------- */
.res-prep {
  position: relative; overflow: hidden; margin-top: 18px; padding: 26px 20px 24px; text-align: center;
  border-radius: var(--r-lg); border: 1.5px solid var(--line);
  background: linear-gradient(180deg, #fff8e8, #f6e7c4);
  box-shadow: 0 2px 0 rgba(42,24,48,.5), 0 18px 34px -18px rgba(42,24,48,.45);
}
.res-prep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-100%); animation: rpShine 2.4s ease-in-out infinite;
}
@keyframes rpShine { to { transform: translateX(100%); } }
.res-prep > * { position: relative; }
.rp-orb { width: 78px; height: 78px; margin: 0 auto 14px; position: relative; display: grid; place-items: center; }
.rp-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--gold-deep); animation: spin 7s linear infinite; }
.rp-ring.rp-r2 { inset: 13px; border-style: solid; border-color: var(--gold); animation: spin 4s linear infinite reverse; }
.rp-core { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(60% 60% at 50% 40%, #fff, var(--gold)); display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 26px rgba(217,164,65,.6); }
.rp-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.rp-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); animation: rpDot 1.2s ease-in-out infinite; }
.rp-dots i:nth-child(2) { animation-delay: .18s; }
.rp-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes rpDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.rp-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.rp-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-top: 8px; }
.rp-note { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 8px; }
.rp-bar { margin: 16px auto 0; width: 200px; height: 7px; border-radius: 999px; background: rgba(42,24,48,.12); overflow: hidden; }
.rp-fill { width: 8%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 1.4s ease; }

/* ready badge inside the email banner */
.res-email .re-head { display: flex; align-items: flex-start; gap: 8px; }
.res-email .re-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; margin-left: auto;
  padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: #1f7a45; background: #c7f0d4; border: 1.2px solid #1f9d55;
}
.res-email .re-badge svg { color: #1f7a45; }

/* ---------- result: stage 1 (preparing & sending) ---------- */
.res-wait { min-height: 100dvh; display: flex; flex-direction: column; }
/* In /admin canvas (?edit=1) every phase is stacked & visible — don't let the
   full-height loading screen bury Result 1 / Result 2 below the fold. */
.dp-edit .res-wait { min-height: auto; }
.dp-edit .res-wait-body { padding: 20px 24px 24px; }
.dp-phase-tag {
  display: block; margin: 26px 0 10px; padding: 5px 11px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #7a5a12; background: var(--gold-wash); border: 1.4px dashed var(--gold-deep);
  width: max-content; max-width: 100%;
}
.res-wait-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px 24px 80px;
}
.res-wait .loader-orb { margin: 0 auto 24px; }
.res-wait .loader-orb .core { color: var(--gold-deep); }
.rw-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.rw-title { font-family: var(--serif); font-size: 25px; line-height: 1.18; margin-top: 10px; max-width: 320px; }
.rw-note { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-top: 10px; max-width: 300px; }
.rw-email {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  padding: 7px 13px; border-radius: 999px; border: 1.4px solid var(--line); background: var(--card);
  overflow-wrap: anywhere;
}
.rw-email svg { flex: 0 0 auto; color: var(--gold-deep); }
.rw-bar { margin: 22px auto 0; width: 220px; height: 7px; border-radius: 999px; background: rgba(42,24,48,.1); overflow: hidden; }
.rw-fill { width: 8%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 1.6s ease; }

/* ---------- result: premium-contents grid + download ---------- */
.res-premium { margin-top: 24px; }
.res-actions { margin-top: 18px; text-align: center; }
.res-download { width: 100%; justify-content: center; text-decoration: none; }
.res-dl-note {
  margin-top: 8px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .02em; color: var(--ink-soft); text-align: center;
}

/* utility */
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.hide { display: none !important; }

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