:root{
  /* Skyline, Beacon palette: midnight navy and white. Red is rationed: the light on the tallest tower,
     the goal marker and the recording dot. --amber is the action colour (kept under its old name). */
  --bg:#0b1736; --ink:#f7f5ef; --soft:#a9b4d2; --panel:#16264f; --panel2:#1f3264; --line:#2b3f77;
  --amber:#f7f5ef; --amber-ink:#0b1736; --red:#ff4b3e; --sky:#274a9c; --bad:#ff7a7a; --ok:#69d9a8;
  --font:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.5}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--amber)}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:6px}
.top,.foot,main{max-width:600px;margin:0 auto;padding-left:22px;padding-right:22px}
.top{display:flex;justify-content:space-between;align-items:center;padding-top:18px;padding-bottom:4px}
.brand{display:inline-flex;align-items:center;gap:.28em;font-weight:600;font-size:23px;letter-spacing:-.03em;color:var(--ink);text-decoration:none}
.sky{display:inline-flex;align-items:flex-end;gap:.06em;height:.8em;flex:none}
.sky i{width:.13em;background:var(--amber);border-radius:.03em .03em 0 0;position:relative}
.sky i:nth-child(1){height:42%}.sky i:nth-child(2){height:64%}.sky i:nth-child(3){height:86%}.sky i:nth-child(4){height:54%}.sky i:nth-child(5){height:72%}
.sky i:nth-child(3)::before{content:"";position:absolute;left:50%;bottom:100%;width:max(.03em,1.5px);height:.16em;background:var(--red);transform:translateX(-50%)}
.lang{display:flex;gap:2px;background:var(--panel);border-radius:999px;padding:3px}
.lang button{border:0;background:transparent;border-radius:999px;padding:5px 12px;font-size:14px;font-weight:600;color:var(--soft)}
.lang button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
main{padding-top:14px;padding-bottom:44px;min-height:72vh}
h1{font-weight:500;font-size:clamp(38px,10.4vw,56px);line-height:1.02;letter-spacing:-.035em;margin:10px 0 14px;text-wrap:balance}
h2{font-weight:500;font-size:28px;line-height:1.1;letter-spacing:-.03em;margin:44px 0 14px;text-wrap:balance}
h3{font-size:18.5px;font-weight:600;margin:0 0 4px;line-height:1.25}
p{margin:0 0 12px}
.desc{font-size:15px;color:var(--soft);margin:2px 0 0}
.lede{font-size:19px;color:var(--soft);max-width:34em}
.small{font-size:14.5px;color:var(--soft)}
.hero{padding:6px 0 30px}
.hero .stage{margin:18px 0 8px}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:60px;border:0;border-radius:14px;background:var(--amber);color:var(--amber-ink);font-weight:600;font-size:19px;padding:14px 20px;text-align:center;text-decoration:none}
.btn:hover{background:#fff}
.btn.rec{background:var(--ink)}
.btn.ghost{background:transparent;color:var(--ink);border:1.5px solid #3d5296;min-height:52px;font-size:17px;font-weight:500}
.btn.ghost:hover{background:var(--panel)}
.dot{width:13px;height:13px;border-radius:50%;background:var(--red);flex:none}
.rec .dot{animation:pulse 1.1s ease-in-out infinite}
@keyframes pulse{50%{opacity:.25}}

/* the skyline meter */
.stage{height:150px;display:flex;align-items:flex-end;justify-content:center;gap:6px;border-bottom:2px solid var(--line)}
.stage i{flex:0 1 20px;min-width:7px;border-radius:3px 3px 0 0;background:var(--ink);height:10%;position:relative;transition:height .5s cubic-bezier(.2,.8,.2,1)}
.stage i.sp::before{content:"";position:absolute;left:50%;bottom:100%;width:2px;height:16px;background:var(--red);transform:translateX(-50%);opacity:var(--spire,1)}
.stage i.sp::after{content:"";position:absolute;left:50%;bottom:calc(100% + 15px);width:7px;height:7px;border-radius:50%;background:var(--red);transform:translateX(-50%);box-shadow:0 0 10px 1px var(--red);opacity:var(--spire,1)}
.stage.live i{transition:height .08s linear}
.stage.small{height:96px;gap:5px}

.steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;gap:0}
.steps li{counter-increment:s;display:grid;grid-template-columns:40px 1fr;gap:2px 8px;padding:16px 0;border-top:1px solid var(--line)}
.steps li::before{content:counter(s);font-weight:500;font-size:26px;line-height:1.05;color:var(--soft)}
.steps p{margin:0;color:var(--soft);font-size:16px}
.card{background:var(--panel);border-radius:16px;padding:18px}
.script{margin:18px 0;padding:20px 18px;background:var(--panel);border-radius:14px}
.script-text{font-weight:500;font-size:clamp(21px,5.7vw,26px);line-height:1.42;letter-spacing:-.015em;margin:0}
.timer{display:flex;justify-content:space-between;font-size:15px;color:var(--soft);font-variant-numeric:tabular-nums;margin:10px 0 14px}
.alert{background:#4a1f2c;border-radius:10px;padding:13px 16px;margin:16px 0;font-size:16px}
.demo{background:var(--panel2);border-radius:10px;padding:11px 16px;margin:0 0 14px;font-size:14.5px}
.wait{padding:26px 0 40px}
.wait strong{display:block;font-weight:500;font-size:30px;letter-spacing:-.03em;line-height:1.1;margin-top:26px}
.wait span{display:block;font-size:17px;color:var(--soft);margin-top:10px}

.score{display:flex;align-items:flex-end;gap:10px;margin:4px 0}
.score-num{font-weight:500;font-size:clamp(118px,35vw,170px);line-height:.82;letter-spacing:-.06em;color:var(--amber);font-variant-numeric:tabular-nums}
.score-of{font-weight:500;font-size:28px;color:var(--soft);padding-bottom:10px}
.verdict{font-size:21px;font-weight:500;line-height:1.3;margin:22px 0 6px;max-width:26em}
.prev{font-size:15px;color:var(--soft)}
.tell{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:14px 0 22px}
.tell p{margin:4px 0 0;color:var(--soft);font-size:16px}
.tell .eg{color:var(--ink);font-weight:600;margin-top:8px}

/* quiz */
.q-top{display:flex;justify-content:space-between;align-items:center;margin:8px 0 4px;font-size:14.5px;color:var(--soft)}
.q-top button{border:0;background:none;color:var(--soft);padding:6px 0;font-size:15px;text-decoration:underline}
.q-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:6px 0 22px}
.q-bar i{height:5px;border-radius:9px;background:var(--line)}
.q-bar i.on{background:var(--amber)}
.opts{display:grid;gap:10px;margin-top:18px}
.opt{display:block;width:100%;text-align:left;border:1.5px solid var(--line);background:var(--panel);border-radius:14px;padding:17px 16px;font-size:18px;font-weight:500;line-height:1.3}
.opt:hover{border-color:var(--amber)}

/* plan */
.chart{width:100%;height:auto;display:block;overflow:visible;margin:6px 0 4px}
.chart .bar{fill:var(--line)}
.chart .line{fill:none;stroke:var(--amber);stroke-width:3.5;stroke-linecap:round;stroke-dasharray:1 6.5}
.chart .x,.chart .cap{fill:var(--soft);font-family:var(--font);font-size:10.5px}
.chart .x{text-anchor:middle}
.chart .now{fill:var(--ink);font-family:var(--font);font-weight:500;font-size:20px}
.chart .goal{fill:var(--amber);font-family:var(--font);font-weight:500;font-size:34px;text-anchor:end;letter-spacing:-.03em}
.sum{font-size:20px;font-weight:500;line-height:1.35;margin:14px 0 4px}
.sum b{color:var(--amber);font-weight:600}
.list{margin:10px 0 0;padding:0;list-style:none}
.list li{padding:11px 0 11px 28px;border-top:1px solid var(--line);position:relative}
.list li::before{content:"";position:absolute;left:2px;top:19px;width:12px;height:7px;border-left:2.5px solid var(--amber);border-bottom:2.5px solid var(--amber);transform:rotate(-45deg)}
.focus{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.focus span{background:var(--panel2);border-radius:99px;padding:8px 14px;font-weight:500;font-size:16px}
.price{font-weight:500;font-size:44px;letter-spacing:-.04em;margin:0;line-height:1}
.checkout{margin:16px 0 0;min-height:10px}
.email{display:flex;gap:8px;margin:12px 0 6px}
.email input{flex:1;min-width:0;padding:14px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg)}
.email input:focus{border-color:var(--amber);outline:0}
.email button{border:0;border-radius:12px;background:var(--amber);color:var(--amber-ink);font-weight:600;padding:0 18px;min-height:52px}

/* report (after purchase) */
.subs{display:grid;gap:12px;margin:22px 0 0}
.sub{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:baseline}
.sub b{font-weight:500;font-size:22px;font-variant-numeric:tabular-nums}
.track{grid-column:1/-1;height:10px;background:var(--panel);border-radius:99px;overflow:hidden}
.track i{display:block;height:100%;border-radius:99px;background:var(--amber)}
.words{display:flex;flex-wrap:wrap;gap:7px 6px;margin:14px 0 10px}
.w{border:0;border-radius:8px;padding:6px 10px;font-weight:500;font-size:20px;line-height:1.2;background:var(--panel)}
.w.ok{background:#1c4a44}.w.mid{background:#5a4a20}.w.bad{background:#6b2630;box-shadow:inset 0 -3px 0 var(--bad)}
.w.miss{background:transparent;color:var(--soft);text-decoration:line-through;box-shadow:inset 0 0 0 2px var(--line)}
.w[aria-pressed="true"]{outline:3px solid var(--ink);outline-offset:1px}
.key{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14.5px;color:var(--soft);margin:0 0 6px}
.key i{display:inline-block;width:13px;height:13px;border-radius:4px;margin-right:6px;vertical-align:-1px}
.player{position:sticky;bottom:10px;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:8px;background:var(--ink);border-radius:16px;padding:10px;margin:12px 0 0}
.player strong{grid-column:1/-1;color:var(--bg);font-size:22px;font-weight:600;padding:2px 6px 0;display:flex;justify-content:space-between;align-items:baseline}
.player strong span{font-weight:400;font-size:14.5px}
.player button{border:0;border-radius:10px;min-height:48px;font-weight:600;font-size:16px;background:var(--bg);color:var(--ink)}
.player button.us{background:var(--sky);color:#fff}
.prio{border-top:2px solid var(--amber);padding:18px 0 6px;margin-top:26px}
.prio-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.prio-head h3{font-weight:500;font-size:25px;letter-spacing:-.02em;margin:0}
.prio-score{font-weight:500;font-size:25px;color:var(--bad);font-variant-numeric:tabular-nums}
.prio dl{margin:12px 0 0}.prio dt{font-weight:600;margin-top:12px}.prio dd{margin:2px 0 0;color:var(--soft)}
.yours{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.drills{list-style:none;margin:8px 0 0;padding:0}
.drills li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-weight:500;font-size:19px;color:var(--ink)}
.drills li span{flex:1}
.say{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--amber);color:var(--amber-ink);font-size:16px;line-height:1}
.others{list-style:none;margin:10px 0 0;padding:0}
.others li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line)}
details.day{border-bottom:1px solid var(--line)}
details.day summary{display:flex;gap:12px;align-items:baseline;padding:13px 0;cursor:pointer;list-style:none}
details.day summary::-webkit-details-marker{display:none}
details.day summary b{font-weight:600;font-size:18px;min-width:80px}
details.day summary span{color:var(--soft)}

.foot{padding-top:16px;padding-bottom:36px;font-size:13.5px;color:var(--soft);border-top:1px solid var(--line)}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot a{color:var(--soft)}
/* legal page */
.legal h1{font-size:38px}
.legal h2{font-size:24px;margin-top:38px}
.legal h3{margin-top:22px}
.legal p,.legal li{color:#e9dcec;font-size:16.5px;max-width:65ch}
.legal ul{padding-left:20px}
.legal .tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px}
.legal .tabs a{border:1.5px solid var(--line);border-radius:99px;padding:8px 14px;text-decoration:none;color:var(--ink);font-weight:500;font-size:15px}
.legal .ph{background:var(--panel2);border-radius:4px;padding:0 5px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
