/* Home page only. One idea per screen, lots of space, the story unfolds as you scroll.
   Colours: near-black and cool grey, orange for the light and the actions.
   Phone screens copy the real app (Quiz, Insights, Leaderboard). */

/* ---------- 1. Hero: a slim ray of light from above ---------- */
.hero4{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:120px 0 110px;margin-top:-68px}
.hero4-in{position:relative;z-index:1;will-change:transform,opacity}
.hero4 h1{font-size:clamp(46px,8.6vw,116px);line-height:1;letter-spacing:-.045em;font-weight:700;margin:0;color:#f3f4f7}
.hero4 h1 .w{display:inline-block;opacity:0;transform:translateY(16px);animation:wordin 1s var(--ease) forwards;animation-delay:calc(.5s + var(--i) * .13s)}
.hero4 h1 .accent{background:linear-gradient(165deg,#ff7b4a 0%,#ff6a30 30%,#ff5214 60%,#e3400e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.04em}
@keyframes wordin{to{opacity:1;transform:none}}
.hero-sub{margin:26px auto 0;font-size:clamp(17px,1.7vw,21px);color:var(--text2);max-width:30em;opacity:0;transform:translateY(10px);animation:wordin 1s var(--ease) 1.35s forwards}
.hero-cta{display:flex;gap:14px 22px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:40px;opacity:0;transform:translateY(10px);animation:wordin 1s var(--ease) 1.55s forwards}
.hero-cta.static{animation:none;opacity:1;transform:none;margin-top:34px}
.link-arrow{color:var(--text);text-decoration:none;font-weight:500;font-size:15.5px;display:inline-flex;gap:8px;align-items:center;padding:12px 6px}
.link-arrow svg{width:17px;height:17px;stroke:var(--orange-l);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.link-arrow:hover svg{transform:translateX(3px)}

.scroll-cue{position:absolute;left:50%;bottom:30px;width:1px;height:48px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.28));overflow:hidden;opacity:0;animation:wordin 1s 2.2s forwards}
.scroll-cue::after{content:"";position:absolute;left:0;top:-18px;width:1px;height:18px;background:var(--orange-l);animation:cue 2.6s var(--ease) infinite}
@keyframes cue{to{top:48px}}

/* The light: "Laser thread" (owner's pick). One razor-thin, white-hot line with a tight glow that hugs it,
   a small flare where it starts and a faint warm spot on the words. The light itself does not move. */
.ray{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0;animation:rayon 2.2s var(--ease) .1s forwards}
@keyframes rayon{to{opacity:1}}
.ray i{position:absolute;left:50%;display:block}
.ray .flare{top:-4px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:#fff;box-shadow:0 0 14px 4px rgba(255,214,170,.9),0 0 46px 14px rgba(255,140,60,.45)}
.ray .streak{top:0;width:min(420px,80vw);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(255,210,170,.75),transparent)}
.ray .line{top:0;width:1.5px;height:38%;margin-left:-.75px;background:linear-gradient(180deg,#fff 0%,#ffe2c2 35%,rgba(255,150,70,.55) 70%,rgba(255,120,50,0) 100%)}
.ray .bloom{top:0;width:30px;height:38%;margin-left:-15px;background:linear-gradient(180deg,rgba(255,180,110,.65),rgba(255,120,50,.18) 60%,transparent);filter:blur(8px);animation:breathe 6s ease-in-out infinite}
/* Round 8: a saturated orange gradient flows down the laser strip only (the glow stays still), slow and smooth, so the light
   feels alive without pulses. Each tile is half the thread's length, so moving it one tile loops seamlessly. */
.ray .line::after{content:"";position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(255,82,20,0) 0%,rgba(255,106,38,.95) 45%,#ff5214 60%,rgba(227,64,14,0) 100%);background-size:100% 50%;background-repeat:repeat-y;animation:flow 3.6s linear infinite;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 55%,transparent 100%)}
.ray .line::after{width:2px;left:-.25px}
@keyframes flow{from{background-position:0 0}to{background-position:0 100%}}
.ray .spot{top:calc(38% + 40px);width:min(520px,90vw);height:150px;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(255,110,40,.10),transparent)}
@keyframes breathe{0%,100%{opacity:.8}50%{opacity:1}}

/* ---------- 2. The sentence that lights up ---------- */
.say{padding:22vh 0}
.say p{font-size:clamp(30px,4.8vw,64px);font-weight:600;letter-spacing:-.035em;line-height:1.14;max-width:14.5em;margin:0 auto;text-align:center}
.say p em{font-style:normal}
.say .w{color:#26282d;transition:color .5s var(--ease)}
.say .w.lit{color:#f3f4f7}
.say .w.lit.o{color:var(--orange-l)}

/* ---------- 3 and 5. Chapters ---------- */
.chapter{padding:12vh 0;text-align:center;position:relative}
.chapter .kicker,.story-head .kicker{display:block}
.chapter h2,.story-head h2,.final h2{font-size:clamp(36px,5.6vw,72px);letter-spacing:-.04em;line-height:1.04;margin:14px 0 18px;font-weight:700}
.chapter .lead,.story-head .lead,.final .lead{margin:0 auto}
.stage{display:flex;justify-content:center;margin-top:64px;position:relative}
.rise{will-change:transform,opacity}

/* ---------- 4. Insights story ---------- */
.story{padding:12vh 0 4vh}
.story-head{text-align:center;max-width:780px;margin:0 auto 2vh}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;max-width:1040px;margin:0 auto}
.story-phone{position:sticky;top:calc(50vh - 300px);display:flex;justify-content:center;padding-top:10px;grid-column:2;grid-row:1}
.story-steps{grid-column:1;grid-row:1}
.story-steps .step{min-height:86vh;display:flex;flex-direction:column;justify-content:center;max-width:430px;opacity:.22;transition:opacity .6s var(--ease)}
.story-steps .step.on{opacity:1}
.step .n{font-size:13px;font-weight:600;color:var(--orange-t);letter-spacing:.14em}
.step h3{font-size:clamp(28px,3.3vw,42px);letter-spacing:-.03em;line-height:1.08;margin:12px 0 14px;font-weight:700}
.step p{color:var(--text2);font-size:17.5px;margin:0}
.phone .layer{position:absolute;inset:0;opacity:0;transform:scale(.985);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.phone .layer.on{opacity:1;transform:none}

@media (max-width:900px){
  .story-grid{grid-template-columns:1fr;gap:0}
  .story-phone{grid-column:1;grid-row:1;top:60px;z-index:2;padding:8px 0 26px;background:linear-gradient(180deg,var(--bg) 0,var(--bg) 93%,rgba(10,11,13,0))}
  .story-phone .phone{transform:scale(.62);transform-origin:top center;margin-bottom:-236px}
  .story-steps{grid-column:1;grid-row:2}
  .story-steps .step{min-height:62vh;justify-content:flex-start;padding-top:7vh;text-align:center;margin:0 auto}
  .story-steps .step:last-child{min-height:48vh}
  .step p{font-size:16px}
}

/* ---------- 6. Get the app ---------- */
.final{padding:18vh 0 12vh;text-align:center;position:relative;overflow:hidden}
.final .wrap{position:relative;z-index:1}
.final-cat{width:150px;margin:0 auto 10px;filter:drop-shadow(0 20px 30px rgba(0,0,0,.5))}
.final-cat.in{animation:catfloat 5s ease-in-out infinite}

/* ---------- Phone screens (copied from the app) ---------- */
.app{text-align:left}
.app .ttl{font-size:18px;font-weight:700;letter-spacing:-.01em}
.card-g{border-radius:16px;padding:12px;background:linear-gradient(180deg,#17181c,#111215);border:1px solid rgba(255,255,255,.07)}

/* Quiz: warm light top left, cool at the bottom right, like the app */
.app.qscreen{background:radial-gradient(95% 45% at 0% 0%,rgba(110,40,15,.55),transparent 70%),radial-gradient(85% 40% at 100% 100%,rgba(38,46,80,.45),transparent 70%),#0b0b0d;gap:10px}
.app .q-top .q-count{gap:4px}
.app .q-top .dots{width:3px;height:12px;display:flex;flex-direction:column;justify-content:space-between}
.app .q-top .dots i{width:3px;height:3px;border-radius:50%;background:#fff}
.app .opts{display:flex;flex-direction:column;gap:7px;margin-top:2px}
.app .save{margin-bottom:8px}

/* Insights overview */
.i-seg{display:flex;padding:3px;border-radius:14px;background:#121316;border:1px solid rgba(255,255,255,.07)}
.i-seg span{flex:1;text-align:center;padding:7px 0;border-radius:11px;font-size:11px;color:#9a9ca4;font-weight:500}
.i-seg span.on{background:var(--grad);color:#fff;font-weight:600}
.i-chips{display:flex;gap:6px;padding:3px;border-radius:12px;background:#121316;border:1px solid rgba(255,255,255,.06)}
.i-chips span{flex:1;text-align:center;padding:5px 0;border-radius:9px;font-size:10px;color:#9a9ca4;border:1px solid transparent}
.i-chips span.on{border-color:rgba(255,106,38,.85);color:#ff8a4d;background:rgba(255,82,20,.12)}
.i-hero .top{display:flex;gap:12px;align-items:center}
.mring{width:76px;height:76px;position:relative;flex:none}
.mring svg{width:100%;height:100%;transform:rotate(-90deg)}
.mring circle{fill:none;stroke-width:7}
.mring .bg{stroke:rgba(255,255,255,.08)}
.mring .fg{stroke:#3ddc84;stroke-linecap:round;transition:stroke-dashoffset 1.4s var(--ease)}
.mring .v{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-weight:700;font-size:17px;line-height:1}
.mring .v small{font-size:8px;color:#9a9ca4;font-weight:500;margin-top:4px}
.i-lbl{font-size:8.5px;letter-spacing:.1em;color:#9a9ca4;text-transform:uppercase;font-weight:500}
.i-big{font-size:14.5px;font-weight:700;line-height:1.2;margin-top:3px}
.i-nums{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;margin-top:12px}
.i-nums b{display:block;font-size:14px}
.i-nums small{font-size:9px;color:#8d8f97}
.i-week{display:flex;align-items:flex-end;gap:5px;margin-top:10px;height:34px}
.i-week small{font-size:8.5px;color:#8d8f97;width:28px;line-height:1.15;align-self:center;flex:none}
.i-week i{flex:1;border-radius:4px;background:#3a2016;height:var(--h);transform:scaleY(0);transform-origin:bottom;transition:transform .8s var(--ease)}
.i-week i.hot{background:linear-gradient(180deg,#ff8a3d,#f2400a)}
.on .i-week i,.i-week.go i{transform:none}
.i-sub{font-size:13px;font-weight:600}
.i-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.i-tile{padding:10px}
.i-tile .h{display:flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600}
.i-tile .h svg{width:12px;height:12px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.i-tile .spark{display:block;width:100%;height:34px;margin:8px 0 6px}
.i-tile b{font-size:15px;display:block;line-height:1.2}
.i-tile small{font-size:9px;color:#8d8f97}

/* Insights: subjects and next focus */
.i-back{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}
.i-back i{width:28px;height:28px;border-radius:50%;background:#1c1d21;display:grid;place-items:center}
.i-back svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.i-kick{font-size:9.5px;letter-spacing:.12em;font-weight:600;color:#ff8a4d;margin-top:2px}
.i-h{font-size:17px;font-weight:700;line-height:1.22;margin-top:-6px}
.subs{display:grid;gap:11px}
.sub-row{display:grid;grid-template-columns:64px 1fr 30px;align-items:center;gap:8px;font-size:11px}
.sub-row .bar{height:7px;border-radius:7px;background:rgba(255,255,255,.07);overflow:hidden}
.sub-row .bar i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#1f9e52,#3ddc84);width:var(--w);transform:scaleX(0);transform-origin:left;transition:transform 1.1s var(--ease)}
.sub-row.low .bar i{background:linear-gradient(90deg,#f2400a,#ff8a3d)}
.sub-row b{text-align:right;font-size:11px}
.sub-row.low b{color:#ff8a4d}
.layer.on .sub-row .bar i{transform:none}
.focus{border-radius:16px;padding:12px;background:linear-gradient(160deg,#2a140b,#141012 75%);border:1px solid rgba(255,106,38,.32);opacity:0;transform:translateY(10px);transition:opacity .6s var(--ease) .9s,transform .6s var(--ease) .9s}
.layer.on .focus{opacity:1;transform:none}
.focus .i-lbl{color:#ff9a6c;font-weight:600}
.focus p{margin:6px 0 11px;font-size:11.5px;line-height:1.5;color:#e9e9ec}
.focus p b{color:#fff}
.focus .go{border-radius:999px;background:var(--grad);text-align:center;padding:9px;font-weight:600;font-size:11.5px}

/* Insights: progress */
.i-chart{border-radius:16px;padding:12px;background:linear-gradient(180deg,#1b1210,#111215);border:1px solid rgba(255,255,255,.07)}
.i-chart .v{display:flex;align-items:baseline;gap:6px}
.i-chart .v b{font-size:20px}
.i-chart .v small{font-size:10px;color:#9a9ca4}
.i-chart svg{display:block;width:100%;height:118px;margin-top:6px;overflow:visible}
.i-chart .line{fill:none;stroke:#ff6a26;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:320;stroke-dashoffset:320;transition:stroke-dashoffset 1.6s var(--ease)}
.i-chart .area{opacity:0;transition:opacity 1s .8s}
.i-chart .dot{opacity:0;transition:opacity .4s 1.5s}
.layer.on .i-chart .line{stroke-dashoffset:0}
.layer.on .i-chart .area,.layer.on .i-chart .dot{opacity:1}
.i-chart .x{display:flex;justify-content:space-between;font-size:8.5px;color:#7d7f88;margin-top:4px}
.i-ico{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(255,106,38,.14);margin-bottom:8px}
.i-ico svg{width:13px;height:13px;fill:none;stroke:#ff8a4d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tier{border-radius:16px;padding:12px;background:linear-gradient(160deg,#241510,#121214 70%);border:1px solid rgba(255,106,38,.22)}
.tier .t{display:flex;justify-content:space-between;align-items:baseline}
.tier .t b{font-size:13px}
.tier .t small{font-size:9.5px;color:#9a9ca4}
.tier .tb{height:6px;border-radius:6px;background:rgba(255,255,255,.08);margin:9px 0 8px;overflow:hidden}
.tier .tb i{display:block;height:100%;width:62%;border-radius:6px;background:linear-gradient(90deg,#ff6a26,#ffc83d);transform:scaleX(0);transform-origin:left;transition:transform 1.2s var(--ease) .5s}
.layer.on .tier .tb i{transform:none}
.tier p{margin:0;font-size:10px;color:#a7a9b1}
.tier p b{color:#fff}

/* Leaderboard */
.lb-head{display:flex;justify-content:space-between;align-items:baseline}
.lb-head small{font-size:9px;color:#8d8f97}
.lb-chips{display:flex;gap:5px;flex-wrap:nowrap}
.lb-chips span{white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.1);font-size:9.5px;background:#141518;display:flex;gap:4px;align-items:center;font-weight:500}
.lb-chips svg{width:10px;height:10px}
.lb-chips .cv{width:7px;height:7px;stroke:#bbb;fill:none;stroke-width:2.4}
.lb-pod{display:flex;justify-content:center;align-items:flex-end;gap:14px;padding:12px 0 10px;margin:0 -16px;background:radial-gradient(60% 100% at 50% 0%,rgba(255,190,60,.15),transparent 75%)}
.lb-pod>div{display:flex;flex-direction:column;align-items:center;font-size:10px;gap:3px;font-weight:500}
.lb-pod .cr{font-size:10px;color:#ffc83d;font-weight:700;display:flex;gap:2px;align-items:center}
.lb-pod .cr svg{width:10px;height:10px;fill:#ffc83d}
.lb-pod img{width:46px;height:46px;border-radius:50%;border:3px solid #c9ccd4;object-fit:cover}
.lb-pod .p1 img{width:60px;height:60px;border-color:#ffc83d;box-shadow:0 0 20px -4px rgba(255,200,61,.6)}
.lb-pod .p3 img{border-color:#d9874a}
.lb-pod .pts{color:#ffc83d;font-weight:600;display:flex;gap:2px;align-items:center}
.lb-pod .pts span{width:10px;height:10px;display:block}
.lrow{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:13px;background:#141518;border:1px solid rgba(255,255,255,.05);font-size:11px}
.lrow .n{width:16px;color:#8d8f97;font-weight:600;font-size:10.5px}
.lrow img{width:26px;height:26px;border-radius:50%}
.lrow .who{display:flex;flex-direction:column;line-height:1.2}
.lrow .who small{font-size:8.5px;color:#8d8f97}
.lrow .pts{margin-left:auto;color:#ffc83d;font-weight:600;display:flex;align-items:center;gap:3px;font-size:11px}
.lrow .pts span{width:11px;height:11px;display:block}
.lrow.you{flex-wrap:wrap;padding:10px;border:1.5px solid transparent;background:linear-gradient(#1a1311,#1a1311) padding-box,linear-gradient(110deg,#ff6a26,#b05cf6) border-box}
.lrow.you .n{color:#ff8a4d;font-size:15px;font-weight:700;width:20px}
.lrow.you img{width:32px;height:32px;box-shadow:0 0 0 2px #ff6a26}
.you-bar{flex-basis:100%;height:5px;border-radius:5px;background:rgba(255,255,255,.08);overflow:hidden;margin-top:8px}
.you-bar i{display:block;height:100%;background:linear-gradient(90deg,#ff6a26,#ffc83d);width:84%;transform:scaleX(.55);transform-origin:left;transition:transform 1.4s var(--ease)}
.you-note{flex-basis:100%;font-size:9.5px;color:#c7c8cd;margin-top:5px;display:flex;gap:5px;align-items:center;opacity:0;transition:opacity .5s}
.you-note svg{width:10px;height:10px;stroke:#3ddc84;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.lb.go .you-bar i{transform:none}
.lb.go .you-note{opacity:1}

@media (prefers-reduced-motion:reduce){
  .hero4 h1 .w,.hero-sub,.hero-cta,.scroll-cue,.ray{animation:none;opacity:1;transform:none}
  .ray .bloom,.ray .line::after{animation:none}
}

/* Insights: patterns (the app colours this page blue) */
.i-kick.blue{color:#4da3ff}
.win{border-radius:16px;padding:12px;background:linear-gradient(160deg,#10223a,#0f1217 75%);border:1px solid rgba(77,163,255,.25)}
.win .i-lbl{color:#4da3ff;font-weight:600}
.win b{display:block;font-size:20px;margin-top:4px;letter-spacing:-.01em}
.win small{font-size:10px;color:#a7b4c6}
.clock-h{display:flex;justify-content:space-between;align-items:baseline}
.clock-h b{font-size:11.5px}
.clock-h small{font-size:9px;color:#8d8f97}
.dial{display:block;width:100%;height:auto;margin:4px 0 2px}
.dial line{stroke-width:4.5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .7s var(--ease)}
.layer.on .dial line{stroke-dashoffset:0}
.dial text{font-size:8px;fill:#6f717a;text-anchor:middle;font-family:var(--f)}
.dial .ct{font-size:10px;fill:#fff;font-weight:600}
.dial .cn{font-size:7px;fill:#8d8f97}
.clock-k{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8.5px;color:#8d8f97}
.clock-k i{width:14px;height:5px;border-radius:3px}
.heat{display:grid;grid-template-columns:52px repeat(7,1fr);gap:3px;font-size:8.5px;color:#8d8f97;align-items:center;margin-top:6px}
.heat span{text-align:center}
.heat .p{text-align:left}
.heat i{aspect-ratio:1;border-radius:4px;background:#1c1f24;opacity:0;transition:opacity .5s}
.heat i.l1{background:#223a57}.heat i.l2{background:#2c5580}.heat i.l3{background:#3a78b8}.heat i.l4{background:#4da3ff}
.layer.on .heat i{opacity:1}

/* Tablet next to the phone (Quiz chapter) */
.duo{position:relative;display:flex;align-items:stretch;justify-content:center;gap:22px;width:792px;height:620px;margin:64px auto 0}
.tablet{position:relative;flex:none;width:470px;height:620px;border-radius:34px;padding:12px;background:linear-gradient(160deg,#3a3b41,#18191c 40%,#2a2b30);box-shadow:0 50px 100px -30px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.08)}
.tablet .screen{border-radius:24px}
.tablet .app{padding:30px 22px 20px;font-size:12px}
.tablet .app .stat{top:10px;left:24px;right:24px}
.duo .phone{position:relative;box-shadow:-30px 40px 80px -20px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.08)}
.duo-note{margin-top:26px;font-size:14px;color:var(--muted)}
@media (max-width:820px){.duo{transform:scale(.5);transform-origin:top center;margin:40px auto -310px;left:50%;margin-left:-396px}}
@media (max-width:820px) and (min-width:560px){.duo{transform:scale(.7);margin-bottom:-186px}}
@media (max-width:430px){.duo{transform:scale(.45);margin-bottom:-341px}}
.lt-head{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}
.lt-head svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lt-head .hrt{margin-left:auto;stroke:#ff6b6b}
.lt-sub{font-size:10.5px;color:#8d8f97;margin-top:-2px}
.lt{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:linear-gradient(180deg,#1a1b1f,#141518);border:1px solid rgba(255,255,255,.05)}
.lt.up{background:linear-gradient(180deg,#24160f,#141518 70%)}
.lt .rg{width:34px;height:34px;border-radius:50%;border:3px solid #2a2b30;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.lt .rg.done{border-color:#3ddc84;color:#3ddc84}
.lt .rg.part{border-top-color:#ff6a26;border-right-color:#ff6a26}
.lt .rg svg{width:14px;height:14px;stroke:#3ddc84;fill:none;stroke-width:3}
.lt .tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.lt .tx small{font-size:8.5px;letter-spacing:.1em;color:#ff8a4d;font-weight:600}
.lt .tx b{font-size:12.5px}
.lt .tx span{font-size:10px;color:#9a9ca4}
.lt .tx span.g{color:#3ddc84}
.lt .dt{display:flex;gap:4px;margin-top:3px}
.lt .dt i{width:5px;height:5px;border-radius:50%;background:#34353b}
.lt .dt i.g{background:#3ddc84}.lt .dt i.o{background:#ff6a26}
.lt .pl{margin-left:auto;width:34px;height:34px;border-radius:50%;background:#26272c;display:grid;place-items:center;flex:none}
.lt.up .pl{background:linear-gradient(180deg,#ff6a26,#f2400a)}
.lt .pl svg{width:12px;height:12px;fill:#fff}

/* Coming soon on iOS (bottom section only) */
.soon{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;border-radius:14px;border:1px dashed rgba(255,255,255,.22);color:var(--text2)}
.soon svg{width:22px;height:22px;fill:#d7d8dd}
.soon span{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.soon small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.soon b{font-size:17px;font-weight:600;color:#e6e7ea}

/* Level path on the tablet (copied from Learn > topic levels) */
.app.lv{padding:30px 26px 20px}
.lp{position:relative;flex:1;margin-top:4px}
.lp>svg{position:absolute;inset:0;width:100%;height:100%}
.lp>svg path{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}
.lp>svg path.done{stroke-width:6}
.lp>svg path.dots{stroke:#3a3b41;stroke-width:6;stroke-dasharray:0 13}
.nd{position:absolute;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;display:grid;place-items:center}
.nd b{width:56px;height:56px;border-radius:50%;display:grid;place-items:center}
.nd svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.nd.ok{background:rgba(61,220,132,.13)}
.nd.ok b{background:linear-gradient(180deg,#4fe394,#1fae5c)}
.nd.ok svg{stroke-width:3.2}
.nd.up{width:84px;height:84px;background:rgba(255,106,38,.16);box-shadow:0 0 0 1px rgba(255,106,38,.25)}
.nd.up b{width:62px;height:62px;background:linear-gradient(180deg,#ff7a3a,#f2400a)}
.nd.up svg{fill:#fff;stroke:none;width:22px;height:22px;margin-left:3px}
.nd.up::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:1.5px solid rgba(255,106,38,.35);animation:lvpulse 2.6s ease-out infinite}
@keyframes lvpulse{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.25);opacity:0}}
.nd.lock{background:#18191c}
.nd.lock b{background:#1f2024;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.nd.lock svg{stroke:#7d7f88;width:20px;height:20px}
.nd.cup{width:80px;height:80px;background:radial-gradient(circle at 50% 35%,#3a2c10,#1a1407)}
.nd.cup svg{stroke:#ffc83d;width:30px;height:30px}
.stars{position:absolute;top:-30px;left:50%;width:84px;margin-left:-42px;height:30px}
.stars i{position:absolute;display:block}
.stars svg{width:100%;height:100%;fill:#ffc83d;stroke:none}
.stars .s1{left:2px;top:12px;width:20px;height:20px;transform:rotate(-14deg)}
.stars .s2{left:32px;top:0;width:24px;height:24px}
.stars .s3{left:64px;top:12px;width:20px;height:20px;transform:rotate(14deg)}
.stars .s3 svg{fill:#3a3b41}
.lb-t{position:absolute;display:flex;flex-direction:column;gap:3px;line-height:1.2}
.lb-t.r{align-items:flex-end;text-align:right}
.lb-t small{font-size:9.5px;letter-spacing:.14em;color:#8d8f97;font-weight:500}
.lb-t small.g{color:#3ddc84}.lb-t small.o{color:#ff8a4d}
.lb-t b{font-size:16px;font-weight:600}
.lb-t b.dim,.lb-t span.dim{color:#8d8f97}
.lb-t span{display:flex;align-items:center;gap:4px;font-size:12.5px;font-weight:500}
.lb-t em{font-style:normal;color:#8d8f97;margin-left:10px;font-weight:400}
.final .wrap::before{content:none}

/* Audit: on phones the gaps between chapters felt empty, so they are a little tighter there. */
@media (max-width:560px){.say{padding:14vh 0}.chapter{padding:8vh 0}.story{padding:8vh 0 3vh}.final{padding:12vh 0 9vh}}
/* Audit S11: no orange glow behind the tablet, phone or leaderboard; the site stays cool grey with orange only as an accent. */
