/* FaceLift web funnel — mobile-first styles */

:root {
  --cream: #F9F4EA;       /* page */
  --light: #FCF8EF;       /* app surface */
  --beige: #ECDFD4;       /* soft fills, lines */
  --beige-2: #E3D3C5;
  --gold: #D0AA86;        /* accents */
  --gold-ink: #B08458;    /* gold text (bold / large only) */
  --gold-50: #F6EBDD;
  --brand: #203A43;       /* buttons: white text passes WCAG AAA */
  --brand-hover: #182C33;
  --brand-2: #2C5364;     /* progress, rings, highlights */
  --brand-50: #EAF0F1;
  --brand-100: #CFDDE1;
  --ink: #1C2B30;
  --muted: #4E5A5E;
  --subtle: #6B7478;
  --line: #E9DED2;
  --card: #FFFDF8;
  --danger: #B42318;
  --radius: 16px;
  --w: 480px;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Keep anything scrolled/focused into view clear of the fixed Continue bar. */
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: 112px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: var(--brand-2); }
[hidden] { display: none !important; }
h1:focus { outline: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid rgba(44, 83, 100, .45);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Frame ─────────────────────────────────────────────────────────────── */
.app {
  max-width: var(--w);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--light);
  position: relative;
}
@media (min-width: 560px) {
  .app { margin: 24px auto; min-height: calc(100vh - 48px); border-radius: 24px; box-shadow: 0 12px 48px rgba(32, 58, 67, .10); }
}
.test-ribbon {
  background: var(--gold); color: #1C2B30; text-align: center; font-size: 12px; font-weight: 800;
  padding: 4px; letter-spacing: .06em;
}

.topbar {
  position: sticky; top: 0; z-index: 25;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  height: 56px; padding: 0 12px;
  background: rgba(252, 248, 239, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: inherit;
}
.logo { grid-column: 2; justify-self: center; height: 26px; width: auto; }
.topbar-side { grid-column: 3; }
.back-btn {
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}
.back-btn:hover { background: var(--beige); }

.progress { padding: 2px 20px 0; }
.progress-track { display: flex; gap: 6px; }
.seg { flex: 1; height: 6px; border-radius: 3px; background: var(--beige); overflow: hidden; }
.seg-fill { display: block; height: 100%; background: var(--brand-2); border-radius: 3px; transition: width .35s ease; }
.progress-label {
  margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--subtle);
}

.stage { padding: 8px 20px 128px; }
.screen { display: none; }
.screen.is-active { display: block; }
/* Animate only the content wrapper, and don't keep the transform afterwards:
   a transformed ancestor would pin the position:fixed Continue bar, sticky
   CTA and dialogs to the screen instead of the viewport. */
.anim-fwd > .q, .anim-fwd > .plan, .screen-landing.anim-fwd { animation: inFwd .28s cubic-bezier(.2, .7, .3, 1) backwards; }
.anim-back > .q, .anim-back > .plan, .screen-landing.anim-back { animation: inBack .28s cubic-bezier(.2, .7, .3, 1) backwards; }

/* ── Type ──────────────────────────────────────────────────────────────── */
.title-xl {
  font-family: var(--serif); font-size: 31px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em;
  text-align: center; margin: 14px 0 10px;
}
.title { font-family: var(--serif); font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.005em; margin: 14px 0 8px; }
.title-xl, .title { text-wrap: balance; }
.subtitle { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.hl { color: var(--gold-ink); }
.h2 { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 700; margin: 0 0 12px; }
.h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.muted { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.fine { font-size: 12.5px; color: var(--subtle); margin: 8px 0 0; }
.center { text-align: center; }
.source { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--subtle); }

/* ── Landing ───────────────────────────────────────────────────────────── */
.lead { text-align: center; color: var(--muted); font-size: 16.5px; margin: 0 auto; max-width: 400px; }
.prompt { text-align: center; font-weight: 700; margin: 22px 0 12px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; padding: 0 18px; border: 0; border-radius: 16px;
  background: var(--brand); color: #fff; font-size: 20px; font-weight: 750; cursor: pointer;
  box-shadow: 0 6px 16px rgba(32, 58, 67, .22); transition: transform .12s ease, background .15s ease;
}
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile:hover { background: var(--brand-hover); }
.tile:active { transform: scale(.98); }
.tile.is-selected { background: var(--brand-2); }
.tile-arrow { font-size: 22px; color: var(--gold); }
.trust-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
  list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--subtle);
}
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 8px; font-size: 13px; }
.legal a { color: var(--subtle); }

/* Hero: the app's Day 1 session, as an illustration */
.hero-visual { position: relative; height: 168px; max-width: 360px; margin: 2px auto 6px; overflow: hidden; }
.hero-visual::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background: linear-gradient(to bottom, rgba(252, 248, 239, 0), var(--light)); pointer-events: none;
}
.phone {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 184px; height: 250px; padding: 7px; border-radius: 32px;
  background: var(--brand); box-shadow: 0 18px 40px rgba(32, 58, 67, .22);
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 12px; border-radius: 8px; background: var(--brand); z-index: 2;
}
.phone-screen {
  height: 100%; padding: 30px 12px 0; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, var(--gold-50), var(--card) 70%);
}
.app-day { margin: 0; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.app-session { margin: 2px 0 0; font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink); }
.app-face { display: block; width: 72px; height: 72px; margin: 4px auto 0; }
.f-line { fill: var(--light); stroke: var(--gold); stroke-width: 3; }
.f-soft { fill: none; stroke: var(--gold-ink); stroke-width: 2.5; stroke-linecap: round; }
.f-dot { fill: var(--brand-2); opacity: .75; }
.app-moves { list-style: none; margin: 4px 0 0; padding: 0; text-align: left; font-size: 10px; font-weight: 650; color: var(--muted); }
.app-moves li { display: flex; align-items: center; gap: 6px; padding: 3px 4px; }
.app-moves span {
  width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--gold); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 8px; color: #fff; background: var(--gold);
}
.app-moves li:last-child span { background: transparent; }
.chip {
  position: absolute; z-index: 3; padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--card); color: var(--ink); font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(32, 58, 67, .12); animation: bob 4.2s ease-in-out infinite;
}
.chip-a { left: 0; top: 18px; }
.chip-b { right: 0; top: 62px; animation-delay: -1.4s; }
.chip-c { left: 4px; top: 108px; animation-delay: -2.8s; }
@keyframes bob { 50% { transform: translateY(-5px); } }

.how { margin: 28px 0 0; padding: 20px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
.how h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 700; text-align: center; }
.how-steps { counter-reset: h; list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.how-steps li { counter-increment: h; position: relative; display: flex; flex-direction: column; padding-left: 44px; }
.how-steps li::before {
  content: counter(h); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--brand); font-weight: 800; font-size: 14px;
}
.how-steps span { color: var(--muted); font-size: 14.5px; }
.landing-device { margin: 12px 0 0; }

/* Small or short phones: keep the age tiles above the fold */
@media (max-height: 620px), (max-width: 360px) {
  .hero-visual { height: 128px; }
  .phone { transform: translateX(-50%) scale(.84); transform-origin: top center; }
  .chip { font-size: 11px; padding: 6px 9px; }
  .chip-b { top: 50px; }
  .chip-c { top: 88px; }
}
@media (max-width: 360px) {
  .title-xl { font-size: 27px; margin-top: 8px; }
  .lead { font-size: 15.5px; }
  .prompt { margin: 16px 0 10px; }
  .tile { min-height: 60px; font-size: 19px; }
}
@media (max-height: 620px) { .lead { display: none; } }

/* ── Choices ───────────────────────────────────────────────────────────── */
.options-list { display: flex; flex-direction: column; gap: 10px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; scroll-margin-bottom: 112px;
  padding: 12px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  text-align: left; font-size: 16px; color: inherit; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.option:hover { border-color: var(--gold); }
.option:active { transform: scale(.99); }
.option.is-selected { border-color: var(--brand-2); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-2); }
.option-emoji { font-size: 26px; line-height: 1; width: 34px; text-align: center; flex-shrink: 0; }
.option-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.option-label { font-weight: 650; font-size: 17px; line-height: 1.3; }
.option-desc { font-size: 14px; color: var(--subtle); }
.option-mark {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--beige-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: transparent;
  transition: background .15s ease, border-color .15s ease;
}
.option-mark svg { width: 16px; height: 16px; }
.option-mark.is-box { border-radius: 7px; }
.option.is-selected .option-mark { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.options-grid .option {
  position: relative; flex-direction: column; justify-content: center; text-align: center;
  min-height: 112px; padding: 18px 10px; gap: 6px;
}
.options-grid .option-mark { position: absolute; top: 10px; right: 10px; }
.options-grid .option-emoji { font-size: 36px; width: auto; }
.options-grid .option-label { font-size: 16px; }
.options-grid .option:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 72px; flex-direction: row; text-align: left; padding: 14px 44px 14px 16px; }
.options-grid .option:last-child:nth-child(odd) .option-emoji { font-size: 28px; }
.options-grid .option:last-child:nth-child(odd) .option-mark { top: 50%; transform: translateY(-50%); right: 16px; }

/* ── Footer CTA ────────────────────────────────────────────────────────── */
.footer {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 20;
  width: 100%; max-width: var(--w);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--light) 72%, rgba(252, 248, 239, 0));
}
/* Typed-answer steps: button sits under the field so the keyboard can't hide it */
.footer.footer-inline {
  position: static; left: auto; bottom: auto; transform: none; z-index: auto;
  width: auto; max-width: none; padding: 18px 0 0; background: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 20px; border: 0; border-radius: 14px;
  font-size: 17px; font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform .1s ease, background .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(32, 58, 67, .24); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:disabled { background: #A9B7BB; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); margin-top: 12px; }
.btn.is-busy::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin .8s linear infinite;
}
.btn-link {
  display: block; width: 100%; margin: 10px 0 0; padding: 12px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 650; color: var(--subtle); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:disabled { opacity: .5; cursor: default; }

/* ── Info screens ──────────────────────────────────────────────────────── */
.info-icon { font-size: 42px; margin-top: 8px; }
.muscles { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.muscle {
  display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.muscle b { font-size: 15.5px; }
.muscle span { font-size: 12.5px; color: var(--subtle); font-style: italic; }
.muscle.is-hi { background: var(--gold-50); border-color: var(--gold); }
.muscles-key { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.key-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--gold-50); border: 1.5px solid var(--gold); }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0 0; }
.ws-day {
  display: flex; flex-direction: column; align-items: center; padding: 10px 0 8px; border-radius: 12px;
  background: var(--brand-50); border: 1px solid var(--brand-100); line-height: 1.1;
}
.ws-day b { font-size: 17px; color: var(--brand); }
.ws-day small { font-size: 10px; color: var(--subtle); }
.ws-day em { margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--gold-ink); }
.week-total { margin: 14px 0 0; text-align: center; font-size: 16px; color: var(--muted); }
.week-total b { color: var(--ink); }
.care-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.care-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.45;
}
.care-list span { font-size: 20px; line-height: 1.2; }

/* ── Inputs ────────────────────────────────────────────────────────────── */
.num-row { display: flex; gap: 14px; }
.num {
  flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px;
  border-bottom: 2px solid var(--line); padding: 6px 4px; transition: border-color .15s ease;
}
.num:focus-within { border-color: var(--brand-2); }
/* Size inputs to their digits so the number and its unit read as one group. */
.num input {
  width: 2.4ch; flex: none; border: 0; outline: 0; padding: 0; background: transparent;
  font-size: 42px; font-weight: 800; color: var(--ink); text-align: right;
}
.num input::placeholder { color: var(--beige-2); }
.num span { font-size: 18px; font-weight: 700; color: var(--subtle); }
.field-error { color: var(--danger); font-size: 14px; min-height: 20px; margin: 10px 0 0; }
.field { display: block; margin-bottom: 12px; }
.field-label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 56px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px;
  font-size: 17px; color: var(--ink); background: var(--card); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(44, 83, 100, .12); }
.field input[readonly] { background: var(--cream); color: var(--muted); }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  font-size: 15px; font-weight: 700; color: var(--brand-2); padding: 8px 10px; cursor: pointer;
}

/* ── "Make a promise" (press and hold) ─────────────────────────────────── */
.commit-q { text-align: center; }
.pledge {
  margin: 18px 0 26px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 19px; line-height: 1.4; font-weight: 700;
}
.hold {
  position: relative; display: block; width: 132px; height: 132px; margin: 0 auto; padding: 0; border: 0; border-radius: 50%;
  background: var(--gold-50); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform .2s ease, background .2s ease;
}
.hold svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold-bg { fill: none; stroke: var(--beige); stroke-width: 7; }
.hold-fg { fill: none; stroke: var(--gold-ink); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hold:not(.is-holding):not(.is-done) .hold-fg { opacity: 0; }
.hold-icon { position: relative; font-size: 44px; line-height: 132px; }
.hold.is-holding { transform: scale(.96); background: var(--beige); }
.hold.is-done { background: var(--brand-2); }
.hold.is-done .hold-fg { stroke: #fff; }
.hold-hint { margin: 14px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }

/* ── Loader ────────────────────────────────────────────────────────────── */
.loader { text-align: center; padding-top: 28px; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--beige); stroke-width: 10; }
.ring-fg {
  fill: none; stroke: var(--brand-2); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear;
}
.ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 850; }
.checklist {
  list-style: none; padding: 0; margin: 18px auto 0; max-width: 330px; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.checklist li { display: flex; align-items: center; gap: 12px; color: #9AA3A6; font-weight: 600; transition: color .2s ease; }
.checklist .dot {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--beige-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: transparent;
}
.checklist .dot svg { width: 14px; height: 14px; }
.checklist li.is-active { color: var(--ink); }
.checklist li.is-active .dot { border-color: var(--gold); animation: pulse 1s ease infinite; }
.checklist li.is-done { color: var(--ink); }
.checklist li.is-done .dot { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }

.modal {
  position: fixed; inset: 0; z-index: 50; padding: 16px;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(28, 43, 48, .45); animation: fadeIn .2s ease;
}
@media (min-height: 700px) { .modal { align-items: center; } }
.modal-card {
  width: 100%; max-width: 440px; background: var(--light); border-radius: 22px; padding: 22px;
  box-shadow: 0 20px 50px rgba(28, 43, 48, .25); animation: slideUp .25s cubic-bezier(.2, .8, .3, 1);
}
.modal-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.modal-card h2 { font-family: var(--serif); font-size: 21px; line-height: 1.35; margin: 8px 0 18px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; margin-top: 0; }
.exit-modal .modal-card { text-align: center; }
.exit-text { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.exit-modal .btn-ghost { margin-top: 8px; border: 0; color: var(--subtle); font-weight: 650; }

/* ── Email ─────────────────────────────────────────────────────────────── */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.suggest { font-size: 14px; color: var(--muted); margin: 0; }
.link { border: 0; background: none; padding: 0; font-size: inherit; color: var(--brand-2); font-weight: 700; text-decoration: underline; cursor: pointer; }
.privacy { font-size: 13px; color: var(--subtle); margin-top: 14px; }
.privacy a { color: var(--subtle); }
.teaser {
  margin: 2px 0 18px; padding: 4px 16px; border-radius: 16px;
  background: linear-gradient(160deg, var(--gold-50), var(--card)); border: 1px solid var(--line);
}
.teaser-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--beige-2); font-size: 15px;
}
.teaser-row:last-child { border-bottom: 0; }
.teaser-row > span { color: var(--muted); flex-shrink: 0; }
.teaser-row b { font-weight: 800; text-align: right; }
.teaser-row .locked { display: inline-flex; align-items: center; gap: 8px; }
.teaser-row .blur { filter: blur(6px); user-select: none; -webkit-user-select: none; transition: filter .6s ease; }
.teaser-row .blur.unblur { filter: none; }
.teaser-row .lock { font-size: 15px; }

/* ── Plan & checkout ───────────────────────────────────────────────────── */
.screen-plan { padding-bottom: 12px; }
.plan-hero { text-align: center; }
.eyebrow {
  display: inline-block; margin: 6px 0 2px; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--gold-50);
}
.plan-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 0; font-size: 15px; color: var(--subtle); }
.plan-meta b { color: var(--ink); font-weight: 700; }
.type-card {
  display: flex; gap: 14px; align-items: flex-start; margin: 16px 0 0; padding: 16px; text-align: left;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.type-emoji { font-size: 36px; line-height: 1; flex-shrink: 0; }
.type-about { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; }
.type-plan {
  margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100);
  font-size: 14.5px; line-height: 1.45;
}
.type-plan span { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); }
.weeks-title { margin: 22px 0 10px; font-family: var(--serif); font-size: 19px; }
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.wk {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.wk-n { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.wk b { font-family: var(--serif); font-size: 17px; }
.wk-about { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.wk.is-mine { background: var(--gold-50); border-color: var(--gold); }
.wk-tag {
  align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--brand-2);
}
.btn-hero { margin-top: 18px; }
.live-count { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.live-count b { color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-100); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-top: 16px; }

/* "You said … → your plan …" */
.answers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.answers li { display: flex; gap: 12px; align-items: flex-start; }
.ans-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-size: 18px; background: var(--gold-50);
}
.ans-said { margin: 0; font-size: 13px; line-height: 1.4; color: var(--subtle); }
.ans-said span {
  display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-2); background: var(--brand-50);
}
.ans-plan { margin: 3px 0 0; font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.btn-inline { margin-top: 18px; }

/* The first 7 days */
.week-list {
  list-style: none; margin: 0 0 0 6px; padding: 0 0 0 20px; border-left: 2px solid var(--beige);
  display: flex; flex-direction: column; gap: 14px;
}
.week-list li { position: relative; display: flex; flex-direction: column; }
.week-list li::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--gold);
}
.week-list li:first-child::before { background: var(--gold); }
.week-list b { font-size: 15px; }
.week-list span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.week-list .is-rest b { color: var(--muted); }
.free-tag {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--gold-50);
  border: 1px solid var(--gold);
}

/* Checkout */
.checkout { border: 2px solid var(--brand-2); box-shadow: 0 12px 30px rgba(32, 58, 67, .10); scroll-margin-top: 72px; }
.commit {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px;
  border-radius: 14px; background: var(--gold-50); border: 1px solid var(--line);
  font-size: 15px; line-height: 1.45;
}
.commit-unsure { display: block; }
.commit-unsure ul { margin: 6px 0 0; padding-left: 20px; }
.commit-unsure li { margin: 2px 0; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 6px; }
.price {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 16px 8px 12px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--card); color: inherit; cursor: pointer;
}
.price.is-on { border-color: var(--brand-2); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-2); }
.price-amt { font-size: 22px; font-weight: 850; }
.price-sub { font-size: 12.5px; color: var(--subtle); }
.price-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--brand);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.timeline {
  list-style: none; margin: 20px 0 0 6px; padding: 0 0 0 20px; border-left: 2px dashed var(--beige-2);
  display: flex; flex-direction: column; gap: 14px;
}
.timeline li { position: relative; display: flex; flex-direction: column; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-2); border: 2px solid var(--card); box-shadow: 0 0 0 2px var(--brand-2);
}
.timeline b { font-size: 15px; }
.timeline span { font-size: 14px; color: var(--muted); }
.due-row {
  display: flex; justify-content: space-between; align-items: center; margin: 18px 0 16px;
  padding: 12px 14px; border-radius: 12px; background: var(--cream); font-weight: 700;
}
.due-row span { display: flex; flex-direction: column; }
.due-row small { font-size: 12.5px; font-weight: 500; color: var(--subtle); }
.due-row b { font-size: 20px; }
.express { min-height: 50px; }
.express.is-empty, .express:empty { min-height: 0; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 13px; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pe { min-height: 40px; }
.pay-error {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 14px;
  color: var(--danger); background: #FEF3F2; border: 1px solid #FECDCA;
}
.btn-pay { margin-top: 16px; }
@keyframes ready-pulse { 0% { box-shadow: 0 0 0 0 rgba(44, 83, 100, .45); } 100% { box-shadow: 0 0 0 14px rgba(44, 83, 100, 0); } }
.btn-pay.is-ready { animation: ready-pulse .9s ease-out 2; }
.assure {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.disclosure { font-size: 12.5px; line-height: 1.5; color: var(--subtle); margin: 12px 0 0; }
.disclosure a { color: var(--subtle); }
.device-note {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13.5px;
  background: var(--gold-50); border: 1px solid var(--gold); color: #5C4127;
}
.mock-pay { padding: 16px; border-radius: 12px; border: 1.5px dashed var(--beige-2); color: var(--muted); font-size: 14px; text-align: center; }
.trust-box { margin: 16px 0 0; padding: 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.app-proof { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.app-proof img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.app-proof b { display: block; font-size: 14.5px; color: var(--ink); }
.guarantee { display: flex; gap: 14px; align-items: center; }
.guarantee p { margin: 0; font-size: 14px; color: var(--muted); }
.g-badge {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; line-height: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-ink)); color: #fff; box-shadow: 0 6px 14px rgba(176, 132, 88, .3);
}
.g-badge b { font-size: 22px; }
.g-badge span { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.faq { margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--gold-ink);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.final-cta { margin-top: 20px; padding: 20px 18px; border-radius: 20px; text-align: center; background: linear-gradient(160deg, var(--gold-50), var(--card)); border: 1px solid var(--line); }
.final-cta p { margin: 0 0 12px; font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.35; }
.rv-sum { margin: -4px 0 12px; font-size: 14.5px; color: var(--muted); }
.rv-sum b { color: var(--ink); margin-left: 6px; }
.rv-stars { color: var(--gold-ink); letter-spacing: 1px; margin: 0; }
.rv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rv-list li { padding: 12px 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.rv-text { margin: 4px 0 6px; font-size: 15px; line-height: 1.45; }
.rv-name { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--subtle); }
.sticky-cta {
  position: fixed; left: 50%; bottom: 0; z-index: 30; transform: translate(-50%, 110%);
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: var(--w); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(252, 248, 239, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); transition: transform .25s ease;
}
.sticky-cta.is-shown { transform: translate(-50%, 0); }
.sticky-cta .sc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta .sc-info b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .sc-info span { font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { width: auto; flex-shrink: 0; margin: 0; padding-left: 22px; padding-right: 22px; }
.processing {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(252, 248, 239, .94); font-weight: 700;
}
.spinner {
  width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  border: 4px solid var(--beige); border-top-color: var(--brand); animation: spin .8s linear infinite;
}

/* ── After payment ─────────────────────────────────────────────────────── */
.success-badge {
  width: 72px; height: 72px; margin: 14px auto 4px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-2); color: #fff; animation: pop .45s cubic-bezier(.2, .9, .3, 1.4);
}
.success-badge svg { width: 36px; height: 36px; }
.stack { text-align: left; margin-top: 18px; }
.party { font-size: 54px; margin-top: 10px; }
.next-steps {
  counter-reset: s; list-style: none; padding: 0; margin: 20px 0;
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.next-steps li {
  counter-increment: s; position: relative; display: flex; flex-direction: column;
  padding: 14px 16px 14px 56px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.next-steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--gold); color: var(--brand); font-weight: 800; font-size: 14px;
}
.next-steps span { color: var(--muted); font-size: 14px; }
.btn-store { background: #000; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.btn-store:hover { background: #1f1f1f; }
.qr { display: none; }
@media (min-width: 768px) and (hover: hover) {
  .qr { display: flex; align-items: center; gap: 14px; max-width: 380px; margin: 18px auto 0; text-align: left; font-size: 14px; color: var(--muted); }
  .qr img { border-radius: 10px; border: 1px solid var(--line); }
}
.upgraded, .paid-ok {
  display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 750; color: var(--brand); background: var(--brand-50);
}

/* Post-purchase offers */
.offer { text-align: center; }
.offer .subtitle { margin-bottom: 18px; }
.offer-card {
  position: relative; margin: 0 0 16px; padding: 22px 18px 18px; border-radius: 20px; text-align: left;
  background: var(--card); border: 2px solid var(--brand-2); box-shadow: 0 12px 30px rgba(32, 58, 67, .10);
}
.offer-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--brand);
  font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase;
}
.offer-term { margin: 0; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.offer-price { margin: 2px 0 0; text-align: center; font-size: 40px; font-weight: 900; line-height: 1.1; color: var(--ink); }
.offer-per { margin: 4px 0 14px; text-align: center; font-size: 14px; color: var(--muted); }
.offer-perks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.offer-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.offer-perks svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; padding: 3px;
  border-radius: 50%; background: var(--brand-2); color: #fff;
}
.offer .disclosure { text-align: left; }

/* Small rewards */
.toast-pop {
  position: fixed; top: 64px; left: 50%; z-index: 80; transform: translate(-50%, -12px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 9px 16px; border-radius: 999px; text-align: center; line-height: 1.3;
  font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px rgba(32, 58, 67, .3);
  transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.toast-pop.is-in { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

.preview-picker { position: fixed; left: 10px; bottom: 96px; z-index: 200; font-size: 12px; opacity: .9; }
.preview-ribbon { background: var(--brand-50); color: var(--brand); }
.noscript { text-align: center; padding: 20px; }

/* Short screens (iPhone SE class): keep the email and plan buttons on the first screen */
@media (max-height: 620px) {
  .screen-email .title, .plan-hero .title { font-size: 22px; margin-top: 8px; }
  .screen-email .subtitle { font-size: 14.5px; margin-bottom: 10px; }
  .teaser { margin-bottom: 12px; }
  .teaser-row { padding: 7px 0; font-size: 14px; }
  .screen-email .footer-inline { padding-top: 6px; }
  .screen-email .field-error:empty { display: none; }
}

/* ── Motion ────────────────────────────────────────────────────────────── */
@keyframes inFwd { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes inBack { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(208, 170, 134, .3); } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .chip { animation: none; }
}

/* Agree / disagree statements read as a quote */
.q-statement .title { font-style: italic; }
.q-statement .options-grid .option { min-height: 92px; }

/* Face map: the areas they pick light up */
.facemap { display: flex; justify-content: center; margin: 2px 0 14px; }
.facemap svg { overflow: visible; }
.fm-face { fill: var(--gold-50); stroke: var(--gold); stroke-width: 2.5; }
.fm-neck { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.fm-line { fill: none; stroke: var(--gold-ink); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.fz { fill: var(--brand-2); opacity: 0; transition: opacity .25s ease; }
.fz.is-on { opacity: .32; }
@media (prefers-reduced-motion: reduce) { .fz { transition: none; } }

/* "Your face type" result */
.info-icon.is-type { font-size: 56px; line-height: 1; margin-top: 12px; }
.ft-card { display: block; margin-top: 6px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: left; }
.ft-about { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.ft-plan { display: block; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-50); font-size: 15px; line-height: 1.5; }
.ft-plan span { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }

/* Face map screen: compact choices so the face and the options fit together */
.q-facemap .options-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.q-facemap .options-grid .option { min-height: 0; padding: 10px 6px 12px; }
.q-facemap .options-grid .option-emoji { font-size: 24px; }
.q-facemap .options-grid .option-label { font-size: 14px; }
.q-facemap .options-grid .option-mark { top: 6px; right: 6px; transform: scale(.8); }
.q-facemap .options-grid .option:last-child, .q-facemap .options-grid .option:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; justify-content: center; min-height: 52px; padding: 10px 40px; }
.q-facemap .options-grid .option:last-child .option-mark { top: 50%; right: 12px; transform: translateY(-50%) scale(.8); }
.q-facemap .facemap svg { width: 132px; height: 158px; }

/* What to expect: an honest timeline */
.expect { list-style: none; margin: 4px 0 0; padding: 0; text-align: left; border-left: 2px solid var(--gold); }
.expect li { position: relative; padding: 0 0 14px 18px; }
.expect li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--gold); }
.expect li:last-child { padding-bottom: 0; }
.expect b { display: block; font-size: 14px; color: var(--gold-ink); letter-spacing: .02em; }
.expect span { display: block; font-size: 15px; line-height: 1.45; color: var(--ink); }

/* Picture yourself 28 days from now */
.future { list-style: none; margin: 6px 0 0; padding: 16px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.future li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.future li + li { border-top: 1px solid var(--line); }
.future-check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }

/* Your 3 starter moves (plan page) */
.starter { margin: 14px 0 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: left; }
.starter-title { margin: 0 0 8px; font-weight: 800; font-size: 15px; color: var(--ink); }
.starter-title span { display: block; font-weight: 600; font-size: 12.5px; color: var(--subtle); }
.starter ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.starter li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.starter li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-50); color: var(--gold-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.starter li b { font-size: 15.5px; }
.starter li small { font-size: 13px; color: var(--muted); }
