/* Мультстудия — лендинг в мультяшном оформлении. Мобильная вёрстка сначала, десктоп через @media (min-width).
   Толстые обводки (--ink), тени-«наклейки» (--sh), яркая палитра, скругления. Без внешних библиотек и шрифтов:
   системный округлый стек (ui-rounded на Apple, Segoe UI / Roboto Black — остальные).
   Анимации отключаются при prefers-reduced-motion (в конце файла). */

:root {
  --ink: #1d1b2f;
  --cream: #fff5df;
  --paper: #ffffff;
  --yellow: #ffd23f;
  --yellow-2: #ffe680;
  --orange: #ff8a3d;
  --pink: #ff6fa8;
  --pink-2: #ffc4dc;
  --sky: #6cc8ff;
  --sky-2: #c4ecff;
  --mint: #3fd69a;
  --mint-2: #c2f5df;
  --purple: #7b61ff;
  --purple-2: #d8d0ff;
  --red: #ff5c5c;
  --night: #26233f;
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --bw: 3px;
  --sh: 5px 5px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);
  --r: 22px;
  --max: 1140px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0 0 .4em; line-height: 1.06; letter-spacing: -.02em; font-weight: 900; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.3rem, 10.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 7.4vw, 3.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--purple); font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap.narrow { max-width: 780px; }
.wrap.narrow-l { max-width: 940px; }
.center { text-align: center; }
.muted { opacity: .75; }
.sub { font-size: 1.08rem; max-width: 60ch; margin-bottom: 1.8em; font-weight: 600; opacity: .85; }
.center .sub, .sub.center { margin-inline: auto; }
.note { font-size: .95rem; opacity: .8; }

/* Секции с цветным фоном и «зубчатым» краем сверху */
.sec { --bg: var(--cream); position: relative; background-color: var(--bg); padding: 64px 0 60px; }
.sec::before {
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px; pointer-events: none;
  background: radial-gradient(circle at 18px 18px, var(--bg) 17px, transparent 18px) 0 0 / 36px 18px repeat-x;
}
.sec > .wrap { position: relative; z-index: 1; }

/* Кнопки-наклейки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 900; text-decoration: none; font-family: inherit;
  border: var(--bw) solid var(--ink); background: var(--yellow); color: var(--ink);
  box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .12s;
  cursor: pointer; font-size: 1.02rem; line-height: 1.15; text-align: center; position: relative;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible, .acc-btn:focus-visible, .all-styles summary:focus-visible { outline: 3px dashed var(--purple); outline-offset: 4px; }
.btn-white { background: var(--paper); }
.btn-white:hover { background: var(--yellow-2); }
.btn-pink { background: var(--pink); color: #fff; text-shadow: 0 2px 0 rgba(29,27,47,.35); }
.btn-sky { background: var(--sky); }
.btn-small { padding: .5em 1em; font-size: .92rem; box-shadow: 0 3px 0 var(--ink); }
.btn-pop { animation: hop 3.2s ease-in-out infinite; }
.btn-pop:hover { animation: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.5em 0 1em; }
.cta-row.center { justify-content: center; }
.cta-row .btn { flex: 1 1 230px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--bw) solid var(--ink); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 62px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; min-width: 0; }
.logo-mark { width: 34px; height: 34px; flex: none; transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.logo-word em { color: var(--pink); }
.nav { display: none; gap: 6px; font-weight: 800; font-size: .95rem; }
.nav a { text-decoration: none; padding: .35em .7em; border-radius: 999px; border: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); background: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 479px) { .header-actions .btn-small { display: none; } }
.lang { display: flex; border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 900; background: var(--paper); }
.lang a { padding: .38em .6em; text-decoration: none; }
.lang a + a { border-left: 2px solid var(--ink); }
.lang a[aria-current="true"] { background: var(--pink); color: #fff; }
.burger { width: 42px; height: 42px; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--yellow); position: relative; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 8px; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span { top: 17px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 62px; background: var(--yellow); padding: 14px var(--gutter) 20px; gap: 6px; font-size: 1.15rem; border-bottom: var(--bw) solid var(--ink); }

/* Наклейки-ярлыки */
.sticker { display: inline-block; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px; padding: .3em .9em; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); }

/* ===== 1. Hero ===== */
.hero { --bg: var(--sky-2); background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); padding: 30px 0 64px; overflow: hidden; }
.hero::before { display: none; }
.cloud { position: absolute; fill: #fff; stroke: var(--ink); stroke-width: 3; width: 120px; opacity: .95; animation: drift 14s ease-in-out infinite alternate; }
.cloud-1 { top: 14px; left: -20px; }
.cloud-2 { top: 40%; right: -70px; width: 150px; animation-duration: 18s; }
.cloud-3 { top: 60%; left: -40px; width: 90px; animation-duration: 11s; opacity: .7; }
.hero-grid { display: grid; gap: 28px; min-width: 0; position: relative; z-index: 1; }
.hero-copy { min-width: 0; }
.kicker { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; transform: rotate(-2deg); }
.pains { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 14px; }
.pains li { position: relative; font-weight: 800; font-size: .88rem; background: rgba(255,255,255,.7); border: 2px solid var(--ink); border-radius: 10px; padding: .2em .6em; color: #5a5670; }
.pains li::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; margin-top: -1px; background: var(--red); border-radius: 2px; transform: rotate(-4deg) scaleX(1); transform-origin: left; animation: strike .5s ease-out both; }
.pains li:nth-child(2)::after { animation-delay: .35s; }
.pains li:nth-child(3)::after { animation-delay: .7s; }
.hero h1 { text-shadow: 3px 3px 0 #fff; }
.hero h1 em { color: var(--ink); background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; text-shadow: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 1.1rem; max-width: 54ch; font-weight: 600; }
.hero .note { font-weight: 700; }

.hero-art { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; }
.phones { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1 / 1.12; }
.phone { position: absolute; top: 6%; width: 44%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 4px solid var(--ink); background: var(--ink); box-shadow: var(--sh); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-l { left: 0; transform: rotate(-8deg); animation: wobble-l 6s ease-in-out infinite; }
.phone-r { right: 0; transform: rotate(8deg); animation: wobble-r 7s ease-in-out infinite; }
.phone-c { left: 28%; top: 0; width: 44%; z-index: 2; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow), var(--sh-lg); animation: bob 4s ease-in-out infinite; }
.hero-mascot { position: absolute; z-index: 3; right: -6px; bottom: -6%; width: 40%; }
.hero-mascot .mascot { width: 100%; height: auto; }
.speech { position: absolute; right: 70%; top: -6%; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px; padding: .35em .7em; font-weight: 900; font-size: .85rem; line-height: 1.15; box-shadow: 3px 3px 0 var(--ink); width: max-content; max-width: 11em; margin: 0; transform: rotate(-4deg); }
.speech::after { content: ""; position: absolute; right: -11px; bottom: 8px; width: 14px; height: 14px; background: var(--paper); border-right: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); transform: rotate(-45deg); }
.badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.badges li { border: var(--bw) solid var(--ink); border-radius: 16px; padding: 8px 12px; min-width: 96px; text-align: center; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); }
.badges li:nth-child(1) { transform: rotate(-3deg); background: var(--yellow); }
.badges li:nth-child(2) { transform: rotate(2deg); background: var(--pink-2); }
.badges li:nth-child(3) { transform: rotate(-1deg); background: var(--mint-2); }
.badges b { display: block; font-size: 1.45rem; line-height: 1.05; font-weight: 900; }
.badges span { font-size: .74rem; font-weight: 800; }

/* Маскот-хлопушка (рисованный SVG) */
.mascot { overflow: visible; }
.m-line { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; }
.m-shoe { fill: var(--pink); stroke: var(--ink); stroke-width: 5; }
.m-hand { fill: #fff; stroke: var(--ink); stroke-width: 5; }
.m-torso { fill: var(--yellow); stroke: var(--ink); stroke-width: 7; }
.m-board { fill: #fff; stroke: var(--ink); stroke-width: 7; }
.m-stripes { fill: var(--ink); }
.m-eye { fill: #fff; stroke: var(--ink); stroke-width: 5; }
.m-pupil { fill: var(--ink); }
.m-happy { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.m-cheek { fill: #ff9cc0; }
.m-mouth { fill: var(--ink); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.m-play { fill: var(--orange); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.m-shadow { fill: var(--ink); opacity: .16; }
.m-body { animation: bob 2.6s ease-in-out infinite; }
.m-clap { transform-origin: 40px 72px; animation: clap 3.4s ease-in-out infinite; }
.m-wave { transform-origin: 44px 132px; animation: wave 1.6s ease-in-out infinite; }
.m-eyes { transform-origin: 100px 122px; animation: blink 5s infinite; }

/* ===== 2. Боль → решение ===== */
.pain { --bg: var(--cream); }
.pain-grid { display: grid; gap: 22px; counter-reset: p; }
.pcard { position: relative; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; }
.pcard p:last-child { margin-bottom: 0; }
.pain-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pain-card:nth-child(1) { transform: rotate(-1deg); }
.pain-card:nth-child(3) { transform: rotate(1deg); }
.pc-bad, .pc-good { padding: 18px 18px 20px; }
.pc-bad { background: #f1eee8; color: #57536b; }
.pc-bad p { text-decoration: line-through; text-decoration-color: rgba(255,92,92,.7); text-decoration-thickness: 2px; }
.pc-good { background: var(--mint-2); font-weight: 700; flex: 1; border-top: var(--bw) dashed var(--ink); }
.pc-bad p, .pc-good p { margin: 8px 0 0; font-size: 1.02rem; }
.tag { display: inline-block; font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: .2em .65em; border: 2px solid var(--ink); border-radius: 999px; }
.tag-bad { background: var(--red); color: #fff; }
.tag-good { background: var(--mint); }
.pc-arrow { position: relative; height: 0; z-index: 2; }
.pc-arrow::before { content: "↓"; position: absolute; right: 18px; top: -20px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%; font-weight: 900; font-size: 1.2rem; }

/* ===== 3. Демо: чат → конвейер → папка ===== */
.demo { --bg: var(--purple); color: #fff; background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2.5px); background-size: 26px 26px; }
.demo h2 { text-shadow: 3px 3px 0 var(--ink); }
.demo .sub { opacity: .95; }
.demo em { color: var(--purple); }
.scene { display: grid; gap: 10px; justify-items: center; max-width: 520px; margin: 0 auto 56px; color: var(--ink); }
.chat { width: 100%; padding: 0 0 16px; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: var(--bw) solid var(--ink); background: var(--yellow); font-weight: 900; font-size: .85rem; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--red); }
.win-bar i:nth-child(2) { background: var(--yellow-2); }
.win-bar i:nth-child(3) { background: var(--mint); }
.win-bar span { margin-left: 6px; }
.msg { margin: 14px 14px 0; border: var(--bw) solid var(--ink); border-radius: 18px; padding: 9px 13px 11px; line-height: 1.35; max-width: 92%; }
.msg small { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; opacity: .65; }
.msg-you { background: var(--yellow-2); font-weight: 800; border-bottom-left-radius: 4px; }
.msg-claude { background: var(--sky-2); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 600; }
.flow-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); position: relative; }
.flow-arrow::before { content: "↓"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; }
.belt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.belt li { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px; padding: 8px 4px; font-weight: 900; font-size: .82rem; box-shadow: 3px 3px 0 var(--ink); text-align: center; line-height: 1.15; }
.belt li.on { background: var(--mint-2); }
.ico { width: 30px; height: 30px; display: block; background: center / contain no-repeat; }
.folder { width: 100%; padding: 0 14px 16px; background: var(--yellow-2); margin-top: 16px; }
.folder-tab { position: relative; top: -16px; margin-bottom: -6px; display: inline-block; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 12px 12px 4px 4px; padding: .25em .8em; font-weight: 900; font-size: .9rem; }
.files { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.files li { aspect-ratio: 9 / 16; border: var(--bw) solid var(--ink); border-radius: 9px; background: var(--ink) url(../assets/styles/eastern-miniature.jpg) center / cover; color: #fff; font-weight: 900; font-size: .72rem; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; text-shadow: 0 1px 2px #000; position: relative; }
.files li:nth-child(2n) { background-position: 30% 40%; }
.files li:nth-child(3n) { background-position: 70% 60%; }
.files li::before { content: ""; position: absolute; left: 50%; top: 38%; width: 0; height: 0; margin: -7px 0 0 -4px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.done-stamp { margin: 14px 0 0; text-align: center; font-weight: 900; background: var(--pink); color: #fff; border: var(--bw) solid var(--ink); border-radius: 14px; padding: .45em .8em; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); text-shadow: 0 1px 0 rgba(29,27,47,.4); }
/* состояние анимации: JS ставит .anim и по очереди .on */
.scene.anim [data-seq] { opacity: 0; transform: scale(.6) translateY(8px); transition: opacity .25s ease, transform .35s cubic-bezier(.3,1.6,.5,1), background .2s; }
.scene.anim [data-seq].on { opacity: 1; transform: none; }
.scene.anim .done-stamp.on { transform: rotate(-2deg); }

.steps-title { font-size: clamp(1.4rem, 5vw, 2rem); text-shadow: 2px 2px 0 var(--ink); margin-bottom: 1.2em; }
.steps { display: grid; gap: 18px; color: var(--ink); }
.steps .pcard { padding: 20px 18px 20px 72px; }
.steps h3 { font-size: 1.12rem; }
.num { position: absolute; left: 16px; top: 18px; width: 42px; height: 42px; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); }
.steps li:nth-child(2) .num { background: var(--pink); color: #fff; }
.steps li:nth-child(3) .num { background: var(--sky); }
.steps li:nth-child(4) .num { background: var(--mint); }

/* ===== 4. Галерея стилей ===== */
.styles { --bg: var(--night); color: #fff; background-image: radial-gradient(rgba(255,210,63,.18) 2px, transparent 2.5px), radial-gradient(rgba(255,111,168,.16) 2px, transparent 2.5px); background-size: 40px 40px, 40px 40px; background-position: 0 0, 20px 20px; }
.styles h2 { color: var(--yellow); text-shadow: 3px 3px 0 #000; }
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.style-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); box-shadow: 5px 5px 0 var(--pink); cursor: pointer; transition: transform .18s cubic-bezier(.3,1.6,.5,1); }
.style-card:nth-child(4n+2) { box-shadow: 5px 5px 0 var(--yellow); }
.style-card:nth-child(4n+3) { box-shadow: 5px 5px 0 var(--sky); }
.style-card:nth-child(4n) { box-shadow: 5px 5px 0 var(--mint); }
.style-card:hover { transform: rotate(-2deg) scale(1.03); }
.style-media { aspect-ratio: 9 / 16; background: #000; border-bottom: var(--bw) solid var(--ink); }
.style-media video { width: 100%; height: 100%; object-fit: cover; }
.style-cap { padding: 9px 10px 12px; flex: 1; }
.style-cap b { display: block; font-size: .95rem; line-height: 1.15; font-weight: 900; }
.style-cap span { display: block; font-size: .76rem; line-height: 1.3; opacity: .75; margin-top: 3px; font-weight: 600; }
.styles-foot { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; margin-top: 28px; }
.all-styles { flex: 1 1 100%; order: 2; }
.all-styles summary { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; font-weight: 900; padding: .7em 1.3em; border: var(--bw) solid var(--ink); background: var(--yellow); color: var(--ink); border-radius: 999px; list-style: none; box-shadow: 0 4px 0 #000; }
.all-styles summary::-webkit-details-marker { display: none; }
.all-styles summary::after { content: "+"; font-size: 1.25em; line-height: 1; }
.all-styles[open] summary::after { content: "–"; }
.all-styles .chips { margin-top: 16px; }
.more-sticker { order: 1; margin: 0; background: var(--pink); color: #fff; font-weight: 900; border: var(--bw) solid #000; border-radius: 14px; padding: .45em .9em; transform: rotate(-2deg); box-shadow: 4px 4px 0 #000; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .35em .8em; border-radius: 999px; font-size: .88rem; font-weight: 800; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.styles .chips li { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }

/* ===== 5. Тематики ===== */
.topics { --bg: var(--yellow); }
.topics-head { display: grid; gap: 8px; margin-bottom: 18px; }
.big-count { display: flex; align-items: center; gap: 14px; margin: 0; }
.big-count b { font-size: clamp(3.6rem, 17vw, 6.4rem); font-weight: 900; letter-spacing: -.04em; line-height: .9; color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.big-count span { font-weight: 800; max-width: 13em; line-height: 1.25; }
.chips-fun li { box-shadow: 2px 2px 0 var(--ink); }
.chips-fun li:nth-child(4n+1) { background: var(--pink-2); transform: rotate(-1.5deg); }
.chips-fun li:nth-child(4n+2) { background: var(--sky-2); transform: rotate(1deg); }
.chips-fun li:nth-child(4n+3) { background: var(--mint-2); transform: rotate(-.5deg); }
.chips-fun li:nth-child(4n) { background: var(--paper); transform: rotate(1.5deg); }
.topics .note { margin-top: 20px; font-weight: 700; }

/* ===== 6. Результаты ===== */
.results { --bg: var(--cream); }
.proof-grid { display: grid; gap: 22px; margin-bottom: 26px; }
.p-num { margin: 0; display: flex; align-items: center; gap: 12px; }
.count { font-size: clamp(2.6rem, 12vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-label { font-weight: 900; font-size: 1.08rem; margin: 6px 0 2px; }
.p-note { font-size: .88rem; opacity: .7; font-weight: 600; margin: 0; }
.p-views { background: var(--pink-2); }
.p-views .count { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.bars { margin-top: 14px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px; padding: 12px 14px 14px; }
.bars-title { font-weight: 900; font-size: .86rem; margin: 0 0 8px; }
.bar { display: grid; grid-template-columns: 5.6em 1fr auto; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .88rem; font-weight: 800; }
.bar-track { height: 20px; border: var(--bw) solid var(--ink); border-radius: 999px; background: #f3efe6; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-right: var(--bw) solid var(--ink); border-radius: 0 999px 999px 0; transition: width 1.1s cubic-bezier(.3,1.3,.5,1); }
.bar-ig { --w: 70.3%; }   /* 6,4 из 9,1 млн */
.bar-yt { --w: 29.7%; }   /* 2,7 из 9,1 млн */
.bar-ig .bar-fill { background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, #ff8dbb 8px 16px); }
.bar-yt .bar-fill { background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #ff8080 8px 16px); }
.bar b { min-width: 4.2em; text-align: right; }
.p-chip { display: inline-block; margin: 2px 0 0; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: .15em .7em; font-weight: 900; font-size: .85rem; }
.p-ring { background: var(--mint-2); text-align: center; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring-bg { stroke: #fff; }
.ring-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 223 314.2; transition: stroke-dashoffset 1.3s ease-out; }
.ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: var(--bw) solid var(--ink); pointer-events: none; }
.ring::before { content: ""; position: absolute; inset: 17px; border-radius: 50%; border: var(--bw) solid var(--ink); pointer-events: none; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; }
.hits { margin-top: 14px; border-top: var(--bw) dashed var(--ink); padding-top: 12px; }
.hit-dots { display: flex; justify-content: center; gap: 5px; margin-bottom: 6px; }
.hit-dots li { width: 24px; height: 24px; border: var(--bw) solid var(--ink); border-radius: 7px; background: #fff; }
.hit-dots li.hit { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2l2.4 5.2 5.6.6-4.2 3.8 1.2 5.6L10 14.4 5 17.2l1.2-5.6L2 7.8l5.6-.6z' fill='%23ff6fa8' stroke='%231d1b2f' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.hits p { margin: 0; font-size: .92rem; font-weight: 700; }
.p-star { background: var(--sky-2); text-align: center; }
.burst { width: 220px; height: 220px; margin: 0 auto 6px; display: grid; place-items: center; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 6l14 30 30-14-2 33 33 3-20 26 26 20-31 11 11 31-33-4-6 33-24-23-24 23-6-33-33 4 11-31-31-11 26-20-20-26 33-3-2-33 30 14z' fill='%23ffd23f' stroke='%231d1b2f' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin-slow 30s linear infinite; }
.burst b { font-size: 1.85rem; white-space: nowrap; animation: spin-slow 30s linear infinite reverse; }
.p-up { background: var(--yellow-2); }
.up-arrow { width: 44px; height: 44px; flex: none; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V6M6 11l6-6 6 6' fill='none' stroke='%231d1b2f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; border: var(--bw) solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); animation: hop 2.4s ease-in-out infinite; }
.disclaimer { font-size: .92rem; max-width: 72ch; margin: 0 auto; background: var(--paper); border: var(--bw) dashed var(--ink); border-radius: 16px; padding: 12px 16px; font-weight: 600; }
/* до появления в зоне видимости графики «пустые» (JS ставит .in) */
.js-reveal .p-views:not(.in) .bar-fill { width: 0; }
.js-reveal .p-ring:not(.in) .ring-fg { stroke-dashoffset: 223; }

/* ===== 7. Что получишь / 8. Для кого ===== */
.get { --bg: var(--sky-2); }
.cards-3 { display: grid; gap: 20px; }
.cards-3 .pcard { padding-left: 94px; min-height: 104px; }
.cards-3 .big-ico { position: absolute; left: 16px; top: 20px; }
.cards-3 h3 { margin-top: 2px; font-size: 1.12rem; }
.cards-3 p { font-size: .96rem; }
.big-ico { display: block; width: 62px; height: 62px; border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); background-position: center; background-size: 68%; background-repeat: no-repeat; transform: rotate(-4deg); }
.pcard:nth-child(even) .big-ico { transform: rotate(4deg); }
.bi-yellow { background-color: var(--yellow); }
.bi-pink { background-color: var(--pink-2); }
.bi-sky { background-color: var(--sky-2); }
.bi-mint { background-color: var(--mint-2); }
.bi-orange { background-color: #ffd1b0; }
.bi-purple { background-color: var(--purple-2); }
.who { --bg: var(--pink-2); }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.who-grid .pcard { padding: 16px 14px; }
.who-grid h3 { margin-top: 10px; font-size: 1.05rem; }
.who-grid p { font-size: .92rem; }
.who-grid .big-ico { width: 52px; height: 52px; border-radius: 15px; }

/* Иконки (рисованные SVG в data-uri, обводка --ink) */
.ico-script, .ico-wand { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 26L20 12' stroke-width='3.4'/%3E%3Cpath d='M23 3l1.6 3.6L28 8l-3.4 1.4L23 13l-1.6-3.6L18 8l3.4-1.4z' fill='%23ffd23f'/%3E%3Cpath d='M9 6v4M7 8h4M26 20v4M24 22h4'/%3E%3C/svg%3E"); }
.ico-script { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='20' height='24' rx='3' fill='%23fff'/%3E%3Cpath d='M11 11h10M11 16h10M11 21h6'/%3E%3C/svg%3E"); }
.ico-mic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='11' y='3' width='10' height='17' rx='5' fill='%23ff6fa8'/%3E%3Cpath d='M7 15a9 9 0 0 0 18 0M16 24v5M11 29h10'/%3E%3C/svg%3E"); }
.ico-brush, .ico-palette { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3C8.8 3 3 8.4 3 15s5.4 12 12 12c2 0 2.6-1.4 2-2.8-.8-1.8.2-3.2 2-3.2h3c3.4 0 7-2.4 7-6.6C29 8 23.2 3 16 3z' fill='%23fff'/%3E%3Ccircle cx='10' cy='13' r='2.2' fill='%23ff6fa8'/%3E%3Ccircle cx='15' cy='8.5' r='2.2' fill='%23ffd23f'/%3E%3Ccircle cx='21.5' cy='10' r='2.2' fill='%236cc8ff'/%3E%3Ccircle cx='10.5' cy='19.5' r='2.2' fill='%233fd69a'/%3E%3C/svg%3E"); }
.ico-cut { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='24' r='4' fill='%236cc8ff'/%3E%3Ccircle cx='24' cy='24' r='4' fill='%236cc8ff'/%3E%3Cpath d='M11 21L24 4M21 21L8 4'/%3E%3C/svg%3E"); }
.ico-sub { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='26' height='20' rx='4' fill='%23ffd23f'/%3E%3Cpath d='M8 19h7M18 19h6M8 14h4M15 14h9'/%3E%3C/svg%3E"); }
.ico-cover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='18' height='26' rx='3' fill='%23fff'/%3E%3Ccircle cx='20' cy='9' r='2' fill='%23ff8a3d'/%3E%3Cpath d='M7 23l6-7 4 4 3-2 5 5' fill='%233fd69a'/%3E%3C/svg%3E"); }
.ico-bulb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21c0-3-4-5-4-10a9 9 0 0 1 18 0c0 5-4 7-4 10z' fill='%23ffd23f'/%3E%3Cpath d='M12 25h8M13 29h6M16 12v5M14 14l2 2 2-2'/%3E%3C/svg%3E"); }
.ico-rocket { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 4c5 0 10 5 10 10L17 25l-10-10z' fill='%23fff'/%3E%3Ccircle cx='20' cy='12' r='2.6' fill='%236cc8ff'/%3E%3Cpath d='M9 17l-5 1 3-6 5-1M15 23l-1 5 6-3 1-5' fill='%23ff6fa8'/%3E%3Cpath d='M8 24l-4 4' stroke='%23ff8a3d' stroke-width='3'/%3E%3C/svg%3E"); }
.ico-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 27S4 20 4 11.5A6.5 6.5 0 0 1 16 8a6.5 6.5 0 0 1 12 3.5C28 20 16 27 16 27z' fill='%23ff6fa8'/%3E%3Cpath d='M10 12a3 3 0 0 1 3-3' stroke='%23fff'/%3E%3C/svg%3E"); }
.ico-tv { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='24' height='17' rx='4' fill='%23fff'/%3E%3Cpath d='M11 3l5 6 5-6'/%3E%3Cpath d='M14 14v7l6-3.5z' fill='%23ff6fa8'/%3E%3C/svg%3E"); }
.ico-grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='10' height='10' rx='2.5' fill='%23ffd23f'/%3E%3Crect x='18' y='4' width='10' height='10' rx='2.5' fill='%23ff6fa8'/%3E%3Crect x='4' y='18' width='10' height='10' rx='2.5' fill='%233fd69a'/%3E%3Crect x='18' y='18' width='10' height='10' rx='2.5' fill='%23fff'/%3E%3C/svg%3E"); }
.ico-bag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='24' height='17' rx='3.5' fill='%23ff8a3d'/%3E%3Cpath d='M12 10V7a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v3M4 17h24M15 17v3h2v-3'/%3E%3C/svg%3E"); }
.ico-mega { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231d1b2f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13v6h4l12 6V7L9 13z' fill='%23fff'/%3E%3Cpath d='M9 19l2 7h3l-1-6' fill='%23ffd23f'/%3E%3Cpath d='M25 12a5 5 0 0 1 0 8M27 9' /%3E%3C/svg%3E"); }

/* ===== 9. Сравнение ===== */
.compare { --bg: var(--cream); }
.cmp { padding: 0; overflow: hidden; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-head .cmp-l { display: none; }
.cmp-head span { padding: 10px 12px; font-weight: 900; text-align: center; font-size: 1rem; border-bottom: var(--bw) solid var(--ink); }
.cmp-head .cmp-m { background: #e9e5dd; }
.cmp-head .cmp-s { background: var(--yellow); border-left: var(--bw) solid var(--ink); }
.cmp-row + .cmp-row { border-top: 2px dashed rgba(29,27,47,.35); }
.cmp-row .cmp-l { grid-column: 1 / -1; padding: 12px 12px 2px; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
.cmp-row span { padding: 6px 10px 14px 38px; font-size: .92rem; line-height: 1.35; position: relative; }
.cmp-row .cmp-m { color: #6a667d; }
.cmp-row .cmp-s { font-weight: 800; }
.cmp-row span::before { content: ""; position: absolute; left: 8px; top: 7px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); background: center / 70% no-repeat; }
.cmp-row .cmp-m::before { background-color: #ffd0d0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%231d1b2f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cmp-row .cmp-s::before { background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5.5' fill='none' stroke='%231d1b2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cmp-row .cmp-s { background: rgba(63,214,154,.12); }

/* ===== 10. Тарифы ===== */
.pricing { --bg: var(--yellow); background-image: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255,255,255,.28) 0 6deg, transparent 6deg 12deg); }
.tiers { display: grid; gap: 26px; max-width: 900px; margin-inline: auto; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; }
.tier h3 { font-size: 1.45rem; }
.tier .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.tier .price b { font-size: clamp(2.2rem, 10vw, 2.8rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.tier .price .alt { font-size: 1.15rem; font-weight: 900; background: var(--yellow-2); border: 2px solid var(--ink); border-radius: 999px; padding: 0 .5em; }
.tier .price .alt:empty { display: none; }
.tier .price .per { font-size: .88rem; font-weight: 700; opacity: .7; }
.tier .ticks { flex: 1; align-content: start; margin: 6px 0 14px; font-size: .98rem; }
.ticks { display: grid; gap: 9px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5.5' fill='none' stroke='%231d1b2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.tier-pro { order: -1; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--pink-2) 100%); border-width: 4px; box-shadow: 10px 10px 0 var(--ink); padding-top: 34px; }
.tier-pro .price b { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.ribbon { position: absolute; top: -18px; left: 18px; font-size: .82rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--pink); color: #fff; padding: .35em .9em; border: var(--bw) solid var(--ink); border-radius: 999px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); text-shadow: 0 1px 0 rgba(29,27,47,.4); }
.tier-star { position: absolute; top: -30px; right: -10px; width: 74px; height: 74px; animation: spin-wobble 4s ease-in-out infinite; }
.tier-star path:first-child { fill: var(--yellow); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.tier-star ellipse { fill: var(--ink); }
.ts-smile { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.pro-hint { margin: -4px 0 14px; font-weight: 800; font-size: .95rem; background: var(--yellow-2); border: 2px dashed var(--ink); border-radius: 12px; padding: .45em .75em; }
.needs { max-width: 900px; margin: 26px auto 0; background: var(--cream); }
.needs h3 { font-size: 1.05rem; margin-bottom: .8em; }
.needs .ticks li::before { background-color: var(--sky); }
.pricing .note.center { max-width: 60ch; margin: 20px auto 0; font-weight: 700; opacity: .85; }

/* ===== 11. Клуб ===== */
.club { --bg: var(--purple); color: #fff; background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2.5px); background-size: 26px 26px; }
.club h2 { text-shadow: 3px 3px 0 var(--ink); }
.club .sub { opacity: .95; }
.club-grid { display: grid; gap: 22px; }
.club-badge { width: 92px; height: 92px; margin-bottom: 10px; animation: bob 3s ease-in-out infinite; }
.club-badge circle { fill: var(--pink); stroke: var(--ink); stroke-width: 5; }
.cb-crown { fill: var(--yellow); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.cb-band { fill: var(--orange); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.club-list { display: grid; gap: 10px; }
.club-list li { background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 16px; padding: .7em 1em .7em 3em; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); position: relative; }
.club-list li::before { content: ""; position: absolute; left: .8em; top: 50%; margin-top: -12px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2l2.4 5.2 5.6.6-4.2 3.8 1.2 5.6L10 14.4 5 17.2l1.2-5.6L2 7.8l5.6-.6z' fill='%23ffd23f' stroke='%231d1b2f' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.club-list li:nth-child(odd) { transform: rotate(-.6deg); }
.club-list li:nth-child(even) { transform: rotate(.6deg); }

/* ===== 12. Бесплатный канал ===== */
.free { --bg: var(--sky); }
.free-card { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 26px 20px; max-width: 820px; margin: 0 auto; background: var(--paper); }
.free-card h2 { font-size: clamp(1.6rem, 6.4vw, 2.5rem); }
.free-card .sub { margin-bottom: 1.2em; }
.free-card .note { margin: 12px 0 0; }
.plane { width: 120px; height: 90px; animation: fly 3.6s ease-in-out infinite; }
.pl-body { fill: var(--sky-2); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.pl-fold { fill: #fff; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.pl-trail { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }

/* ===== 13. FAQ ===== */
.faq { --bg: var(--cream); }
.faq h2 { margin-bottom: .8em; }
.acc { display: grid; gap: 12px; }
.acc-item { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.acc-btn { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; font: inherit; font-weight: 900; padding: 15px 58px 15px 16px; cursor: pointer; position: relative; font-size: 1.04rem; line-height: 1.3; }
.acc-btn::after { content: "+"; position: absolute; right: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%; font-size: 1.3rem; line-height: 1; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s; }
.acc-btn[aria-expanded="true"]::after { transform: rotate(45deg); background: var(--pink); color: #fff; }
.acc-btn[aria-expanded="true"] { background: var(--yellow-2); border-bottom: 2px dashed var(--ink); }
.acc-panel { padding: 14px 16px 18px; font-weight: 600; }
.acc-panel p { margin: 0; max-width: 65ch; }
.acc-panel a { color: var(--purple); font-weight: 800; }

/* ===== 14. Финал ===== */
.final { --bg: var(--orange); background-image: repeating-conic-gradient(from 0deg at 50% 38%, rgba(255,210,63,.55) 0 8deg, transparent 8deg 16deg); padding-bottom: 70px; }
.final h2 { font-size: clamp(2rem, 8.4vw, 3.4rem); text-shadow: 3px 3px 0 #fff; }
.final .sub { max-width: 50ch; font-weight: 800; opacity: 1; }
.mascot-jump { width: 150px; height: auto; margin: 0 auto 12px; }
.mascot-jump .m-body { animation: jump 1.8s cubic-bezier(.3,0,.4,1) infinite; }

/* Подвал */
.site-footer { padding: 30px 0 40px; font-size: .9rem; background: var(--ink); color: #f4efe6; }
.footer-row { display: grid; gap: 10px; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; }
.footer-row a { color: var(--yellow); }

/* Липкая кнопка «Купить» (мобильный) */
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 8px 8px 8px 14px; transform: translateY(140%); visibility: hidden; transition: transform .3s cubic-bezier(.3,1.4,.5,1), visibility 0s linear .3s; }
.sticky-buy.show { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.3,1.4,.5,1), visibility 0s; }
.sticky-buy p { margin: 0; line-height: 1.15; min-width: 0; }
.sticky-buy b { display: block; font-weight: 900; }
.sticky-buy span { font-size: .82rem; font-weight: 700; opacity: .75; }
.sticky-buy .btn { flex: none; font-size: 1rem; padding: .55em 1.2em; }
@media (max-width: 719px) { .site-footer { padding-bottom: 100px; } }

/* Появление при скролле (класс .js-reveal ставит app.js — без JS всё видно) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px) scale(.97); }
.js-reveal .reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.25,1.5,.45,1); }
.js-reveal .pain-card.reveal.in:nth-child(1) { transform: rotate(-1deg); }
.js-reveal .pain-card.reveal.in:nth-child(3) { transform: rotate(1deg); }

/* Страницы документов (offer.html, policy.html) */
.facet-bg { background-color: var(--cream); background-image: radial-gradient(rgba(29,27,47,.08) 2px, transparent 2.5px); background-size: 24px 24px; }
.doc { padding: 36px 0 60px; min-height: 100vh; }
.doc .wrap { max-width: 780px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 24px 20px; }
.doc h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 1.6em; }
.doc ol, .doc ul { list-style: revert; padding-left: 1.3em; margin-bottom: 1em; }
.doc li { margin-bottom: .35em; }
.doc a { color: var(--purple); font-weight: 700; }
.doc .lead-note { background: var(--yellow-2); border: 2px dashed var(--ink); padding: 12px 16px; border-radius: 14px; margin-bottom: 24px; font-weight: 600; }
.doc .back { display: inline-block; margin-bottom: 20px; text-decoration: none; font-weight: 900; color: var(--ink); background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 999px; padding: .3em .9em; box-shadow: 0 3px 0 var(--ink); }
.doc code { background: var(--cream); padding: 0 .3em; border-radius: 4px; }

/* Анимации */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hop { 0%, 78%, 100% { transform: translateY(0); } 84% { transform: translateY(-7px); } 90% { transform: translateY(0); } 95% { transform: translateY(-3px); } }
@keyframes clap { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-22deg); } 74% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 86% { transform: rotate(0); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wobble-l { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-5deg) translateY(-4px); } }
@keyframes wobble-r { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(5deg) translateY(-5px); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(30px); } }
@keyframes strike { from { transform: rotate(-4deg) scaleX(0); } to { transform: rotate(-4deg) scaleX(1); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-wobble { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(12deg) scale(1.08); } }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -10px) rotate(-4deg); } }
@keyframes jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-22px); } 60% { transform: translateY(-22px); } 80% { transform: translateY(2px); } }

/* Планшет и десктоп */
@media (min-width: 720px) {
  .sec { padding: 92px 0 86px; }
  .sticky-buy { display: none; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cards-3 .pcard { padding-left: 22px; }
  .cards-3 .big-ico { position: static; margin-bottom: 12px; }
  .who-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
  .style-cap { padding: 11px 14px 14px; }
  .style-cap b { font-size: 1.05rem; }
  .style-cap span { font-size: .82rem; }
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .tier-pro { order: 0; }
  .topics-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
  .club-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; }
  .free-card { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 28px; padding: 32px 36px; align-items: center; }
  .plane { width: 170px; height: 128px; }
  .footer-row { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-row nav { justify-content: center; }
  .cta-row .btn { flex: 0 1 auto; }
  .cmp-head, .cmp-row { grid-template-columns: 1.1fr 1.4fr 1.6fr; }
  .cmp-head .cmp-l { display: block; }
  .cmp-row .cmp-l { grid-column: auto; padding: 14px 16px; display: flex; align-items: center; font-size: .82rem; }
  .cmp-row span { padding: 14px 16px 14px 42px; }
  .cmp-row span::before { left: 12px; top: 14px; }
  .cmp-head .cmp-m { border-left: var(--bw) solid var(--ink); }
  .cmp-row .cmp-m { border-left: 2px dashed rgba(29,27,47,.25); }
  .cmp-row .cmp-s { border-left: var(--bw) solid var(--ink); }
  .final .mascot-jump { width: 180px; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 44px; }
  .phones { max-width: 460px; }
  .speech { font-size: .95rem; }
  .scene { grid-template-columns: 1.15fr auto .95fr auto 1.15fr; max-width: none; align-items: center; gap: 14px; }
  .scene .flow-arrow::before { content: "→"; }
  .belt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folder { margin-top: 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .pcard { padding: 74px 18px 22px; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-views { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; }
  .p-views .p-num, .p-views .p-label { grid-column: 1; }
  .p-views .p-num { align-self: end; }
  .p-views .p-label { align-self: start; }
  .p-views .bars { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .p-views .count { font-size: 5rem; }
  .p-up { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; padding-left: 34px; }
  .p-up .count { font-size: 5rem; }
  .p-up .up-arrow { position: absolute; right: 44px; top: 50%; width: 120px; height: 120px; margin-top: -60px; border-width: 4px; box-shadow: 5px 5px 0 var(--ink); }
  .bar-track { height: 26px; }
  .tier-pro { transform: scale(1.04); }
  .js-reveal .tier-pro.reveal.in { transform: scale(1.04); }
}

/* Меньше движения: всё статично, ничего не прячется */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .pains li::after { transform: rotate(-4deg) scaleX(1); }
}
