/* Клякса — сайт. Одна дизайн-система с приложением: бумага, синяя Клякса, Unbounded + Onest, Caveat как рукописный акцент */
:root{
  --bg:#F7F5F0;--bg2:#FFFFFF;--soft:#EFECE4;--ink:#15161B;--muted:#5C606E;--line:#E4E0D6;
  --acc:#3D4BE0;--acc2:#6F7DFF;--acc-soft:#E8EAFF;--ok:#167A50;--ok-soft:#E2F5EC;--warn:#B25E00;--warn-soft:#FFF1DC;--mark:#E5503D;--sun:#FFB23E;
  --r:28px;--sh:0 1px 2px rgba(20,22,40,.04),0 18px 40px -24px rgba(20,22,60,.28);
  --pad:clamp(20px,4vw,40px);--gap:clamp(80px,11vw,160px);
  --h1:clamp(40px,6vw,84px);--h2:clamp(32px,4.2vw,58px);--h3:clamp(21px,1.8vw,26px);--txt:clamp(17px,1.35vw,20px)
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font:400 var(--txt)/1.5 'Onest',system-ui,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{font:inherit;border:0;background:none;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--acc);outline-offset:3px;border-radius:12px}
.wrap{max-width:1240px;margin:0 auto;padding:0 var(--pad)}
.sec{padding:var(--gap) 0;position:relative;scroll-margin-top:72px}
.h1{font:700 var(--h1)/1.02 'Unbounded',sans-serif;letter-spacing:-.045em}
.h2{font:700 var(--h2)/1.05 'Unbounded',sans-serif;letter-spacing:-.04em}
.h3{font:600 var(--h3)/1.25 'Onest',sans-serif;letter-spacing:-.01em}
.h1,.h2,.trio b{overflow-wrap:anywhere;hyphens:auto}.jobs b{overflow-wrap:anywhere;hyphens:auto}   /* крупный текст: длинное слово переносится, а не раздвигает страницу */
.lead{color:var(--muted);font-size:clamp(18px,1.6vw,22px);line-height:1.45;max-width:560px}
.hand{font:600 1.05em/1 'Caveat',cursive;letter-spacing:0;color:var(--acc);position:relative;white-space:nowrap}
.hand .ring{position:absolute;left:-2%;right:-2%;bottom:-.14em;height:.3em;pointer-events:none;overflow:visible}
.hand .ring path{fill:none;stroke:var(--mark);stroke-width:3;stroke-linecap:round;stroke-dasharray:640;stroke-dashoffset:640;transition:stroke-dashoffset 1.1s .45s cubic-bezier(.7,0,.3,1)}
.in .hand .ring path,.hero.in .hand .ring path{stroke-dashoffset:0}
.eyebrow{font:600 17px 'Onest',system-ui,sans-serif;color:var(--acc);letter-spacing:.06em;text-transform:uppercase;margin-bottom:16px}

/* кнопки */
.btn{min-height:60px;padding:0 28px;border-radius:30px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:600 18px 'Onest',system-ui,sans-serif;transition:transform .2s,box-shadow .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(0) scale(.98)}
.btn.p{background:linear-gradient(135deg,var(--acc2),var(--acc));color:#fff;box-shadow:0 16px 32px -16px var(--acc)}
.btn.p:hover{box-shadow:0 22px 40px -16px var(--acc)}
.btn.s{background:var(--bg2);box-shadow:0 1px 2px rgba(0,0,0,.05)}
.btn.w{background:#fff;color:var(--acc)}
.btn .play{flex:none;width:30px;height:30px;border-radius:15px;background:var(--ink);display:grid;place-items:center}

/* шапка: прозрачная, при прокрутке — стекло */
.nav{position:fixed;inset:0 0 auto;z-index:50;transition:background .3s,box-shadow .3s}
.nav.scrolled{background:rgba(247,245,240,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--line)}
.nav .wrap{display:flex;align-items:center;gap:28px;height:76px}
.logo{display:flex;align-items:center;gap:10px;font:700 24px 'Onest',sans-serif;letter-spacing:-.03em}   /* написание A — brand/wordmarks.html */
.logo img{width:auto;height:38px;max-width:100%}
.nav .links{display:flex;gap:26px;margin-left:auto;font:500 17px 'Onest',system-ui,sans-serif;color:var(--muted)}
.nav .links a:hover{color:var(--ink)}
.nav .cta{min-height:46px;padding:0 20px;font-size:17px;background:var(--ink);color:#fff;border-radius:23px}

/* первый экран */
.ctas{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.btn.o{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.phone{position:absolute;width:var(--pw,300px);aspect-ratio:300/640;border-radius:46px;background:#111;padding:10px;box-shadow:0 50px 90px -40px rgba(20,22,60,.45)}
.phone .scr{width:100%;height:100%;border-radius:37px;overflow:hidden;position:relative;background:#F2F1FD}
.phone .scr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.push{position:absolute;width:300px;padding:14px 16px;border-radius:22px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 24px 50px -20px rgba(20,22,60,.35)}
.push .src{display:flex;align-items:center;gap:6px;font:500 13px 'Onest',system-ui,sans-serif;color:var(--muted)}
.push b{display:block;font:600 17px 'Onest',system-ui,sans-serif;margin-top:4px}
.push p{font:400 15px/1.35 'Onest',system-ui,sans-serif;color:var(--muted);margin-top:2px}
.eyes{transform-origin:32px 30px;transform-box:view-box;animation:blink 5.5s infinite}
@keyframes blink{0%,95%,100%{transform:scaleY(1)}97%{transform:scaleY(.1)}}

/* появление при прокрутке */
.js .rv{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}
.js .rv.in{opacity:1;transform:none}
.rv.d1{transition-delay:.08s}.rv.d2{transition-delay:.16s}.rv.d3{transition-delay:.24s}



/* ребёнку */
.kid .grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,90px);align-items:center}
.kid .grid>*{min-width:0}
.feats{display:grid;gap:14px;margin-top:34px}
.feat{display:flex;gap:16px;align-items:flex-start;padding:20px;border-radius:24px;background:var(--bg2);box-shadow:var(--sh)}
.feat .ic{width:48px;height:48px;border-radius:16px;flex:none;display:grid;place-items:center;background:var(--acc-soft);color:var(--acc)}
.feat .ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.feat b{display:block;font:600 19px/1.3 'Onest',system-ui,sans-serif}
.feat p{color:var(--muted);font-size:17px;margin-top:4px}
.playground{position:relative;height:clamp(280px,30vw,380px);border-radius:40px;background:radial-gradient(120% 90% at 50% 100%,#E3E6FF,#F2F1FD 60%);overflow:hidden;box-shadow:var(--sh)}
.blotx{position:absolute;left:50%;top:48%;width:clamp(140px,15vw,200px);transform:translate(-50%,-50%);cursor:pointer;transition:transform .3s cubic-bezier(.3,1.6,.5,1);-webkit-tap-highlight-color:transparent}
.blotx:active{transform:translate(-50%,-50%) scale(.94)}
.blotx .hat{transition:opacity .25s,transform .4s cubic-bezier(.3,1.6,.5,1);opacity:0;transform:translateY(-10px)}
.blotx .hat.on{opacity:1;transform:none}
.playground .tip{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 16px;border-radius:20px;background:#fff;font:500 17px 'Onest',system-ui,sans-serif;color:var(--muted);white-space:nowrap;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.drop{position:absolute;width:28px;opacity:0;pointer-events:none}
.drop.fly{animation:fly 1s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes fly{0%{opacity:0;transform:translate(0,0) scale(.6)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.1)}}
.pill{position:absolute;right:20px;top:20px;display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:22px;background:#fff;font:700 18px 'Unbounded';box-shadow:0 1px 2px rgba(0,0,0,.05)}




/* цена */
.plans{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:40px;max-width:980px}
.plan{padding:clamp(24px,3vw,36px);border-radius:32px;background:var(--bg2);box-shadow:var(--sh);display:flex;flex-direction:column}
.plan.plus{background:linear-gradient(160deg,#2A33A8,#3D4BE0 50%,#6F7DFF);color:#fff}
.plan .price{font:700 clamp(34px,3.6vw,48px)/1 'Unbounded';letter-spacing:-.03em;margin:14px 0 4px}
.plan .per{color:var(--muted);font-size:17px}.plan.plus .per{color:rgba(255,255,255,.75)}
.plan ul{list-style:none;margin:22px 0 28px;display:grid;gap:12px}
.plan li{display:flex;gap:10px;font-size:17px;line-height:1.4}
.plan li::before{content:'';width:22px;height:22px;flex:none;border-radius:11px;background:var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%23167A50' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px}
.plan.plus li::before{background-color:rgba(255,255,255,.18);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.plan .btn{margin-top:auto;align-self:flex-start}
.tag{display:inline-block;padding:6px 12px;border-radius:14px;background:rgba(255,255,255,.18);font:600 15px 'Onest',system-ui,sans-serif}

/* вопросы */
.faq{max-width:860px;margin-top:40px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 4px;font:600 clamp(18px,1.6vw,21px)/1.35 'Onest',system-ui,sans-serif;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary{overflow-wrap:anywhere;hyphens:auto}.faq summary i{flex:none}
.faq summary i{width:36px;height:36px;flex:none;border-radius:18px;background:var(--bg2);display:grid;place-items:center;transition:transform .3s}
.faq details[open] summary i{transform:rotate(45deg)}
.faq .a{padding:0 4px 24px;color:var(--muted);max-width:720px}

/* финал */
.final{margin:0 var(--pad) var(--pad);border-radius:44px;background:radial-gradient(120% 120% at 100% 0%,#6F7DFF,#3D4BE0 45%,#1E2370);color:#fff;overflow:hidden;position:relative}
.final .wrap{display:grid;grid-template-columns:1.3fr .7fr;gap:40px;align-items:center;padding-top:clamp(60px,9vw,120px);padding-bottom:clamp(60px,9vw,120px)}
.final .lead{color:rgba(255,255,255,.8)}
.final .qr{justify-self:end;background:#fff;border-radius:28px;padding:20px;color:var(--ink);text-align:center;font:500 17px 'Onest',system-ui,sans-serif;width:220px}
.final .qr canvas,.final .qr img{width:180px;height:180px;margin:0 auto 10px;image-rendering:pixelated}
.final .blotbg{position:absolute;right:-60px;bottom:-80px;width:360px;opacity:.12}

/* подвал */
.foot{padding:40px 0 60px;color:var(--muted);font-size:17px}
.foot .wrap{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between}
.foot nav{display:flex;flex-wrap:wrap;gap:12px 24px;min-width:0;max-width:100%}
.foot nav a{overflow-wrap:anywhere;min-width:0}
.foot a:hover{color:var(--ink)}

/* ---------- планшет и телефон ---------- */
@media (max-width:1000px){
  .nav .links{display:none}
  .nav .cta{margin-left:auto}
  .final .qr{display:none}
}
@media (max-width:700px){
  :root{--r:24px}
  .nav .wrap{height:64px}.logo{font-size:22px}.logo img{height:34px}.nav .cta{min-height:44px;padding:0 18px;font-size:17px}
  .ctas .btn{width:100%}
  .playground{height:220px}.blotx{width:130px}
  .plans{grid-template-columns:1fr}
  .final{border-radius:32px;margin:0 12px 12px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.js .rv{opacity:1;transform:none}}


/* ---------- главная, r1: родитель — первым ---------- */
/* первый экран: заголовок, одна мысль, ролик, одна кнопка. На телефоне — в этом же порядке */
.hero{padding:96px 0 clamp(32px,5vw,56px);min-height:min(100svh,880px);display:flex;align-items:center;position:relative}
.hero>.wrap{width:100%}
.hgrid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);grid-template-areas:"t v" "c v";column-gap:clamp(28px,5vw,72px);row-gap:0;align-items:center}
.ht{grid-area:t;align-self:end}.hv{grid-area:v;min-width:0}.hc{grid-area:c;align-self:start;margin-top:34px;display:flex;flex-wrap:wrap;gap:12px}
.hero .h1{text-wrap:balance}
.hero .lead{margin-top:22px;max-width:30ch}
/* ролик: лёгкая обложка из вёрстки, видео грузится только по нажатию */
.vid{position:relative;border-radius:32px;overflow:hidden;background:radial-gradient(120% 120% at 10% 100%,#DCE0FF,#EEF0FF 45%,#FFFFFF);box-shadow:var(--sh)}
.vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#14152B}
.vclose{position:absolute;right:12px;top:12px;width:48px;height:48px;border-radius:24px;background:rgba(255,255,255,.92);color:var(--ink);font:600 28px/1 'Onest',sans-serif;display:grid;place-items:center;box-shadow:0 6px 18px -8px rgba(0,0,0,.5)}
.vid.on{aspect-ratio:16/9}
.vposter{position:relative;width:100%;aspect-ratio:16/9;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:14px;padding:clamp(16px,3vw,32px);text-align:left}
.vposter .vk{position:absolute;left:6%;bottom:9%;width:20%;max-width:140px;aspect-ratio:60/62;height:auto;animation:peek 5s ease-in-out infinite}
@keyframes peek{50%{transform:translateY(-6px) rotate(-3deg)}}
.vpush{position:relative;width:min(470px,76%);padding:18px 22px;border-radius:22px;background:#fff;box-shadow:0 24px 50px -22px rgba(20,22,60,.35)}
.vpush .src{display:flex;align-items:center;gap:6px;font:500 17px 'Onest',system-ui,sans-serif;color:var(--muted)}
.vpush b{display:block;font:700 clamp(24px,2.7vw,36px)/1.15 'Unbounded',sans-serif;letter-spacing:-.03em;margin-top:6px}
.vpush .count{white-space:nowrap}
.vpush .p{display:block;font:400 clamp(17px,1.5vw,20px)/1.35 'Onest',system-ui,sans-serif;color:var(--muted);margin-top:6px}
.vplay{position:relative;display:flex;align-items:center;gap:12px;padding:10px 20px 10px 10px;border-radius:40px;background:var(--ink);color:#fff;font:600 18px 'Onest',system-ui,sans-serif;box-shadow:0 18px 36px -14px rgba(0,0,0,.45);transition:transform .2s}
.vplay i{width:44px;height:44px;border-radius:22px;background:var(--acc);display:grid;place-items:center}
.vposter:hover .vplay{transform:scale(1.04)}
.vposter:focus-visible{outline-offset:-6px}

/* второй экран: что снимается с вечера */
.evening{padding-top:clamp(40px,6vw,88px)}
.egrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,72px);align-items:center}
.jobs{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:30px}
.jobs li{min-width:0}
.jobs p,.vpush b,.vpush .p,.sumc .st b{overflow-wrap:anywhere;hyphens:auto}
.btn{max-width:100%;text-align:center;white-space:normal}
.jobs li>div{min-width:0}
.jobs li{display:flex;gap:16px;align-items:flex-start;padding:18px 20px;border-radius:24px;background:var(--bg2);box-shadow:var(--sh)}
.jobs .ic{width:44px;height:44px;border-radius:15px;flex:none;display:grid;place-items:center;background:var(--acc-soft);color:var(--acc)}
.jobs .ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.jobs b{display:block;font:600 19px/1.3 'Onest',system-ui,sans-serif}
.jobs p{color:var(--muted);font-size:17px;margin-top:2px}
.sum{margin:0;display:block;color:inherit;text-decoration:none}
.sumgo{display:block;margin-top:12px;text-align:center;font:600 17px 'Onest',system-ui,sans-serif;color:var(--acc)}
a.sum:hover .sumc{box-shadow:0 0 0 3px var(--acc-soft),var(--sh)}
.sumc{padding:clamp(20px,2.4vw,30px);border-radius:32px;background:var(--bg2);box-shadow:var(--sh)}
.sumc .st{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center;padding-bottom:16px}
.sumc .sic{grid-row:span 2;width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:var(--ok-soft);color:var(--ok)}
.sumc .sic svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sumc .st b{font:700 clamp(22px,2vw,26px)/1.15 'Unbounded',sans-serif;letter-spacing:-.03em;min-width:0;overflow-wrap:break-word;hyphens:auto}
.sumc .st small{font-size:17px;color:var(--muted)}
.sumc .row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.sumc .row span{font:600 18px/1.3 'Onest',system-ui,sans-serif;min-width:0}
.sumc .row span,.sumc .row small{overflow-wrap:anywhere}
.sumc .row small{display:block;font:400 17px/1.35 'Onest',system-ui,sans-serif;color:var(--muted);margin-top:2px}
.sumc .row i{font:700 20px 'Onest',system-ui,sans-serif;font-style:normal;flex:none;width:1.7em;height:1.7em;border-radius:50%;display:grid;place-items:center}
.sumc .row i.ok{color:var(--ok);background:var(--ok-soft)}
.sumc .row.warn i{color:var(--warn);background:var(--warn-soft)}
.sum figcaption{margin-top:12px;text-align:center;font-size:17px;color:var(--muted)}

/* как проходит вечер у ребёнка: три кадра */
.trio{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,3vw,40px);margin-top:40px}
.trio li{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.trio .phone{position:relative;--pw:min(200px,100%)}
.trio b{font:600 19px/1.3 'Onest',system-ui,sans-serif;max-width:22ch}

@media (max-width:1000px){
  .hero{min-height:0}
  .hgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"t" "v" "c"}
  .hv{margin-top:28px}.hc{margin-top:24px}
  .hero .lead{max-width:36ch}
  .egrid,.kid .grid,.final .wrap{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .hero{padding-top:88px}
  .hc .btn{width:100%}
  .vid{border-radius:24px}
  .vid.on.v{aspect-ratio:9/16;width:min(100%,calc(80svh*9/16));margin:0 auto}
  /* обложка на телефоне — в потоке: крупный текст раздвигает её, а не налезает */
  .vposter{padding:16px;gap:12px}
  .vposter .vk{width:18%;max-width:80px;left:12px;bottom:14px}
  .vpush{width:100%;max-width:100%;padding:12px 14px;border-radius:18px}
  .vpush b{font-size:24px}
  .vplay{font-size:17px;padding:8px 16px 8px 8px}.vplay i{width:38px;height:38px}
  .nav .wrap{gap:8px 12px;flex-wrap:wrap;height:auto;min-height:64px;padding-block:8px}.logo{min-width:0}.nav .cta{flex:none}
  .trio{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:64%;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 12px;margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad);scrollbar-width:none}
  .trio::-webkit-scrollbar{display:none}
  .trio li{scroll-snap-align:center}
}

/* режим снимков: всё видно сразу */
.shot .rv,.js.shot .rv{opacity:1;transform:none;transition:none}

/* ---------- страницы-статьи (SEO, политика) ---------- */
.page{padding:132px 0 40px;overflow-wrap:anywhere}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font:500 17px 'Onest',system-ui,sans-serif;color:var(--muted);margin-bottom:22px}
.crumbs a:hover{color:var(--ink)}
.crumbs span[aria-hidden]{opacity:.5}
.page .h1{font-size:clamp(30px,4.6vw,60px);max-width:900px;text-wrap:balance;overflow-wrap:anywhere;hyphens:auto}
.page .short{margin-top:24px;max-width:760px;font-size:clamp(19px,1.6vw,22px);line-height:1.5;color:var(--ink)}
.article{max-width:760px;margin-top:48px;font-size:19px;line-height:1.65;overflow-wrap:break-word;hyphens:auto}
.article a,.related a,.crumbs{overflow-wrap:anywhere}
.article h2{font:700 clamp(26px,2.6vw,34px)/1.15 'Unbounded',sans-serif;letter-spacing:-.035em;margin:56px 0 18px;overflow-wrap:anywhere;hyphens:auto}
.article h3{font:600 22px/1.3 'Onest',system-ui,sans-serif;margin:34px 0 10px}
.article p{margin:0 0 18px}
.article ul,.article ol{margin:0 0 20px;padding-left:24px}
.article li{margin:6px 0}
.article a{color:var(--acc);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.article strong{font-weight:600}
.article blockquote{margin:28px 0;padding:22px 26px;border-radius:24px;background:var(--acc-soft);color:var(--ink);font-size:19px;line-height:1.5}
.article blockquote p{margin:0}
.article .tbl{overflow-x:auto;margin:24px 0 28px;border-radius:20px;background:var(--bg2);box-shadow:var(--sh)}
.article table{width:100%;border-collapse:collapse;font-size:17px;line-height:1.4;min-width:520px}
.article th,.article td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.article th{font-weight:600;background:var(--soft)}
.article th.us{background:var(--acc);color:#fff}
.article td.us{background:var(--acc-soft);font-weight:600}
.article tr:last-child td{border-bottom:0}
.article.legal{font-size:18px}
.article.legal h2{font-size:clamp(22px,2vw,26px);margin-top:40px}
.cta-box{margin:56px 0 0;padding:34px;border-radius:32px;background:linear-gradient(135deg,var(--acc2),var(--acc));color:#fff;display:flex;align-items:center;gap:28px;max-width:760px}
.cta-box svg{width:84px;height:92px;flex:none}
.cta-box>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
.cta-box b{display:block;font:700 26px/1.15 'Unbounded',sans-serif;letter-spacing:-.03em}
.cta-box p{margin:8px 0 18px;opacity:.9;font-size:18px}
.page .faq{max-width:760px}
.related{margin-top:64px}
.related .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:20px;max-width:900px}
.related a{display:block;padding:22px;border-radius:24px;background:var(--bg2);box-shadow:var(--sh);font:600 18px/1.35 'Onest',system-ui,sans-serif}
.related a:hover{transform:translateY(-2px)}
.nf{min-height:70vh;display:flex;flex-direction:column;justify-content:center}
@media (max-width:700px){
  .page{padding-top:100px}
  .article .tbl{background:none;box-shadow:none;overflow:visible}
  .article table,.article tbody,.article tr,.article td{display:block;min-width:0;width:auto}
  .article thead{display:none}
  .article tr{margin:0 0 14px;padding:16px 18px;border-radius:20px;background:var(--bg2);box-shadow:var(--sh)}
  .article td{padding:6px 0;border:0;display:flex;justify-content:space-between;gap:16px}
  .article td:first-child{font-weight:600;font-size:18px;padding-bottom:8px}
  .article td[data-l]:not([data-l=""])::before{content:attr(data-l);color:var(--muted);flex:none}
  .article td.us{background:none;color:var(--acc)}
  .article{font-size:18px;margin-top:36px}
  .cta-box{flex-direction:column;align-items:flex-start;padding:26px;gap:16px}
}
.cta-box .btn{margin:6px 10px 0 0}

.vpush .p{hyphens:none}

/* Parent guides: one readable column, native exercises and a compact topic index. */
.parents-mobile{display:none}
.skip-link{position:fixed;top:-100px;left:16px;z-index:1000;background:#fff;padding:12px;color:var(--acc)}
.skip-link:focus{top:8px}
:focus-visible{outline:3px solid var(--acc);outline-offset:4px}
.guide-meta{max-width:760px;color:var(--muted);font-size:15px;line-height:1.6;margin:20px 0 12px}
.print-guide{font:inherit;font-size:15px;cursor:pointer;border:1px solid var(--line);border-radius:12px;padding:10px 16px;background:var(--bg2);color:var(--ink)}
.guide-toc{max-width:760px;margin-top:28px;background:var(--acc-soft);padding:22px 26px;border-radius:20px;font-size:17px;line-height:1.55}
.guide-toc ol{margin:12px 0 0;padding-left:22px;display:grid;gap:8px}
.guide-toc a{text-decoration:underline;text-underline-offset:3px}
.guide-page .article h2{scroll-margin-top:105px}
.answer{border:1px solid var(--line);border-radius:18px;background:var(--bg2);margin:16px 0;overflow:hidden}
.answer summary{padding:20px 22px;cursor:pointer;font-weight:600;line-height:1.5}
.answer summary::marker{color:var(--acc)}
.answer-body{padding:0 22px 6px;border-top:1px solid var(--line)}
.answer-body p:first-child{margin-top:18px}
.lesson-figure{margin:28px 0;background:var(--acc-soft);border-radius:20px;padding:24px;text-align:center;break-inside:avoid}
.lesson-figure svg{display:block;width:100%;max-width:450px;height:auto;margin:auto}
.lesson-figure figcaption{font-size:15px;line-height:1.5;color:var(--muted);margin-top:14px}
.division{font:26px/1.35 ui-monospace,monospace;text-align:left;display:inline-block;white-space:pre;margin:0;color:var(--ink)}
.grammar-figure{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 30px}
.grammar-figure>div{display:grid;gap:12px}.grammar-figure small{font-size:15px}
.grammar-figure span{font-size:32px;font-weight:600}.grammar-figure .subject{text-decoration:underline;text-underline-offset:6px;color:var(--acc)}
.grammar-figure .predicate{text-decoration:underline double;text-underline-offset:6px;color:var(--ink)}
.grammar-figure figcaption{flex-basis:100%}
.cta-box h2{font:700 clamp(24px,3vw,32px)/1.2 'Onest',sans-serif;margin:0}
.guide-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.cta-box .demo-link{color:#fff;text-decoration:underline;text-underline-offset:4px;font-size:17px}
.guide-group{margin-top:48px}.guide-group h2{font:700 clamp(23px,3vw,32px)/1.25 'Onest',sans-serif;margin-bottom:20px}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.guide-card{display:flex;flex-direction:column;gap:14px;background:var(--bg2);border:1px solid var(--line);border-radius:24px;padding:28px;transition:box-shadow .2s}
.guide-card:hover{box-shadow:var(--sh)}.guide-card h3{font:600 24px/1.25 'Onest',sans-serif;margin:0}.guide-card p{font-size:18px;line-height:1.5;margin:0;color:var(--muted)}.guide-card>span{margin-top:auto;color:var(--acc);font-size:16px;font-weight:600}
.other-guides ul{display:flex;flex-wrap:wrap;gap:16px 32px;padding-left:22px}.other-guides a{text-decoration:underline;color:var(--acc)}
@media(max-width:1000px){.parents-mobile{display:block;margin-left:auto;font-size:15px;font-weight:600}.nav .wrap{gap:16px}}
@media(max-width:700px){
.guide-grid{grid-template-columns:1fr}.guide-card{padding:24px}.guide-toc{padding:20px;font-size:16px}
.guide-page .article td{display:block}.guide-page .article td[data-l]:not([data-l=""])::before{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.guide-page .article td:first-child{font-size:17px}.lesson-figure{padding:16px}.answer summary{padding:16px}.answer-body{padding:0 16px 4px}
}
@media(max-width:480px){.nav .logo img{width:125px;height:auto}.nav .wrap{gap:10px}.nav .cta{padding:10px 12px;font-size:14px}.parents-mobile{font-size:14px}}
@media print{
.nav,.foot,.guide-toc,.print-guide,.cta-box,.related,.skip-link{display:none!important}
.page{padding:0!important}.wrap{width:auto;max-width:none;padding:0}.article{max-width:none;font-size:12pt;line-height:1.5;margin-top:20px}
.page .h1{font-size:26pt}.page .short{font-size:13pt}.article h2{font-size:17pt;margin-top:24px;break-after:avoid}
.answer{break-inside:avoid}.answer::details-content{content-visibility:visible!important;display:block!important}.answer-body{display:block!important}
.article .tbl{overflow:visible}.article table{min-width:0;font-size:11pt}.lesson-figure svg{max-width:300px}
a{color:inherit!important}body{background:#fff!important}
}

.guide-page .h1{hyphens:none;word-break:normal}.cta-box .access-note{font-size:15px;line-height:1.5;opacity:1}
