/* Landing v2 (2026-11-11): concept 8 "marka z charakterem" + onboarding /start/ (concept 7).
   Palette v2: one action colour (accent blue), sun yellow as the supporting colour (mascot Sigma, highlights), flame only
   for the streak, blue-tinted neutrals. No rainbow card borders, no serif display, no eyebrow above every heading.
   Contrast (computed): ink #151a28 on white 17.6, ink-2 #4f5562 7.5, white on accent 5.2, sun-ink #6c5002 on sun-soft 6.9. */
body.home-v2,body.start-page{
  --bg:#fff;--surface:#fff;--surface-soft:var(--surface-soft);--ink:#151a28;--ink-2:#4f5562;--ink-3:#5b6170;
  --sun:#ffc531;--sun-deep:#d9a10c;--sun-soft:#fff6dd;--sun-ink:#6c5002;--flame:#ff7a1a;--mint:#18b26b;--mint-soft:#edfbf1;--mint-ink:#00663a;
  --k3-shadow:#1e3fcb;--hv-line:#e3e8f4;--hv-line-2:#cdd6ef;--hv-tint:#eef3ff;--hv-flame-soft:#fff1e6;--hv-flame-ink:#883c01;--hv-bad-soft:#fef4f3;--hv-bad-ink:#9e1323;
  background:var(--bg)!important;background-image:none!important;
}
body.home-v2 .site-header,body.start-page .site-header{background:var(--header-bg)}
body.home-v2 .site-footer{background:var(--surface-soft);border-top-color:var(--hv-line)}

/* chunky 3D buttons (the only CTA style on these pages) */
.k3{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 22px;border-radius:16px;border:2px solid transparent;
  font:800 1rem/1.15 var(--sans);text-decoration:none;cursor:pointer;transition:transform .08s,box-shadow .08s;text-align:center}
.k3 .ico{width:20px;height:20px}
.k3-primary{background:var(--accent);color:#fff;box-shadow:0 5px 0 var(--k3-shadow)}
.k3-primary:hover{background:#2b55f4}
.k3-soft{background:var(--surface);color:var(--accent-ink);border-color:var(--hv-line);box-shadow:0 5px 0 var(--hv-line)}
.k3-soft:hover{border-color:var(--hv-line-2)}
.k3-sun{background:var(--sun);color:#2a1f00;box-shadow:0 5px 0 var(--sun-deep)}
.k3:active{transform:translateY(4px);box-shadow:none}
.k3:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* hero */
.hv{width:var(--container);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(20px,4vw,56px);align-items:center;padding:clamp(18px,4vw,56px) 0 clamp(20px,3vw,36px)}
.hv-title{margin:0 0 14px;font:800 clamp(2.1rem,5.2vw,3.7rem)/1.06 var(--sans);letter-spacing:-.035em;color:var(--ink);text-wrap:balance}
.hv-title em{font-style:normal;color:var(--accent)}
.hv-topic{display:block;margin:0 0 10px;font:700 clamp(.82rem,1.3vw,.95rem)/1.3 var(--sans);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-2)}
.hv-lead{margin:0 0 24px;max-width:36em;font-size:clamp(1.02rem,1.6vw,1.15rem);font-weight:600;line-height:1.55;color:var(--ink-2)}
.hv-who{display:flex;flex-direction:column;gap:12px;max-width:400px}
.hv-who .k3{width:100%}
.hv-alt{display:flex;gap:12px}
.hv-alt .k3{flex:1;min-height:50px;font-size:.92rem;padding:0 10px}
.hv-login{margin:16px 0 0;font-size:.95rem;color:var(--ink-2)}
.hv-login a{font-weight:800;color:var(--accent-ink)}
.hv-art{position:relative;justify-self:center;width:min(100%,440px);aspect-ratio:1/1}
.hv-blob{position:absolute;inset:14% 6% 4% 6%;border-radius:42% 58% 52% 48%/48% 44% 56% 52%;background:var(--sun-soft)}
.hv-mascot{position:absolute;left:10%;bottom:3%;width:54%;height:auto}
.hv-bubble{position:absolute;right:0;top:2%;max-width:54%;margin:0;padding:12px 16px;border-radius:18px;border:2px solid var(--hv-line);background:var(--surface);box-shadow:0 4px 0 var(--hv-line);font-weight:800;font-size:.98rem;line-height:1.35;color:var(--ink)}
.hv-bubble::after{content:"";position:absolute;left:22px;bottom:-11px;width:18px;height:18px;background:var(--surface);border-right:2px solid var(--hv-line);border-bottom:2px solid var(--hv-line);transform:rotate(45deg)}
.hv-bubble small{display:block;font-weight:700;color:var(--ink-2);font-size:.82rem;margin-top:2px}
.hv-bubble b[data-countdown-value]{font-variant-numeric:tabular-nums}
.hv-streak{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:6px 12px;border-radius:999px;background:var(--hv-flame-soft);color:var(--hv-flame-ink);font-weight:800;font-size:.9rem}
.hv-streak .ico{width:18px;height:18px;color:var(--flame)}

/* proof strip: real numbers only */
.hv-proof{width:var(--container);margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 0;list-style:none;border-block:2px solid var(--hv-line)}
.hv-proof li{text-align:center;min-width:0}
.hv-proof b{display:block;font:800 clamp(1.5rem,3vw,2rem)/1.1 var(--sans);color:var(--ink);font-variant-numeric:tabular-nums}
.hv-proof span{font-size:.88rem;font-weight:700;color:var(--ink-2)}

/* grade picker (_learning_start) in the v2 look: neutral chips, no rainbow top borders */
.home-v2 .lj-start{width:var(--container);margin:0 auto;padding-block:clamp(28px,4vw,48px) 8px}
.home-v2 .lj-start-title{font:800 clamp(1.5rem,3vw,2.1rem)/1.15 var(--sans);letter-spacing:-.025em}
.home-v2 .lj-start .lp-kicker{display:none}
.home-v2 .lj-grades li{--tone:var(--accent)}
.home-v2 .lj-grade{border:2px solid var(--hv-line);border-bottom-width:5px;border-top-width:2px;border-radius:16px;min-height:64px;justify-content:center}
.home-v2 .lj-grade:hover{border-color:#b9c7ff;box-shadow:none;transform:translateY(-2px)}
.home-v2 .lj-grade b{font-weight:800}

/* daily set: one clear card, h2 inside the hero section */
.home-v2 .lp-hero{border-bottom:0;background:none;padding-top:clamp(24px,4vw,44px)}
.home-v2 .lp-hero::before{display:none}
.home-v2 .lp-title{font:800 clamp(1.5rem,3vw,2.1rem)/1.15 var(--sans);letter-spacing:-.025em}
.home-v2 .lp-title-accent{color:var(--accent)}
.home-v2 .lp-daily{border:2px solid var(--hv-line);border-bottom-width:6px;border-radius:24px;box-shadow:none}

/* return hooks + sign-up */
.hk{width:var(--container);margin:clamp(28px,5vw,56px) auto 0}
.hk-h{margin:0 0 6px;font:800 clamp(1.5rem,3vw,2.1rem)/1.15 var(--sans);letter-spacing:-.025em}
.hk-sub{margin:0 0 18px;color:var(--ink-2);font-weight:600}
.hk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.hk-card{border:2px solid var(--hv-line);border-radius:20px;padding:18px;background:var(--surface)}
.hk-card h3{margin:10px 0 4px;font:800 1.08rem/1.3 var(--sans)}
.hk-card p{margin:0;color:var(--ink-2);font-size:.95rem;line-height:1.55}
.hk-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--hv-tint);color:var(--accent)}
.hk-ico .ico{width:24px;height:24px}
.hk-card.is-flame .hk-ico{background:var(--hv-flame-soft);color:var(--flame)}
.hk-card.is-sun .hk-ico{background:var(--sun-soft);color:var(--sun-ink)}
.hk-tiers{display:flex;gap:6px;margin-top:12px;font:400 1.25rem/1 var(--serif)}
.hk-tiers span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--surface-soft);color:var(--accent-ink)}
.hk-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:12px}
.hk-days i{aspect-ratio:1;border-radius:8px;background:var(--hv-line)}
.hk-days i.on{background:var(--flame)}
.hk-join{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-top:14px;padding:20px 22px;border-radius:22px;background:var(--accent);color:#fff}
.hk-join h3{margin:0;font:800 1.25rem/1.25 var(--sans)}
.hk-join p{margin:4px 0 0;color:#dfe6ff;font-weight:600}
.hk-join .k3-soft{border-color:#fff;box-shadow:0 5px 0 var(--k3-shadow)}

/* who it is for: parents and teachers */
.pt{width:var(--container);margin:clamp(28px,5vw,56px) auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pt-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:24px;text-decoration:none;color:var(--ink)}
.pt-card h2{margin:0;font:800 1.3rem/1.25 var(--sans)}
.pt-card ul{margin:2px 0 6px;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.pt-card li{display:flex;gap:8px;font-weight:600;color:var(--ink-2);line-height:1.45}
.pt-card li .ico{flex:none;width:20px;height:20px;color:var(--mint);margin-top:2px}
.pt-card .pt-go{margin-top:auto;font-weight:800;color:var(--accent-ink);display:inline-flex;gap:6px;align-items:center}
.pt-parent{background:var(--sun-soft)}
.pt-school{background:var(--hv-tint)}

/* newsletter band (link to /newsletter/, the approved form lives there) */
.nlb{width:var(--container);margin:clamp(28px,5vw,56px) auto 0;display:flex;align-items:center;gap:18px 28px;flex-wrap:wrap;padding:22px;border-radius:24px;border:2px dashed var(--hv-line-2)}
.nlb-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--sun);color:#2a1f00;flex:none}
.nlb-ico .ico{width:26px;height:26px}
.nlb-text{flex:1 1 300px;min-width:0}
.nlb-text h2{margin:0;font:800 1.25rem/1.25 var(--sans)}
.nlb-text p{margin:4px 0 0;color:var(--ink-2);font-weight:600}

/* the rest of the page keeps its sections; headings move to the v2 sans */
.home-v2 .lp-h2{font-family:var(--sans);font-weight:800;letter-spacing:-.025em}
.home-v2 .lp-card,.home-v2 .lp-tool,.home-v2 .topic{border-top-color:var(--border)}

@media (max-width:860px){
  .hv{grid-template-columns:minmax(0,1fr);padding-top:8px}
  .hv-art{order:-1;width:100%;aspect-ratio:auto;display:flex;align-items:flex-end;gap:10px;justify-self:stretch}
  .hv-blob{display:none}
  .hv-mascot{position:static;width:96px;flex:none}
  .hv-bubble{position:relative;right:auto;top:auto;max-width:none;flex:1;margin-bottom:34px;font-size:.92rem}
  .hv-bubble::after{left:-11px;bottom:16px;border-right:0;border-top:2px solid var(--hv-line);border-bottom:2px solid var(--hv-line);border-left:2px solid var(--hv-line);border-top:0}
  .hv-who{max-width:none}
  .hv-proof{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hk-grid,.pt{grid-template-columns:minmax(0,1fr)}
  .hv,.hv-proof,.hk,.pt,.nlb,.home-v2 .lj-start{width:min(100% - 32px,1220px)}
}
@media (max-width:359px){.hv-alt{flex-direction:column}}
@media (prefers-reduced-motion:reduce){.k3{transition:none}.k3:active{transform:none}}

/* ---- /start/ onboarding (concept 7): one question per screen, mascot speaks, account asked for at the end ---- */
.st{width:min(100% - 32px,640px);margin:0 auto;padding:14px 0 40px;display:flex;flex-direction:column;min-height:calc(100vh - var(--header-h) - 40px)}
.st-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.st-back{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:0;background:none;color:var(--ink-2);cursor:pointer}
.st-back .ico{width:24px;height:24px}
.st-bar{flex:1;height:12px;border-radius:99px;background:var(--hv-line);overflow:hidden}
.st-bar i{display:block;height:100%;width:var(--p,10%);background:var(--mint);border-radius:99px;transition:width .35s var(--ease)}
.st-step{display:flex;flex-direction:column;gap:18px}
.st-say{display:flex;align-items:flex-end;gap:12px}
.st-say img{width:92px;height:auto;flex:none}
.st-bubble{position:relative;margin:0;padding:14px 16px;border-radius:18px;border:2px solid var(--hv-line);background:var(--surface);font:800 clamp(1.1rem,3.4vw,1.35rem)/1.3 var(--sans);color:var(--ink)}
.st-opts{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.st-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:58px;padding:10px 18px;border-radius:16px;border:2px solid var(--hv-line);box-shadow:0 4px 0 var(--hv-line);background:var(--surface);
  font:800 1.05rem/1.25 var(--sans);color:var(--ink);text-align:left;text-decoration:none;cursor:pointer}
.st-opt small{font-weight:700;color:var(--ink-2);font-size:.85rem}
.st-opt:hover{border-color:#b9c7ff}
.st-opt[aria-pressed="true"]{border-color:#7aa0ff;background:var(--hv-tint);box-shadow:0 4px 0 #7aa0ff}
.st-opt:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.st-quiz{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.st-quiz .st-opt{justify-content:center;min-height:72px;font-size:1.5rem}
.st-opt.is-ok{border-color:var(--mint);background:var(--mint-soft);box-shadow:0 4px 0 var(--mint);color:var(--mint-ink)}
.st-opt.is-no{border-color:#e5484d;background:var(--hv-bad-soft);box-shadow:0 4px 0 #e5484d;color:var(--hv-bad-ink)}
.st-fb{margin:0;min-height:1.6em;font-weight:800;font-size:1.05rem}
.st-fb.is-ok{color:var(--mint-ink)}.st-fb.is-no{color:var(--hv-bad-ink)}
.st-foot{margin-top:auto;padding-top:22px;display:flex;flex-direction:column;gap:10px}
.st-foot .k3{width:100%}
.st-foot .k3[disabled]{background:var(--hv-line);color:var(--ink-3);box-shadow:none;cursor:default}
.st-plan{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.st-plan li{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:var(--surface-soft);font-weight:700}
.st-plan b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-size:.85rem;flex:none}
.st-note{margin:0;font-size:.9rem;color:var(--ink-2);line-height:1.5}
.st-skip{align-self:center;font-weight:800;color:var(--ink-2)}
.st.is-js .st-step[data-step]:not(.is-on){display:none}
@media (prefers-reduced-motion:reduce){.st-bar i{transition:width .2s linear}}

/* the daily band in the v2 palette (discovery.css painted it lilac with a purple button) */
body.home-v2 .lp-hero{background:var(--surface-soft);border-top:0;border-bottom:0}
body.home-v2 .lp-problem-foot .btn-primary{background:var(--accent);border-radius:14px;box-shadow:0 5px 0 var(--k3-shadow);font-weight:800}
body.home-v2 .lp-problem-foot .btn-primary:hover{background:#2b55f4}
.st-bubble:focus{outline:none}
.st-step [data-st-warmup]{display:flex;flex-direction:column;gap:18px}
.st-step [data-st-warmup][hidden]{display:none}

/* THEME_SITE dark (html[data-theme=dark], set by theme.js): the same layout on the site's dark tokens (theme-dark.css).
   White text on the blue buttons stays 5.2:1; text on the dark surfaces >= 7:1. */
html[data-theme=dark] body.home-v2,html[data-theme=dark] body.start-page{
  --bg:#0e1014;--surface:#171a20;--surface-soft:#1a1e26;--ink:#f3f5f8;--ink-2:#c2c8d2;--ink-3:#9aa3b2;--accent-ink:#9db0ff;
  --hv-line:#2a303b;--hv-line-2:#3a4250;--hv-tint:#1f2a55;--sun-soft:#2b2410;--sun-ink:#ffd66b;--mint-soft:#10301d;--mint-ink:#86efac;
  --hv-flame-soft:#3a2010;--hv-flame-ink:#fdba74;--hv-bad-soft:#3b1515;--hv-bad-ink:#fca5a5;--header-bg:rgba(14,16,20,.82)
}
html[data-theme=dark] body.home-v2 .hk-tiers span{background:var(--surface-soft)}

/* motion on the landing and /start/ (the mascot itself moves inside its SVG): the hero rises in; with reduced motion
   it only fades */
.hv-copy,.hv-art,.hv-proof{animation:hv-rise .55s cubic-bezier(.2,.9,.3,1) both}
.hv-art{animation-delay:.08s}.hv-proof{animation-delay:.16s}
.st.is-js .st-step.is-on{animation:hv-rise .35s cubic-bezier(.2,.9,.3,1) both}
.st-opt{transition:transform .08s,box-shadow .08s,border-color .2s,background .2s}
.st-opt:active{transform:translateY(3px);box-shadow:0 1px 0 var(--hv-line)}
@keyframes hv-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes hv-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.hv-copy,.hv-art,.hv-proof,.st.is-js .st-step.is-on{animation:hv-fade .35s ease-out both}}
