/* The web funnel at /start/ (quiz, offer, done). Built dark: noindex, unlinked.
   The light woodland tokens of assets/css/styles.css, inlined here so the funnel
   pages carry one small stylesheet and nothing from the home page. */
@font-face{font-family:"Baloo 2";src:url("../../assets/fonts/Baloo2-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Baloo 2";src:url("../../assets/fonts/Baloo2-800.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("../../assets/fonts/NunitoSans-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("../../assets/fonts/NunitoSans-700.woff2") format("woff2");font-weight:700;font-display:swap}
/* the certificate's handwritten name, as the app draws it (Caveat_700Bold, Latin subset) */
@font-face{font-family:"Caveat";src:url("../../assets/fonts/Caveat-700.woff2") format("woff2");font-weight:700;font-display:swap}

:root{
  --green:#4E9A63; --green-deep:#2E6A41; --green-light:#E7F1DF;
  --cream:#FBF4E4; --parchment:#FCF7EA; --soft:#F3E7CC;
  --wood:#C9A86A; --wood-dark:#9A6B3E;
  --gold-a:#F7C75E; --gold-b:#EFB23E; --gold-dark:#C98A2A; --gold-star:#F2B100;
  --amber:#9C540E; --ink:#3A4A2C; --muted:#5C684A; --sub:#556542;
  --cta-text:#5A3D12; --line:#E3D7BC; --opt-edge:#E0CFA3; --sel-bg:#E8F2DF;
  --error:#D84B3A;
  --font:"Baloo 2",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--cream);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.45;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
h1,h2,h3{font-family:var(--font);font-weight:800;color:var(--green-deep);line-height:1.15;margin:0 0 .4em;letter-spacing:-.01em}
p{margin:0 0 .8em}
a{color:var(--green-deep);font-weight:700}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:6px}
.hidden{display:none !important}

.shell{max-width:30rem;min-height:100vh;min-height:100dvh;margin:0 auto;padding:12px 18px 20px;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:12px;min-height:44px}
.back{border:none;background:none;font:inherit;font-weight:700;color:var(--green-deep);padding:8px 4px;cursor:pointer;min-width:44px;text-align:left}
.back[disabled]{visibility:hidden}
.progress{flex:1;height:10px;border-radius:999px;background:var(--soft);overflow:hidden}
.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--green),var(--green-deep));border-radius:999px;transition:width .3s ease}
.screen{flex:1;display:flex;flex-direction:column;padding-top:10px}
.screen.centered{justify-content:center}
.body{flex:1}
.footer{padding-top:14px;display:flex;flex-direction:column;gap:10px}

.title{font-size:1.55rem;text-align:center}
.sub{color:var(--sub);text-align:center;font-size:.98rem}
.eyebrow{font-family:var(--font);color:var(--amber);font-weight:800;text-align:center;margin-bottom:.2rem}
.owl{display:block;width:96px;height:96px;object-fit:contain;margin:4px auto 10px}
.photo{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:18px;margin:0 0 14px}
.note{background:var(--parchment);border:2px solid var(--line);border-radius:14px;padding:10px 14px;margin-top:14px;
  font-weight:700;font-size:.9rem;color:var(--wood-dark)}

/* the gold wooden button */
.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;
  font-family:var(--font);font-weight:800;font-size:1.15rem;line-height:1.1;color:var(--cta-text);
  background:linear-gradient(180deg,var(--gold-a),var(--gold-b));border:none;border-radius:16px;padding:14px 22px;cursor:pointer;
  box-shadow:0 6px 0 var(--gold-dark),0 12px 22px rgba(201,138,42,.3);text-decoration:none;transition:transform .08s ease,box-shadow .08s ease}
.btn:active{transform:translateY(5px);box-shadow:0 1px 0 var(--gold-dark),0 6px 12px rgba(201,138,42,.3)}
.btn[disabled]{opacity:.5;cursor:default;transform:none}
.btn-soft{background:#fff;color:var(--green-deep);box-shadow:0 3px 0 var(--line),0 8px 18px rgba(46,74,51,.08)}
.btn-soft:active{box-shadow:0 1px 0 var(--line)}
.linkbtn{border:none;background:none;font:inherit;font-weight:700;color:var(--green-deep);text-decoration:underline;cursor:pointer;padding:8px}

/* quiz options: plaques */
.opts{display:grid;gap:10px;margin-top:14px}
.opts.cols-2{grid-template-columns:repeat(2,1fr)}
.opts.cols-3{grid-template-columns:repeat(3,1fr)}
.opt{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;width:100%;min-height:56px;text-align:left;
  font-family:var(--font);font-weight:700;font-size:1.02rem;color:var(--ink);background:var(--parchment);
  border:2px solid var(--opt-edge);border-radius:14px;padding:12px 16px;cursor:pointer;transition:background .15s,border-color .15s}
.opts.cols-2 .opt,.opts.cols-3 .opt{align-items:center;text-align:center}
.opt small{font-family:var(--font-body);font-weight:400;font-size:.85rem;color:var(--muted)}
.opt[aria-pressed="true"]{background:var(--sel-bg);border-color:var(--green)}
.field{width:100%;min-height:56px;font:inherit;font-size:1.1rem;border:2px solid var(--opt-edge);border-radius:14px;padding:12px 16px;
  background:#fff;color:var(--ink);margin-top:14px}
.field:focus{border-color:var(--green);outline:none}
.consent{font-size:.82rem;color:var(--muted);margin-top:8px}
.error{color:var(--error);font-weight:700;font-size:.9rem}
.nudge{color:var(--sub);font-weight:700;font-size:.9rem}

/* info cards */
.card{display:flex;gap:12px;align-items:flex-start;background:var(--parchment);border:2px solid var(--line);border-radius:16px;padding:12px 14px;margin-top:10px}
.card img{width:44px;height:44px;object-fit:contain;flex:none}
.card h3{font-size:1.02rem;margin:0 0 2px;color:var(--ink)}
.card p{margin:0;font-size:.9rem;color:var(--sub)}
.lead{font-weight:700;text-align:center;color:var(--amber)}

/* cold open */
.hero-mark{display:block;width:180px;margin:24px auto 18px}
.tagline{font-family:var(--font);font-weight:800;font-size:1.6rem;text-align:center;color:var(--green-deep);line-height:1.2}
.tagline em{font-style:normal;color:var(--amber)}

/* films */
.film{margin-top:12px}
.film h3{font-size:1.05rem;margin-bottom:6px}
.film-box{position:relative;border-radius:16px;overflow:hidden;background:#2E4A33;aspect-ratio:16/9}
.film-box video{display:block;width:100%;height:100%;object-fit:cover}
.film-play{position:absolute;inset:0;margin:auto;width:72px;height:72px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(252,247,234,.92);box-shadow:0 4px 8px rgba(58,42,24,.25)}
.film-play::after{content:"";position:absolute;left:29px;top:22px;border-style:solid;border-width:14px 0 14px 22px;
  border-color:transparent transparent transparent var(--green-deep)}
.film-box.playing .film-play{display:none}
.film-error{position:absolute;left:0;right:0;bottom:0;margin:0;padding:6px 10px;font-size:.78rem;line-height:1.25;color:#fff;background:rgba(0,0,0,.6);text-align:center}
.film-error:empty{display:none}
.film p{font-size:.92rem;color:var(--sub);margin-top:6px}

/* ratings */
.stars{display:flex;justify-content:center;gap:4px;margin:4px 0 12px}
.stars img{width:28px;height:28px}
.review{background:var(--parchment);border:2px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:10px}
.review p{margin:0;font-size:.92rem;color:var(--sub)}
.review b{display:block;margin-top:6px;font-size:.85rem;color:var(--ink)}

/* assessment */
.q{font-family:var(--font);font-weight:800;font-size:1.1rem;color:var(--ink);margin:18px 0 4px}
.yn{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.word{font-size:1.2rem;letter-spacing:.04em}

/* plan generation */
.bar-row{margin-top:14px}
.bar-label{display:flex;justify-content:space-between;font-weight:700;font-size:.9rem;color:var(--sub);margin-bottom:5px}
.bar-label.done{opacity:.6}
.bar{height:12px;border-radius:999px;background:var(--soft);overflow:hidden}
.bar span{display:block;height:100%;width:0;background:var(--green);border-radius:999px;transition:width .2s ease}
.tick{display:inline-block;width:14px;height:8px;border-left:3px solid var(--green);border-bottom:3px solid var(--green);transform:rotate(-45deg) translateY(-2px)}

/* the reading journey */
.jhead{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.jhead img{width:52px;height:52px;border-radius:50%;border:3px solid var(--wood);background:var(--parchment);object-fit:contain}
.jhead h2{font-size:1.25rem;margin:0}
.jhead p{margin:0;font-size:.82rem;color:var(--muted)}
.axis{display:flex;justify-content:space-between;font-size:.7rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.rung{background:var(--parchment);border:1px solid var(--line);border-radius:12px;padding:8px 10px;margin-bottom:9px}
.rung.here{border:2px solid var(--green);background:#F0F7EA}
.rung.done{opacity:.5}
.rung-hd{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.lv{color:#fff;font-family:var(--font);font-weight:800;font-size:.72rem;border-radius:999px;padding:2px 8px}
.rung-name{flex:1;font-weight:800;font-size:.82rem;color:var(--ink)}
.tag{color:#fff;font-size:.6rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:2px 7px;background:var(--green)}
.tag.grey{background:#B0A88E}
.track{position:relative;height:11px;background:#F1E7CE;border-radius:999px}
.track span{position:absolute;top:0;height:11px;border-radius:999px}

/* certificate: the app's painted sheet (510x762), words laid over it.
   Sized by the viewport's height too, so the seal never hides under the button;
   every size inside is a share of the sheet's width (cqw), so it scales whole. */
.cert{position:relative;container-type:inline-size;
  width:clamp(190px,calc((100vh - 260px) * .669),340px);width:clamp(190px,calc((100dvh - 260px) * .669),340px);
  max-width:86vw;aspect-ratio:510/762;margin:6px auto 16px;transform:rotate(-1.2deg);
  filter:drop-shadow(0 14px 22px rgba(90,61,18,.22)) drop-shadow(0 2px 3px rgba(90,61,18,.18));
  animation:cert-in .7s cubic-bezier(.2,.9,.3,1.2) both}
.cert-paper{position:absolute;inset:0;width:100%;height:100%;display:block}
.cert-words{position:absolute;left:15%;right:15%;top:24%;bottom:27%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center}
.cert-kicker{font-family:var(--font);font-weight:800;color:#8A6B2E;font-size:5.6cqw;line-height:1.15;
  text-transform:uppercase;letter-spacing:.06em;margin:0}
.cert-present{font-family:var(--font-body);font-weight:700;color:#7E6A45;font-size:4.4cqw;margin:5cqw 0 0}
.cert-name{position:relative;align-self:stretch;margin:1cqw 0 3cqw;padding-bottom:1.5cqw;white-space:nowrap;overflow:hidden}
.cert-name::after{content:"";position:absolute;left:4%;right:4%;bottom:0;height:2px;border-radius:2px;
  background:rgba(154,107,62,.45);transform-origin:left;animation:cert-rule .5s ease-out .55s both}
.cert-name-ink{display:inline-block;font-family:"Caveat",var(--font);font-weight:700;font-size:15cqw;line-height:1.1;
  color:var(--green-deep);padding:0 .14em;animation:cert-write 1s ease-out .75s backwards}
.cert-for{font-family:var(--font-body);font-weight:700;color:#5A4A2E;font-size:4.6cqw;line-height:1.35;margin:0;max-width:80%}
.cert-body{max-width:22rem;margin:0 auto}
@keyframes cert-in{from{opacity:0;transform:translateY(14px) rotate(-5deg) scale(.92)}to{opacity:1;transform:rotate(-1.2deg)}}
@keyframes cert-rule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* backwards, never both: a clip left on after the stroke cuts Caveat's tails, which hang past the box */
@keyframes cert-write{from{clip-path:inset(-20% 100% -20% -20%)}to{clip-path:inset(-20% -20% -20% -20%)}}
@media (prefers-reduced-motion:reduce){.cert,.cert-name::after,.cert-name-ink{animation:none}}

/* offer */
.plans{display:grid;gap:12px;margin-top:14px}
.plan{position:relative;display:block;width:100%;text-align:left;cursor:pointer;background:#fff;border:3px solid var(--line);border-radius:18px;padding:14px 16px;font:inherit;color:var(--ink)}
.plan[aria-pressed="true"]{border-color:var(--green);background:var(--sel-bg)}
.plan h3{margin:0;font-size:1.15rem;color:var(--ink)}
.plan .price{font-family:var(--font);font-weight:800;font-size:1.3rem;color:var(--green-deep)}
.plan .per{font-size:.85rem;color:var(--muted)}
.plan .badge{position:absolute;top:-12px;right:14px;background:linear-gradient(180deg,var(--gold-a),var(--gold-b));color:var(--cta-text);
  font-family:var(--font);font-weight:800;font-size:.78rem;border-radius:999px;padding:3px 10px;text-transform:uppercase}
.price-wait{display:inline-block;width:5.5rem;height:1.1rem;border-radius:6px;background:var(--soft)}
.review-card{display:flex;flex-direction:column;align-items:center;text-align:center;margin:16px 0 4px}
.review-card .quote{font-family:var(--font);font-weight:800;font-size:1.1rem;color:var(--ink);margin:4px 0 2px}
.review-card .by{font-size:.85rem;color:var(--muted)}
.notice{background:var(--parchment);border:2px solid var(--line);border-radius:16px;padding:16px;margin-top:14px}
.notice h2{font-size:1.2rem}
.legal{font-size:.78rem;color:var(--muted);text-align:center;margin-top:10px}

/* done */
.stores{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.store{display:flex;align-items:center;justify-content:center;min-height:56px;border-radius:14px;background:#111;color:#fff;
  font-family:var(--font);font-weight:800;font-size:1.1rem;text-decoration:none;padding:10px 18px}
.store small{display:block;font-family:var(--font-body);font-weight:400;font-size:.72rem;opacity:.85}
.store span{display:block;text-align:left}
.email{font-weight:800;color:var(--green-deep);overflow-wrap:anywhere}

/* the quiz fits one screen, like the app paywall: the shell is exactly the area
   between Safari's bars (dvh), the button row never shrinks, and start.js zooms the
   content (.fit) down to a floor so it fits above it; past the floor it scrolls
   inside .body, never the page, so Continue is always on screen. */
body[data-page="quiz"] .shell{height:100vh;height:100dvh;min-height:0;overflow:hidden;
  padding-bottom:max(20px,env(safe-area-inset-bottom))}
body[data-page="quiz"] .screen{min-height:0}
body[data-page="quiz"] .body{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
body[data-page="quiz"] .screen.centered .body{display:flex;flex-direction:column}
body[data-page="quiz"] .screen.centered .fit{margin:auto 0;flex:none}
body[data-page="quiz"] .footer{flex:none}
body[data-page="quiz"] .fit{display:flow-root}
/* zoom shrinks text, not full-width media: the films are capped by the screen's
   height (the app's films are small too), the journey's rows tighten on a short screen */
body[data-page="quiz"] .film-box{width:min(100%,calc(21vh * 16 / 9));width:min(100%,calc(21dvh * 16 / 9));margin:0 auto}
@media (max-height:820px){
  body[data-page="quiz"] .rung{padding:5px 10px;margin-bottom:5px}
  body[data-page="quiz"] .rung-hd{margin-bottom:4px}
}

@media (min-width:640px){
  .shell{padding-top:28px}
  .title{font-size:1.8rem}
}

/* ---- the offer = the app's paywall (components/paywall/PaywallOffer, phone metrics
   at fit 1). Colours are the app's own tokens (lib/theme C), not the site's
   contrast-adjusted ones, so the two screens read as one. */
.pw{--pw-amber:#E08A2E;--pw-muted:#7E8A66;--pw-ink:#3A4A2C;--pw-tile:#FEF3C7;
  display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  min-height:calc(100vh - 32px);min-height:calc(100dvh - 32px);padding:0 6px 8px;font-family:var(--font)}
.pw-gap{flex:1 1 20px;min-height:12px;max-height:44px}
/* hero: 92pt gold badge, the 72pt cheering owl, a crown 15pt over it, a 4pt lip, a halo */
.pw-hero{position:relative;align-self:center;width:92px;height:92px;margin-top:15px;margin-bottom:4px}
.pw-halo{position:absolute;left:50%;top:50%;width:148px;height:148px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,rgba(247,199,94,.4) 0,rgba(247,199,94,.18) 42%,rgba(247,199,94,0) 70%)}
.pw-lip{position:absolute;inset:4px 0 -4px 0;border-radius:50%;background:var(--gold-dark)}
.pw-badge{position:absolute;inset:0;border-radius:50%;border:3px solid var(--gold-dark);display:flex;align-items:center;justify-content:center;
  overflow:hidden;background:linear-gradient(180deg,var(--gold-a),var(--gold-b));box-shadow:0 0 30px rgba(247,199,94,.67)}
.pw-owl{width:72px;height:72px;object-fit:contain}
.pw-crown{position:absolute;left:50%;top:-15px;width:26px;height:26px;transform:translateX(-50%)}
/* headline: 22/34 with the name at 26 in amber, then the 31/40 green phrase on a gold highlighter */
.pw-head{display:flex;flex-direction:column;align-items:center;margin:0;text-align:center;letter-spacing:0}
.pw-head-line{display:block;font-size:22px;line-height:34px;font-weight:800;color:var(--pw-ink);white-space:nowrap}
.pw-name{font-size:26px;font-weight:800;color:var(--pw-amber)}
.pw-emph{position:relative;display:inline-block;padding:0 4px}
.pw-swash{position:absolute;left:0;right:0;bottom:1.9px;height:30.4px;border-radius:8px;transform:rotate(-1.2deg);
  background:linear-gradient(180deg,rgba(247,199,94,.55),rgba(239,178,62,.7))}
.pw-emph-text{position:relative;display:block;font-size:31px;line-height:40px;font-weight:800;color:var(--green-deep)}
/* the three outcome rows: a 36pt parchment tile, 14/18 text */
.pw-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.pw-row{display:flex;align-items:center;gap:12px}
.pw-row-icon{flex:none;width:36px;height:36px;border-radius:11px;background:var(--parchment);border:2px solid var(--line);
  display:flex;align-items:center;justify-content:center}
.pw-row-icon img{width:24px;height:24px}
.pw-row-text{flex:1;font-size:14px;line-height:18px;font-weight:700;color:var(--pw-ink)}
/* the review: a laurel, the stars / quote / who, the laurel mirrored; no card */
.pw-review{display:flex;justify-content:center;align-items:center;column-gap:8px}
.pw-laurel{flex:none;width:32px;height:58px;object-fit:contain}
.pw-laurel-r{transform:scaleX(-1)}
.pw-review-body{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.pw-stars{display:flex;gap:2px}
.pw-star{width:15px;height:15px;fill:var(--gold-b);stroke:var(--gold-dark);stroke-width:1}
.pw-quote{margin:0;font-size:17px;line-height:22px;font-weight:800;color:var(--pw-ink);text-align:center;white-space:nowrap}
.pw-by{margin:0;font-size:12px;line-height:16px;font-weight:700;color:var(--pw-muted);text-align:center}
/* the plan toggle: a soft track, Yearly 1.25x wide with the green SAVE pill over it */
.pw-plans{padding-top:11px}
.pw-track{display:flex;gap:4px;padding:4px;background:var(--soft);border:2px solid var(--line);border-radius:16px}
.pw-seg{position:relative;flex:1 1 0;min-height:44px;padding:8px 6px;border-radius:11px;border:2px solid transparent;border-bottom-width:4px;
  background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font:inherit;color:var(--pw-ink)}
.pw-seg-annual{flex-grow:1.25}
.pw-seg-on{border-color:var(--gold-dark);background:linear-gradient(180deg,var(--pw-tile),rgba(247,199,94,.4))}
.pw-seg-label{font-size:14px;font-weight:800;line-height:1.3}
.pw-price{font-size:11px;font-weight:700;color:var(--pw-muted);margin-top:1px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.pw-seg-on .pw-seg-label,.pw-seg-on .pw-price{color:var(--cta-text)}
.pw-price-wait{display:inline-block;width:6.5em;border-radius:5px;background:var(--line)}
/* The come-back offer (plan 2026-12-03): the normal price struck under the half
   price, and the gold line with the end date over the paywall. */
.pw-was{font-size:10px;font-weight:700;color:var(--pw-muted);text-decoration:line-through;white-space:nowrap;opacity:.85}
.pw-seg-on .pw-was{color:var(--cta-text)}
.pw-offer{margin:0 auto 8px;padding:6px 14px;border-radius:999px;background:linear-gradient(180deg,var(--gold-a),var(--gold-b));
  color:#5a3b05;font-size:13px;font-weight:800;text-align:center;width:max-content;max-width:100%}
.pw-save-wrap{position:absolute;left:0;right:0;top:-11px;display:flex;justify-content:center}
.pw-save{background:var(--green-deep);color:#fff;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:800;letter-spacing:.4px;line-height:1.3}
.pw-micro{margin:7px 0 0;font-size:12px;font-weight:700;color:var(--pw-muted);text-align:center}
/* the gold CTA: the app's BigButton gradient face, 2pt border, 6pt bottom edge, subtitle inside */
.pw-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:52px;padding:10px 20px;cursor:pointer;
  border-radius:16px;border:2px solid var(--gold-dark);border-bottom-width:6px;background:linear-gradient(180deg,var(--gold-a),var(--gold-b));
  font-family:var(--font);color:var(--cta-text)}
.pw-cta:active{transform:translateY(2px);border-bottom-width:4px}
.pw-cta:disabled{opacity:.45;cursor:default}
.pw-cta-title{font-size:19px;font-weight:800;line-height:1.25}
.pw-cta-sub{font-size:11.5px;line-height:15px;font-weight:700;opacity:.8}
.pw-links{margin:16px 0 0;text-align:center;font-size:11px;font-weight:700;color:var(--pw-muted);white-space:pre-wrap}
.pw-links a,.pw-link-btn{color:var(--pw-muted);font-weight:700;text-decoration:none}
.pw-link-btn{border:none;background:none;padding:0;font:inherit;cursor:pointer}
.pw-legal{margin:6px 0 0;padding:0 12px;font-size:10px;color:var(--pw-muted);text-align:center}
/* a short phone (the iPhone SE, 667pt): the app's fit model shrinks type and space so
   the legal line stays on screen; this is the same step down */
@media (max-height:720px){
  .pw-gap{min-height:6px}
  .pw-hero{width:74px;height:74px;margin-top:12px}
  .pw-halo{width:120px;height:120px}
  .pw-owl{width:58px;height:58px}
  .pw-crown{width:22px;height:22px;top:-12px}
  .pw-head-line{font-size:19px;line-height:27px}
  .pw-name{font-size:22px}
  .pw-emph-text{font-size:27px;line-height:34px}
  .pw-swash{height:26px;bottom:1.6px}
  .pw-rows{gap:6px}
  .pw-row-icon{width:30px;height:30px;border-radius:9px}
  .pw-row-icon img{width:20px;height:20px}
  .pw-row-text{font-size:13px;line-height:16px}
  .pw-laurel{width:26px;height:47px}
  .pw-quote{font-size:15px;line-height:19px}
  .pw-star{width:13px;height:13px}
  .pw-plans{padding-top:9px}
  .pw-seg{padding:6px 6px}
  .pw-micro{margin-top:5px}
  .pw-cta{min-height:48px;padding:8px 18px}
  .pw-cta-title{font-size:17px}
  .pw-links{margin-top:10px}
  .pw-legal{margin-top:4px}
}
/* the sheet that holds Paddle's inline express checkout (Apple Pay first) */
.pw-locked{overflow:hidden}
.pw-sheet{position:fixed;inset:0;z-index:50;background:rgba(58,74,44,.45);display:flex;align-items:flex-end;justify-content:center;animation:pw-fade .2s ease-out}
.pw-sheet-card{width:100%;max-width:30rem;max-height:92vh;max-height:92dvh;overflow-y:auto;background:var(--cream);border-radius:22px 22px 0 0;
  border:2px solid var(--line);border-bottom:none;padding:14px 16px calc(16px + env(safe-area-inset-bottom));animation:pw-rise .25s cubic-bezier(.2,.9,.3,1)}
.pw-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px;font-family:var(--font)}
.pw-sheet-title{margin:0;font-size:18px;font-weight:800;color:var(--green-deep)}
.pw-sheet-line{margin:0;font-size:13px;font-weight:700;color:#7E8A66}
.pw-sheet-close{flex:none;width:34px;height:34px;border-radius:50%;border:2px solid var(--line);background:var(--soft);color:#7E8A66;font-size:15px;font-weight:800;cursor:pointer}
.pw-checkout-frame{min-height:200px}
/* Stripe's embedded checkout draws on white: give it a white card inside the cream sheet. */
.pw-checkout-frame.is-stripe{background:#fff;border-radius:14px;overflow:hidden;min-height:420px}
@keyframes pw-fade{from{opacity:0}to{opacity:1}}
@keyframes pw-rise{from{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.pw-sheet,.pw-sheet-card{animation:none}}

/* the test funnel's first page (test mode only): one message, the film, the proof */
.hero-logo{display:block;width:132px;margin:2px auto 10px}
.hero-title{font-size:1.6rem;line-height:1.15;margin-bottom:14px}
.hero-sub{margin-bottom:12px}
/* the film's own shape (the home page's film-story.mp4 is 912x464, so nothing is cropped),
   at most 28% of the screen's height, and shrunk with the text by fit()'s zoom (--fit-z) */
body[data-page="quiz"] .hero .film-box{aspect-ratio:912/464;margin:0 auto;background:#3a2a1c;
  width:calc(min(100%,28vh * 912 / 464) * var(--fit-z, 1));width:calc(min(100%,28dvh * 912 / 464) * var(--fit-z, 1))}
.hero .film-box video{object-fit:contain}
/* a very short window (an iPhone SE in Safari): a smaller film so both reviews fit */
.hero-sound{position:absolute;right:8px;bottom:8px;border:none;border-radius:999px;padding:4px 10px;cursor:pointer;
  font-family:var(--font);font-weight:800;font-size:.75rem;line-height:1.3;color:var(--green-deep);background:rgba(252,247,234,.94);
  box-shadow:0 2px 6px rgba(58,42,24,.25)}
.hero .film-box:not(.playing) .hero-sound{display:none}
/* the reviews as quote bubbles: white, a small tail, the words in an italic serif like a
   citation, who said it underneath; the second bubble sits on the right, like a reply */
.hero-proof{display:flex;flex-direction:column;margin-top:14px}
.hero-bubble{position:relative;align-self:flex-start;max-width:94%;margin:0 0 14px;padding:9px 14px 9px;
  background:#fff;border:1.5px solid var(--line);border-radius:16px;box-shadow:0 2px 6px rgba(58,42,24,.06);text-align:left}
.hero-bubble-r{align-self:flex-end}
.hero-bubble::after{content:"";position:absolute;left:22px;bottom:-7px;width:12px;height:12px;background:#fff;
  border-right:1.5px solid var(--line);border-bottom:1.5px solid var(--line);transform:rotate(45deg)}
.hero-bubble-r::after{left:auto;right:22px}
.hero-stars{display:flex;gap:2px;margin:0 0 3px}
.hero-stars img{width:14px;height:14px}
.hero-bubble blockquote{margin:0;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:1rem;line-height:1.35;color:var(--ink)}
.hero-bubble blockquote p{margin:0}
.hero-bubble figcaption{margin-top:4px;font-family:var(--font-body);font-weight:700;font-size:.78rem;color:var(--muted)}
/* a very short window (an iPhone SE in Safari): a smaller film and tighter type so both
   reviews fit (after the base rules, so it wins) */
@media (max-height:620px){
  body[data-page="quiz"] .hero .film-box{width:calc(min(100%,23vh * 912 / 464) * var(--fit-z, 1));width:calc(min(100%,23dvh * 912 / 464) * var(--fit-z, 1))}
  .hero-logo{width:104px;margin:0 auto 4px}
  .hero-title{font-size:1.35rem;margin-bottom:10px}
  .hero-proof{margin-top:10px}
  .hero-bubble{padding:7px 12px;margin-bottom:12px}
  .hero-bubble blockquote{font-size:.92rem}
}
.hero-trust{font-size:.9rem;font-weight:700;color:var(--sub);margin:0}
.hero-note{margin:-2px 0 0;text-align:center;font-size:.82rem;font-weight:700;color:var(--muted)}
@media (min-width:640px){.hero-title{font-size:1.9rem}}

/* the test funnel's money-back banner, right under the plans button (test mode only) */
.pw-guarantee{margin:14px 0 4px;padding:14px 16px;background:#fff;border:2px solid var(--line);border-radius:16px;text-align:center}
.pw-guarantee-seal{display:block;width:160px;height:auto;margin:0 auto 8px}
.pw-guarantee-title{margin:0 0 4px;font-family:var(--font);font-size:17px;line-height:1.25;font-weight:800;color:var(--pw-ink)}
.pw-guarantee-body{margin:0;font-family:var(--font-body);font-size:12.5px;line-height:1.45;font-weight:400;color:var(--pw-muted)}

/* test mode (start/test/, the sandbox test link): a bar across the top of every page */
.test-bar{position:fixed;top:0;left:0;right:0;z-index:1000;background:#7A2E1F;color:#fff;
  font-family:var(--font-body);font-size:.85rem;line-height:1.3;text-align:center;padding:8px 14px}
.test-bar a{color:#fff;margin-left:6px;text-decoration:underline}
body.test-mode .shell{padding-top:52px}
