/* Landing page in the app's new look (canvas «Новый дизайн», 2026-11): Onest, dark ink, lime accent,
   soft grey-green ground, round pills, white cards. Only index.html loads this file. */
:root{
  --bg:#F3F4EF;--ink:#0E1A16;--ink2:#3A4540;--muted:#5B6660;--line:#E3E6DF;--card:#FFFFFF;
  --dark:#0E1A16;--dark2:#1F3A31;--on-dark:#B7C2BD;--lime:#C8F169;--lime-soft:#F4FBE4;
  --green:#087A55;--green-dark:#065F43;--green-soft:#DDF5E8;
  --yellow-soft:#FFF3C4;--yellow-ink:#7A5600;--blue-soft:#E0EAFF;--blue:#2F5BD3;--blue-ink:#22397A;
  --orange-soft:#FFE9D9;--orange:#C2510F;--orange-ink:#7A3309;--purple-soft:#EDE6FF;--purple:#6B47D6;--purple-ink:#4C2FA6;
  --paper:#F3F4EF;--r:28px;--shadow:0 1px 2px rgba(14,26,22,.05),0 18px 50px rgba(14,26,22,.08);
  --font:Onest,system-ui,-apple-system,"Segoe UI",sans-serif
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
button,a,input,select{font:inherit}
button{color:inherit}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.section{padding:96px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:1000;left:16px;top:-80px;background:#fff;padding:12px 18px;border-radius:14px;box-shadow:var(--shadow);font-weight:700}
.skip-link:focus{top:16px}
:focus-visible{outline:3px solid #6FA88F;outline-offset:3px}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(243,244,239,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.header-inner{height:76px;display:flex;align-items:center;gap:20px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:1.3rem;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.brand-mark{width:38px;height:38px;border-radius:13px;background:var(--lime);display:grid;place-items:center;flex:none}
.brand-mark svg{width:22px;height:22px;stroke:var(--ink);stroke-width:2.2}
.main-nav{display:flex;align-items:center;gap:4px;font-size:.95rem;font-weight:600;order:3;margin-left:auto}
.main-nav a{padding:10px 14px;border-radius:999px;white-space:nowrap;transition:background .2s}
.main-nav a:hover{background:#fff}
.main-nav .nav-account{background:var(--ink);color:#fff;padding:10px 18px;margin-left:8px}
.main-nav .nav-account:hover{background:var(--dark2)}
.language-picker{flex-shrink:0;order:4}
.language-picker select{color:var(--ink);background:#fff;border:0;border-radius:999px;min-height:44px;padding:8px 14px;font-weight:600;box-shadow:inset 0 0 0 1.5px var(--line);max-width:120px;cursor:pointer}
.header-login{display:none;order:5;flex-shrink:0;min-height:44px;align-items:center;padding:0 16px;border-radius:999px;background:var(--ink);color:#fff;font-weight:700;font-size:.93rem}
.menu-button{display:none;order:6;border:0;background:#fff;border-radius:999px;width:44px;height:44px;place-items:center;cursor:pointer}
.menu-button svg{width:22px;height:22px}

/* Shared type and buttons */
.eyebrow{display:inline-flex;align-items:center;margin:0 0 16px;padding:6px 14px;border-radius:999px;background:#fff;color:var(--green);font-size:.82rem;font-weight:700;box-shadow:inset 0 0 0 1.5px var(--line)}
h1,h2,h3{font-weight:800}
.section-heading{max-width:760px;margin-bottom:44px}
.section-heading h2,.account-copy h2{font-size:clamp(2rem,4.2vw,3.25rem);line-height:1.08;letter-spacing:-.035em;margin:0}
.split-heading{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:end}
.split-heading>p{margin:0;color:var(--muted);font-size:1.08rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 26px;border-radius:999px;border:0;font-weight:700;font-size:1rem;cursor:pointer;text-align:center;transition:background .2s,box-shadow .2s,transform .2s}
.button-primary{background:var(--ink);color:#fff}
.button-primary:hover{background:var(--dark2)}
.button-secondary{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
.button-secondary:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.button-lime{background:var(--lime);color:var(--ink)}
.button-lime:hover{background:#D9F78F}
.text-link{margin-top:auto;padding:0;border:0;background:transparent;text-align:left;font-weight:700;color:var(--green);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.text-link:hover{color:var(--ink)}

/* Hero */
.hero{padding:56px 0 88px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(2.8rem,6.2vw,5.2rem);line-height:.98;letter-spacing:-.05em;margin:0;max-width:720px}
.hero h1 span{color:var(--green)}
.hero-lead{font-size:1.2rem;line-height:1.6;max-width:600px;margin:26px 0 30px;color:var(--ink2)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-note{display:flex;align-items:center;gap:8px;margin:18px 0 0;color:var(--muted);font-weight:600;font-size:.95rem}
.hero-note svg{width:20px;height:20px;color:var(--green);flex:none}
.phone-stage{position:relative;height:640px}
.phone-stage:before{content:"";position:absolute;inset:40px 0 20px 30px;border-radius:48px;background:var(--lime)}
.phone{position:relative;width:290px;height:600px;padding:9px;background:var(--ink);border-radius:46px;box-shadow:0 40px 80px rgba(14,26,22,.25);container-type:inline-size}
.phone:before{content:"";position:absolute;z-index:2;width:84px;height:22px;border-radius:0 0 14px 14px;background:var(--ink);top:9px;left:50%;transform:translateX(-50%)}
.phone-stage .phone{position:absolute}
.phone-back{left:8%;top:0;transform:rotate(-5deg)}
.phone-front{right:4%;top:70px;transform:rotate(4deg);width:262px;height:542px}
.screen{height:100%;border-radius:37px;overflow:hidden;background:var(--bg);color:var(--ink);text-align:left;display:flex;flex-direction:column}
.screen p{margin:0}
.floating-note{position:absolute;z-index:3;display:flex;flex-direction:column;background:#fff;padding:14px 18px;border-radius:20px;box-shadow:0 18px 40px rgba(14,26,22,.16);line-height:1.3}
.floating-note strong{font-size:1.05rem}
.floating-note span{color:var(--muted);font-size:.82rem}
.note-one{left:0;bottom:60px}
.note-two{right:-8px;top:24px}
.note-two strong{color:var(--green)}

/* Mock screen: «Сегодня» */
.today-screen{padding:13cqw 6cqw 6cqw;gap:4.5cqw}
.ts-head{display:flex;align-items:center;gap:3.5cqw}
.ts-avatar{width:13cqw;height:13cqw;border-radius:50%;background:var(--lime);display:grid;place-items:center;font-weight:800;font-size:5.4cqw;flex:none}
.ts-head small{display:block;font-size:3.8cqw;color:var(--muted);line-height:1.3}
.ts-head b{display:block;font-size:4.8cqw;line-height:1.3}
.ts-title{font-size:8cqw;line-height:1.1;font-weight:800;letter-spacing:-.02em}
.ts-card{background:var(--ink);color:#fff;border-radius:8cqw;padding:5.5cqw;display:flex;flex-direction:column;gap:3.6cqw}
.ts-pills{display:flex;gap:2cqw}
.ts-pills span{padding:1cqw 3.2cqw;border-radius:99px;background:var(--dark2);color:var(--lime);font-size:3.6cqw;font-weight:700}
.ts-pills span+span{color:#E6ECE9;font-weight:600}
.ts-lesson{font-size:6.6cqw;line-height:1.15;font-weight:800}
.ts-text{font-size:3.9cqw;line-height:1.35;color:var(--on-dark)}
.ts-words{display:flex}
.ts-words span{width:13cqw;height:13cqw;border-radius:50%;background:#fff;border:.8cqw solid var(--ink);display:grid;place-items:center}
.ts-words span+span{margin-left:-3cqw}
.ts-words img{width:72%;height:72%;object-fit:contain}
.ts-start{height:14cqw;border-radius:99px;background:var(--lime);color:var(--ink);font-weight:800;font-size:4.6cqw;display:flex;align-items:center;justify-content:center;gap:2.4cqw}
.ts-start svg{width:5.4cqw;height:5.4cqw;fill:var(--ink);stroke:none}
.ts-stats{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw}
.ts-stats p{background:var(--green-soft);border-radius:5cqw;padding:3.4cqw;display:flex;align-items:baseline;gap:2cqw}
.ts-stats b{font-size:7cqw;color:var(--green);line-height:1}
.ts-stats span{font-size:3.3cqw;font-weight:600;line-height:1.2}
.ts-stats .life{background:var(--yellow-soft)}
.ts-stats .life b{color:var(--yellow-ink)}

/* Mock screen: child lesson */
.child-screen{background:#FFF8E8;padding:12cqw 6cqw 7cqw;gap:6cqw}
.cs-top{display:flex;align-items:center;gap:4cqw}
.cs-x{width:12cqw;height:12cqw;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none}
.cs-x svg{width:5.4cqw;height:5.4cqw;color:var(--muted)}
.cs-bar{flex:1;height:3.8cqw;border-radius:99px;background:#F1E6C8;overflow:hidden}
.cs-bar i{display:block;width:40%;height:100%;border-radius:99px;background:var(--green)}
.cs-say{align-self:center;display:flex;align-items:center;gap:3cqw;background:var(--ink);color:#fff;border-radius:99px;padding:3cqw 6cqw 3cqw 3.4cqw;font-size:6.6cqw;font-weight:800;white-space:nowrap}
.cs-say span{width:11cqw;height:11cqw;border-radius:50%;background:var(--lime);display:grid;place-items:center}
.cs-say svg{width:6cqw;height:6cqw;color:var(--ink)}
.cs-cards{flex:1;display:flex;flex-direction:column;gap:6cqw;padding:3cqw}
.cs-cards span{flex:1;border-radius:10cqw;background:#fff;display:grid;place-items:center;box-shadow:0 .6cqw 0 #F1E6C8}
.cs-cards .hinted{box-shadow:0 0 0 1.8cqw #FFC93C,0 0 0 4cqw #FFEDB0}
.cs-cards img{width:62%;height:auto;aspect-ratio:1;object-fit:contain}

/* App status strip */
.app-status{padding-bottom:8px}
.status-card{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:24px 28px;border-radius:32px;background:var(--ink);color:#fff}
.status-icon{width:52px;height:52px;border-radius:18px;background:var(--dark2);display:grid;place-items:center;flex:none}
.status-icon svg{width:26px;height:26px;color:var(--lime)}
.status-card+.status-card{margin-top:12px}
.status-card p{margin:0;flex:1 1 420px;line-height:1.5}
.status-card p span{color:var(--on-dark)}

/* Lesson section */
.lesson-grid{display:grid;grid-template-columns:1fr 400px;gap:72px;align-items:center}
.lesson-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.lesson-steps li{display:flex;gap:18px;align-items:flex-start;background:#fff;border-radius:var(--r);padding:24px}
.lesson-steps li>span{flex:none;width:48px;height:48px;border-radius:16px;background:var(--ink);color:var(--lime);font-weight:800;font-size:1.2rem;display:grid;place-items:center}
.lesson-steps h3{margin:2px 0 6px;font-size:1.25rem;line-height:1.25;letter-spacing:-.015em}
.lesson-steps p{margin:0;color:var(--muted)}
.result-stage{display:grid;place-items:center;padding:40px 24px;background:var(--green-soft);border-radius:40px}
.result-stage .phone{width:300px;height:600px;box-shadow:0 30px 60px rgba(6,95,67,.22)}

/* Mock screen: lesson result */
.result-screen{padding:12cqw 6cqw 6cqw;gap:3.6cqw}
.rs-meta{align-self:flex-start;padding:1.4cqw 3.6cqw;border-radius:99px;background:var(--green-soft);color:var(--green-dark);font-size:3.8cqw;font-weight:700}
.rs-title{font-size:8cqw;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.rs-big{background:var(--green);color:#fff;border-radius:7cqw;padding:5cqw;display:flex;align-items:center;gap:4cqw}
.rs-big b{font-size:15cqw;line-height:1;color:var(--lime)}
.rs-big strong{display:block;font-size:5cqw;line-height:1.2}
.rs-big small{display:block;font-size:3.5cqw;line-height:1.3;color:#CDEBDD}
.rs-new{background:var(--yellow-soft);border-radius:6cqw;padding:3.4cqw 4cqw;display:flex;align-items:center;gap:3cqw}
.rs-new>span{width:13cqw;height:13cqw;border-radius:4cqw;background:#fff;display:grid;place-items:center;flex:none}
.rs-new img{width:76%;height:76%;object-fit:contain}
.rs-new small{display:block;font-size:3.3cqw;font-weight:700;color:var(--yellow-ink)}
.rs-new b{display:block;font-size:4cqw;line-height:1.25}
.rs-groups{background:#fff;border-radius:6cqw;padding:4.4cqw;display:flex;flex-direction:column;gap:2.2cqw}
.rs-label{font-size:3.8cqw;font-weight:800;color:var(--green)}
.rs-label.hint{color:var(--blue);margin-top:1.6cqw}
.rs-objs{display:flex;gap:2.2cqw}
.rs-objs span{width:16cqw;height:16cqw;border-radius:5cqw;background:var(--green-soft);display:grid;place-items:center}
.rs-objs.hint span{background:var(--blue-soft)}
.rs-objs img{width:74%;height:74%;object-fit:contain}
.rs-check{margin-top:auto!important;height:15cqw;border-radius:99px;background:var(--ink);color:#fff;font-weight:700;font-size:4.6cqw;display:flex;align-items:center;justify-content:center;gap:2.6cqw}
.rs-check svg{width:6cqw;height:6cqw;color:var(--lime)}

.fact-row{list-style:none;margin:56px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.fact-row li{background:#fff;border-radius:var(--r);padding:24px}
.chip{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin-bottom:18px}
.chip svg{width:24px;height:24px}
.chip.green{background:var(--green-soft);color:var(--green)}
.chip.blue{background:var(--blue-soft);color:var(--blue)}
.chip.orange{background:var(--orange-soft);color:var(--orange)}
.chip.purple{background:var(--purple-soft);color:var(--purple)}
.fact-row strong{display:block;font-size:1.5rem;line-height:1.15;font-weight:800;letter-spacing:-.03em}
.fact-row li>span:last-child{display:block;margin-top:6px;color:var(--muted);font-size:.95rem}

/* Start */
.start-section{padding-top:24px}
.start-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.start-steps li{display:flex;padding:30px;border-radius:var(--r);background:#fff}
.start-steps li>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}
.start-steps .step-place{margin:0;padding:5px 12px;border-radius:999px;background:var(--bg);font-size:.85rem;font-weight:700;color:var(--green)}
.start-steps h3{margin:4px 0 0;font-size:1.4rem;line-height:1.25;letter-spacing:-.02em}
.start-steps li p{margin:0}
.start-steps li p:not(.step-place):not(.step-free){flex:1;color:var(--muted)}
.start-steps .button{margin-top:6px}
.start-steps .step-lime{background:var(--lime)}
.start-steps .step-lime .step-place{background:rgba(255,255,255,.6);color:var(--ink)}
.start-steps .step-lime li p,.start-steps .step-lime p:not(.step-place):not(.step-free){color:var(--ink2)}
.start-steps .step-free{margin-top:6px!important;min-height:56px;display:flex;align-items:center;padding:0 22px;border-radius:999px;background:var(--ink);color:var(--lime);font-weight:800}

/* Account */
.account-section{background:var(--ink);color:#fff;border-radius:48px;margin-inline:12px;overflow:hidden}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.account-copy .eyebrow{background:var(--dark2);color:var(--lime);box-shadow:none}
.account-copy>p{color:var(--on-dark);font-size:1.08rem;margin:18px 0 0}
.cabinet-points{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:16px}
.cabinet-points li{display:flex;gap:14px;align-items:flex-start}
.cabinet-points li>span{flex:none;width:44px;height:44px;border-radius:15px;background:var(--dark2);display:grid;place-items:center}
.cabinet-points svg{width:22px;height:22px;color:var(--lime)}
.cabinet-points p{margin:0;padding-top:2px}
.cabinet-points p span{color:var(--on-dark)}
.account-stage{position:relative;padding:150px 34px 0}
.dashboard-card{position:relative;padding:28px;background:#fff;border-radius:32px;color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.fan-card{position:absolute;width:230px;height:300px;padding:20px;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 18px 44px rgba(0,0,0,.3);transform-origin:bottom center}
.fan-card p{margin:0}
.fan-left{left:0;top:34px;transform:rotate(-11deg)}
.fan-right{right:0;top:40px;transform:rotate(12deg)}
.fan-center{left:50%;top:0;width:240px;margin-left:-120px;background:var(--lime);transform:rotate(2deg)}
.fan-label{font-size:.82rem;font-weight:700;color:var(--muted)}
.fan-center .fan-label{color:var(--ink2)}
.fan-value{margin-top:6px!important;font-size:1.8rem;line-height:1.1;font-weight:800;letter-spacing:-.03em}
.fan-pair{display:flex;align-items:baseline;gap:8px;margin-top:10px!important;padding:10px 12px;border-radius:16px;background:var(--green-soft);font-size:.8rem;font-weight:600;line-height:1.2}
.fan-pair b{font-size:1.5rem;color:var(--green)}
.fan-pair.life{background:var(--yellow-soft)}
.fan-pair.life b{color:var(--yellow-ink)}
.fan-right ul{list-style:none;margin:6px 0 0;padding:0;font-size:.85rem}
.fan-right li{display:flex;justify-content:space-between;gap:8px;padding:9px 0}
.fan-right li+li{border-top:1px solid var(--line)}
.fan-right li span{color:var(--green);font-weight:700}
.fan-meter{height:8px;border-radius:99px;background:rgba(14,26,22,.15);overflow:hidden;margin-top:12px}
.fan-meter i{display:block;width:70%;height:100%;border-radius:99px;background:var(--ink)}
.fan-date{margin-top:10px!important;font-size:.8rem;color:var(--ink2)}
.access-card{background:var(--lime);border-radius:22px;padding:20px;margin:20px 0}
.access-card p{margin:0;color:var(--ink2)}
.access-card strong{font-size:1.25rem}
#parent-account .button-secondary{box-shadow:inset 0 0 0 1.5px var(--line)}
#auth-fields input:not([type=checkbox]){border:0!important;box-shadow:inset 0 0 0 1.5px #C9CFC7;border-radius:16px!important;min-height:52px!important;padding:10px 16px!important}
#auth-fields input:not([type=checkbox]):focus-visible{box-shadow:inset 0 0 0 2px var(--ink);outline:none}
#account-message{border-radius:16px!important;background:var(--bg)!important}

/* Pricing */
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:stretch}
.price-card{position:relative;padding:32px;border-radius:var(--r);background:#fff;display:flex;flex-direction:column;min-height:320px}
.price-card.best{background:var(--ink);color:#fff}
.best-label{position:absolute;right:22px;top:22px;background:var(--lime);color:var(--ink);border-radius:999px;padding:5px 12px;font-size:.78rem;font-weight:800}
.period{margin:0;font-weight:700;color:var(--green)}
.best .period{color:var(--lime)}
.price-card h3{font-size:2.6rem;line-height:1;margin:20px 0 10px;letter-spacing:-.04em}
.price-card h3 small{font-size:1rem;font-weight:600}
.price-card .per-day{margin:0 0 12px;font-weight:700}
.price-card>p:not(.period):not(.per-day){color:var(--muted);margin:0 0 24px}
.price-card.best>p:not(.period):not(.per-day){color:var(--on-dark)}
.price-card .button{margin-top:auto;width:100%}
.trial-banner{margin:14px 0 0;padding:24px 28px;border-radius:var(--r);background:var(--lime);display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px}
.trial-banner p{margin:0;flex:1 1 420px}

/* Materials */
.materials-section{padding-top:24px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.article-card{min-height:330px;padding:28px;border-radius:var(--r);display:flex;flex-direction:column}
.article-card.blue{background:var(--blue-soft)}
.article-card.orange{background:var(--orange-soft)}
.article-card.purple{background:var(--purple-soft)}
.article-icon{width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center}
.article-icon svg{width:26px;height:26px}
.blue .article-icon{color:var(--blue)}.orange .article-icon{color:var(--orange)}.purple .article-icon{color:var(--purple)}
.article-topic{margin:28px 0 8px;font-size:.88rem;font-weight:700}
.blue .article-topic,.blue .text-link{color:var(--blue-ink)}
.orange .article-topic,.orange .text-link{color:var(--orange-ink)}
.purple .article-topic,.purple .text-link{color:var(--purple-ink)}
.article-card h3{font-size:1.45rem;line-height:1.2;margin:0 0 12px;letter-spacing:-.02em}
.article-card>p:not(.article-topic){color:var(--ink2);margin:0 0 20px}
.article-card .text-link{min-height:44px;display:inline-flex;align-items:center}

/* FAQ */
.faq-section{padding-top:24px}
.faq-grid{display:grid;grid-template-columns:1fr 2fr;gap:32px 64px;align-items:start}
.faq-grid .section-heading{margin-bottom:0}
.faq-list{display:grid;gap:10px}
.faq-list details{background:#fff;border-radius:24px;padding:8px 24px}
.faq-list summary{list-style:none;cursor:pointer;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:1.15rem;font-weight:700}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:"+";flex:none;width:34px;height:34px;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-size:1.3rem;font-weight:600;line-height:1}
.faq-list details[open] summary:after{content:"–";background:var(--lime)}
.faq-list summary:focus-visible{outline:3px solid #6FA88F;outline-offset:3px;border-radius:8px}
.faq-list p{margin:0 0 16px;max-width:640px;color:var(--muted)}

/* Footer */
.site-footer{background:var(--ink);color:#E6ECE9;padding:64px 0 28px;margin-top:24px;border-radius:48px 48px 0 0}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:56px}
.footer-grid .footer-brand{color:#fff;font-size:1.3rem;margin-bottom:16px}
.footer-grid>div:first-child p{max-width:340px}
.footer-grid h2{font-size:.95rem;color:#fff;margin:0 0 14px}
.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.footer-grid a:hover{color:var(--lime)}
.footer-grid p,.footer-grid a{font-size:.92rem;color:var(--on-dark)}
.footer-grid p{margin:0}
.footer-grid>div:not(:first-child) p{margin-bottom:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding-top:22px;display:flex;justify-content:space-between;color:#8E9B95;font-size:.82rem}

/* Dialog */
.info-dialog{width:min(520px,calc(100% - 32px));border:0;border-radius:32px;padding:36px;color:var(--ink);background:#fff;box-shadow:var(--shadow)}
.info-dialog::backdrop{background:rgba(14,26,22,.55);backdrop-filter:blur(3px)}
.dialog-close{position:absolute;right:16px;top:16px;border:0;background:var(--bg);border-radius:50%;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}
.dialog-close svg{width:20px;height:20px}
.dialog-icon{width:54px;height:54px;border-radius:18px;background:var(--lime);display:grid;place-items:center}
.dialog-icon svg{width:26px;height:26px;stroke-width:2.4}
.info-dialog h2{font-size:1.7rem;line-height:1.15;margin:20px 0 10px}
.info-dialog p{color:var(--muted)}
.info-dialog .button{width:100%;margin-top:8px}

/* Tablet */
@media(max-width:1060px){
  .main-nav{position:absolute;top:72px;left:20px;right:20px;background:#fff;box-shadow:var(--shadow);border-radius:24px;padding:12px;display:none;flex-direction:column;align-items:stretch;gap:2px}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px 16px}
  .main-nav a:hover{background:var(--bg)}
  .main-nav .nav-account{margin:6px 0 0;text-align:center}
  .menu-button{display:grid}
  .header-login{display:inline-flex}
  .language-picker{order:2;margin-left:auto}
}
@media(max-width:980px){
  .hero-grid,.account-grid,.lesson-grid,.faq-grid{grid-template-columns:1fr}
  .hero-copy{text-align:center}
  .hero-lead{margin-inline:auto}
  .hero-actions,.hero-note{justify-content:center}
  .phone-stage{max-width:560px;width:100%;margin:0 auto}
  .lesson-grid{gap:40px}
  .result-stage{max-width:560px;width:100%;margin:0 auto}
  .fact-row{grid-template-columns:1fr 1fr}
  .start-steps,.price-grid,.article-grid{grid-template-columns:1fr}
  .account-stage{max-width:620px;width:100%;margin:auto}
  .split-heading{grid-template-columns:1fr;gap:14px}
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr}
  .article-card{min-height:0}
  .price-card{min-height:0}
}
/* Phone */
@media(max-width:720px){
  .container{width:calc(100% - 32px)}
  .section{padding:64px 0}
  .hero{padding:32px 0 56px}
  .hero h1{font-size:clamp(2.5rem,12vw,4rem)}
  .hero-lead{font-size:1.05rem}
  .phone-stage{height:500px}
  .phone-stage:before{inset:40px 0 10px}
  .phone-back{width:230px;height:476px;left:0;padding:7px;border-radius:38px}
  .phone-front{width:208px;height:430px;right:0;top:56px;padding:7px;border-radius:36px}
  .phone-stage .screen{border-radius:31px}
  .note-one{left:4px;bottom:16px}
  .note-two{right:4px;top:0}
  .floating-note{padding:10px 14px;border-radius:16px}
  .result-stage{padding:28px 12px;border-radius:32px}
  .result-stage .phone{width:270px;height:540px}
  .status-card{padding:22px}
  .status-card .button{width:100%}
  .lesson-steps li{padding:20px;gap:14px}
  .lesson-steps li>span{width:42px;height:42px;font-size:1.05rem;border-radius:14px}
  .fact-row{margin-top:40px}
  .start-steps li{padding:24px}
  .start-steps .button,.start-steps .step-free{width:100%;justify-content:center}
  .account-section{margin-inline:0;border-radius:36px}
  .account-grid{gap:44px}
  .account-stage{padding:120px 0 0}
  .fan-card{width:180px;height:250px;padding:16px}
  .fan-left{left:-6px}
  .fan-right{right:-6px}
  .fan-center{width:196px;margin-left:-98px}
  .dashboard-card{padding:22px;border-radius:28px}
  .trial-banner{padding:22px}
  .trial-banner .button{width:100%}
  .faq-list details{padding:6px 18px}
  .faq-list summary{font-size:1.05rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-bottom{gap:8px;flex-direction:column}
  .site-footer{border-radius:36px 36px 0 0}
}
@media(max-width:480px){
  .header-inner{height:68px;gap:8px}
  .main-nav{top:66px;left:16px;right:16px}
  .brand{font-size:1.1rem;gap:8px}
  .brand-mark{width:34px;height:34px;border-radius:12px}
  .language-picker select{max-width:96px;padding:8px 10px;font-size:.88rem}
  .header-login{padding:0 14px}
  .hero-actions{flex-direction:column}
  .hero-actions .button{width:100%}
  .fact-row{grid-template-columns:1fr}
  .phone-stage{height:450px}
  .phone-back{width:200px;height:414px}
  .phone-front{width:184px;height:380px;top:52px}
  .price-card{padding:26px}
  .footer-grid{grid-template-columns:1fr}
  .info-dialog{padding:28px 22px}
}
@media(max-width:359px){.site-header .brand>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* «Войти через Telegram» under the code sign-in. Darker than Telegram's blue so white text stays readable. */
.telegram-login{margin-top:14px}
.auth-or{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:var(--muted);font-size:.9rem}
.auth-or:before,.auth-or:after{content:"";flex:1;height:1px;background:var(--line)}
.button-telegram{width:100%;background:#176FAE;color:#fff;text-decoration:none}
.button-telegram:hover{background:#125A8E}
.button-telegram[aria-disabled=true]{opacity:.55;cursor:progress}
.telegram-icon{display:inline-flex}
.telegram-login-status{margin:10px 0 0;font-size:.9rem;color:var(--muted)}
