/* Публичные страницы «Карусельной» (релиз 20261011site2): демо, цена, статьи, помощь, документы, 404, карта.
   Цвета, шапка, кнопки, поля и переключатель темы — из kabinet.css. Здесь общая шапка с разделами, подвал и раскладки страниц. */

/* --- Шапка с разделами --- */
.site-top{gap:22px}
.site-nav{display:flex;align-items:center;gap:4px;padding-left:22px;border-left:1px solid var(--line);flex:1;min-width:0}
.site-nav a{padding:8px 12px;border-radius:8px;color:var(--muted);font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.site-nav a:hover{color:var(--ink);background:var(--ctrl-hover)}
.site-nav a[aria-current=page]{color:var(--ink);background:var(--tint);color:var(--accent)}
.top-actions .btn{min-height:38px;padding:7px 14px}
.nav-row{display:none}
html.dark-pending body{background:#161618}

/* --- Общая раскладка --- */
.page{max-width:1120px;margin:0 auto;padding:56px 40px 72px}
.page.narrow{max-width:760px}
.eyebrow{margin:0 0 12px;color:var(--accent);font-size:14px;font-weight:600}
.page h1{font-size:46px;line-height:1.08;letter-spacing:-.028em;margin:0 0 14px;font-weight:800;text-wrap:balance}
.page .lead{font-size:20px;line-height:1.45;max-width:640px;text-wrap:pretty}
.section{margin-top:56px}
.section>h2{font-size:28px;letter-spacing:-.02em;margin:0 0 8px;font-weight:700}
.section>.help{font-size:16px;margin:0 0 22px;max-width:620px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:28px}
.chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:6px;background:var(--tint);color:var(--accent);font-size:12px;font-weight:600;white-space:nowrap}
.chip.gray{background:var(--ctrl-hover);color:var(--muted)}
body.dark .chip.gray{background:var(--field)}
.text-link{color:var(--accent);font-weight:600;text-decoration:none}
.text-link:hover{text-decoration:underline}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.actions .btn{min-height:50px;padding-inline:24px;font-size:16px;font-weight:600;border-radius:10px}
.cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:56px;padding:30px 32px;background:var(--sub-bg);border:1px solid var(--sub-line);border-radius:14px}
.cta h2{margin:0 0 6px;font-size:24px;letter-spacing:-.015em}
.cta p{margin:0;color:var(--muted);font-size:16px;line-height:1.45}
.cta .actions{margin:0;flex-shrink:0}

/* --- Подвал --- */
.site-foot{border-top:1px solid var(--line);background:var(--surface)}
.foot-in{max-width:1120px;margin:0 auto;padding:40px 40px 32px;display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:32px}
.foot-brand p{margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.5;max-width:300px}
.foot-col h3{margin:0 0 12px;font-size:13px;font-weight:600;color:var(--muted)}
.foot-col a{display:block;padding:5px 0;color:var(--ink);font-size:15px;text-decoration:none}
.foot-col a:hover{color:var(--accent)}
.copy{grid-column:1/-1;margin:8px 0 0;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.mini-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:8px 20px 32px;color:var(--muted);font-size:14px}
.mini-foot a{color:var(--muted);text-decoration:none}
.mini-foot a:hover{color:var(--accent)}

/* --- Карта страниц --- */
.flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none}
.flow li{display:flex;align-items:center;gap:8px}
.flow a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-weight:500;text-decoration:none}
.flow a:hover{border-color:var(--blue)}
.flow li:not(:last-child):after{content:'→';color:var(--muted)}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tile{display:flex;flex-direction:column;gap:8px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}
.tile:hover{border-color:var(--blue)}
.tile:active{transform:scale(.99)}
.tile b{font-size:17px;font-weight:600}
.tile span{color:var(--muted);font-size:14px;line-height:1.45}
.tile .chip{align-self:flex-start;margin-top:auto}
.tile small{color:var(--muted);font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}

/* --- Демо --- */
.demo{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:24px;align-items:start;margin-top:36px}
.demo-source{position:sticky;top:20px;display:flex;flex-direction:column;gap:12px}
.demo-source label{font-size:14px;font-weight:600}
.demo-source textarea{width:100%;min-height:340px;resize:vertical;padding:14px;border:1px solid var(--edge);border-radius:10px;background:var(--field);color:var(--ink);font:inherit;font-size:15px;line-height:1.5}
body.dark .demo-source textarea{border-color:transparent}
.demo-source textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--tint)}
.demo-source .primary{min-height:48px;font-size:16px;font-weight:600;border-radius:10px}
.demo-source .help{margin:0}
.demo-count{color:var(--muted);font-size:14px;margin:0 0 12px}
.slides{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.slide-card{margin:0;display:flex;flex-direction:column;gap:8px}
.slide-card canvas{width:100%;aspect-ratio:4/5;border-radius:8px;background:var(--placeholder);box-shadow:0 1px 3px rgb(0 0 0 / .08)}
.slide-card figcaption{color:var(--muted);font-size:13px}
.demo .msg{margin:0}

/* --- Выгоды редактора на демо --- */
.gains{margin-top:64px;padding:44px 40px 36px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.gains-head{max-width:720px}
.gains-head h2{margin:0 0 12px;font-size:34px;line-height:1.15;letter-spacing:-.025em;font-weight:800;text-wrap:balance}
.gains-head p:not(.eyebrow){margin:0;color:var(--muted);font-size:18px;line-height:1.5;text-wrap:pretty}
.gains-grid{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:gain}
.gains-grid li{counter-increment:gain;display:flex;flex-direction:column;gap:8px;padding:22px 22px 24px;background:var(--sub-bg);border:1px solid var(--sub-line);border-radius:14px}
.gains-grid li:before{content:counter(gain,decimal-leading-zero);color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.gains-grid b{font-size:18px;line-height:1.3;letter-spacing:-.01em}
.gains-grid span{color:var(--muted);font-size:15px;line-height:1.55}
.gains-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.gains-foot p{margin:0;max-width:460px;color:var(--muted);font-size:16px;line-height:1.5}
.gains-foot b{color:var(--ink)}
.gains-foot .actions{margin:0;flex-shrink:0}

/* --- Главная --- */
.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:48px;align-items:center;padding-block:12px 8px}
.hero h1{font-size:56px}
.hero .help{margin:14px 0 0}
.hero-fan{margin:0}
.fan{position:relative;aspect-ratio:1.15;max-width:520px;margin-inline:auto}
.fan canvas{position:absolute;top:6%;width:52%;aspect-ratio:4/5;border-radius:12px;background:var(--placeholder);box-shadow:0 18px 40px -18px rgb(0 0 0 / .35),0 2px 6px rgb(0 0 0 / .08);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.fan .fan-0{left:24%;z-index:3;transform:translateY(-2%)}
.fan .fan-1{left:46%;z-index:2;transform:rotate(7deg) translateY(6%)}
.fan .fan-2{left:2%;z-index:1;transform:rotate(-7deg) translateY(6%)}
.hero-fan figcaption{margin-top:14px;text-align:center;color:var(--muted);font-size:13px}

/* --- Цена --- */
.price-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:28px;align-items:start;margin-top:36px}
.price-card{position:sticky;top:20px}
.price{display:flex;align-items:baseline;gap:10px;margin:6px 0 4px}
.price strong{font-size:48px;letter-spacing:-.03em;font-weight:800;font-variant-numeric:tabular-nums}
.price span{color:var(--muted);font-size:17px}
.price-card .btn{width:100%;min-height:52px;margin-top:22px;font-size:16px;font-weight:600;border-radius:10px}
.price-card .help{margin:14px 0 0;text-align:center}
.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.checks li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;font-size:16px;line-height:1.45}
.checks li:before{content:'';width:22px;height:22px;margin-top:1px;border-radius:50%;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat}
.checks b{font-weight:600}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:step}
.steps li{counter-increment:step;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:15px;line-height:1.5;color:var(--muted)}
.steps li:before{content:counter(step);display:grid;place-items:center;width:30px;height:30px;margin-bottom:12px;border-radius:50%;background:var(--tint);color:var(--accent);font-weight:700}
.steps b{display:block;margin-bottom:4px;color:var(--ink);font-size:16px}
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pair .panel h3{margin:0 0 6px;font-size:18px}
.pair .panel p{margin:0;color:var(--muted);font-size:15px;line-height:1.5}

/* --- Статьи --- */
.articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:36px}
.article-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;color:var(--ink);text-decoration:none;transition:border-color .15s}
.article-card:hover{border-color:var(--blue)}
.article-card img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top;display:block;background:var(--placeholder)}
.article-card div{display:flex;flex-direction:column;gap:8px;padding:18px 20px 22px;flex:1}
.article-card .eyebrow{margin:0;font-size:13px}
.article-card b{font-size:19px;line-height:1.3;letter-spacing:-.01em}
.article-card span{color:var(--muted);font-size:14px;line-height:1.5}
.article-card .text-link{margin-top:auto;padding-top:6px}
.crumbs{display:flex;gap:8px;margin:0 0 22px;color:var(--muted);font-size:14px}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
.article-meta{margin:0 0 26px;color:var(--muted);font-size:14px}
.prose{font-size:18px;line-height:1.65}
.prose .intro{font-size:20px;line-height:1.55;margin:0 0 32px}
.prose h2{font-size:26px;line-height:1.25;letter-spacing:-.015em;margin:44px 0 14px}
.prose p{margin:0 0 16px}
.prose ul{list-style:none;margin:6px 0 20px;padding:0;display:flex;flex-direction:column;gap:8px}
.prose ul li{padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:16px;line-height:1.5}
.prose figure{margin:32px 0}
.prose figure img{display:block;width:min(100%,420px);aspect-ratio:4/5;object-fit:cover;border-radius:12px;background:var(--placeholder)}
.prose figcaption{margin-top:10px;color:var(--muted);font-size:14px;line-height:1.5;max-width:560px}
.boxed{margin:36px 0 0;padding:24px 26px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.boxed h2{margin:0 0 12px;font-size:20px}
.boxed ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.5;list-style:disc}
.boxed ul li{padding:0;background:none;border:0}
.boxed p{margin:0;font-size:16px;line-height:1.55}

/* --- Помощь и документы --- */
.toc{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.toc a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:15px;text-decoration:none}
.toc a:hover{border-color:var(--blue)}
.faq{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.qa+.qa{border-top:1px solid var(--line)}
.qa summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:16px 24px;cursor:pointer;list-style:none;font-size:17px;font-weight:600;line-height:1.35;transition:background .2s}
.qa summary::-webkit-details-marker{display:none}
.qa summary:hover{background:var(--ctrl-hover)}
.qa summary:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.qa summary svg{flex-shrink:0;width:20px;height:20px;color:var(--muted);transition:transform .32s cubic-bezier(.2,.7,.2,1),color .2s}
.qa[open]:not([data-state=closing]) summary svg{transform:rotate(180deg);color:var(--accent)}
.qa-a{overflow:hidden}
.qa-in{padding:0 24px 20px}
.qa p{margin:0;color:var(--muted);font-size:15px;line-height:1.6;max-width:620px}
.qa p+p{margin-top:8px}
.qa a{color:var(--accent);font-weight:600;text-decoration:none}
.doc{scroll-margin-top:20px}
.doc .status{display:flex;gap:12px;align-items:flex-start;margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.doc .status:before{content:'';flex-shrink:0;width:10px;height:10px;margin-top:7px;border-radius:50%;background:var(--off)}

/* --- 404 --- */
.lost{text-align:center;padding-block:96px 80px}
.lost .code{font-size:120px;line-height:1;font-weight:800;letter-spacing:-.05em;color:var(--accent);margin:0 0 14px;font-variant-numeric:tabular-nums}
.lost .lead{margin-inline:auto}
.lost .actions{justify-content:center}

/* --- Телефон --- */
@media(max-width:959px){
 .site-nav{display:none}
 .nav-row{display:flex;gap:6px;overflow-x:auto;padding:8px 14px;background:var(--surface);border-bottom:1px solid var(--line);scrollbar-width:none}
 .nav-row::-webkit-scrollbar{display:none}
 .nav-row a{flex-shrink:0;padding:7px 12px;border-radius:999px;color:var(--muted);font-size:14px;font-weight:500;text-decoration:none}
 .nav-row a[aria-current=page]{background:var(--tint);color:var(--accent)}
 .top-actions{margin-left:auto}
 .articles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .price-grid,.demo{grid-template-columns:minmax(0,1fr)}
 .gains-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero{grid-template-columns:minmax(0,1fr);gap:28px}
 .hero h1{font-size:44px}
 .gains-foot{flex-direction:column;align-items:stretch}
 .price-card,.demo-source{position:static}
 .foot-in{grid-template-columns:repeat(3,minmax(0,1fr))}
 .foot-brand{grid-column:1/-1}
}
@media(max-width:759px){
 .site-top .brand-name{display:none}
 .top-actions .btn{padding-inline:12px}
 .page{padding:28px 16px 48px}
 .page h1{font-size:32px}
 .page .lead{font-size:17px}
 .section{margin-top:40px}
 .section>h2{font-size:23px}
 .panel{padding:20px}
 .cta{flex-direction:column;align-items:stretch;padding:22px 20px;margin-top:40px}
 .cta .actions{flex-direction:column}
 .actions .btn{width:100%}
 .steps,.pair,.articles{grid-template-columns:minmax(0,1fr)}
 .slides{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .demo-source textarea{min-height:220px}
 .price strong{font-size:40px}
 .prose{font-size:17px}
 .prose .intro{font-size:18px}
 .prose h2{font-size:22px;margin-top:36px}
 .hero h1{font-size:34px}
 .fan{aspect-ratio:1.25}
 .qa summary{padding:14px 18px;font-size:16px}
 .qa-in{padding:0 18px 16px}
 .gains{margin-top:44px;padding:26px 18px 22px;border-radius:16px}
 .gains-head h2{font-size:25px}
 .gains-head p:not(.eyebrow){font-size:16px}
 .gains-grid{grid-template-columns:minmax(0,1fr);margin-top:22px}
 .gains-foot .actions{flex-direction:column}
 .foot-in{padding:32px 16px 24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .lost{padding-block:56px}
 .lost .code{font-size:88px}
}
@media(max-width:380px){
 .top-actions .btn.ghost{display:none}
}
@media(prefers-reduced-motion:reduce){
 .qa summary svg,.fan canvas{transition:none}
}

/* --- Главная А+Б (testglavnaya-ab.html) --- */
html:not([data-hero=cold]) .h-cold,html[data-hero=cold] .h-warm{display:none}
.home{overflow-x:clip}
.home>section{max-width:1120px;margin-inline:auto;padding-inline:40px}
.home>.gains{width:calc(100% - 80px);max-width:1040px;padding-inline:40px}
.h-sec{margin-top:96px}
.h-sec>h2,.h-proof-head h2,.h-final h2{font-size:38px;line-height:1.12;letter-spacing:-.025em;margin:0 0 10px;font-weight:800;text-wrap:balance}
.h-sec>.help{font-size:17px;margin:0 0 24px;max-width:640px}
.h-hero{padding-top:56px;text-align:center}
.h-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:var(--tint);color:var(--accent);font-size:14px;font-weight:600;text-decoration:none}
.h-pill:hover{text-decoration:underline}
.h-hero h1{max-width:900px;margin:22px auto 16px;font-size:64px;line-height:1.04;letter-spacing:-.035em;font-weight:800;text-wrap:balance}
.h-hero .lead{max-width:640px;margin:0 auto;font-size:20px;line-height:1.45;text-wrap:pretty}
.h-hero .actions{justify-content:center}
.h-hero>.help{margin:14px 0 0}
.home .actions .btn{border-radius:10px}

/* Слайдер каруселей */
.deck{margin-top:44px}
.deck-stage{position:relative;height:clamp(380px,46vw,560px);touch-action:pan-y;user-select:none}
.deck-card{position:absolute;left:50%;top:0;width:clamp(260px,34vw,420px);margin-left:calc(clamp(260px,34vw,420px) / -2);padding:0;border:0;border-radius:16px;background:var(--placeholder);overflow:hidden;cursor:pointer;box-shadow:0 30px 60px -28px rgb(0 0 0 / .55),0 2px 8px rgb(0 0 0 / .1);transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .4s}
.deck-card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;pointer-events:none}
.deck-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.deck-n{position:absolute;right:12px;top:12px;padding:3px 9px;border-radius:999px;background:rgb(0 0 0 / .6);color:#fff;font-size:12px;font-weight:600;opacity:0;transition:opacity .2s}
.deck-card.is-active .deck-n{opacity:1}
.deck-bar{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:22px}
.deck-bar button{width:46px;height:46px;border-radius:10px;font-size:18px}
.deck-count{min-width:56px;font-weight:600;font-variant-numeric:tabular-nums}
.deck-cap{display:flex;flex-direction:column;gap:4px;align-items:center;margin:12px 0 0;color:var(--muted);font-size:14px}
.deck-proof{color:var(--ink);font-weight:700;font-size:16px}

/* Стена обложек */
.home>.wall{position:relative;width:calc(100% - 80px);max-width:1040px;margin-top:96px;padding:0;height:640px;overflow:hidden;background:#0d0d0f;border-radius:20px}
.wall-rows{position:absolute;inset:-20px 0;display:flex;flex-direction:column;gap:14px;opacity:.6}
.wall-row{overflow:visible}
.wall-track{display:flex;gap:14px;width:max-content;animation:wall-move 70s linear infinite;animation-play-state:paused}
.wall-row.rev .wall-track{animation-direction:reverse;animation-duration:85s}
.wall.run .wall-track{animation-play-state:running}
.wall-track img{width:118px;height:auto;aspect-ratio:4/5;border-radius:8px;object-fit:cover;transition:transform .35s cubic-bezier(.2,.7,.2,1);will-change:transform}
@keyframes wall-move{to{transform:translateX(-50%)}}
.wall-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100% - 32px));padding:40px;border-radius:20px;background:rgb(22 22 24 / .93);color:#f5f5f7;box-shadow:0 30px 80px rgb(0 0 0 / .5);backdrop-filter:blur(6px)}
.wall-card .eyebrow{color:#64a8ff}
.wall-card h2{margin:0 0 12px;font-size:36px;line-height:1.1;letter-spacing:-.025em;font-weight:800;text-wrap:balance}
.wall-card p{margin:0;color:#a1a1a6;font-size:17px;line-height:1.5}
.wall-card .actions{margin-top:24px}

/* Об авторе */
.h-author{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.h-author h2{font-size:38px;line-height:1.12;letter-spacing:-.025em;margin:0 0 14px;font-weight:800;text-wrap:balance}
.h-author .lead{font-size:18px;line-height:1.55;margin:0 0 12px}
.h-author .deck{margin-top:0}
.h-author .deck-stage{height:clamp(340px,36vw,470px)}
.h-author .deck-card{width:clamp(220px,24vw,330px);margin-left:calc(clamp(220px,24vw,330px) / -2)}

/* График и цифры */
.h-proof-head{max-width:700px}
.nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 18px}
.nums div{display:flex;flex-direction:column;gap:6px;padding:24px;background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:16px}
.nums small{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.nums b{font-size:34px;line-height:1.1;letter-spacing:-.03em;font-weight:800;font-variant-numeric:tabular-nums}
.nums span{color:var(--muted);font-size:14px}

/* Вопросы и финал */
.h-faq .faq{margin-top:20px}
.h-faq>.help{margin-top:16px}
.h-final{margin-block:110px 96px;text-align:center}
.h-final h2{font-size:52px}
.h-final p{margin:0;color:var(--muted);font-size:18px}
.h-final .actions{justify-content:center}

@media(max-width:959px){
 .h-hero h1{font-size:48px}
 .h-author{grid-template-columns:minmax(0,1fr)}
 .nums{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:759px){
 .home>section{padding-inline:16px}
 .home>.gains{width:calc(100% - 32px);padding-inline:18px}
 .home>.wall{width:calc(100% - 32px)}
 .h-sec{margin-top:64px}
 .h-hero{padding-top:28px}
 .h-hero h1{font-size:34px}
 .h-hero .lead{font-size:17px}
 .h-sec>h2,.h-proof-head h2,.h-author h2{font-size:28px}
 .deck-stage{height:92vw}
 .deck-card{width:68vw;margin-left:-34vw}
 .h-author .deck-stage{height:84vw}
 .h-author .deck-card{width:62vw;margin-left:-31vw}
 .home>.wall{height:560px;margin-top:64px;border-radius:16px}
 .wall-track img{width:92px}
 .wall-card{padding:26px 20px}
 .wall-card h2{font-size:27px}
 .nums b{font-size:28px}
 .h-final{margin-block:72px 64px}
 .h-final h2{font-size:34px}
}
@media(prefers-reduced-motion:reduce){
 .deck-card,.wall-track img,.growth .g-line,.growth .g-area,.growth .g-dots{transition:none}
}

/* Шаги «цифра + слово» (обе главные) */
.steps.big li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:10px;align-items:center;align-content:start;padding:26px 24px}
.steps.big li:before{margin:0;width:44px;height:44px;font-size:20px}
.steps.big b{margin:0;font-size:24px;letter-spacing:-.015em;font-weight:800}
.steps.big span{grid-column:1/-1;font-size:16px;line-height:1.5}
.h-sec .cta{margin-top:24px}
/* Ссылка на карусель в Instagram над слайдером */
.deck-ig{display:inline-flex;align-items:center;min-height:36px;margin-bottom:14px;padding:0 14px;border-radius:10px;background:var(--surface);border:1px solid var(--line);color:var(--accent);font-size:14px;font-weight:600;text-decoration:none}
.deck-ig:hover{border-color:var(--blue)}
/* График роста из V2: курсор, подсказка, полоса челленджа */
.gc{margin:24px 0 0}
.gc-plot{position:relative;padding:20px 16px 8px;background:var(--surface);border:1px solid var(--line);border-radius:18px;outline-offset:4px;touch-action:pan-y}
.g-svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.g-grid{stroke:var(--line);stroke-width:1}
.g-grid.g-base{stroke:var(--muted);opacity:.5}
.g-t{fill:var(--muted);font-size:12px}
.g-yr{font-weight:600;letter-spacing:.08em}
.g-l1{fill:var(--muted);font-size:12px}
.g-l2{fill:var(--ink);font-size:13px;font-weight:600}
.g-band{fill:var(--accent);opacity:.08}
.g-area{fill:var(--accent);opacity:0;transition:opacity 3s 1.2s}
.gc.in .g-area{opacity:.12}
.g-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 4.5s cubic-bezier(.45,.05,.25,1)}
.gc.in .g-line{stroke-dashoffset:0}
.g-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2}
.g-ping{fill:none;stroke:var(--accent);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.gc.in .g-ping{animation:g-ping 1.6s cubic-bezier(.2,.7,.2,1) 1.8s 2 both}
@keyframes g-ping{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(3.4)}}
.g-xh{stroke:var(--muted);stroke-width:1;opacity:0;transition:opacity .15s;pointer-events:none}
.g-hov{fill:var(--accent);stroke:var(--surface);stroke-width:2;opacity:0;pointer-events:none}
.g-hit{fill:transparent;cursor:crosshair}
.gc.is-active .g-xh,.gc.is-active .g-hov{opacity:1}
.tip{position:absolute;z-index:5;left:0;top:0;min-width:150px;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px rgb(0 0 0 / .18);pointer-events:none;opacity:0;transition:opacity .15s}
.tip.on{opacity:1}
.tip__v{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.tip__v:before{content:'';width:14px;height:2px;border-radius:2px;background:var(--accent)}
.tip__d{margin-top:2px;color:var(--muted);font-size:13px}
@media(max-width:759px){
 .steps.big li{padding:20px 18px}
 .steps.big b{font-size:21px}
 .gc-plot{padding:14px 8px 6px}
}
@media(prefers-reduced-motion:reduce){
 .g-line,.g-area{transition:none}
 .gc.in .g-ping{animation:none}
}
/* График: подписи вех, выноски, сжатые месяцы после челленджа (11.10, вариант 2) */
.g-small{font-size:10.5px}
.g-dot.g-key{stroke-width:2.5}
.g-lead{stroke:var(--muted);stroke-width:1;opacity:.5}
/* Статистика карусели под веером — как под постом в Instagram (11.10) */
.ig-stats{display:flex;justify-content:center;gap:clamp(18px,4vw,40px);margin:26px 0 0;padding:0;list-style:none}
.ig-stats li{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:52px}
.ig-stats svg{width:28px;height:28px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ig-stats b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.deck-cap .deck-proof{display:inline-block;margin-top:2px;padding:6px 14px;border-radius:999px;background:var(--tint);color:var(--accent);font-size:15px}
.deck-cap:has(.deck-hint){margin-top:8px}
@media(max-width:759px){
 .ig-stats{gap:14px}
 .ig-stats li{min-width:44px}
 .ig-stats svg{width:24px;height:24px}
 .ig-stats b{font-size:14px}
 .deck-cap .deck-proof{font-size:13px}
}
/* Правки 11.10 ночь: веера 3D + свечение, фон-изюминка, центр пояснения, переносы, появление блоков */
.deck-stage{perspective:1600px;isolation:isolate}
.deck-stage:before{content:'';position:absolute;left:50%;top:48%;width:min(980px,96%);height:78%;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgb(10 132 255 / .30),rgb(124 92 255 / .16) 55%,transparent);filter:blur(30px);z-index:-1;pointer-events:none}
.deck-stage:after{content:'';position:absolute;left:50%;bottom:-18px;width:min(560px,70%);height:46px;transform:translateX(-50%);background:radial-gradient(closest-side,rgb(0 0 0 / .28),transparent);filter:blur(8px);z-index:-1;pointer-events:none}
body.dark .deck-stage:before{background:radial-gradient(closest-side,rgb(64 156 255 / .42),rgb(140 100 255 / .22) 55%,transparent)}
body.dark .deck-stage:after{background:radial-gradient(closest-side,rgb(0 0 0 / .6),transparent)}
.deck-card{transition:transform .85s cubic-bezier(.22,1,.36,1),opacity .6s,filter .6s;transform-style:preserve-3d}
.h-hero{position:relative;isolation:isolate}
.h-hero:before{content:'';position:absolute;inset:-56px -30vw 10% ;z-index:-1;pointer-events:none;background:radial-gradient(40% 50% at 30% 20%,rgb(10 132 255 / .14),transparent 70%),radial-gradient(35% 45% at 72% 30%,rgb(140 100 255 / .12),transparent 70%);animation:aurora 18s ease-in-out infinite alternate}
.h-hero:after{content:'';position:absolute;inset:-56px -30vw 40%;z-index:-2;pointer-events:none;background-image:radial-gradient(rgb(120 120 140 / .22) 1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:radial-gradient(60% 70% at 50% 30%,#000,transparent);mask-image:radial-gradient(60% 70% at 50% 30%,#000,transparent)}
@keyframes aurora{0%{transform:translate3d(-2%,0,0) scale(1)}100%{transform:translate3d(3%,2%,0) scale(1.08)}}
.h-proof .h-note{max-width:none;text-align:center;margin-inline:auto}
.h-proof>.actions{justify-content:center}
.h-proof>.actions .btn{min-height:56px;padding-inline:34px;font-size:17px}
.h-author-page{margin-top:56px}
.h-author-page h1{font-size:52px;line-height:1.05;letter-spacing:-.03em;margin:0 0 16px;font-weight:800}
.reveal-on .home>section:not(.h-hero){opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
.reveal-on .home>section.is-in{opacity:1;transform:none}
@media(max-width:759px){
 .h-author-page h1{font-size:36px}
 .lead br,.gains-grid br,.gains-foot br{display:none}
}
@media(prefers-reduced-motion:reduce){
 .h-hero:before{animation:none}
 .deck-card{transition:none}
}
