/* דיוור בוטומט — student site (schools, sales pages, auth, player). Mobile first, logical properties for RTL/LTR.
   Every theme is the same markup: the design studio sets CSS variables (<style id="dv-theme">) and body classes.
   Tokens: --c-* colours (contrast-checked server side) · --f-head/--f-body fonts · --fs base size · --ratio type scale ·
   --hw heading weight · --r radius · --u density · --sh/--sh2 shadows · --bw border width · --dur/--ease motion. */

:root{--c-bg:#f6f5fa;--c-surface:#fff;--c-ink:#1c1830;--c-muted:#5f5a73;--c-line:#e7e5ef;--c-line2:#d6d2e3;--c-accent:#6d45bd;--c-on-accent:#fff;--c-accent-text:#6d45bd;--c-accent-ui:#6d45bd;--c-accent2:#e8603c;--c-accent2-text:#c2401f;--c-on-accent2:#fff;--c-soft:#f3effb;--c-soft2:#e9e1f8;--c-ok:#15803d;--c-okbg:#ecfdf3;--c-bad:#b42318;--c-badbg:#fef3f2;--c-warn:#a15c07;--c-warnbg:#fffaeb;--c-scrim:rgb(20 10 30/.45);
  --f-head:Heebo,'Segoe UI',Arial,sans-serif;--f-body:Heebo,'Segoe UI',Arial,sans-serif;--fs:16px;--ratio:1.25;--hw:800;--track:-.01em;--r:16px;--r-sm:10px;--r-lg:22px;--r-btn:12px;--u:1;
  --sh:0 1px 2px rgb(0 0 0/.05),0 6px 24px rgb(0 0 0/.06);--sh2:0 2px 6px rgb(0 0 0/.06),0 16px 40px rgb(0 0 0/.1);--bw:1px;--dur:320ms;--ease:cubic-bezier(.2,.7,.2,1);
  --cols:3;--ratio-img:16/9;--read:72ch;--txt:1;--tb:58px;--hero-overlay:rgb(12 8 20/.45);--hero-bg:none;--hero-img:none;
  --gap:calc(16px*var(--u));--pad:calc(20px*var(--u));--sec:calc(56px*var(--u));
  --h1:calc(var(--fs)*var(--ratio)*var(--ratio)*var(--ratio)*var(--ratio)*var(--ratio));--h2:calc(var(--fs)*var(--ratio)*var(--ratio)*var(--ratio));--h3:calc(var(--fs)*var(--ratio))}
html[data-width=narrow]{--read:60ch}html[data-width=wide]{--read:92ch}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.smooth{scroll-behavior:smooth}html:has(body.smooth){scroll-behavior:smooth}
body.dv{margin:0;font-family:var(--f-body);font-size:calc(var(--fs)*var(--txt));line-height:1.6;color:var(--c-ink);background:var(--c-bg);min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:var(--c-accent-text);text-underline-offset:3px}
h1,h2,h3{font-family:var(--f-head);line-height:1.18;margin:0 0 .5em;font-weight:var(--hw);letter-spacing:var(--track);text-wrap:balance}
p{margin:0 0 .8em;text-wrap:pretty}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--c-accent-ui);outline-offset:2px;border-radius:min(var(--r-sm),10px)}
.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic.big{width:44px;height:44px;stroke-width:1.6}
.skip{position:absolute;inset-inline-start:12px;top:-60px;background:var(--c-ink);color:var(--c-surface);padding:10px 16px;border-radius:var(--r-sm);z-index:100;text-decoration:none}
.skip:focus{top:12px}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 18px}
.wrap.narrow{max-width:520px}
.center{text-align:center}
.muted{color:var(--c-muted)}
.small{font-size:.86em}
.lead{font-size:1.15em;color:var(--c-muted)}
.grow{flex:1;min-width:0}
.row{display:flex;flex-wrap:wrap;align-items:center}
.row.center{justify-content:center}
.gap{gap:10px}
.inline{display:inline;margin:0}
.hide-sm,.hide-md{display:none}
@media(min-width:640px){.hide-sm{display:inline}}
@media(min-width:1024px){.hide-md{display:inline}}
[hidden]{display:none!important}

/* ── canvas patterns + glow ── */
body.pat-dots{background-image:radial-gradient(color-mix(in srgb,var(--c-ink) 9%,transparent) 1.1px,transparent 1.2px);background-size:22px 22px}
body.pat-grid{background-image:linear-gradient(color-mix(in srgb,var(--c-ink) 6%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--c-ink) 6%,transparent) 1px,transparent 1px);background-size:32px 32px}
body.pat-lines{background-image:repeating-linear-gradient(transparent 0 31px,color-mix(in srgb,var(--c-accent) 14%,transparent) 31px 32px)}
body.pat-grain{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
body.glow{isolation:isolate}
body.glow:before{content:"";position:fixed;inset:-20vmax -20vmax auto auto;width:60vmax;height:60vmax;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--c-accent) 22%,transparent),transparent);pointer-events:none;z-index:-1;opacity:.7}

/* ── buttons, cards, tags ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px calc(22px*var(--u));border-radius:var(--r-btn);border:var(--bw) solid transparent;background:var(--c-accent);color:var(--c-on-accent);font-weight:700;font-size:15.5px;text-decoration:none;cursor:pointer;transition:transform calc(var(--dur)*.5) var(--ease),box-shadow var(--dur) var(--ease),filter .15s,background .15s;white-space:nowrap}
.btn:hover{filter:brightness(1.06) saturate(1.05);transform:translateY(-1px)}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent;color:var(--c-accent-text);border:max(1px,var(--bw)) solid color-mix(in srgb,var(--c-accent-text) 45%,transparent)}
.btn.ghost:hover{background:var(--c-soft);filter:none}
.btn.sm{min-height:40px;padding:7px 15px;font-size:14px}
.btn.full{width:100%}
.btn .ic{width:18px;height:18px}
.btn[disabled]{opacity:.6;cursor:default;transform:none}
.sh-pop .btn:not(.ghost),.sh-pop .cc,.sh-pop .card{border:var(--bw) solid var(--c-ink)}
.sh-pop .btn:not(.ghost){box-shadow:3px 3px 0 var(--c-ink)}
.sh-pop .btn:not(.ghost):hover{box-shadow:5px 5px 0 var(--c-ink);transform:translate(-2px,-2px)}
.iconbtn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:var(--bw) solid var(--c-line);background:var(--c-surface);color:var(--c-ink);cursor:pointer}
.iconbtn:hover{border-color:var(--c-accent-ui);color:var(--c-accent-text)}
.linkbtn{border:0;background:none;padding:6px 4px;min-height:36px;color:var(--c-accent-text);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.card{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh)}
.tag{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:var(--r-xs);background:var(--c-soft);color:var(--c-muted);border:1px solid var(--c-line);white-space:nowrap}
.tag .ic{width:14px;height:14px}
.tag.ok{background:var(--c-okbg);color:var(--c-ok);border-color:color-mix(in srgb,var(--c-ok) 25%,transparent)}
.tag.bad{background:var(--c-badbg);color:var(--c-bad);border-color:color-mix(in srgb,var(--c-bad) 25%,transparent)}
.tag.gold{background:var(--c-surface);color:var(--c-ink);border-color:var(--c-line2)}
.alert{border-radius:var(--r-sm);padding:11px 14px;margin:0 0 14px;font-size:14.5px;border:1px solid}
.alert.err{background:var(--c-badbg);color:var(--c-bad);border-color:color-mix(in srgb,var(--c-bad) 25%,transparent)}
.alert.ok{background:var(--c-okbg);color:var(--c-ok);border-color:color-mix(in srgb,var(--c-ok) 25%,transparent)}
.alert.warn{background:var(--c-warnbg);color:var(--c-warn);border-color:color-mix(in srgb,var(--c-warn) 25%,transparent)}
.bar{display:block;height:8px;border-radius:var(--r-xs);background:var(--c-soft2);overflow:hidden}
.bar i{display:block;height:100%;background:var(--c-accent-ui);border-radius:var(--r-xs);transition:width .6s var(--ease)}
.spin{width:28px;height:28px;border-radius:50%;border:3px solid var(--c-soft2);border-top-color:var(--c-accent-ui);animation:sp .8s linear infinite;display:inline-block}
@keyframes sp{to{transform:rotate(360deg)}}
.avatar{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--c-accent);color:var(--c-on-accent);font-weight:800;font-size:14px;flex:none}
.avatar.big{width:64px;height:64px;font-size:26px;margin:0 auto 12px}

/* progress ring */
.ring{position:relative;display:inline-grid;place-items:center;width:var(--sz);height:var(--sz);flex:none}
.ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
[dir=rtl] .ring svg{transform:rotate(-90deg) scaleY(-1)}
.ring circle{fill:none}
.ring .ring-bg{stroke:var(--c-soft2)}
.ring .ring-fg{stroke:var(--c-accent-ui);stroke-linecap:round;transition:stroke-dashoffset 1s var(--ease)}
.ring b{font-size:calc(var(--sz)*.26);font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:var(--c-ink)}
.ring b small{font-size:.6em;font-weight:700;opacity:.75}
.ring.on-bar .ring-bg{stroke:color-mix(in srgb,currentColor 25%,transparent)}.ring.on-bar .ring-fg{stroke:currentColor}.ring.on-bar b{color:inherit;font-size:10px}

/* reading progress + back to top */
.rprog{position:fixed;top:0;inset-inline:0;height:3px;z-index:70;pointer-events:none;display:none}
.rprog i{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--c-accent-ui),var(--c-accent2));transform:scaleX(0);transform-origin:var(--rp-origin,right);transition:transform .1s linear}
[dir=ltr] .rprog i{--rp-origin:left}
.rprog.on{display:block}
.totop{position:fixed;inset-inline-end:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:48px;height:48px;border-radius:50%;border:var(--bw) solid var(--c-line);background:var(--c-surface);color:var(--c-ink);box-shadow:var(--sh2);display:grid;place-items:center;cursor:pointer;z-index:55;transition:opacity var(--dur),transform var(--dur) var(--ease)}
.totop.away{opacity:0;transform:translateY(20px);pointer-events:none}
body:has(.stickycta:not([hidden])) .totop{bottom:calc(84px + env(safe-area-inset-bottom))}

/* ── site header ── */
.sh{background:var(--c-surface);border-bottom:1px solid var(--c-line);z-index:40;position:relative;transition:background var(--dur),box-shadow var(--dur),color var(--dur)}
.hdr-sticky .sh{position:sticky;top:0}
.sh.scrolled{box-shadow:0 4px 18px rgb(0 0 0/.07)}
.sh-in{display:flex;align-items:center;gap:12px;min-height:66px}
.brand{display:flex;align-items:center;text-decoration:none;color:inherit;min-width:0}
.brand .logo{max-height:44px;max-width:170px;object-fit:contain}
.brandname{font-family:var(--f-head);font-weight:var(--hw);font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:var(--track)}
.sh-nav{margin-inline-start:auto;display:flex;align-items:center;gap:2px}
.hbtn{display:inline-flex;align-items:center;gap:7px;min-height:44px;min-width:44px;justify-content:center;padding:8px 12px;border-radius:var(--r-btn);border:0;background:none;color:inherit;font-weight:600;font-size:15px;text-decoration:none;cursor:pointer}
.hbtn:hover,.hbtn.on{background:color-mix(in srgb,currentColor 9%,transparent)}
.hbtn.solid{background:var(--c-accent);color:var(--c-on-accent);margin-inline-start:4px}
.hbtn.solid:hover{filter:brightness(1.06);background:var(--c-accent)}
.hdr-minimal .sh{background:transparent;border-color:transparent}
.hdr-minimal .sh.scrolled{background:color-mix(in srgb,var(--c-bg) 88%,transparent);backdrop-filter:blur(10px)}
.hdr-accent .sh{background:var(--c-accent);color:var(--c-on-accent);border-color:transparent}
.hdr-accent .sh .hbtn.solid{background:var(--c-on-accent);color:var(--c-accent)}
.hdr-centered .sh-in{flex-wrap:wrap;justify-content:center;padding-block:10px}
@media(min-width:760px){.hdr-centered .sh-in{display:grid;grid-template-columns:1fr auto 1fr}.hdr-centered .brand{grid-column:2;justify-self:center}.hdr-centered .sh-nav{grid-column:3}.hdr-centered .brandname{font-size:24px}}
/* transparent header floats over a cover hero */
.hdr-transparent .sh.over{background:transparent;border-color:transparent;color:var(--hero-ink,var(--c-ink))}
.hdr-transparent .sh.over:not(.scrolled){margin-bottom:calc(-1*66px)}
.hdr-transparent .sh.over.scrolled{background:color-mix(in srgb,var(--c-surface) 92%,transparent);backdrop-filter:blur(12px);color:var(--c-ink)}
.hdr-transparent.hero-split .sh.over:not(.scrolled),.hdr-transparent.hero-minimal .sh.over:not(.scrolled),.hdr-transparent.hero-centered:not(.hbg-image):not(.hbg-video):not(.hbg-gradient):not(.hbg-solid) .sh.over:not(.scrolled){color:var(--c-ink)}

/* ── auth & message pages ── */
.authpage main,.msgpage main,.docpage main{padding-top:28px;padding-bottom:44px;flex:1}
.auth-wrap{width:100%;max-width:1080px;margin:0 auto;padding:28px 16px 44px;display:grid;gap:22px;align-items:stretch;flex:1}
.auth{padding:30px 24px;max-width:480px;width:100%;margin:0 auto;align-self:center}
.auth.solo{text-align:center}
.auth h1{font-size:clamp(24px,4vw,calc(var(--h3)*1.35))}
.auth-logo{max-height:52px;margin:0 0 16px}
.auth-art{display:none;position:relative;border-radius:var(--r-lg);overflow:hidden;min-height:460px;background:linear-gradient(150deg,var(--c-accent),var(--c-accent2));color:#fff}
.auth-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.auth-art:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgb(10 6 20/.78),rgb(10 6 20/.05) 60%)}
.auth-art-in{position:absolute;inset-inline:0;bottom:0;padding:30px;z-index:1;display:grid;gap:6px}
.auth-art-in b{font-family:var(--f-head);font-size:28px;line-height:1.15;font-weight:var(--hw)}
.auth-art-in span{opacity:.9}
.auth-art-in ul{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:7px;font-size:15px}
.auth-art-in li{display:flex;gap:8px;align-items:flex-start}.auth-art-in li .ic{width:18px;height:18px;margin-top:3px;color:#fff}
@media(min-width:900px){.auth-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);padding-top:44px}.auth{margin:0}.auth-art{display:block}}
.form{display:grid;gap:14px;margin-top:6px}
.fld{display:grid;gap:6px;font-weight:600;font-size:14.5px}
.fld input,.fld select,.fld textarea,.search input{width:100%;min-height:50px;padding:11px 14px;border:1px solid var(--c-line2);border-radius:min(var(--r-btn),14px);background:var(--c-surface);font-size:16px;font-weight:400;color:var(--c-ink);transition:border-color .15s,box-shadow .15s}
.fld input:focus,.search input:focus{border-color:var(--c-accent-ui);outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--c-accent-ui) 18%,transparent)}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:1.5}
.chk input{width:20px;height:20px;margin-top:2px;accent-color:var(--c-accent-ui);flex:none}
.auth p.small{margin-top:16px}
.or{display:flex;align-items:center;gap:10px;color:var(--c-muted);font-size:13px;margin:16px 0}
.or:before,.or:after{content:"";flex:1;height:1px;background:var(--c-line)}
.price{display:flex;align-items:baseline;gap:8px;margin:4px 0 16px}
.price b{font-family:var(--f-head);font-size:calc(var(--h3)*1.45);font-weight:var(--hw);letter-spacing:var(--track)}
.price span{color:var(--c-muted);font-size:13px}
.msg{padding:38px 24px}
.msg h1{font-size:24px}
.msg-ic{width:68px;height:68px;border-radius:var(--r-lg);display:grid;place-items:center;margin:0 auto 16px;background:var(--c-soft);color:var(--c-accent-text)}
.msg-ic.ok{background:var(--c-okbg);color:var(--c-ok)}
.msg-ic .ic{width:32px;height:32px}
.msg-ic.pop{animation:pop .6s var(--ease) both}
@keyframes pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.12);opacity:1}100%{transform:scale(1)}}
.thanks-img{width:112px;height:112px;object-fit:cover;border-radius:var(--r-lg);margin:0 auto -30px;box-shadow:var(--sh2)}
.thankspage .msg-ic.ok{position:relative;border:4px solid var(--c-surface)}
.doc{padding:28px 24px;margin-bottom:16px}
.doc h1{font-size:28px}
.doc h2{font-size:19px;margin-top:1.2em}
.doc ul{padding-inline-start:20px}
.foot{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:24px 16px calc(24px + env(safe-area-inset-bottom));color:var(--c-muted);font-size:13px;margin-top:auto}
.foot a{color:var(--c-muted);display:inline-flex;align-items:center;gap:5px;min-height:32px}
.foot .ic{width:16px;height:16px}

/* ── hero (school home + sales page) ── */
.hero{position:relative;isolation:isolate;background:var(--hero-bg);overflow:hidden}
/* the theme's own hero: a quiet mesh of the two brand colours over the canvas */
body:not(.hbg-solid):not(.hbg-gradient) .hero{background:radial-gradient(55% 90% at 88% -10%,color-mix(in srgb,var(--c-accent) 16%,transparent),transparent 70%),radial-gradient(45% 80% at 4% 110%,color-mix(in srgb,var(--c-accent2) 13%,transparent),transparent 70%),linear-gradient(180deg,var(--c-soft),var(--c-bg))}
.hero-in{display:grid;gap:calc(26px*var(--u));align-items:center;padding-block:calc(40px*var(--u)) calc(36px*var(--u));position:relative;z-index:1}
.hh-tall .hero-in{padding-block:calc(70px*var(--u)) calc(64px*var(--u))}
.hh-screen .hero-in{min-height:min(88svh,880px);padding-block:calc(90px*var(--u)) 60px}
.hero h1{font-size:clamp(30px,7vw,var(--h1));margin:.12em 0 .25em;max-width:18ch}
.hero .kick{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--c-accent-text);letter-spacing:.02em}
.hero .kick:before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%;flex:none}
.hero .lead{max-width:60ch;font-size:clamp(16px,2.2vw,19px)}
.hero-desc{max-width:62ch;color:var(--c-muted)}
.hero-cta{margin-top:18px}
.hero-art img{width:100%;aspect-ratio:var(--ratio-img);object-fit:cover;border-radius:var(--r-lg);box-shadow:var(--sh2)}
/* phones: the picture is a wide strip so the courses start within the first screen and a half */
@media(max-width:640px){.hero-art img{aspect-ratio:2/1;max-height:200px}.hh-tall .hero-in{padding-block:36px 30px}.hh-screen .hero-in{min-height:78svh}}
.hbg-solid .hero,.hbg-gradient .hero,.hbg-image .hero,.hbg-video .hero{color:var(--hero-ink,#fff)}
.hbg-solid .hero .kick,.hbg-gradient .hero .kick,.hbg-image .hero .kick,.hbg-video .hero .kick,.hbg-solid .hero .lead,.hbg-gradient .hero .lead,.hbg-image .hero .lead,.hbg-video .hero .lead,.hbg-image .hero .hero-desc,.hbg-video .hero .hero-desc,.hbg-gradient .hero .hero-desc,.hbg-solid .hero .hero-desc{color:inherit}
.hbg-solid .hero .btn.ghost,.hbg-gradient .hero .btn.ghost,.hbg-image .hero .btn.ghost,.hbg-video .hero .btn.ghost{color:inherit;border-color:color-mix(in srgb,currentColor 55%,transparent)}
.hbg-solid .hero .btn.ghost:hover,.hbg-gradient .hero .btn.ghost:hover,.hbg-image .hero .btn.ghost:hover,.hbg-video .hero .btn.ghost:hover{background:rgb(255 255 255/.12)}
.hero-bgimg,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-scrim{position:absolute;inset:0;background:var(--hero-overlay);z-index:-1}
/* split */
@media(min-width:880px){.hero-split .hero-in{grid-template-columns:1.05fr 1fr}.hero-split .lhero .hero-in{grid-template-columns:1.1fr .9fr}}
/* centered */
.hero-centered .hero-in,.hero-cover .hero-in{text-align:center;justify-items:center}
.hero-centered .hero h1,.hero-cover .hero h1{margin-inline:auto}
.hero-centered .hero-cta,.hero-cover .hero-cta,.hero-centered .facts,.hero-cover .facts,.hero-centered .price,.hero-cover .price{justify-content:center}
.hero-centered .kick:before,.hero-cover .kick:before{display:none}
.hero-centered .hero-art,.hero-cover .hero-art{display:none}
.hero-cover .hero-in{min-height:min(62svh,620px);align-content:center}
.hero-cover.hh-compact .hero-in{min-height:min(40svh,380px)}
/* minimal: big type, no ornament, art below */
.hero-minimal .hero{background:none!important}
.hero-minimal .hero h1{font-size:clamp(34px,8vw,calc(var(--h1)*1.12));max-width:20ch}
.hero-minimal .hero-art{order:2}
.hero-minimal .hero-art img{max-height:min(420px,46vh);aspect-ratio:auto;height:min(420px,46vh)}
@media(max-width:640px){.hero-minimal .hero-art img{height:200px;max-height:200px}}
.hero-minimal .hero-in{border-bottom:1px solid var(--c-line)}
/* stacked: giant type + accent block */
.hero-stacked .hero{background:var(--c-accent)!important;color:var(--c-on-accent)}
.hero-stacked .hero .kick,.hero-stacked .hero .lead,.hero-stacked .hero .hero-desc{color:inherit}
.hero-stacked .hero h1{font-size:clamp(40px,9vw,calc(var(--h1)*1.3));max-width:16ch;line-height:1.02}
.hero-stacked .hero .btn:not(.ghost){background:var(--c-ink);color:var(--c-surface)}
.hero-stacked .hero .btn.ghost{color:inherit;border-color:currentColor}
.hero-stacked .hero-art img{border-radius:var(--r)}
@media(min-width:880px){.hero-stacked .hero-in{grid-template-columns:1.4fr 1fr}}
.facts{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:6px 0 14px;padding:0}
.facts li{display:flex;align-items:center;gap:6px;font-size:14.5px}
.facts li .ic{width:18px;height:18px;opacity:.75}
.facts b{font-weight:800;font-variant-numeric:tabular-nums}
.facts span{color:inherit}

/* ── student area strip ── */
.me{display:grid;gap:var(--gap);margin-top:calc(26px*var(--u));position:relative;z-index:2}
@media(min-width:900px){.me{grid-template-columns:1.25fr 1fr}}
.me-cont{display:flex;align-items:center;gap:14px;padding:14px;text-decoration:none;color:inherit;transition:transform var(--dur) var(--ease),box-shadow var(--dur)}
.me-cont:hover{transform:translateY(-2px);box-shadow:var(--sh2)}
.me-img{width:84px;height:64px;border-radius:var(--r-sm);object-fit:cover;flex:none;background:var(--c-soft);display:grid;place-items:center;color:var(--c-accent-text)}
.me-txt{display:grid;gap:2px;flex:1;min-width:0}
.me-txt small{color:var(--c-accent-text);font-weight:700;font-size:12.5px}
.me-txt b{font-family:var(--f-head);font-size:18px;line-height:1.25}
@media(max-width:560px){.me-cont{flex-wrap:wrap}.me-cont .btn{width:100%}}
.me-stats{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;padding:14px 16px}
.streak{display:flex;align-items:center;gap:10px}
.streak>.ic{width:30px;height:30px;color:var(--c-muted)}
.streak.hot>.ic{color:var(--c-accent2-text);animation:flick 2.4s ease-in-out infinite}
@keyframes flick{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.08) rotate(-3deg)}}
.streak span{display:grid;line-height:1.25}
.week{display:flex;gap:4px;margin-inline-start:6px}
.week i{width:9px;height:22px;border-radius:var(--r-xs);background:var(--c-soft2)}
.week i.on{background:var(--c-accent2)}
.done-n{display:flex;align-items:center;gap:8px}.done-n .ic{color:var(--c-ok)}
.badges{display:flex;gap:6px;flex-wrap:wrap;flex-basis:100%}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:var(--r-sm);border:1px dashed var(--c-line2);color:var(--c-muted)}
.badge:not(.on) .ic{opacity:.6}
.badge .ic{width:15px;height:15px}
.badge.on{border-style:solid;border-color:color-mix(in srgb,var(--c-accent2) 40%,transparent);background:color-mix(in srgb,var(--c-accent2) 10%,var(--c-surface));color:var(--c-ink)}
.badge.on .ic{color:var(--c-accent2-text)}

/* ── catalog ── */
main{position:relative}
.school main{padding-bottom:40px;flex:1}
.center-line{margin:calc(30px*var(--u)) auto 0;max-width:860px;text-align:center;font-family:var(--f-head);font-size:clamp(19px,2.6vw,24px);font-weight:var(--hw);line-height:1.35}
.sect{margin-top:calc(40px*var(--u));position:relative}
.sect-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}
.sect-h{font-size:clamp(22px,3.4vw,var(--h2));margin:0}
.tools{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
@media(min-width:760px){.tools{flex-direction:row;align-items:center;justify-content:space-between}}
.search{position:relative;display:flex;align-items:center}
.search .ic{position:absolute;inset-inline-start:14px;color:var(--c-muted);width:18px;height:18px;pointer-events:none}
.search input{min-width:240px;padding-inline-start:42px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.chip{min-height:40px;padding:6px 16px;border-radius:var(--r-btn);border:1px solid var(--c-line2);background:var(--c-surface);font-weight:600;font-size:14px;white-space:nowrap;cursor:pointer;color:var(--c-ink)}
.chip.on{background:var(--c-ink);color:var(--c-surface);border-color:var(--c-ink)}
.cat{display:grid;gap:calc(18px*var(--u));grid-template-columns:1fr}
@media(min-width:620px){.cat{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.cat{grid-template-columns:repeat(var(--cols),minmax(0,1fr))}}
.cc{position:relative;background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.cc:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
.sh-pop .cc:hover{box-shadow:7px 7px 0 var(--c-ink);transform:translate(-2px,-3px)}
.cc:focus-within{box-shadow:0 0 0 3px var(--c-accent-ui),var(--sh2)}
.cc-img{position:relative;aspect-ratio:var(--ratio-img);background:var(--c-soft);overflow:hidden}
.cc-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.cc:hover .cc-img img{transform:scale(1.04)}
.cc-img .ph{display:grid;place-items:center;height:100%;color:color-mix(in srgb,var(--c-accent-text) 55%,transparent)}
.cc-img .ph .ic{width:42px;height:42px}
.cc-tag{position:absolute;top:10px;inset-inline-start:10px}
.cc-tag .tag{background:var(--c-surface);box-shadow:0 2px 8px rgb(0 0 0/.12)}
.cc-body{padding:calc(16px*var(--u)) calc(18px*var(--u)) calc(18px*var(--u));display:flex;flex-direction:column;gap:8px;flex:1}
.cc-body h3{font-size:clamp(17px,2vw,calc(var(--h3)*1.05));margin:0}
.cc-body h3 a{color:var(--c-ink);text-decoration:none}
.cc-body h3 a:after{content:"";position:absolute;inset:0;z-index:1}
.cc-body h3 a:focus-visible{outline:0}
.cc-desc{color:var(--c-muted);font-size:14.5px;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cc-meta{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--c-muted);flex-wrap:wrap}
.cc-meta .lect{width:28px;height:28px;border-radius:50%;object-fit:cover}
.cc-meta .sep:before{content:"·";margin-inline-end:8px}
.cat-nometa .cc-meta{display:none}
.cc-prog{display:flex;align-items:center;gap:10px}
.cc-go{margin-top:auto;display:inline-flex;align-items:center;gap:4px;font-weight:700;color:var(--c-accent-text);font-size:15px;padding-top:6px}
.cc-go .ic{width:18px;height:18px;transition:transform var(--dur) var(--ease)}
.cc:hover .cc-go .ic{transform:translateX(-4px)}
[dir=ltr] .cc:hover .cc-go .ic{transform:translateX(4px)}
/* list */
.cat-list .cat{grid-template-columns:1fr!important}
@media(min-width:640px){.cat-list .cc{flex-direction:row}.cat-list .cc-img{flex:0 0 min(40%,360px);aspect-ratio:auto;min-height:190px}.cat-list .cc-body{padding:22px 24px}}
/* compact */
.cat-compact .cat{gap:10px}
@media(min-width:1000px){.cat-compact .cat{grid-template-columns:repeat(calc(var(--cols)),minmax(0,1fr))}}
.cat-compact .cc{flex-direction:row;align-items:center;box-shadow:none}
.cat-compact .cc-img{flex:0 0 88px;height:88px;aspect-ratio:1;border-radius:var(--r-sm);margin:10px;margin-inline-end:0}
.cat-compact .cc-desc,.cat-compact .cc-tag{display:none}
.cat-compact .cc-body{padding:12px 14px;gap:4px}
.cat-compact .cc-go{padding-top:0;font-size:14px}
/* featured: the first card spans and lies down */
@media(min-width:1000px){.cat-featured .cc.big{grid-column:1/-1;flex-direction:row}.cat-featured .cc.big .cc-img{flex:0 0 56%;aspect-ratio:auto;min-height:340px}.cat-featured .cc.big .cc-body{padding:34px 36px;justify-content:center}.cat-featured .cc.big h3{font-size:calc(var(--h2)*1.05)}.cat-featured .cc.big .cc-desc{-webkit-line-clamp:5;font-size:16px}}
/* carousel */
.car-nav{display:none;position:absolute;top:0;inset-inline-end:0;gap:8px}
.cat-carousel .car-nav{display:flex}
.cat-carousel .sect-head{padding-inline-end:110px}
.cat-carousel .cat{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(82%,1fr);grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:18px;padding-block:6px 20px;margin-inline:-18px;padding-inline:18px;scrollbar-width:thin;overscroll-behavior-x:contain}
.cat-carousel .cc{scroll-snap-align:start}
@media(min-width:620px){.cat-carousel .cat{grid-auto-columns:calc((100% - 18px)/2)}}
@media(min-width:1000px){.cat-carousel .cat{grid-auto-columns:calc((100% - 36px*var(--u))/var(--cols))}}
.cat-carousel .tools{margin-inline-end:110px}
.areas{display:grid;gap:var(--gap);margin-top:calc(34px*var(--u))}
@media(min-width:860px){.areas{grid-template-columns:repeat(2,1fr)}}
.area{padding:calc(24px*var(--u))}
.area h2{font-size:var(--h3)}

/* ── sales page ── */
.sales{flex:1}
.sx{padding-block:calc(var(--sec)*.7)}
.sx:nth-child(even){background:color-mix(in srgb,var(--c-surface) 65%,var(--c-bg))}
.sx h2{font-size:clamp(24px,4vw,var(--h2))}
.sx .wrap{max-width:1000px}
.prose{max-width:var(--read);font-size:1.04em;line-height:1.75}
.outcomes{list-style:none;padding:0;margin:0;display:grid;gap:12px}
@media(min-width:720px){.outcomes{grid-template-columns:repeat(2,1fr)}}
.outcomes li{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh);font-weight:600}
.outcomes .ic{width:24px;height:24px;padding:3px;border-radius:50%;background:var(--c-accent);color:var(--c-on-accent);stroke-width:3;flex:none}
.sx-curriculum .toc.static{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh);padding:8px}
.lect-card{display:grid;gap:22px;align-items:start}
@media(min-width:720px){.lect-card{grid-template-columns:200px 1fr}}
.lect-big{width:200px;max-width:60vw;aspect-ratio:1;border-radius:var(--r-lg);object-fit:cover;box-shadow:var(--sh2)}
.lect-name{font-weight:700;color:var(--c-accent-text);margin-top:-.3em}
.quotes{display:grid;gap:16px}
@media(min-width:720px){.quotes{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}
.quote{margin:0;padding:22px;background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh);display:flex;flex-direction:column;gap:14px;position:relative}
.quote .qmark{width:30px;height:30px;color:var(--c-accent2-text);opacity:.6}
.quote blockquote{margin:0;font-size:1.05em;line-height:1.7;flex:1}
.quote figcaption{display:flex;align-items:center;gap:10px}
.quote figcaption img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.quote figcaption span{display:grid;line-height:1.3}.quote figcaption small{color:var(--c-muted)}
.faq{display:grid;gap:10px;max-width:820px}
.faq details{background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r-sm)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;font-weight:700;cursor:pointer;min-height:56px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .chev{transition:transform var(--dur) var(--ease)}
.faq details[open] summary .chev{transform:rotate(45deg)}
.faq .prose{padding:0 18px 16px}
.cta-band{display:grid;gap:16px;align-items:center;padding:calc(30px*var(--u));border-radius:var(--r-lg);background:linear-gradient(135deg,var(--c-accent),color-mix(in srgb,var(--c-accent) 60%,var(--c-accent2)));color:var(--c-on-accent);box-shadow:var(--sh2)}
.cta-band h2{margin:0;color:inherit}.cta-band p{margin:0}
.cta-band .price span{color:inherit}
.cta-band .btn:not(.ghost){background:var(--c-on-accent);color:var(--c-accent)}
.cta-band .btn.ghost{color:inherit;border-color:currentColor}
@media(min-width:860px){.cta-band{grid-template-columns:1fr auto auto}.cta-band .price{margin:0}}
.stickycta{position:fixed;inset-inline:0;bottom:0;z-index:50;background:color-mix(in srgb,var(--c-surface) 94%,transparent);backdrop-filter:blur(12px);border-top:1px solid var(--c-line);padding:10px 0 calc(10px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform var(--dur) var(--ease)}
.stickycta.on{transform:none}
.sc-in{display:flex;align-items:center;gap:12px}
.sc-t{flex:1;min-width:0;display:grid;line-height:1.3}.sc-t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sc-t small{color:var(--c-muted);font-weight:700}
/* snap sections */
html:has(body.snap.landing){scroll-snap-type:y proximity}
.snap .landing .hero,.snap.landing .hero,.snap.landing .sx{scroll-snap-align:start;scroll-margin-top:66px}
.snap.landing .sx{min-height:min(100svh,900px);display:flex;align-items:center}
.snap.landing .sx>.wrap{width:100%}

/* ── outline (curriculum) ── */
.toc-head{padding:12px 14px 6px;display:grid;gap:12px}
.toc-head .search input{min-width:0;min-height:44px;font-size:15px}
.prog{display:flex;align-items:center;gap:12px}
.toc-list{padding:4px 8px 24px}
.ch{border-radius:var(--r-sm);margin:4px 0}
.ch>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--r-sm);cursor:pointer;font-weight:700;font-size:15px;min-height:52px}
.ch>summary::-webkit-details-marker{display:none}
.ch>summary:hover{background:color-mix(in srgb,var(--c-ink) 4%,transparent)}
.ch-num{display:none;place-items:center;min-width:28px;height:28px;border-radius:var(--r-xs);background:var(--c-soft2);color:var(--c-accent-text);font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.ol-num .ch-num{display:inline-grid}
.ch.done .ch-num{background:var(--c-ok);color:var(--c-on-ok,#fff)}
.ch-t{flex:1;display:grid;line-height:1.3}
.ch-k{font-size:12px;color:var(--c-muted);font-weight:500}
.ol-nodur .ch-k{display:none}
.ch-n{font-size:12.5px;color:var(--c-muted);font-weight:600;white-space:nowrap}
.chev{width:18px;height:18px;color:var(--c-muted);transition:transform var(--dur) var(--ease)}
.ch[open]>summary .chev{transform:rotate(180deg)}
.ls{list-style:none;margin:0 0 6px;padding:0}
.ls li{display:flex;align-items:center;border-radius:var(--r-sm);position:relative}
.ls li a{flex:1;display:flex;align-items:center;gap:11px;padding:9px 10px;color:var(--c-ink);text-decoration:none;min-height:52px;border-radius:var(--r-sm);min-width:0}
.ls li a:hover{background:color-mix(in srgb,var(--c-ink) 4%,transparent)}
.ls li.cur a{background:var(--c-soft2);color:var(--c-ink);box-shadow:inset 3px 0 0 var(--c-accent-ui)}
[dir=rtl] .ls li.cur a{box-shadow:inset -3px 0 0 var(--c-accent-ui)}
.ls li.off a{color:var(--c-muted)}
.lt{position:relative;width:34px;height:34px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--c-surface);border:1px solid var(--c-line);color:var(--c-accent-text);flex:none}
.lt .ic{width:17px;height:17px}
.lt-n{display:none;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.ol-num .lt-n{display:block}.ol-num .lt .ic{display:none}
.ls li.done .lt{background:var(--c-okbg);border-color:color-mix(in srgb,var(--c-ok) 30%,transparent);color:var(--c-ok)}
.ln{display:flex;flex-direction:column;min-width:0;flex:1}
.ln-t{font-size:14.5px;font-weight:600;line-height:1.35}
.ln-k{font-size:12px;color:var(--c-muted)}
.ol-nodur .ln-k{display:none}
.lk{color:var(--c-muted);display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700}
.lk .ic{width:16px;height:16px}
.lk.eye{color:var(--c-accent-text)}
.lk-t{display:none}
.toc.static .lk-t{display:inline}
.tick{display:inline-grid;place-items:center;width:32px;height:32px;margin-inline-end:6px;border-radius:50%;border:1.6px solid var(--c-line2);background:var(--c-surface);color:transparent;cursor:pointer;flex:none;transition:background .2s,border-color .2s,transform .2s var(--ease)}
.tick .ic{width:16px;height:16px;stroke-width:2.6}
.tick:hover{border-color:var(--c-ok)}
.tick.on{background:var(--c-ok);border-color:var(--c-ok);color:var(--c-on-ok,#fff)}
.tick.on:active{transform:scale(.9)}
.tick.big{width:auto;height:auto;min-height:42px;border-radius:var(--r-btn);padding:6px 15px;gap:6px;display:inline-flex;align-items:center;color:var(--c-muted);font-weight:600;font-size:14px;margin:0}
.tick.big.on{color:var(--c-on-ok,#fff)}
.tick-why{flex-basis:100%;margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--c-muted)}
.tick-why[hidden]{display:none}
/* timeline: a line through the lessons */
.ol-timeline .ls{position:relative;margin-inline-start:26px}
.ol-timeline .ls:before{content:"";position:absolute;inset-block:12px;inset-inline-start:16px;width:2px;background:var(--c-line2)}
.ol-timeline .ls li a{padding-inline-start:0}
.ol-timeline .lt{border-radius:50%;z-index:1;width:34px;height:34px;box-shadow:0 0 0 4px var(--c-surface)}
.ol-timeline .ls li.done .lt{background:var(--c-ok);color:var(--c-on-ok,#fff)}
.ol-timeline .ls li.cur .lt{background:var(--c-accent);color:var(--c-on-accent);border-color:var(--c-accent)}
.ol-timeline .ls li.cur a{background:none;box-shadow:none}
.ol-timeline .ls li.cur .ln-t{color:var(--c-accent-text)}
/* cards: chapters as cards, lessons inside (always open) */
.ol-cards .ch{background:var(--c-surface);border:var(--bw) solid var(--c-line);box-shadow:var(--sh);border-radius:var(--r);margin:10px 0;padding:4px}
.ol-cards .ch>summary{pointer-events:none}.ol-cards .ch>summary .chev{display:none}
.ol-cards .toc .ch{margin-inline:2px}
/* sections: chapters as titled sections */
.ol-sections .ch{margin:16px 0 4px}
.ol-sections .ch>summary{pointer-events:none;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--c-muted);min-height:38px;border-bottom:1px solid var(--c-line);border-radius:0}
.ol-sections .ch>summary .chev{display:none}
.ol-sections .ch-t{font-size:15px;text-transform:none;letter-spacing:0;color:var(--c-ink)}

/* ── player ── */
body.player{background:var(--c-surface)}
.pbar{background:var(--c-accent);color:var(--c-on-accent);position:sticky;top:0;z-index:30}
.pbar-in{display:flex;align-items:center;gap:6px;min-height:var(--tb);padding:0 8px;max-width:1680px;margin:0 auto}
.pb-line{height:3px;background:color-mix(in srgb,var(--c-on-accent) 18%,transparent)}
.pb-line i{display:block;height:100%;background:var(--c-on-accent);transition:width .8s var(--ease)}
.pb-btn{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:var(--r-sm);background:transparent;color:inherit;cursor:pointer;text-decoration:none;font-weight:700}
.pb-btn:hover{background:color-mix(in srgb,currentColor 14%,transparent)}
.pb-btn[aria-pressed=true]{background:color-mix(in srgb,currentColor 20%,transparent)}
.pb-btn.txt{padding:0 12px}
.pb-home{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0}
.pb-img{width:40px;height:40px;border-radius:var(--r-xs);object-fit:cover;flex:none}
.pb-t{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.pb-t b{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--f-head)}
.pb-t small{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-prog{display:flex;align-items:center;gap:8px}
.pb-prog .bar{width:110px;background:color-mix(in srgb,var(--c-on-accent) 25%,transparent);height:7px}.pb-prog .bar i{background:var(--c-on-accent)}
.pb-prog small{font-weight:700;font-size:13px}
@media(max-width:519px){.pb-prog .bar,.pb-prog small{display:none}.pb-img{width:34px;height:34px}}
.pb-chip{font-size:12px;font-weight:700;padding:4px 10px;border-radius:var(--r-xs);background:color-mix(in srgb,currentColor 18%,transparent);white-space:nowrap}
@media(max-width:479px){.focus-btn,.pb-chip{display:none}}
.playout{display:flex;flex:1;align-items:stretch;max-width:1680px;width:100%;margin:0 auto}
.pl-end .playout{flex-direction:row-reverse}
.toc{background:var(--c-bg);border-inline-end:1px solid var(--c-line)}
.pl-end .toc{border-inline-end:0;border-inline-start:1px solid var(--c-line)}
.toc-top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 0}
.toc-top b{font-size:16px}
.lesson{flex:1;min-width:0;padding:16px 16px 30px;outline:none}
.lesson>*{max-width:1100px;margin-inline:auto}
.lesson>*:not(.done-toast){width:100%}
.lhead{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:16px}
.crumb{flex:1 1 100%;font-size:13px;font-weight:600;color:var(--c-muted)}
.crumb:empty{display:none}
.lhead h1{font-size:clamp(22px,3.6vw,calc(var(--h2)*1.05));margin:0;flex:1 1 100%}
.ltype{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--c-accent-text);background:var(--c-soft);padding:4px 11px;border-radius:var(--r-xs)}
.ltype .ic{width:15px;height:15px}
@media(min-width:720px){.lhead h1{flex:1 1 auto}}
.stage{margin-bottom:20px}
.resume{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 0;font-size:14px;color:var(--c-muted)}
.video{position:relative;aspect-ratio:16/9;background:#0b090f;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh)}
.video iframe,.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video.secure{--sv-accent:var(--c-accent);--sv-on-accent:var(--c-on-accent);--sv-radius:var(--r);--sv-font:var(--f-body)}
.video-ph{position:absolute;inset:0;display:grid;place-items:center}.video-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.6}
/* Vimeo retry (student.js): a fresh frame loads behind a spinner; after five refusals our own message + "try again" */
.vm-wait>iframe{visibility:hidden}
.vm-wait::after{content:"";position:absolute;top:50%;left:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:3px solid rgb(255 255 255/.22);border-top-color:#fff;animation:sp .8s linear infinite}
.embed.vm-wait::after{border-color:var(--c-soft2);border-top-color:var(--c-accent-ui)}
.vm-fail{position:absolute;inset:0;z-index:1;display:grid;place-content:center;justify-items:center;gap:14px;padding:16px;text-align:center;background:#0b090f;color:#fff}
.vm-fail p{margin:0;font-size:16px;font-weight:600}
.embed .vm-fail{background:var(--c-surface);color:var(--c-ink)}
.embed{position:relative;height:min(78vh,900px);min-height:420px;border:1px solid var(--c-line);border-radius:var(--r);overflow:hidden;background:#fff}
.embed-alt{margin-top:8px}.embed-alt a{display:inline-flex;align-items:center;gap:4px}.embed-alt .ic{width:14px;height:14px}
.audio{background:linear-gradient(160deg,var(--c-soft),var(--c-surface));border:1px solid var(--c-line);border-radius:var(--r-lg);padding:24px;display:grid;gap:16px;justify-items:center;max-width:580px;margin:0 auto}
.audio-cover{width:min(250px,62vw);aspect-ratio:1;border-radius:var(--r-lg);object-fit:cover;box-shadow:var(--sh2)}
.audio-cover.ph{display:grid;place-items:center;background:var(--c-soft2);color:var(--c-accent-text)}.audio-cover.ph .ic{width:60px;height:60px}
.ap{display:flex;align-items:center;gap:18px}
.ap-b{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:1px solid var(--c-line);background:var(--c-surface);cursor:pointer;color:var(--c-ink)}
.ap-b small{position:absolute;bottom:3px;font-size:10px;font-weight:700}
.ap-b.main{width:70px;height:70px;background:var(--c-accent);color:var(--c-on-accent);border:0;box-shadow:var(--sh2)}
.ap-b.main .ic{width:28px;height:28px;fill:currentColor}
.ap-row{display:flex;align-items:center;gap:10px;width:100%}
.ap-row.small{justify-content:space-between;font-size:13.5px;color:var(--c-muted)}
.ap-row label{display:flex;align-items:center;gap:6px}
.ap-seek{flex:1;accent-color:var(--c-accent-ui);height:28px}
.ap-vol{width:110px;accent-color:var(--c-accent-ui)}
.ap-rate{min-height:36px;border-radius:var(--r-xs);border:1px solid var(--c-line);background:var(--c-surface);padding:2px 6px}
.ap-t{font-variant-numeric:tabular-nums;font-size:13px;color:var(--c-muted);min-width:42px;text-align:center}
.pdf{border:1px solid var(--c-line);border-radius:var(--r);overflow:hidden;background:var(--c-soft)}
.pdf-bar{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--c-surface);border-bottom:1px solid var(--c-line);flex-wrap:wrap}
.pdf-name{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}
.pdf-pages{display:grid;gap:12px;padding:12px;max-height:82vh;overflow:auto;justify-items:center;direction:ltr;min-height:min(70vh,640px)}
.pdf-pages canvas{width:min(100%,1100px);aspect-ratio:1/1.414;max-width:100%;height:auto!important;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.12);border-radius:var(--r-xs)}
.pdf-loading{padding:60px;display:grid;place-items:center;align-self:center}
.gate{text-align:center;border:1px dashed var(--c-line2);border-radius:var(--r-lg);background:var(--c-soft);padding:48px 20px;display:grid;gap:12px;justify-items:center;color:var(--c-accent-text)}
.gate h2{color:var(--c-ink);font-size:21px;margin:0;max-width:520px}
.gate p{margin:0;max-width:520px}
.gate.soft{color:var(--c-muted)}
.rich{font-size:1.06em;line-height:1.8;overflow-wrap:anywhere}
.rich img{height:auto;border-radius:var(--r-sm);margin:12px 0}
.rich table{display:block;max-width:100%;overflow-x:auto}
.rich iframe,.rich video,.rich embed,.rich object{max-width:100%}
.rich pre{max-width:100%;overflow-x:auto}
.rich h2,.rich h3{margin-top:1.3em}
.rich blockquote{border-inline-start:4px solid var(--c-accent-ui);margin:14px 0;padding:6px 16px;color:var(--c-muted);background:var(--c-soft);border-radius:0 var(--r-sm) var(--r-sm) 0}
.rich mark{border-radius:3px;padding:0 2px}
.rich a{font-weight:600}
.lesson.t-text .stage .rich{max-width:var(--read)}
.ldesc{background:var(--c-soft);border:1px solid var(--c-line);border-radius:var(--r);padding:18px 20px;margin-bottom:20px;font-size:.98em}
.ldesc p:last-child{margin-bottom:0}
.attach{margin-bottom:20px}
.attach h2{display:flex;align-items:center;gap:8px;font-size:17px}
.attach ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
@media(min-width:720px){.attach ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
.attach a{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid var(--c-line);border-radius:var(--r-sm);text-decoration:none;color:var(--c-ink);background:var(--c-surface);min-height:58px;transition:border-color .15s,transform .2s var(--ease)}
.attach a:hover{border-color:var(--c-accent-ui);transform:translateY(-1px)}
.attach .fi{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-xs);background:var(--c-soft2);color:var(--c-accent-text);font-size:11px;font-weight:800;flex:none}
.attach .fn{flex:1;min-width:0;font-weight:600;font-size:14.5px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.attach small{color:var(--c-muted);font-size:12px;white-space:nowrap}
.attach a>.ic{color:var(--c-muted)}
.upnext{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:16px;text-decoration:none;color:inherit;box-shadow:none;border:1px solid var(--c-line);transition:border-color .15s,transform .2s var(--ease)}
.upnext:hover{border-color:var(--c-accent-ui);transform:translateY(-1px)}
.upnext .ln small{color:var(--c-accent-text);font-weight:700;font-size:12px}
.upnext .ln b{font-size:16px}
.upnext>.ic{color:var(--c-accent-text)}
.upnext .lt .ic{display:block!important}
.lnav{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--c-line);padding-top:16px;margin-top:6px}
.lnav .btn{flex:1;max-width:260px}
.nav-only-float .lnav{display:none}
.fnav{display:none}
@media(min-width:980px){.nav-float .fnav{display:block}.fnav-b{position:fixed;top:50%;z-index:25;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--c-surface);border:1px solid var(--c-line);color:var(--c-ink);box-shadow:var(--sh2);opacity:.75;transition:opacity .2s,transform .2s var(--ease)}.fnav-b:hover{opacity:1;transform:scale(1.06)}.fnav-b.prev{inset-inline-start:max(12px,calc(50% - 860px))}.fnav-b.next{inset-inline-end:max(12px,calc(50% - 860px))}.pl-side.pl-start .fnav-b.prev,.pl-theatre.pl-start .fnav-b.prev{inset-inline-start:max(354px,calc(50% - 486px))}.pl-side.pl-end .fnav-b.next,.pl-theatre.pl-end .fnav-b.next{inset-inline-end:max(354px,calc(50% - 486px))}}
.banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:var(--r);background:var(--c-soft);margin-bottom:14px;font-weight:600}
.banner span{flex:1}
.banner.good{background:var(--c-okbg);color:var(--c-ok)}
.done-toast{position:fixed;inset-inline:16px;bottom:calc(16px + env(safe-area-inset-bottom));margin:0 auto;max-width:440px;background:var(--c-ink);color:var(--c-surface);border-radius:var(--r);padding:13px 16px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:60;display:flex;align-items:center;gap:10px;animation:rise .35s var(--ease) both}
.done-toast a{color:inherit;margin-inline-start:auto;font-weight:700}
@keyframes rise{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}

/* reading mode (long text lessons) */
.reading .lesson>*{max-width:var(--read)}
.reading .lesson .rich{font-size:1.12em;line-height:1.9}
.reading .lhead h1{font-size:clamp(26px,4.4vw,var(--h1))}

/* quiz */
.quiz{display:grid;gap:16px;max-width:840px}
.quiz-head h2{font-size:22px;margin-bottom:4px}
.quiz-prog{height:6px;border-radius:var(--r-xs);background:var(--c-soft2);overflow:hidden;position:sticky;top:calc(var(--tb) + 8px);z-index:5}
.quiz-prog i{display:block;height:100%;width:0;background:var(--c-accent-ui);transition:width .4s var(--ease)}
.quiz-last{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 14px;border-radius:var(--r-sm);background:var(--c-soft);border:1px solid var(--c-line)}
.qq{border:1px solid var(--c-line);border-radius:var(--r);padding:16px;margin:0;background:var(--c-surface);box-shadow:var(--sh)}
.qq legend{display:flex;gap:10px;align-items:flex-start;font-weight:700;font-size:1.03em;padding:0;margin-bottom:12px;float:inline-start;width:100%}
.qq legend+*{clear:both}
.qn{display:grid;place-items:center;min-width:36px;height:30px;padding:0 6px;border-radius:var(--r-xs);background:var(--c-soft2);color:var(--c-accent-text);font-size:14px;flex:none;font-variant-numeric:tabular-nums}
.qn small{font-size:10px}
.qa{display:grid;gap:8px;clear:both}
.ans{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid var(--c-line);border-radius:var(--r-sm);cursor:pointer;min-height:52px;background:var(--c-surface);transition:border-color .15s,background .15s}
.ans:hover{border-color:var(--c-line2)}
.ans input{width:20px;height:20px;accent-color:var(--c-accent-ui);flex:none}
.ans-t{flex:1}
.ans:has(input:checked){border-color:var(--c-accent-ui);background:var(--c-soft)}
.qa .ans.right{border-color:var(--c-ok);background:var(--c-okbg)}
.qa .ans.wrong{border-color:var(--c-bad);background:var(--c-badbg)}
.qa .ans.mark{border-color:var(--c-ok);border-style:dashed;background:var(--c-surface)}
.qa .ans input:disabled{opacity:.75}
.qa .ans.right .ans-t:after{content:" ✓";color:var(--c-ok);font-weight:800}
.qa .ans.wrong .ans-t:after{content:" ✕";color:var(--c-bad);font-weight:800}
.ans-x{flex-basis:100%;font-size:13.5px;color:var(--c-muted)}
.qm{margin:6px 0 10px;max-height:320px;border-radius:var(--r-sm)}
.quiz-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.quiz-msg{margin:0;color:var(--c-bad);font-weight:600}
.quiz-result{padding:20px;border-radius:var(--r);border:1px solid var(--c-line);background:var(--c-soft);display:grid;gap:8px;justify-items:start}
.quiz-result b{font-size:24px}

/* phones: the curriculum is an off-canvas drawer */
.scrim{position:fixed;inset:0;background:var(--c-scrim);z-index:39}
@media(max-width:979px){
  .toc:not(.static){position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(92vw,390px);z-index:40;transform:translateX(var(--off,105%));transition:transform .26s var(--ease);overflow-y:auto;box-shadow:0 0 40px rgba(0,0,0,.25);padding-bottom:env(safe-area-inset-bottom);background:var(--c-surface)}
  [dir=rtl] .toc:not(.static){--off:105%}
  [dir=ltr] .toc:not(.static){--off:-105%}
  .toc.open{transform:none}
}
@media(min-width:980px){
  .pb-btn.menu,.toc-top{display:none}
  .toc:not(.static){width:340px;flex:none;position:sticky;overscroll-behavior:contain;top:calc(var(--tb) + 3px);height:calc(100vh - var(--tb) - 3px);overflow-y:auto}
  .lesson{padding:28px 36px 44px}
  .scrim{display:none!important}
  /* top layout: the outline is a drawer on desktop too (menu button), the lesson takes the width */
  .pl-top .pb-btn.menu,.pl-focus .pb-btn.menu,html[data-focus="1"] .pb-btn.menu{display:inline-grid}
  .pl-top .toc-top,.pl-focus .toc-top,html[data-focus="1"] .toc-top{display:flex}
  .pl-top .toc:not(.static),.pl-focus .toc:not(.static),html[data-focus="1"] .toc:not(.static){position:fixed;top:0;bottom:0;inset-inline-start:0;width:400px;height:auto;z-index:40;transform:translateX(var(--off,105%));transition:transform .26s var(--ease);box-shadow:0 0 50px rgba(0,0,0,.25);background:var(--c-surface)}
  [dir=ltr] .pl-top .toc:not(.static),[dir=ltr] .pl-focus .toc:not(.static),[dir=ltr] html[data-focus="1"] .toc:not(.static){--off:-105%}
  .pl-top .toc.open,.pl-focus .toc.open,html[data-focus="1"] .toc.open{transform:none}
  .pl-top .scrim:not([hidden]),.pl-focus .scrim:not([hidden]),html[data-focus="1"] .scrim:not([hidden]){display:block!important}
  .pl-top .lesson,.pl-focus .lesson{padding-inline:max(36px,calc(50% - 560px))}
}
@media(min-width:1440px){.toc:not(.static){width:380px}.lesson{padding-inline:52px}}
/* focus mode (layout or the student's toggle): chrome quiets down */
.pl-focus .pbar,html[data-focus="1"] .pbar{background:var(--c-surface);color:var(--c-ink);border-bottom:1px solid var(--c-line)}
.pl-focus .pb-line,html[data-focus="1"] .pb-line{background:var(--c-soft2)}.pl-focus .pb-line i,html[data-focus="1"] .pb-line i{background:var(--c-accent-ui)}
html[data-focus="1"] .player .foot,html[data-focus="1"] .player .upnext{display:none}
html[data-focus="1"] .player .lesson{padding-inline:max(16px,calc(50% - 580px))}
/* theatre: video on a dark full-bleed band */
@media(min-width:980px){.pl-theatre .lesson.t-video>.stage{background:#08070b;box-shadow:0 0 0 100vmax #08070b;clip-path:inset(-24px -100vmax);padding-block:4px}}
.stage-dark:not(.pl-theatre) .lesson.t-video>.stage{background:#08070b;border-radius:var(--r);padding:14px}
@media(max-width:719px){.stage-dark:not(.pl-theatre) .lesson.t-video>.stage{border-radius:0;padding:0}}
@media(min-width:980px){.pl-theatre .lesson.t-video>.stage .video{max-height:78vh;aspect-ratio:16/9;margin-inline:auto;border-radius:calc(var(--r)*.5)}}
.pl-theatre .lesson.t-video>.stage .resume{color:#cfc9da}
/* the outline starts below the band so the band can run full width (video height = the lesson column's 16:9, ≤ 78vh) */
@media(min-width:980px){.pl-theatre.lt-video{--th-h:min(78vh,calc(min(100vw - 340px - 72px,1100px)*.5625))}.pl-theatre.lt-video .toc:not(.static){margin-top:calc(var(--th-h) + 48px);height:calc(100vh - var(--tb) - 3px)}}
@media(min-width:1440px){.pl-theatre.lt-video{--th-h:min(78vh,calc(min(min(100vw,1680px) - 380px - 104px,1100px)*.5625))}}
@media(min-width:980px){.pl-theatre .lesson.t-video{padding-top:0}.pl-theatre .lesson.t-video>.stage{margin-bottom:28px;padding-block:24px}.pl-theatre .lesson.t-video>.lhead{order:1}.pl-theatre .lesson.t-video{display:flex;flex-direction:column}.pl-theatre .lesson.t-video>.stage{order:0}.pl-theatre .lesson.t-video>*:not(.stage){order:2}.pl-theatre .lesson.t-video>.lhead{order:1}}
@media print{.pbar,.toc,.lnav,.foot,.sh,.fnav,.totop,.rprog,.stickycta{display:none!important}}
/* phones: a video lesson starts with the video, edge to edge (like a video app); title and tick follow */
@media(max-width:719px){
  .lesson.t-video{display:flex;flex-direction:column}
  .lesson.t-video>.stage{order:-1;margin:-16px -16px 14px;max-width:none;width:calc(100% + 32px)}
  .lesson.t-video>.stage .video{border-radius:0;box-shadow:none}
  .lesson.t-video>.stage .resume{padding:0 16px}
}

/* ── completion moment ── */
.celebrate{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:16px;background:color-mix(in srgb,var(--c-ink) 55%,transparent);backdrop-filter:blur(6px)}
.celebrate.show{animation:fade .3s ease both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.cel-x{position:absolute;top:10px;inset-inline-end:10px;border:0;z-index:2}
.cel-card{position:relative;max-width:460px;width:100%;background:var(--c-surface);border-radius:var(--r-lg);padding:34px 24px 26px;text-align:center;box-shadow:0 30px 80px rgb(0 0 0/.35);overflow:hidden;animation:pop .6s var(--ease) both}
.cel-card h2{font-size:clamp(24px,5vw,var(--h2));margin:14px 0 6px}
.cel-ring{position:relative;display:inline-grid;place-items:center}
.cel-ring .ring b{display:none}
.cel-ic{position:absolute;width:46px;height:46px;color:var(--c-accent2-text)}
[data-celebrate=glow] .cel-ring:before{content:"";position:absolute;inset:-26px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--c-accent) 40%,transparent),transparent);animation:breathe 2.4s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.15);opacity:.6}}
.confetti{position:absolute;inset:0;pointer-events:none}
.confetti i{position:absolute;top:-12px;left:calc(var(--i)*3.6%);width:8px;height:14px;border-radius:2px;background:var(--c-accent);opacity:0;animation:fall 2.6s calc(var(--i)*-0.09s + .3s) cubic-bezier(.3,.6,.4,1) forwards}
.confetti i:nth-child(3n){background:var(--c-accent2);width:6px;height:10px}
.confetti i:nth-child(4n){background:var(--c-ok);border-radius:50%;width:8px;height:8px}
@keyframes fall{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(540px) rotate(calc(var(--i)*47deg))}}
.milestone{position:fixed;top:calc(var(--tb) + 18px);left:50%;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:var(--r-btn);background:var(--c-surface);border:1px solid var(--c-line);box-shadow:var(--sh2);font-weight:700;animation:drop .5s var(--ease) both}
.milestone .ic{color:var(--c-accent2-text)}
@keyframes drop{from{transform:translate(-50%,-20px);opacity:0}to{transform:translate(-50%,0);opacity:1}}

/* ── page to page: a cross-document view transition keeps the bar and the outline still, the lesson cross-fades ── */
@view-transition{navigation:auto}
.pbar{view-transition-name:dv-pbar}
.player #toc{view-transition-name:dv-toc}
.sh{view-transition-name:dv-sh}
::view-transition-old(root),::view-transition-new(root){animation-duration:.16s}
::view-transition-group(dv-pbar),::view-transition-group(dv-toc),::view-transition-group(dv-sh){animation-duration:0s}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* ── comfort panel + shortcut sheet (native <dialog>) ── */
dialog.comfort,dialog.keys{border:0;padding:0;border-radius:var(--r-lg);background:var(--c-surface);color:var(--c-ink);box-shadow:0 30px 80px rgb(0 0 0/.3);width:min(440px,calc(100vw - 24px));max-height:calc(100svh - 24px)}
dialog::backdrop{background:var(--c-scrim)}
dialog .cf,dialog form{padding:20px 20px 18px;display:grid;gap:14px}
.cf-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cf-head h2{display:flex;align-items:center;gap:8px;font-size:19px;margin:0}
.cf-head .iconbtn{border:0}
.cf-row{display:grid;gap:8px;font-weight:600;font-size:14.5px}
.cf-row.chk{display:flex;justify-content:space-between;align-items:center}
.cf-row.chk input{width:22px;height:22px}
.seg{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--c-soft);border-radius:var(--r-sm)}
.seg button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:var(--r-xs);background:transparent;cursor:pointer;font-weight:600;font-size:14px;color:var(--c-muted)}
.seg button[aria-checked=true]{background:var(--c-surface);color:var(--c-ink);box-shadow:0 1px 4px rgb(0 0 0/.1)}
.seg .ic{width:16px;height:16px}
.stepper{display:flex;align-items:center;gap:10px}
.stepper button{width:44px;height:44px;border-radius:50%;border:1px solid var(--c-line2);background:var(--c-surface);cursor:pointer;display:grid;place-items:center;color:var(--c-ink)}
.stepper output{min-width:60px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.cf-foot{display:flex;justify-content:space-between;align-items:center}
body:not(.player) [data-media-only]{display:none}
dialog.keys dl{margin:0;display:grid;gap:8px}
dialog.keys dl div{display:flex;justify-content:space-between;gap:12px;align-items:center}
dialog.keys dd{margin:0;color:var(--c-muted)}
kbd{display:inline-block;min-width:30px;text-align:center;padding:3px 8px;border-radius:var(--r-xs);border:1px solid var(--c-line2);border-bottom-width:3px;background:var(--c-bg);font:700 13px/1.4 var(--f-body)}
@media(max-width:600px){dialog.comfort,dialog.keys{margin:auto auto 0;border-radius:var(--r-lg) var(--r-lg) 0 0;width:100%;max-width:none;padding-bottom:env(safe-area-inset-bottom)}}

/* ── scroll reveal (student.js adds .rv when the theme's motion allows it) ── */
.rv [data-reveal]{opacity:0;transition:opacity calc(var(--dur)*2) var(--ease),transform calc(var(--dur)*2) var(--ease)}
.rv.rv-rise [data-reveal]{transform:translateY(22px)}
.rv.rv-pop [data-reveal]{transform:scale(.94) translateY(12px)}
.rv [data-reveal].in{opacity:1;transform:none}

/* ── motion off: the theme said none, the student asked, or the system prefers it ── */
.mo-none *,html[data-motion=off] *{transition:none!important;animation:none!important}
html[data-motion=off] .rv [data-reveal],.mo-none .rv [data-reveal]{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}.rv [data-reveal]{opacity:1!important;transform:none!important}html{scroll-snap-type:none!important}}
/* small phones: header actions shrink to icons so the school name stays whole */
@media(max-width:420px){.sh-nav .hbtn:not(.solid)>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sh-nav .hbtn{padding-inline:10px}.brandname{font-size:17px}}
.paid-line{font-weight:700;font-size:18px;margin:4px 0 8px}
.qa,.notes{margin:28px 0 8px;padding-top:20px;border-top:1px solid var(--c-line)}
.qa h2,.notes h2{display:flex;align-items:center;gap:8px;font-size:17px;margin:0 0 4px}
.qa-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:12px}
.qa-item{border:1px solid var(--c-line);border-radius:var(--r);padding:12px 14px;background:var(--c-surface)}
.qa-q p,.qa-a p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.qa-a{margin-top:10px;padding-inline-start:12px;border-inline-start:3px solid var(--c-ok)}
.qa-item .tag{margin-top:8px}
.qa-label{display:block;font-weight:600;margin:8px 0 6px}
.qa textarea,.notes textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px 12px;border:1px solid var(--c-line2);border-radius:var(--r-sm);background:var(--c-surface);color:inherit;resize:vertical;min-height:84px}
.qa textarea:focus-visible,.notes textarea:focus-visible{outline:2px solid var(--c-accent,currentColor);outline-offset:1px}
.qa-row{display:flex;align-items:center;gap:12px;margin-top:8px;flex-wrap:wrap}
.qa-status,.note-status{font-size:13px;color:var(--c-muted)}
.notes label{display:block;margin:0 0 8px}
.fld-err{display:block;margin-top:4px;font-size:13px;color:var(--c-bad,#b42318);font-weight:600}
.fld input[aria-invalid=true]{border-color:var(--c-bad,#b42318)}
/* ── special items (items903): community · link · products · live · offer · booking — theme variables only ── */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.it{--pc:var(--c-accent);display:grid;gap:16px}
.it.card{padding:clamp(16px,3vw,24px)}
.it-top{display:flex;align-items:center;gap:14px;min-width:0}
.it-tile{flex:none;width:56px;height:56px;border-radius:var(--r);display:grid;place-items:center;background:var(--c-soft);color:var(--c-accent-text)}
.it-tile.brand{background:var(--pc);color:#fff}
.it-tile .it-mark{width:30px;height:30px}
.it-tile.sm{width:36px;height:36px;border-radius:var(--r-sm)}.it-tile.sm .it-mark{width:19px;height:19px}
.it-id{display:grid;gap:2px;min-width:0}
.it-name{font-family:var(--f-head);font-size:clamp(18px,2.2vw,21px);line-height:1.25;color:var(--c-ink);overflow-wrap:anywhere}
.it-text{margin:0}.it-text>:first-child{margin-top:0}.it-text>:last-child{margin-bottom:0}
.it-h{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 6px;color:var(--c-ink)}.it-h .ic{width:18px;height:18px;color:var(--c-accent-text)}
.it-act{display:grid;gap:16px;align-items:start}
.it-main{display:grid;gap:10px;min-width:0}
.it .btn.full{min-height:52px;font-size:16px}
.it-com .it-main>.btn,.it-com .it-rules .btn{background:var(--pb,var(--c-accent));color:#fff;border-color:transparent}
.it-rules .rich ul,.it-rules .rich ol{margin:2px 0;padding-inline-start:20px}.it-rules .rich p{margin:0 0 4px}
.it-com .it-main>.btn .ic,.it-com .it-rules .btn .ic{width:17px;height:17px;opacity:.85}
.it-rules{display:grid;gap:12px;border:1px solid var(--c-line);border-radius:var(--r-sm,12px);padding:14px 16px;background:var(--c-soft)}
.it-rules .rich{font-size:15px}
.it-tick{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:600;cursor:pointer}
.it-tick input{width:22px;height:22px;accent-color:var(--pc);flex:none}
.it-rules button[aria-disabled=true]{opacity:.55}
.it-opened{margin:0}
.it-after{display:grid;gap:8px}
.it-copy{display:flex;gap:8px;align-items:center;min-width:0}
.it-copy-v{flex:1;min-width:0;min-height:44px;font-size:16px;border:1px solid var(--c-line);border-radius:var(--r-sm);padding:0 12px;background:var(--c-surface);color:var(--c-muted);text-align:left}
.it-qr{display:none}
@media(min-width:1024px){
  .it-act.with-qr{grid-template-columns:minmax(0,1fr) 168px}
  .it-qr{display:grid;justify-items:center;gap:6px;text-align:center;border:1px solid var(--c-line);border-radius:var(--r-sm,12px);padding:12px;background:var(--c-surface)}
  .it-qr-img{width:132px;height:132px;background:#fff;border-radius:var(--r-xs);padding:6px}.it-qr-img svg{width:100%;height:100%;display:block}
  .it-qr b{font-size:14px}.it-qr small{font-size:12.5px;line-height:1.35}
}
/* link card */
.it-link{padding:0;overflow:hidden;gap:0}
.it-og{width:100%;height:clamp(150px,30vw,300px);background:var(--c-soft);overflow:hidden}.it-og img{width:100%;height:100%;object-fit:cover;display:block}
.it-body{display:grid;gap:10px;padding:clamp(16px,3vw,22px)}
.it-site{display:flex;align-items:center;gap:6px;font-size:13px}.it-site .ic{width:15px;height:15px}
.it-desc{margin:0;font-size:15px}
.it-code{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;border:1.5px dashed color-mix(in srgb,var(--c-accent-text) 45%,transparent);border-radius:var(--r-sm);padding:10px 12px;background:var(--c-soft)}
.it-code-k{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--c-muted)}.it-code-k .ic{width:16px;height:16px}
.it-code-v{font-weight:800;letter-spacing:.06em;font-size:17px;color:var(--c-ink)}
.it-code .btn{margin-inline-start:auto}
.it-code.sm{padding:6px 8px 6px 10px;gap:6px}.it-code.sm .it-code-v{font-size:14.5px}.it-code.sm .btn{min-height:36px;padding:4px 10px;font-size:13px}
/* products */
.it-group{font-size:17px;margin:8px 0 0;color:var(--c-ink)}
.it-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
.it-p{display:flex;flex-direction:column;overflow:hidden;min-width:0}
.it-p-img{aspect-ratio:1/1;background:var(--c-soft);display:grid;place-items:center;color:var(--c-muted)}.it-p-img img{width:100%;height:100%;object-fit:cover;display:block}.it-p-img .ic{width:34px;height:34px;opacity:.5}
.it-p-body{display:grid;gap:8px;padding:12px 14px 14px;align-content:start;flex:1}
.it-p-name{font-size:16px;color:var(--c-ink);line-height:1.3}
.it-p-price{font-weight:700;color:var(--c-accent-text);font-size:14.5px}
.it-p-note{margin:0;color:var(--c-muted);line-height:1.5}
.it-p .btn.full{min-height:44px;margin-top:auto}
/* the pinned bar (sidebar head + the top of the lesson on small screens) */
.it-pins ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.it-pins a{--pc:var(--c-accent);display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 8px;border-radius:var(--r-sm);border:1px solid var(--c-line);background:var(--c-surface);color:var(--c-ink);text-decoration:none}
.it-pins a:hover,.it-pins a[aria-current]{border-color:color-mix(in srgb,var(--pc) 55%,var(--c-line))}
.it-pin-t{display:grid;min-width:0}.it-pin-t b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-pin-t small{font-size:12.5px;color:var(--c-muted)}
.it-pins-top{display:none}
@media(max-width:979px){.it-pins-top{display:block;margin-bottom:14px}.it-pins-top .it-pins ul{grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);overflow-x:auto;scrollbar-width:none;padding-bottom:2px}}
.it-pins-top:empty{display:none}
/* live session */
.it-date{flex:none;width:64px;min-height:68px;border-radius:var(--r);border:1.5px solid var(--c-line);background:var(--c-surface);display:grid;justify-items:center;align-content:center;line-height:1.1;padding:6px 0}
.it-date b{font-size:26px;font-family:var(--f-head);color:var(--c-ink)}.it-date small{font-size:12px;color:var(--c-muted)}
.it-live .it-name{font-size:17px}.it-hours{font-weight:700;font-size:16px;color:var(--c-ink)}.it-live .it-id small{display:inline-flex;align-items:center;gap:6px}.it-live .it-id small .it-mark{width:15px;height:15px;color:var(--pc)}
.it-state{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15.5px}
.it-state b{color:var(--c-ink)}
.it-state.live b{color:var(--c-ok)}
.it-state.ok{color:var(--c-ok)}.it-state.ok .ic{width:18px;height:18px}
.it-dot{width:10px;height:10px;border-radius:50%;background:var(--c-ok);box-shadow:0 0 0 0 color-mix(in srgb,var(--c-ok) 60%,transparent);animation:itpulse 1.6s infinite}
@keyframes itpulse{70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}
[data-motion=off] .it-dot{animation:none}
@media (prefers-reduced-motion:reduce){.it-dot{animation:none}}
.it-live .it-join{background:var(--c-ok);color:var(--c-on-ok,#fff);border-color:transparent}
.it-ids{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0}
.it-ids div{display:grid;gap:2px}.it-ids dt{font-size:12.5px;color:var(--c-muted)}.it-ids dd{margin:0;display:flex;align-items:center;gap:6px;font-weight:700;font-size:16px;color:var(--c-ink)}
.it-ids .linkbtn{min-width:36px;min-height:36px;display:grid;place-items:center;border-radius:var(--r-xs);border:1px solid var(--c-line);background:var(--c-surface);color:var(--c-accent-text);cursor:pointer}.it-ids .linkbtn .ic{width:16px;height:16px}
.it-cal{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--c-line);padding-top:12px}
.it-cal>span{display:inline-flex;align-items:center;gap:6px;margin-inline-end:auto}.it-cal>span .ic{width:16px;height:16px}
.it-price{font-weight:800;color:var(--c-accent-text);font-size:17px}
.it-contact .it-main{gap:10px}.it-wa{background:var(--pb);color:#fff;border-color:transparent}.it-wa .it-mark{width:20px;height:20px}
.it-contact .btn.ghost{justify-content:flex-start;gap:10px}.it-contact .btn.ghost .it-pv{margin-inline-start:auto;font-weight:600;color:var(--c-muted)}
.it-hours-note{display:flex;align-items:center;gap:6px;margin:2px 0 0}.it-hours-note .ic{width:15px;height:15px}
.it-includes{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;font-size:15px;max-width:620px}.it-includes .ic{width:18px;height:18px;flex:none;margin-top:2px}
/* learn904: the student's own devices + what is measured */
.mydevices{margin-top:22px;padding-top:18px;border-top:1px solid var(--c-line);text-align:start}
.mydevices h2{font-size:1.05rem;margin:0 0 4px}.mydevices h3.sub{font-size:.95rem;margin:16px 0 6px}
.mydev,.myvis{list-style:none;margin:10px 0 0;padding:0}
.mydev li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--c-line)}
.mydev li .grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mydev .tag{display:inline-block;align-self:flex-start;font-size:.75rem;padding:1px 8px;border-radius:var(--r-xs);background:var(--c-soft);color:var(--c-accent-text);font-weight:600}
.mydev .btn.sm{min-height:44px;padding:0 14px}
.myvis li{font-size:.875rem;color:var(--c-muted);padding:3px 0}
.mydevices .measure{margin-top:14px;line-height:1.6}

/* ── hub905: the default look ("crisp" depth = the studio preset): hairline edges, one quiet lift, a light course bar,
   calmer motion on hover, outline rows in the course contents. Other depths/presets are untouched. ── */
.sh-crisp .card,.sh-crisp .cc{border-color:var(--c-line)}
.sh-crisp .btn{font-weight:600;letter-spacing:.005em}
.sh-crisp .btn:hover{transform:none;filter:brightness(1.05)}
.sh-crisp .cc:hover{transform:translateY(-2px)}
.sh-crisp .cc:hover .cc-img img{transform:none}
.sh-crisp .tag{font-weight:600;padding:2px 8px}
.sh-crisp .sh-in{min-height:60px}
.sh-crisp .sect-h{letter-spacing:-.015em}
.sh-crisp .pbar{background:var(--c-surface);color:var(--c-ink);border-bottom:1px solid var(--c-line)}
.sh-crisp .pb-line{background:transparent;height:2px;margin-top:-1px}
.sh-crisp .pb-line i{background:var(--c-accent-ui)}
.sh-crisp .pb-prog .bar{background:var(--c-soft2)}.sh-crisp .pb-prog .bar i{background:var(--c-accent-ui)}
.sh-crisp .ring.on-bar .ring-bg{stroke:var(--c-soft2)}.sh-crisp .ring.on-bar .ring-fg{stroke:var(--c-accent-ui)}
.sh-crisp .pb-chip{background:var(--c-soft);color:var(--c-accent-text)}
.sh-crisp .pb-t small{color:var(--c-muted)}
.sh-crisp .ch>summary{font-size:14.5px;min-height:48px}
.sh-crisp .ls{border:1px solid var(--c-line);border-radius:var(--r);overflow:hidden;background:var(--c-surface);margin:2px 0 10px}
.sh-crisp .ls li{border-radius:0}
.sh-crisp .ls li+li{border-top:1px solid var(--c-line)}
.sh-crisp .ls li a{border-radius:0;min-height:50px}
.sh-crisp .lt{width:30px;height:30px;border-radius:var(--r-xs)}
.sh-crisp .lhead h1{font-size:clamp(22px,3.2vw,calc(var(--h2)*.95));letter-spacing:-.015em}
.sh-crisp .ltype{background:transparent;padding:0;color:var(--c-muted);font-weight:600}
.sh-crisp .upnext{box-shadow:none}

/* ── hub905: the way out — course bar back + "my courses" menu, my-courses page, Google ── */
.pb-back{margin-inline-end:-4px}
.mc{position:relative}
.mc-pop{position:absolute;top:calc(100% + 8px);inset-inline-end:0;width:min(360px,calc(100vw - 16px));background:var(--c-surface);color:var(--c-ink);border:1px solid var(--c-line);border-radius:var(--r);box-shadow:var(--sh2);z-index:60;padding:6px;max-height:min(70vh,560px);overflow:auto}
.mc-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px 4px 10px;font-size:14px}
[dir=rtl] .mc-h{padding:4px 10px 4px 6px}
.mc-h .pb-btn{min-width:40px;min-height:40px}
.mc-list{display:grid;gap:2px;padding:2px 0 6px;border-bottom:1px solid var(--c-line)}
.mc-i{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"img t" "img bar";column-gap:10px;align-items:center;padding:8px 10px;border-radius:var(--r-sm);color:inherit;text-decoration:none;min-height:52px}
.mc-i:hover,.mc-i:focus-visible,.mc-l:hover,.mc-l:focus-visible{background:var(--c-soft)}
.mc-i.here{background:var(--c-soft)}
.mc-img{grid-area:img;width:40px;height:40px;border-radius:var(--r-xs);object-fit:cover;display:grid;place-items:center;background:var(--c-soft2);color:var(--c-accent-text)}
.mc-t{grid-area:t;display:flex;justify-content:space-between;gap:8px;min-width:0;font-size:14px}
.mc-t b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-t small{color:var(--c-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.mc-i .bar{grid-area:bar;height:4px;margin-top:6px}
.mc-foot{display:grid;padding-top:6px}
.mc-foot form{margin:0}
.mc-l{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;border:0;background:none;border-radius:var(--r-sm);color:inherit;text-decoration:none;font:inherit;font-size:14.5px;cursor:pointer;text-align:start}
.mc-l .ic{width:18px;height:18px;color:var(--c-muted)}
@media(max-width:600px){.mc-pop{position:fixed;inset:auto 0 0 0;width:100%;max-height:78vh;border-radius:var(--r-lg) var(--r-lg) 0 0;padding:8px 8px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgb(0 0 0/.18)}}
.mypage main.my{padding-top:28px;padding-bottom:44px;flex:1;max-width:880px}
.my-h{font-size:clamp(24px,4vw,var(--h2));letter-spacing:-.015em;margin-bottom:18px}
.mypage .me{padding:0;margin:0 0 26px}
.mypage .sect{padding:0;margin:0 0 30px}
.mypage .search{margin-bottom:12px}
.my-list{list-style:none;margin:0;padding:0;border:1px solid var(--c-line);border-radius:var(--r);background:var(--c-surface);overflow:hidden}
.my-row+.my-row{border-top:1px solid var(--c-line)}
.my-a{display:flex;align-items:center;gap:14px;padding:12px 14px;color:inherit;text-decoration:none;min-height:72px}
a.my-a[href]:hover{background:var(--c-soft)}
.my-img{width:64px;height:44px;border-radius:var(--r-xs);object-fit:cover;flex:none;display:grid;place-items:center;background:var(--c-soft2);color:var(--c-accent-text)}
.my-t{flex:1;min-width:0;display:grid;gap:3px}
.my-t b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my-t .bar{height:4px;max-width:260px}
.st-expired .my-a,.st-removed .my-a{opacity:.85}
.st-expired .my-t small,.st-removed .my-t small{white-space:normal}
.my-cert{display:inline-flex;align-items:center;gap:6px;margin:-6px 0 10px;padding-inline-start:92px;font-size:14px;font-weight:600}
.my-cert .ic{width:16px;height:16px}
@media(max-width:520px){.my-img{width:48px;height:48px}.my-cert{padding-inline-start:76px}.my-a{gap:10px;padding:12px}.my-a>.ic{display:none}}
.gform{margin:4px 0 0}
.gbtn{background:#fff;color:#1f1f1f;border:1px solid #747775;font-weight:600}
.gbtn:hover{background:#f8f9fa;filter:none}
.gmark{width:20px;height:20px;flex:none}
[data-scheme=dark] .gbtn{background:#131314;color:#e3e3e3;border-color:#8e918f}
.more-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.more-c{display:flex;flex-direction:column;background:var(--c-surface);border:var(--bw) solid var(--c-line);border-radius:var(--r);overflow:hidden;color:inherit;text-decoration:none;box-shadow:var(--sh);transition:box-shadow var(--dur) var(--ease)}
.more-c:hover{box-shadow:var(--sh2)}
.more-c img,.more-c .ph{width:100%;aspect-ratio:16/9;object-fit:cover;display:grid;place-items:center;background:var(--c-soft);color:var(--c-accent-text)}
.more-t{display:grid;gap:2px;padding:12px 14px 4px}.more-t b{font-weight:600}
.more-c .cc-go{padding:4px 14px 14px;margin:0}
@media(max-width:600px){.more-list{grid-template-columns:1fr}.more-c{display:grid;grid-template-columns:96px 1fr;grid-template-areas:"img t" "img go"}.more-c img,.more-c .ph{grid-area:img;height:100%;aspect-ratio:auto}.more-t{grid-area:t;padding:10px 12px 0}.more-c .cc-go{grid-area:go;padding:2px 12px 10px}}
.school .my-list{margin-bottom:8px}
.my-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-bottom:18px}.my-top .my-h{margin:0}
.my-row .tag.ok,.my-row .tag.bad{background:var(--c-surface)}
/* dead end ("page not found", views.notFound): the platform scene (lib/deadend art, nf- classes) in this site's colours */
.nfpage main{display:flex;flex-direction:column;justify-content:center}
.nf{text-align:center;padding:4px 0 12px}
.nf-art{display:block;width:min(360px,82vw);height:auto;margin:0 auto 6px;overflow:visible}
.nf h1{font-size:clamp(26px,5.6vw,38px);line-height:1.15;letter-spacing:-.015em;margin:0 0 8px;text-wrap:balance}
.nf .muted{max-width:31em;margin:0 auto;font-size:clamp(15.5px,2.2vw,17px);text-wrap:pretty}
.nf-acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:26px}
.nf-acts [hidden]{display:none}
.nf-h0{stop-color:var(--c-soft)}.nf-h1{stop-color:var(--c-soft);stop-opacity:0}
.nf-b0{stop-color:var(--c-soft2)}.nf-b1g{stop-color:var(--c-soft);stop-opacity:.35}
.nf-big{font-family:inherit;font-size:136px;font-weight:900;letter-spacing:-6px}
.nf-sh{fill:var(--c-line)}
.nf-tr{fill:none;stroke:var(--c-accent-ui);stroke-opacity:.42;stroke-width:2.6;stroke-linecap:round;stroke-dasharray:2 9}
.nf-wg,.nf-fd{stroke:var(--c-accent-ui);stroke-width:2.2;stroke-linejoin:round}.nf-wg{fill:var(--c-surface)}.nf-fd{fill:var(--c-soft2)}
.nf-ed{fill:none;stroke:var(--c-accent-ui);stroke-width:2.2;stroke-linecap:round}
.nf-sp{fill:var(--c-accent2)}.nf-sp2{opacity:.7}.nf-dt{fill:var(--c-soft2)}
.nf-bob{transform-box:fill-box;transform-origin:50% 50%;animation:nfbob 5s ease-in-out infinite}.nf-fl{animation:nffl 1.5s linear infinite}
@keyframes nfbob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(2deg)}}@keyframes nffl{to{stroke-dashoffset:-22}}
@media (prefers-reduced-motion:reduce){.nf-bob,.nf-fl{animation:none}}
@media (max-width:480px){.nf-acts{flex-direction:column;align-items:stretch}.nf-acts .btn{width:100%}}
/* support1108 — "משהו לא עובד?" page + links */
.sp-hp{position:absolute!important;inset-inline-start:-10000px;width:1px;height:1px;overflow:hidden}
.fld select:focus,.fld textarea:focus{border-color:var(--c-accent-ui);outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--c-accent-ui) 18%,transparent)}
.fld textarea{min-height:130px;resize:vertical;line-height:1.6}
.fld select{appearance:auto}
.fld textarea[aria-invalid=true],.fld select[aria-invalid=true]{border-color:var(--c-bad,#b42318)}
.fld-hint{font-weight:400;font-size:13px}
.sp-wrap{padding-block:28px 40px;flex:1}
.sp-card{max-width:560px}
.sp-card .form{display:grid;gap:14px}
.sp-card h1:focus{outline:0}
.sp-done .row{flex-wrap:wrap}
.sp-login a,.foot a .ic{vertical-align:middle}
.sp-login a{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.sp-login .ic{width:16px;height:16px}
