:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #effbf7;
  --ink: #3a4a57;
  --ink-strong: #173a5e;
  --muted: #7d8b96;
  --line: #e3ebe8;
  --brand: #20c997;
  --brand-dark: #169e77;
  --navy: #173a5e;
  --brand-ink: #ffffff;
  --gold: #ffc93c;
  --gold-dark: #e0a400;
  --coral: #ff6b5b;
  --coral-dark: #d84a3b;
  --mint: #20c997;
  --mint-dark: #169e77;
  --sky: #1cb0f6; --sky-dark: #1690cc;
  --ib: #1d5fa8; --cons: #8e5bd8; --pm: #ff8a1f;
  --radius: 16px;
  --font: "Nunito", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #app, :root:not([data-theme="light"]) #onboard, :root:not([data-theme="light"]) #welcome {
    --bg: #0f1f26; --surface: #152a33; --soft: #183540; --ink: #dfeeea; --ink-strong: #ffffff;
    --muted: #8fa8a6; --line: #24404a;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 600;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
#app, #onboard, #welcome { background: var(--bg); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 900; color: var(--ink-strong); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---------- 3D buttons ---------- */
.b3, .btn {
  appearance: none; border: 0; cursor: pointer; font: 800 15px var(--font);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 13px 22px; border-radius: 14px; position: relative;
  transition: transform .06s ease, box-shadow .06s ease, filter .15s;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 0 var(--brand-dark);
}
.b3:hover, .btn:hover { filter: brightness(1.07); }
.b3:active, .btn:active { transform: translateY(4px); box-shadow: 0 0 0 transparent !important; }
.b3:disabled, .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.b3-outline, .btn-ghost { background: var(--surface); color: var(--brand); box-shadow: 0 0 0 2px var(--line) inset, 0 4px 0 var(--line); }
.b3-light { background: #fff; color: var(--brand); box-shadow: 0 4px 0 #d9d5ff; }
.btn-danger { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-dark); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 900 30px var(--font); color: var(--navy); letter-spacing: -.01em; }
.wordmark img { width: 42px; height: 42px; object-fit: contain; }
.wordmark.small { font-size: 22px; }
.wordmark.small img { width: 32px; height: 32px; }

/* ---------- landing ---------- */
.lp { background: #fff; color: var(--ink); }
.lp-nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 2px solid var(--line); }
.lp-nav-in { max-width: 1000px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.track-pick { position: relative; }
.tp-btn { appearance: none; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; margin-right: -10px; border-radius: 12px; font: 800 14px var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.tp-btn:hover, .tp-btn[aria-expanded="true"] { color: var(--ink-strong); background: var(--soft); }
.tp-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tp-chev { flex: none; transition: transform .15s ease; }
.tp-btn[aria-expanded="true"] .tp-chev { transform: rotate(180deg); }
.tp-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 260px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 12px 28px rgba(23,58,94,.12); transform-origin: top right; animation: tp-in .14s ease-out; }
.tp-menu:focus { outline: none; }
@keyframes tp-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tp-menu { animation: none; } .tp-chev { flex: none; transition: none; } }
.tp-menu li { white-space: nowrap; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font: 800 15px var(--font); color: var(--ink-strong); cursor: pointer; }
.tp-menu li:hover, .tp-menu li.active { background: var(--soft); }
.tp-menu li[aria-selected="true"] { color: var(--brand-dark); }
.tp-menu .dot { flex: none; }
.tp-check { margin-left: auto; visibility: hidden; color: var(--brand-dark); }
.tp-menu li[aria-selected="true"] .tp-check { visibility: visible; }
@media (max-width: 600px) { .tp-label { display: none; } .tp-btn { font-size: 12px; } .tp-menu { min-width: 230px; } .wordmark { font-size: 24px; } .wordmark img { width: 34px; height: 34px; } }

.lp-hero { max-width: 1000px; margin: 0 auto; padding: 48px 16px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-hero-art img, .lp-feat img { mix-blend-mode: multiply; }
.lp-hero-art img { width: 100%; max-width: 460px; display: block; margin: 0 auto; }
.lp-hero-copy { text-align: center; }
.lp-hero h1 { font-size: clamp(28px, 3.4vw, 34px); color: var(--navy); max-width: 480px; margin: 0 auto 32px; }
.lp-ctas { display: flex; flex-direction: column; gap: 14px; max-width: 340px; margin: 0 auto; }
.lp-ctas .b3 { width: 100%; }
.lp-ctas.left { margin: 0; }
@media (max-width: 800px) { .lp-hero { grid-template-columns: 1fr; padding-top: 24px; gap: 16px; } .lp-hero-art img { max-width: 320px; } }

.web-toggle { margin: 26px auto 0; display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 18px; border: 2px solid var(--line); border-radius: 999px; font: 800 15px var(--font); color: var(--ink); }
.switch { appearance: none; border: 0; cursor: pointer; width: 52px; height: 30px; border-radius: 999px; background: var(--line); position: relative; padding: 0; transition: background .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.15); transition: transform .2s cubic-bezier(.3,1.4,.6,1); }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] span { transform: translateX(22px); }
.switch:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }

.web-preview { background: var(--soft); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); overflow: hidden; }
.web-preview.open { animation: drop .35s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .web-preview.open { animation: none; } }
.wp-in { max-width: 1000px; margin: 0 auto; padding: 48px 16px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.wp-copy h2 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); }
.wp-copy p { color: var(--muted); font-size: 18px; max-width: 420px; }
.eyebrow { display: inline-block; font: 900 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sky); padding: 4px 10px; border-radius: 8px; margin-bottom: 12px; }
.device { width: 340px; height: 690px; border-radius: 44px; background: var(--navy); padding: 12px; box-shadow: 0 30px 60px rgba(23,58,94,.25); }
.device iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; }
@media (max-width: 800px) { .wp-in { grid-template-columns: 1fr; justify-items: center; text-align: center; } .wp-copy p { margin-inline: auto; } .lp-ctas.left { margin: 0 auto; } .device { width: min(340px, 100%); height: 640px; } }

.track-strip { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.ts-in { max-width: 1000px; margin: 0 auto; padding: 18px 16px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font: 800 14px var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ts-in span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot.ib { background: var(--ib); } .dot.cons { background: var(--cons); } .dot.pm { background: var(--pm); } .dot.gold { background: var(--gold); } .dot.mint { background: var(--mint); }

.lp-feat { max-width: 1000px; margin: 0 auto; padding: 64px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; border-bottom: 2px solid var(--line); }
.lp-feat:last-of-type { border-bottom: 0; }
.lp-feat img { width: 100%; max-width: 380px; justify-self: center; }
.lp-feat.flip .lf-copy { order: 2; }
.lf-copy h2 { font-size: clamp(32px, 4.4vw, 48px); color: var(--brand); }
.lf-copy p { font-size: 18px; color: var(--muted); line-height: 1.6; }
@media (max-width: 800px) { .lp-feat { grid-template-columns: 1fr; gap: 16px; text-align: center; padding: 44px 16px; } .lp-feat.flip .lf-copy { order: 0; } .lp-feat img { max-width: 280px; order: -1; } }

.lp-anywhere { text-align: center; padding: 72px 16px; background: var(--soft); }
.lp-anywhere h2 { font-size: clamp(32px, 4.4vw, 48px); color: var(--brand); }
.stores { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 18px; }
.store { display: inline-grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 14px; font: 800 19px var(--font); min-width: 200px; box-shadow: 0 4px 0 #000; }
.store b { grid-row: 1 / 3; font-size: 28px; }
a.store { text-decoration: none; }
a.store[href]:hover { filter: brightness(1.15); }
.lp-foot a { color: #fff; }
.store small { font: 700 11px var(--font); opacity: .75; }
.linkish { background: none; border: 0; color: var(--brand); font: 800 16px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.lp-final { background: var(--brand); color: #fff; text-align: center; padding: 64px 16px 72px; }
.lp-final img { width: 220px; height: 220px; object-fit: contain; display: block; margin: 0 auto 20px; padding: 18px; border-radius: 50%; background: #fff; box-shadow: 0 6px 0 var(--brand-dark); }
.lp-final h2 { color: #fff; font-size: clamp(32px, 5vw, 56px); max-width: 720px; margin: 0 auto 28px; }
.lp-final .b3 { min-width: 260px; }
.lp-final .b3-light { color: var(--brand-dark); box-shadow: 0 4px 0 #bfeedd; }

.lp-waitlist { text-align: center; padding: 48px 16px; }
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.waitlist-form input { max-width: 320px; }
.lp-foot { text-align: center; font-size: 13px; color: #cfe3ef; padding: 32px 16px 48px; background: var(--navy); }

/* inputs */
input, textarea, select {
  font: 600 16px var(--font); color: var(--ink); background: var(--soft);
  border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: var(--surface); }
textarea { resize: vertical; min-height: 88px; line-height: 1.45; }
label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; color: var(--ink-strong); }

/* ---------- onboarding ---------- */
.ob-wrap { max-width: 620px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom)); min-height: 100vh; display: flex; flex-direction: column; }
.ob-progress { height: 16px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
#ob-bar { height: 100%; background: var(--brand); width: 0; transition: width .35s ease; border-radius: 99px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.08); }
#ob-step { flex: 1; }
#ob-step h2 { font-size: clamp(26px, 4vw, 32px); }
.ob-mascot { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.ob-mascot img { width: 88px; height: 88px; object-fit: contain; }
.ob-mascot .speech { position: relative; border: 2px solid var(--line); border-radius: 16px; padding: 12px 16px; font-weight: 700; background: var(--surface); }
.ob-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--line); }
.choice-grid { display: grid; gap: 12px; }
.choice { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: var(--radius); padding: 16px 18px; cursor: pointer; font: inherit; color: inherit; width: 100%; }
.choice:hover { background: var(--soft); }
.choice.selected { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.choice .ico { font-size: 28px; }
.choice b { display: block; font-weight: 900; }
.choice small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); border-bottom-width: 4px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 7px 14px; font: 800 14px var(--font); cursor: pointer; }
.chip.selected { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); border-color: var(--brand); }

/* ---------- app shell ---------- */
#app { min-height: 100vh; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.app-top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--bg); border-bottom: 2px solid var(--line); }
.stats { display: flex; gap: 14px; font-size: 16px; font-weight: 900; }
.stat:nth-child(1) b { color: var(--pm); } .stat:nth-child(2) b { color: var(--gold-dark); } .stat:nth-child(3) b { color: var(--brand-dark); }
.stat b { font-variant-numeric: tabular-nums; }
#view { max-width: 760px; margin: 0 auto; padding: 20px 16px; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-around; background: var(--bg); border-top: 2px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar button { flex: 1; background: none; border: 2px solid transparent; color: var(--muted); font: 800 11px var(--font); text-transform: uppercase; letter-spacing: .04em; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; cursor: pointer; border-radius: 12px; margin: 0 2px; }
.tabbar button span { font-size: 22px; filter: grayscale(1); opacity: .6; }
.tabbar button.active { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.tabbar button.active span { filter: none; opacity: 1; }

.card { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 2px solid var(--line); margin-bottom: 14px; }
.card h3 { font-size: 19px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 12px; }
.section-title h2 { font-size: 26px; margin: 0; }
.row { display: flex; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 8px; background: var(--line); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.tag.ib { background: var(--ib); color: #fff; } .tag.cons { background: var(--cons); color: #fff; } .tag.pm { background: var(--pm); color: #fff; }
.tag.ok { background: var(--mint); color: #fff; }
.tag.warn { background: var(--gold); color: #4a3500; }

/* mascot greeting */
.bo-hello { display: flex; align-items: center; gap: 14px; }
.bo-hello img { width: 60px; height: 60px; object-fit: contain; flex: none; }

/* daily goal */
.goal { display: flex; align-items: center; gap: 16px; }
.ring { --p: 0; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; }
.ring::after { content: attr(data-label); width: 46px; height: 46px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 900; font-size: 12px; }

/* path */
.unit { margin: 24px 0 8px; }
.unit-head { border-radius: var(--radius); padding: 16px 18px; color: #fff; background: var(--brand); margin-bottom: 40px; box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.unit-head h3 { margin: 0; font-size: 20px; color: #fff; }
.unit-head p { margin: 2px 0 0; opacity: .9; font-size: 14px; }
.nodes { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.node { width: 76px; height: 70px; border-radius: 50%; border: 0; cursor: pointer; font-size: 28px; background: var(--brand); color: #fff; box-shadow: 0 7px 0 var(--brand-dark); position: relative; transition: transform .06s; }
.node:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--brand-dark); }
.node.locked { background: var(--line); color: var(--muted); box-shadow: 0 7px 0 color-mix(in srgb, var(--line) 70%, #000); cursor: not-allowed; }
.node.done { background: var(--gold); box-shadow: 0 7px 0 var(--gold-dark); }
.node.current::before { content: "START"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); background: var(--surface); color: var(--brand); font: 900 12px var(--font); padding: 5px 10px; border-radius: 10px; border: 2px solid var(--line); letter-spacing: .06em; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -4px); } }
@media (prefers-reduced-motion: reduce) { .node.current::before { animation: none; } }
.node-label { font-size: 13px; font-weight: 800; color: var(--muted); text-align: center; margin-top: -4px; max-width: 200px; }
.node-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.node-wrap:nth-child(4n+2) { transform: translateX(56px); }
.node-wrap:nth-child(4n+4) { transform: translateX(-56px); }

/* lesson */
.lesson-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lesson-top .bar { flex: 1; height: 16px; background: var(--line); border-radius: 99px; overflow: hidden; }
.lesson-top .bar div { height: 100%; background: var(--mint); transition: width .3s; }
.close-x { background: none; border: 0; font-size: 24px; color: var(--muted); cursor: pointer; }
.q-prompt { font: 900 22px var(--font); color: var(--ink-strong); margin-bottom: 18px; }
.opt { display: block; width: 100%; text-align: left; background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; font: 700 15px var(--font); color: var(--ink); cursor: pointer; }
.opt:hover { background: var(--soft); }
.opt.selected { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.opt.right { border-color: var(--mint); color: var(--mint-dark); background: color-mix(in srgb, var(--mint) 12%, var(--surface)); }
.opt.wrong { border-color: var(--coral); color: var(--coral-dark); background: color-mix(in srgb, var(--coral) 10%, var(--surface)); }
.feedback { border-radius: 14px; padding: 14px 16px; margin: 12px 0; font-size: 15px; }
.feedback.good { background: color-mix(in srgb, var(--mint) 18%, var(--surface)); color: var(--mint-dark); }
.feedback.bad { background: color-mix(in srgb, var(--coral) 14%, var(--surface)); color: var(--coral-dark); }

/* stories */
.star-grid { display: grid; gap: 12px; }
.star-label { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 14px; margin-bottom: 6px; color: var(--ink-strong); }
.star-letter { width: 28px; height: 28px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 3px 0 var(--brand-dark); }
.score { font: 900 34px var(--font); color: var(--ink-strong); }
.meter { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 4px 0 10px; }
.meter div { height: 100%; background: var(--mint); border-radius: 99px; }
.coach-list { margin: 0; padding-left: 18px; }
.coach-list li { margin-bottom: 6px; }
.pushback { border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--surface)); padding: 12px 14px; border-radius: 14px; margin: 10px 0; }
.chat { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; border: 2px solid var(--line); background: var(--surface); }
.bubble.coach { max-width: 96%; display: grid; grid-template-columns: 36px 1fr; gap: 10px; border: 0; padding: 0; background: none; }
.bubble.coach img { width: 36px; height: 36px; object-fit: contain; }
.bubble.coach .txt { border: 2px solid var(--line); border-radius: 16px; padding: 10px 14px; }
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.bubble .who { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.story-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; border-bottom-width: 4px; }
.story-item:hover { background: var(--soft); }

/* mock */
.mic { width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 38px; cursor: pointer; box-shadow: 0 7px 0 var(--brand-dark); }
.mic.rec { background: var(--coral); box-shadow: 0 7px 0 var(--coral-dark); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .mic.rec { animation: none; } }
.timer { font: 900 28px var(--font); font-variant-numeric: tabular-nums; margin-top: 10px; }
.transcript { min-height: 80px; }
.mock-hero { display: flex; gap: 16px; align-items: center; }
.mock-hero img { width: 110px; flex: none; }

/* calendar */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.event { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.date-box { text-align: center; background: var(--soft); border-radius: 12px; padding: 6px 0; border: 2px solid var(--line); }
.date-box .m { font-size: 11px; font-weight: 900; text-transform: uppercase; color: var(--coral); }
.date-box .d { font: 900 22px var(--font); color: var(--ink-strong); }
.event h4 { margin: 0; font-size: 16px; }
.event p { margin: 0; font-size: 13px; color: var(--muted); }
.countdown { font: 900 15px var(--font); font-variant-numeric: tabular-nums; text-align: right; }
.countdown.soon { color: var(--coral); }
.hero-count { background: var(--navy); color: #fff; border: 0; box-shadow: 0 5px 0 #0c2238; position: relative; overflow: hidden; }
.hero-count b { color: #fff; }
.hero-count .big { font: 900 clamp(26px, 8vw, 40px) var(--font); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-count img { position: absolute; right: -6px; bottom: -10px; width: 120px; opacity: .95; }
.past { opacity: .5; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink-strong); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 20; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.celebrate { text-align: center; padding: 24px 0; }
.celebrate img { width: 200px; display: block; margin: 0 auto; }
.celebrate .big { font-size: 72px; }
.xp-gain { font: 900 32px var(--font); color: var(--gold-dark); }

/* ---------- native app ---------- */
.wl-wrap { min-height: 100vh; min-height: 100dvh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; padding: calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom)); }
.wl-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.wl-hero > img { width: min(58vw, 250px); height: auto; margin-bottom: 18px; animation: wl-bob 3.2s ease-in-out infinite; }
.wl-hero .wordmark { font-size: 40px; color: var(--ink-strong); margin: 0 0 6px; }
.wl-hero .wordmark img { width: 46px; height: 46px; }
.wl-hero p { color: var(--muted); font-size: 18px; font-weight: 700; max-width: 290px; margin: 0; }
.wl-actions { display: grid; gap: 12px; }
.wl-actions .b3 { width: 100%; }
@keyframes wl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .wl-hero > img { animation: none; } }
html.native body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overscroll-behavior: none; }
html.native input, html.native textarea { -webkit-user-select: text; user-select: text; }
