/* КОДИКОДИ — тёмная фестивальная версия сайта (03.10.2026).
   Первый экран собран по утверждённому макету .impeccable/mocks/comp-2.png (2688 × 1520):
   все его размеры заданы в единицах макета --u = 1/2688 ширины окна (её выставляет скрипт в <head>). */

@font-face { font-family: "Rubik"; src: url("../fonts/rubik-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --u: calc(100vw / 2688);
  --ground: #090a14;
  --ground-2: #0f1124;
  --ground-3: #171a33;
  --sun: #fee232;
  --mint: #55d686;
  --sky: #45cdfc;
  --violet: #a36df9;
  --coral: #fd7274;
  --orange: #fd9a2b;
  --pink: #f173b6;
  --lilac: #d1c8fd;
  --line: #706aa7;
  --text: #ffffff;
  --text-2: #c9d4ee;
  --text-3: #8f97b5;
  --ink: #111118;
  --font-display: "Unbounded", "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  scrollbar-color: #3b3566 var(--ground);
  -webkit-text-size-adjust: 100%;
}
@media (hover: hover) and (pointer: fine) { html { scrollbar-gutter: stable; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1rem/1.5 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  font: 600 16px / 1 var(--font-body);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s, box-shadow .3s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #fff04f; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .7); }
.btn--ghost { border: 2px solid #fff; background: transparent; color: #fff; font-weight: 500; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #24243a; }
.btn--ghost-ink { border: 2px solid var(--ink); background: transparent; color: var(--ink); }
.btn--ghost-ink:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { height: 60px; padding: 0 34px; font-size: 17px; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-text {
  border: 0; background: none; padding: 6px 2px; cursor: pointer; color: var(--text-2);
  font: 500 15px / 1.2 var(--font-body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(201, 212, 238, .4);
}
.btn-text:hover { color: #fff; text-decoration-color: currentColor; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--sun); font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px;
  border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(9, 10, 20, .55);
  color: var(--text-2); font: 500 14px / 1 var(--font-body); cursor: pointer; backdrop-filter: blur(6px);
}
.pill-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.pill-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pill-btn[aria-pressed="true"] svg { fill: currentColor; stroke-width: 1.2; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ——— шапка (первый экран: координаты макета) ——— */
.top { position: absolute; inset: 0 0 auto; height: calc(152 * var(--u)); z-index: 20; }
.brand {
  position: absolute; left: calc(111 * var(--u)); top: calc(10 * var(--u));
  width: calc(228 * var(--u)); height: calc(116 * var(--u)); border-radius: 999px;
}
.brand img {
  position: absolute; left: calc(-111 * var(--u)); top: calc(-10 * var(--u));
  width: calc(538 * var(--u)); height: calc(152 * var(--u)); max-width: none;
}
.nav { position: absolute; left: calc(881 * var(--u)); top: calc(48.4 * var(--u)); }
.nav ul { display: flex; gap: calc(84 * var(--u)); }
.nav a {
  display: block; color: var(--text-2); text-decoration: none;
  font: 500 max(13px, calc(25 * var(--u))) / 1 var(--font-body);
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.top__cta {
  position: absolute; left: calc(2284 * var(--u)); top: calc(33 * var(--u));
  width: calc(293 * var(--u)); height: calc(72 * var(--u)); padding: 0; font-size: max(13px, calc(27 * var(--u)));
}
.nav__extra, .burger { display: none; }

/* ——— первый экран ——— */
.hero { position: relative; height: calc(1520 * var(--u)); overflow: hidden; isolation: isolate; }
.hero__ground {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse calc(240 * var(--u)) calc(330 * var(--u)) at calc(380 * var(--u)) calc(260 * var(--u)), rgba(108, 62, 255, .34), transparent 72%),
    radial-gradient(ellipse calc(230 * var(--u)) calc(330 * var(--u)) at calc(400 * var(--u)) calc(1090 * var(--u)), rgba(108, 62, 255, .32), transparent 72%),
    radial-gradient(ellipse calc(300 * var(--u)) calc(250 * var(--u)) at calc(2200 * var(--u)) calc(40 * var(--u)), rgba(32, 92, 255, .32), transparent 72%),
    radial-gradient(ellipse calc(230 * var(--u)) calc(300 * var(--u)) at calc(2270 * var(--u)) calc(610 * var(--u)), rgba(32, 92, 255, .32), transparent 72%),
    radial-gradient(ellipse calc(240 * var(--u)) calc(300 * var(--u)) at calc(2290 * var(--u)) calc(1350 * var(--u)), rgba(32, 92, 255, .34), transparent 72%),
    var(--ground);
}
.hero__ground::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__tag {
  position: absolute; left: calc(1080 * var(--u)); top: calc(149 * var(--u));
  width: calc(525 * var(--u)); height: calc(57 * var(--u)); padding-bottom: calc(5 * var(--u));
  border: calc(2 * var(--u)) solid var(--line); border-radius: 999px; background: #0b101f;
  color: var(--lilac); text-align: center; white-space: nowrap;
  font: 500 max(12.5px, calc(27.5 * var(--u))) / calc(48 * var(--u)) var(--font-body);
}
.hero__title {
  position: absolute; left: 0; right: 0; top: calc(213 * var(--u));
  text-align: center; white-space: nowrap;
  font: 800 calc(130 * var(--u)) / calc(138 * var(--u)) var(--font-display);
  letter-spacing: -.04em;
}
.w--sun { color: var(--sun); }
.w--mint { color: var(--mint); }
.w--sky { color: var(--sky); }
.w--coral { color: var(--coral); }
.hero__lead {
  position: absolute; left: 0; right: 0; top: calc(505 * var(--u));
  text-align: center; color: #fff;
  font: 500 max(13px, calc(28 * var(--u))) / 1.3 var(--font-body);
}
.hero__actions {
  position: absolute; left: calc(984 * var(--u)); top: calc(589 * var(--u));
  display: flex; gap: calc(39 * var(--u));
}
.hero__actions .btn { padding: 0; }
.hero__actions .btn--sun { width: calc(339 * var(--u)); height: calc(79 * var(--u)); font-size: max(14px, calc(27 * var(--u))); }
.hero__actions .btn--ghost { width: calc(340 * var(--u)); height: calc(78 * var(--u)); font-size: max(14px, calc(26 * var(--u))); border-width: max(2px, calc(4 * var(--u))); }
@media (max-width: 1199px) {
  .hero__lead { top: calc(500 * var(--u)); }
  .hero__actions { top: calc(597 * var(--u)); }
}
.hero__facts {
  position: absolute; left: 0; right: 0; top: calc(1446 * var(--u));
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.4em; margin: 0; padding: 0; list-style: none;
  text-align: center; color: var(--text-2); font: 500 max(13px, calc(23 * var(--u))) / 1.3 var(--font-body);
}
.hero__facts li { white-space: nowrap; }
.hero__pause {
  position: absolute; left: calc(2185 * var(--u)); top: calc(985 * var(--u)); z-index: 4;
  display: inline-flex; align-items: center; justify-content: center;
  width: max(36px, calc(60 * var(--u))); height: max(36px, calc(60 * var(--u)));
  border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(9, 10, 20, .6); color: #fff; cursor: pointer;
}
.hero__pause svg { width: 45%; height: 45%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause[aria-pressed="true"] svg { fill: currentColor; stroke-width: 1; }
.hero__pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* дети в капсулах (плашки по макету) */
.kid { position: absolute; }
.kid img { width: 100%; height: 100%; object-fit: cover; }
.kid--1 { left: 0; top: calc(152 * var(--u)); width: calc(269 * var(--u)); height: calc(456 * var(--u)); }
.kid--2 { left: 0; top: calc(456 * var(--u)); width: calc(538 * var(--u)); height: calc(608 * var(--u)); }
.kid--3 { left: 0; top: calc(912 * var(--u)); width: calc(269 * var(--u)); height: calc(608 * var(--u)); }
.kid--4 { left: calc(2419 * var(--u)); top: calc(152 * var(--u)); width: calc(269 * var(--u)); height: calc(608 * var(--u)); }
.kid--5 { left: calc(2150 * var(--u)); top: calc(608 * var(--u)); width: calc(538 * var(--u)); height: calc(456 * var(--u)); }
.kid--6 { left: calc(2419 * var(--u)); top: calc(912 * var(--u)); width: calc(269 * var(--u)); height: calc(608 * var(--u)); }

.hero__confetti i {
  position: absolute; border-radius: 50%; background: var(--c);
  left: calc((var(--x) - var(--d) / 2) * var(--u)); top: calc((var(--y) - var(--d) / 2) * var(--u));
  width: calc(var(--d) * var(--u)); height: calc(var(--d) * var(--u));
}

/* четыре шага механики */
.step {
  position: absolute; border-radius: 999px; background: var(--c); color: var(--ink);
  left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
}
.step--1 { --x: 545; --y: 679; --w: 344; --h: 722; --c: var(--sun); --nt: 21.75; --pt: 108; --ct: 609.5; }
.step--2 { --x: 959; --y: 689; --w: 349; --h: 716; --c: var(--sky); --nt: 18.25; --pt: 102; --ct: 593.5; }
.step--3 { --x: 1381; --y: 690; --w: 348; --h: 714; --c: var(--violet); --nt: 17.25; --pt: 102; --ct: 600.5; }
.step--4 { --x: 1799; --y: 679; --w: 344; --h: 722; --c: var(--coral); --nt: 21.75; --pt: 112; --ct: 613.5; }
.step__num {
  position: absolute; left: 0; right: 0; top: calc(var(--nt) * var(--u));
  text-align: center; font: 800 calc(66 * var(--u)) / calc(66 * var(--u)) var(--font-display);
}
.step__cap {
  position: absolute; left: 0; right: 0; top: calc(var(--ct) * var(--u)); padding: 0 calc(30 * var(--u));
  text-align: center; font: 700 calc(28 * var(--u)) / calc(41 * var(--u)) var(--font-body);
}
.hero__arrow { position: absolute; top: calc(993 * var(--u)); width: calc(38 * var(--u)); height: calc(39 * var(--u)); color: #fff; }
.hero__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.hero__arrow--1 { left: calc(905 * var(--u)); }
.hero__arrow--2 { left: calc(1326 * var(--u)); }
.hero__arrow--3 { left: calc(1744 * var(--u)); }

/* телефоны, нарисованные кодом */
.phone {
  position: absolute; left: 50%; top: calc(var(--pt) * var(--u)); margin-left: calc(-135.5 * var(--u));
  width: calc(271 * var(--u)); height: calc(471 * var(--u));
  border: calc(4 * var(--u)) solid #2c3b51; border-radius: calc(46 * var(--u)); background: #05070b;
  box-shadow: inset 0 0 0 calc(2 * var(--u)) #0d1320, 0 calc(20 * var(--u)) calc(40 * var(--u)) calc(-16 * var(--u)) rgba(10, 8, 30, .45);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: calc(3 * var(--u)); background: #222c3c;
}
.phone::before { left: calc(-7 * var(--u)); top: calc(92 * var(--u)); height: calc(40 * var(--u)); border-radius: calc(2 * var(--u)) 0 0 calc(2 * var(--u)); }
.phone::after { right: calc(-7 * var(--u)); top: calc(118 * var(--u)); height: calc(62 * var(--u)); border-radius: 0 calc(2 * var(--u)) calc(2 * var(--u)) 0; }
.phone__screen {
  position: absolute; inset: calc(11 * var(--u)); overflow: hidden;
  border-radius: calc(32 * var(--u)); background: #f8fafd; color: #15161c;
  font-family: var(--font-body);
}
.phone__screen::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 2;
  width: calc(90 * var(--u)); height: calc(21 * var(--u)); margin-left: calc(-45 * var(--u));
  border-radius: 0 0 calc(13 * var(--u)) calc(13 * var(--u)); background: #05070b;
}
.phone__screen p { position: absolute; left: 0; right: 0; text-align: center; }
.sb {
  position: absolute; left: 0; right: 0; top: calc(8 * var(--u)); height: calc(14 * var(--u));
  padding: 0 calc(14 * var(--u)) 0 calc(22 * var(--u));
  display: flex; align-items: center; justify-content: space-between;
  font: 600 calc(11.5 * var(--u)) / 1 var(--font-body);
}
.sb span { display: flex; align-items: center; gap: calc(4 * var(--u)); }
.sb svg { fill: currentColor; }
.sb__sig { width: calc(15 * var(--u)); height: calc(10 * var(--u)); }
.sb__wifi { width: calc(14 * var(--u)); height: calc(10 * var(--u)); }
.sb__bat { width: calc(22 * var(--u)); height: calc(11 * var(--u)); }
.ph-bar {
  position: absolute; left: 0; right: 0; top: calc(40 * var(--u)); height: calc(22 * var(--u));
  display: flex; align-items: center; justify-content: center;
  font: 600 calc(17 * var(--u)) / 1 var(--font-body);
}
.ph-bar svg {
  position: absolute; left: calc(14 * var(--u)); width: calc(17 * var(--u)); height: calc(17 * var(--u));
  fill: none; stroke: #22232b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.ph-bar .ph-bar__aux { left: auto; right: calc(14 * var(--u)); stroke: #c9ccd6; }
.ph-bar--task { font: 500 calc(12 * var(--u)) / 1 var(--font-body); }
.p2-pill {
  position: absolute; right: calc(8 * var(--u)); height: calc(24 * var(--u)); padding: 0 calc(6 * var(--u));
  display: grid; place-items: center; border-radius: calc(8 * var(--u)); background: #eceef3;
  font: 600 calc(12 * var(--u)) / 1 var(--font-body);
}
.p1-title { top: calc(98.5 * var(--u)); font: 600 calc(17.5 * var(--u)) / calc(25 * var(--u)) var(--font-body); }
.p1-lock {
  position: absolute; left: calc(64 * var(--u)); top: calc(172 * var(--u));
  width: calc(112 * var(--u)); height: calc(112 * var(--u)); border-radius: 50%;
  display: grid; place-items: center; background: #fde03a; color: #111216;
}
.p1-lock svg { width: calc(50 * var(--u)); height: calc(50 * var(--u)); fill: currentColor; --hole: #fde03a; }
.p1-toggle {
  position: absolute; left: calc(78 * var(--u)); top: calc(305 * var(--u));
  width: calc(84 * var(--u)); height: calc(44 * var(--u)); border-radius: 999px; background: #29ab66;
}
.p1-toggle i {
  position: absolute; right: calc(4 * var(--u)); top: calc(4 * var(--u));
  width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: #fff;
  box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, .18);
}
.p1-label { top: calc(364 * var(--u)); font: 600 calc(14 * var(--u)) / calc(18 * var(--u)) var(--font-body); }
.p2-count { position: absolute; right: calc(13 * var(--u)); top: calc(80 * var(--u)); font: 500 calc(10 * var(--u)) / 1 var(--font-body); color: #666c7a; }
.p2-do { top: calc(103 * var(--u)); font: 500 calc(14 * var(--u)) / calc(16 * var(--u)) var(--font-body); }
.p2-tasks { position: absolute; left: calc(25 * var(--u)); right: 0; top: calc(150 * var(--u)); }
.p2-tasks li { display: flex; align-items: center; height: calc(28 * var(--u)); margin-bottom: calc(30.3 * var(--u)); }
.p2-tasks svg {
  width: calc(26 * var(--u)); height: calc(26 * var(--u)); flex: none;
  fill: none; stroke: #1d1e25; stroke-width: 2; stroke-linejoin: round;
}
.p2-tasks span { margin-left: calc(33 * var(--u)); font: 400 calc(24 * var(--u)) / 1 var(--font-body); color: #1b1c22; white-space: nowrap; }
.p2-tasks i {
  width: calc(18 * var(--u)); height: calc(18 * var(--u)); margin-left: calc(10 * var(--u)); flex: none;
  border: calc(1.7 * var(--u)) solid #2a2b33; border-radius: calc(2.5 * var(--u));
}
.p2-foot { top: calc(395 * var(--u)); font: 400 calc(11 * var(--u)) / calc(14 * var(--u)) var(--font-body); color: #666c7a; }
.p3-title { top: calc(45 * var(--u)); font: 600 calc(17 * var(--u)) / calc(18 * var(--u)) var(--font-body); }
.p3-hint { top: calc(95.5 * var(--u)); font: 400 calc(13 * var(--u)) / calc(21 * var(--u)) var(--font-body); color: #5f6472; }
.p3-code { position: absolute; left: calc(14.5 * var(--u)); top: calc(164 * var(--u)); display: flex; gap: calc(12 * var(--u)); }
.p3-code b {
  width: calc(45 * var(--u)); height: calc(56 * var(--u)); border-radius: calc(10 * var(--u));
  display: grid; place-items: center; background: linear-gradient(180deg, #e9e0ff, #d5c9f7);
  font: 700 calc(31 * var(--u)) / 1 var(--font-body); color: #1d1838;
}
.p3-code .is-last { background: linear-gradient(180deg, #e2efff, #d2e4fb); }
.p3-keys {
  position: absolute; left: calc(16 * var(--u)); top: calc(258 * var(--u));
  display: grid; grid-template-columns: repeat(3, calc(66 * var(--u))); gap: calc(6 * var(--u));
}
.p3-keys i {
  height: calc(38 * var(--u)); border-radius: calc(9 * var(--u)); background: #fff;
  display: grid; place-items: center; font: 400 calc(19 * var(--u)) / 1 var(--font-body); font-style: normal; color: #1b1c22;
  box-shadow: 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(20, 24, 40, .1), 0 0 0 calc(1 * var(--u)) #eceef4;
}
.p3-keys .is-gap { background: none; box-shadow: none; }
.p3-keys svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); fill: none; stroke: #2b2c33; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.p4-burst { position: absolute; left: calc(120 * var(--u)); top: calc(219 * var(--u)); }
.p4-burst i {
  position: absolute; left: calc(-2.5 * var(--u)); top: calc(-7 * var(--u));
  width: calc(5 * var(--u)); height: calc(14 * var(--u)); border-radius: calc(3 * var(--u)); background: var(--c);
  transform: rotate(var(--a)) translateY(calc(var(--r, 95) * var(--u) * -1));
}
.p4-lock { position: absolute; left: calc(82 * var(--u)); top: calc(190 * var(--u)); width: calc(76 * var(--u)); height: calc(58 * var(--u)); }
.p4-lock__shackle {
  position: absolute; left: calc(11 * var(--u)); top: calc(-47 * var(--u));
  width: calc(46 * var(--u)); height: calc(56 * var(--u));
  border: calc(10.5 * var(--u)) solid #14161c; border-bottom: 0; border-radius: calc(23 * var(--u)) calc(23 * var(--u)) 0 0;
  transform: rotate(-16deg); transform-origin: 0 100%;
}
.p4-lock__body { position: absolute; inset: 0; border-radius: calc(12 * var(--u)); background: #179e56; }
.p4-lock__body::before, .p4-lock__body::after { content: ""; position: absolute; left: 50%; background: #fff; }
.p4-lock__body::before { top: calc(15 * var(--u)); width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-left: calc(-8 * var(--u)); border-radius: 50%; }
.p4-lock__body::after { top: calc(26 * var(--u)); width: calc(7 * var(--u)); height: calc(15 * var(--u)); margin-left: calc(-3.5 * var(--u)); border-radius: calc(4 * var(--u)); }
.p4-title { top: calc(329 * var(--u)); font: 700 calc(18 * var(--u)) / calc(18 * var(--u)) var(--font-body); }
.p4-sub { top: calc(359 * var(--u)); font: 400 calc(13 * var(--u)) / calc(16 * var(--u)) var(--font-body); color: #3a3d46; }

/* ——— закреплённая шапка при прокрутке (компьютер) ——— */
.hero__kidsrow { display: none; }
@media (min-width: 1100px), (min-width: 900px) and (orientation: landscape) {
.top.is-stuck {
  position: fixed; height: 68px;
  background: rgba(9, 10, 20, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  animation: top-in .45s cubic-bezier(.2, .8, .2, 1);
}
@keyframes top-in { from { transform: translateY(-100%); } }
.top.is-stuck .brand { left: 28px; top: 10px; width: 95px; height: 48px; }
.top.is-stuck .brand img { left: -46px; top: -4.1px; width: 223px; height: 63px; }
.top.is-stuck .nav { left: 50%; top: 24px; transform: translateX(-50%); }
.top.is-stuck .nav ul { gap: 40px; }
.top.is-stuck .nav a { font-size: 15px; white-space: nowrap; }
.top.is-stuck .top__cta { left: auto; right: 28px; top: 12px; width: auto; height: 44px; padding: 0 22px; font-size: 15px; }
}

/* ——— общая сетка разделов ——— */
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 10vw, 150px); }
.head { max-width: 880px; }
[hidden] { display: none !important; }
.head--center { margin-inline: auto; text-align: center; }
.head h2, .final h2, .orbit h2, .demo__intro h2, .app__copy h2 {
  font: 800 clamp(32px, 4.3vw, 62px) / 1.06 var(--font-display); letter-spacing: -.035em; text-wrap: balance;
}
.lead { margin-top: 20px; color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; text-wrap: pretty; }
.head--center .lead { margin-inline: auto; max-width: 620px; }
.muted { color: var(--text-3); }
.c-sun { color: var(--sun); }
.c-mint { color: var(--mint); }
.c-sky { color: var(--sky); }
.c-violet { color: var(--violet); }
.c-coral { color: var(--coral); }
.c-pink { color: var(--pink); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  font: 600 14px / 1 var(--font-body); color: var(--ink); background: var(--sun);
}
.tag svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tag--mint { background: var(--mint); }
.ticks li { position: relative; padding-left: 30px; margin-top: 10px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: currentColor; opacity: .16;
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}

/* ——— сфера знаний ——— */
.orbit {
  position: relative; height: clamp(640px, 100svh, 980px); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 50% 50%, rgba(98, 60, 220, .22), transparent 70%), var(--ground);
}
.orbit__scene {
  position: absolute; inset: 0; perspective: var(--persp, 700px); perspective-origin: 50% 50%;
  cursor: grab; touch-action: pan-y; outline: none;
}
.orbit__scene:active { cursor: grabbing; }
.orbit__scene:focus-visible { box-shadow: inset 0 0 0 3px var(--sun); }
.orbit__drum {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: translateZ(var(--persp, 700px)) rotateX(var(--tilt, 0deg)) rotateY(var(--rot, 0deg));
}
.oc {
  position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch);
  transform: rotateY(var(--a)) translateY(var(--y)) translateZ(calc(var(--r) * -1));
  backface-visibility: hidden; cursor: pointer; border: 0; padding: 0; background: none; color: inherit;
  filter: brightness(var(--lit, 1)); transition: filter .2s;
}
.oc img { width: 100%; height: 100%; object-fit: cover; }
.oc--cover img { border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }
.oc--author, .oc--kid, .oc--kodi { border-radius: 999px; overflow: hidden; }
.oc--author {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--c); color: var(--ink); text-align: center; padding: 0 14px;
}
.oc--author small { font: 600 13px / 1 var(--font-body); opacity: .75; }
.oc--author b { font: 800 calc(var(--cw) * .102) / 1.1 var(--font-display); letter-spacing: -.035em; }
.oc--kid { background: var(--c); }
.oc--kid img { object-position: 50% 18%; }
.oc--kodi { background: var(--ground-3); display: grid; place-items: center; }
.oc--kodi img { width: 78%; height: auto; object-fit: contain; }
.oc.is-active { outline: 3px solid var(--sun); outline-offset: 6px; }
.orbit__veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, var(--ground) 0%, rgba(9, 10, 20, .65) 12%, transparent 30%, transparent 70%, rgba(9, 10, 20, .65) 88%, var(--ground) 100%),
    linear-gradient(180deg, var(--ground) 0%, transparent 16%, transparent 84%, var(--ground) 100%);
}
.orbit__center {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: min(720px, 100% - 40px);
  transform: translate(-50%, -50%); text-align: center; pointer-events: none;
}
.orbit__center::before {
  content: ""; position: absolute; inset: -26% -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9, 10, 20, .97), rgba(9, 10, 20, .93) 62%, rgba(9, 10, 20, .6) 82%, transparent);
}
.orbit__center h2 { text-shadow: 0 2px 18px rgba(9, 10, 20, .9); }
.orbit__center p { margin: 18px auto 0; max-width: 460px; color: #e3e8f6; font-size: clamp(16px, 1.25vw, 19px); text-shadow: 0 1px 12px rgba(9, 10, 20, .95); }
.orbit__go {
  pointer-events: auto; position: relative; display: inline-grid; place-items: center; margin-top: 30px;
  width: clamp(124px, 11vw, 158px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sun); color: var(--ink); text-decoration: none; text-align: center;
  font: 700 clamp(15px, 1.15vw, 18px) / 1.15 var(--font-body); padding: 18px;
  box-shadow: 0 0 0 10px var(--ground), 0 0 0 12px rgba(255, 255, 255, .18), 0 22px 40px -16px rgba(0, 0, 0, .8);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.orbit__go:hover { transform: scale(1.06) rotate(-4deg); box-shadow: 0 0 0 10px var(--ground), 0 0 0 14px rgba(255, 255, 255, .3), 0 26px 46px -16px rgba(0, 0, 0, .85); }
.orbit__ui {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 18px;
}
.orbit__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; }
.orbit__hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.orbit.is-static .orbit__scene { position: relative; inset: auto; perspective: none; cursor: default; padding: 120px 24px 160px; }
.orbit.is-static { height: auto; }
.orbit.is-static .orbit__drum { position: static; width: auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px; }
.orbit.is-static .oc { position: relative; left: 0; top: 0; transform: none; width: 100%; height: auto; aspect-ratio: 400 / 566; filter: none; }
.orbit.is-static .orbit__veil, .orbit.is-static .orbit__hint, .orbit.is-static #orbitPause { display: none; }
.orbit.is-static .orbit__center { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; padding-top: 100px; }

/* ——— как это работает ——— */
.how .head { margin-bottom: clamp(44px, 5vw, 72px); }
.stairs { display: grid; gap: 18px; counter-reset: s; }
.stair {
  --pad: clamp(16px, 1.6vw, 22px);
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 2vw, 28px);
  width: min(100%, 780px); padding: var(--pad) calc(var(--pad) + 10px) var(--pad) var(--pad);
  border-radius: 999px; background: var(--c); color: var(--ink);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.stair:nth-child(2) { margin-left: 15%; }
.stair:nth-child(3) { margin-left: 30%; }
.stair:nth-child(4) { margin-left: 45%; }
@media (max-width: 1100px) { .stair:nth-child(n) { margin-left: calc((var(--i, 0)) * 4%); } }
.stair--sun { --c: var(--sun); }
.stair--sky { --c: var(--sky); }
.stair--violet { --c: var(--violet); }
.stair--coral { --c: var(--coral); }
.stair__n {
  display: grid; place-items: center; width: clamp(58px, 5.4vw, 76px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--c); font: 800 clamp(26px, 2.6vw, 36px) / 1 var(--font-display);
}
.stair h3 { font: 700 clamp(19px, 1.6vw, 24px) / 1.2 var(--font-body); letter-spacing: -.01em; }
.stair p { margin-top: 6px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.45; color: rgba(17, 17, 24, .82); }
.stair__ico { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.stair__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how__foot { display: grid; gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.needs li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 28px;
  background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .07);
}
.needs svg { flex: none; width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: var(--sky); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.needs b { display: block; font-size: 17px; }
.needs span { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.how__note { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 12px 20px 12px 14px; border-radius: 999px; background: rgba(85, 214, 134, .12); color: var(--mint); font-weight: 600; }
.how__note svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ——— попробуйте сами ——— */
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demo__intro { position: sticky; top: 100px; }
.demo__intro .muted { margin-top: 16px; font-size: 15px; line-height: 1.5; max-width: 440px; }
.demo__kodi { width: min(240px, 50%); height: auto; margin-top: 28px; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.demo__kodi.is-happy { transform: rotate(-6deg) scale(1.06); }
.demo__card {
  padding: clamp(20px, 2.4vw, 34px); border-radius: 36px; background: var(--ground-2);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.tab {
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--text-2); font: 600 15px / 1 var(--font-body);
}
.tab.is-active { background: #fff; color: var(--ink); }
.block { margin-top: 22px; }
.block__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.block__tag { padding: 6px 12px; border-radius: 999px; background: var(--violet); color: var(--ink); font: 700 13px / 1 var(--font-body); }
.block__head b { font-size: 17px; }
.block__tasks { display: grid; gap: 10px; margin-top: 18px; }
.task {
  display: grid; grid-template-columns: 44px 1fr 92px; align-items: center; gap: 14px;
  padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1.5px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.task.is-ok { border-color: var(--mint); background: rgba(85, 214, 134, .08); }
.task.is-bad { border-color: var(--coral); background: rgba(253, 114, 116, .08); }
.fig {
  display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 14px;
  color: var(--ink); font: 700 22px / 1 var(--font-body);
}
.fig--sq { background: var(--sun); }
.fig--ci { background: var(--sky); }
.fig--tr { background: var(--violet); }
.fig--di { background: var(--coral); }
.task__text { font-size: 16px; line-height: 1.35; }
.task input {
  width: 100%; height: 48px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .16); background: var(--ground);
  color: #fff; text-align: center; font: 700 20px / 1 var(--font-body);
}
.task input:focus { outline: none; border-color: var(--sun); }
.chain { margin-top: 18px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .04); }
.chain__label { color: var(--text-3); font-size: 13px; font-weight: 600; }
.chain__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chain__cell { display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 14px; background: var(--ground); border: 1.5px solid rgba(255, 255, 255, .12); }
.chain__cell .f { font-size: 13px; color: var(--text-3); }
.chain__cell .v { font: 700 18px / 1.2 var(--font-body); }
.chain__eq { border-color: var(--sun); }
.chain__eq .f { color: var(--sun); }
.chain__op { color: var(--text-2); font: 700 20px / 1 var(--font-body); }
.digits { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 16px; }
.digit {
  height: 46px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .16); background: none; cursor: pointer;
  color: #fff; font: 700 18px / 1 var(--font-body); transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.digit:hover { border-color: rgba(255, 255, 255, .5); }
.digit[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: translateY(-2px); }
.block__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.demo__result { margin-top: 16px; font-weight: 600; font-size: 17px; }
.demo__result:empty { display: none; }
.demo__result small { display: block; margin-top: 4px; font-weight: 400; font-size: 15px; color: var(--text-2); }
.demo__result.is-ok { color: var(--mint); }
.demo__result.is-bad { color: var(--coral); }

/* ——— каталог ——— */
.catalog__top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.halo-book { position: relative; width: clamp(220px, 22vw, 320px); aspect-ratio: 1; display: grid; place-items: center; perspective: 900px; }
.halo-book__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 38s linear infinite; }
.halo-book__ring text { fill: var(--text-2); font: 700 27px var(--font-display); letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }
.book3d {
  --bw: clamp(110px, 10vw, 150px); --bd: 18px;
  position: relative; width: var(--bw); aspect-ratio: 400 / 566; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(6deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.book3d > span { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; backface-visibility: hidden; }
.book3d__front { transform: translateZ(calc(var(--bd) / 2)); box-shadow: inset 4px 0 6px -2px rgba(0, 0, 0, .3); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__back { transform: rotateY(180deg) translateZ(calc(var(--bd) / 2)); background: linear-gradient(160deg, #1d63b8, #0f3f7f); }
.book3d__spine {
  left: calc(var(--bd) / -2) !important; width: var(--bd); border-radius: 3px !important;
  transform: rotateY(-90deg); background: linear-gradient(90deg, #0f3f7f, #2a7ad8 60%, #0f3f7f);
}
.book3d__pages {
  left: auto !important; right: calc(var(--bd) / -2) !important; width: var(--bd); top: 3px !important; bottom: 3px !important;
  transform: rotateY(90deg); border-radius: 2px !important;
  background: repeating-linear-gradient(90deg, #f3f4f8 0 2px, #d9dce6 2px 3px);
}
.book3d--spin { animation: book-spin 16s ease-in-out infinite; }
@keyframes book-spin { 0%, 100% { transform: rotateY(-28deg) rotateX(6deg); } 50% { transform: rotateY(28deg) rotateX(-4deg); } }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3vw, 44px); }
.perks li { padding: 11px 18px; border-radius: 999px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); font-size: 15px; }
.perks b { color: #fff; }
.grades { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin-top: clamp(40px, 4vw, 60px); scroll-margin-top: 96px; }
.grade-btn {
  display: grid; justify-items: center; gap: 2px; padding: 14px 0 12px; border-radius: 999px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .14); background: transparent; color: #fff;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.grade-btn b { font: 800 clamp(22px, 2.2vw, 32px) / 1 var(--font-display); }
.grade-btn span { font-size: 13px; color: var(--text-3); }
.grade-btn:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.grade-btn[aria-selected="true"] { background: var(--g, var(--sun)); border-color: var(--g, var(--sun)); color: var(--ink); }
.grade-btn[aria-selected="true"] span { color: rgba(17, 17, 24, .7); }
.grade-btn:nth-child(9n + 1) { --g: var(--sun); }
.grade-btn:nth-child(9n + 2) { --g: var(--sky); }
.grade-btn:nth-child(9n + 3) { --g: var(--violet); }
.grade-btn:nth-child(9n + 4) { --g: var(--coral); }
.grade-btn:nth-child(9n + 5) { --g: var(--mint); }
.grade-btn:nth-child(9n + 6) { --g: var(--orange); }
.grade-btn:nth-child(9n + 7) { --g: var(--pink); }
.grade-btn:nth-child(9n + 8) { --g: var(--sky); }
.grade-btn:nth-child(9n + 9) { --g: var(--sun); }
.grade-panel { margin-top: 28px; display: grid; gap: 20px; }
.grade-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; padding: 4px 4px 8px; }
.grade-head h3 { font: 800 clamp(26px, 2.6vw, 36px) / 1 var(--font-display); letter-spacing: -.03em; }
.grade-head p { flex-basis: 100%; color: var(--text-2); font-size: 17px; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 13px / 1 var(--font-body); }
.status--ready { background: rgba(85, 214, 134, .16); color: var(--mint); }
.status--soon { background: rgba(255, 255, 255, .08); color: var(--text-2); }
.series {
  display: grid; grid-template-columns: clamp(150px, 17vw, 230px) 1fr; gap: clamp(22px, 3vw, 44px);
  padding: clamp(20px, 2.6vw, 36px); border-radius: 36px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .07);
}
.series__cover { perspective: 1000px; align-self: start; }
.series__cover .book3d { --bw: 100%; --bd: 16px; transform: rotateY(-14deg) rotateX(2deg); }
.series:hover .series__cover .book3d, .series:focus-within .series__cover .book3d { transform: rotateY(-48deg) rotateX(4deg) translateX(8%); }
.cover-ph {
  width: 100%; height: 100%; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 14px; text-align: center;
  background: linear-gradient(170deg, #e9f4ff, #bfe0ff); color: #0f3f7f;
}
.cover-ph img { width: 70%; height: auto; }
.cover-ph b { font: 800 12px / 1.15 var(--font-display); text-transform: uppercase; }
.cover-ph .ph-pill { padding: 4px 10px; border-radius: 999px; background: #2a7ad8; color: #fff; font-size: 11px; font-weight: 600; }
.cover-ph .ph-pill--soft { background: rgba(42, 122, 216, .14); color: #0f3f7f; }
.cover-ph small { font-size: 11px; opacity: .7; }
.series__body { display: grid; gap: 16px; align-content: start; min-width: 0; }
.series__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.series__title h4 { font: 800 clamp(20px, 2vw, 28px) / 1.1 var(--font-display); letter-spacing: -.03em; }
.series__kind { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--ground-3); color: var(--lilac); font: 600 13px / 1 var(--font-body); }
.series__text { color: var(--text-2); font-size: 16px; line-height: 1.55; max-width: 62ch; }
.label-small { margin-bottom: 8px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.umk-chips, .months { display: flex; flex-wrap: wrap; gap: 8px; }
.umk-chip, .month {
  height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .16); background: none; color: #fff; font: 500 15px / 1 var(--font-body);
  transition: background-color .2s, border-color .2s, color .2s;
}
.umk-chip:hover, .month:hover:not(:disabled) { border-color: rgba(255, 255, 255, .5); }
.umk-chip[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.umk-chip.is-soon { color: var(--text-3); border-style: dashed; }
.month { height: 36px; padding: 0 14px; font-size: 14px; }
.month[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.month:disabled { opacity: .62; cursor: default; border-style: dashed; }
.series__authors { color: var(--text-2); font-size: 15px; }
.series__authors span { color: var(--text-3); }
.series__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.series__meta span { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text-2); font-size: 14px; }
.series__set {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px 14px 18px; border-radius: 26px;
  background: rgba(253, 114, 116, .12); border: 1px solid rgba(253, 114, 116, .35);
}
.series__set svg { width: 24px; height: 24px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.series__set span { flex: 1 1 260px; font-size: 15px; color: var(--text-2); }
.series__set b { color: #fff; }
.series__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 4px; }
.series__price { margin-right: auto; color: var(--text-2); font-size: 15px; }
.series__price b { color: var(--sun); font: 800 24px / 1 var(--font-display); letter-spacing: -.02em; }
/* отстал от темы: класс младше или повторение */
.catchup {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 26px; margin-top: 28px;
  padding: 24px 28px; border-radius: 36px; background: rgba(253, 114, 116, .1); border: 1px solid rgba(253, 114, 116, .4);
}
.catchup__ico { display: grid; place-items: center; width: 60px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.catchup__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.catchup h3 { font: 800 clamp(19px, 1.7vw, 24px) / 1.2 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.catchup p { margin-top: 8px; max-width: 70ch; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.catchup__btn { flex: none; }
@media (max-width: 760px) {
  .catchup { grid-template-columns: 1fr; padding: 22px; border-radius: 30px; }
  .catchup__btn { width: 100%; }
}
.hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: var(--text-3); font-size: 15px; }
.hint svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.static-list { display: grid; gap: 8px; color: var(--text-2); }

.toc {
  width: min(640px, 100% - 32px); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 32px;
  background: var(--ground-2); color: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
}
.toc::backdrop { background: rgba(5, 6, 14, .72); backdrop-filter: blur(6px); }
.toc__head { position: sticky; top: 0; display: flex; justify-content: space-between; gap: 16px; padding: 24px 24px 16px 28px; background: var(--ground-2); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.toc__label { color: var(--text-3); font-size: 13px; font-weight: 600; }
.toc__head h3 { margin-top: 6px; font: 700 19px / 1.3 var(--font-body); }
.toc__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.toc__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.toc__list { padding: 12px 28px 28px 56px; list-style: decimal; color: var(--text-2); }
.toc__list li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.toc__list li::marker { color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ——— цены ——— */
.prices-sec .head { position: relative; }
.badge-spin {
  position: relative; display: grid; place-items: center; width: 168px; aspect-ratio: 1; margin: 28px auto 0;
}
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-spin text { fill: var(--sun); font: 700 13.5px var(--font-display); letter-spacing: .08em; }
.badge-spin span {
  display: grid; place-content: center; gap: 4px; width: 100px; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun); color: var(--ink); text-align: center;
}
.badge-spin b { font: 800 28px / 1 var(--font-display); letter-spacing: -.03em; }
.badge-spin small { font: 600 12.5px / 1.1 var(--font-body); max-width: 84px; margin-inline: auto; }
.price-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 36px; }
.segmented { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); }
.segmented button {
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--text-2); font: 600 15px / 1 var(--font-body); transition: background-color .25s, color .25s;
}
.segmented button.is-active { background: #fff; color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 54px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background-color .25s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.switch input:checked + .switch__track { background: var(--mint); }
.switch input:checked + .switch__track::after { transform: translateX(24px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--sun); outline-offset: 3px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 78px 30px 30px; border-radius: 40px;
  background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08);
}
.price-card h3 { font: 800 clamp(22px, 2vw, 28px) / 1.1 var(--font-display); letter-spacing: -.03em; }
.price-card__sub { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.price-card__price { margin-top: 26px; font: 800 22px / 1 var(--font-display); }
.price-card__price b { font-size: clamp(48px, 4.6vw, 66px); letter-spacing: -.04em; }
.price-card__note { margin-top: 10px; min-height: 1.5em; color: var(--text-2); font-size: 15px; }
.price-card__note s { text-decoration-thickness: 2px; }
.save { margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(85, 214, 134, .16); color: var(--mint); font-weight: 600; font-size: 14px; }
.price-card__per { margin-top: 4px; color: var(--text-3); font-size: 14px; }
.price-card .ticks { margin: 20px 0 26px; flex: 1; font-size: 15px; }
/* флажок стоит внутри карточки над заголовком: ничего не выходит за край и не наезжает на соседей */
.price-card__flag {
  position: absolute; top: 28px; left: 30px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--sun); font: 700 14px / 1 var(--font-body);
}
.price-card__flag--soon { background: rgba(17, 17, 24, .85); color: #fff; }
.price-card--book .price-card__price b { color: var(--sun); }
.price-card--half { background: var(--sun); color: var(--ink); border-color: var(--sun); transform: translateY(-14px); }
.price-card--year { background: var(--violet); color: var(--ink); border-color: var(--violet); }
.price-card--half .price-card__sub, .price-card--year .price-card__sub,
.price-card--half .price-card__note, .price-card--year .price-card__note,
.price-card--half .price-card__per, .price-card--year .price-card__per { color: rgba(17, 17, 24, .78); }
.price-card--half .save, .price-card--year .save { background: var(--ink); color: #fff; }
.gift-strip {
  display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px 22px 14px 14px; border-radius: 999px;
  background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); text-decoration: none;
  transition: border-color .25s, transform .3s;
}
.gift-strip:hover { border-color: rgba(254, 226, 50, .5); transform: translateY(-2px); }
.gift-strip b { color: #fff; }
.gift-strip__ico { display: grid; place-items: center; flex: none; width: 52px; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.gift-strip__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gift-strip__arrow { flex: none; margin-left: auto; width: 22px; height: 22px; fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.footnotes { display: grid; gap: 8px; max-width: 78ch; margin-top: 24px; color: var(--text-3); font-size: 14px; line-height: 1.5; }
.footnotes li { position: relative; padding-left: 18px; }
.footnotes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* ——— скидки и бонусы ——— */
.discounts__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.discounts__kodi { width: clamp(150px, 14vw, 210px); height: auto; margin-bottom: -20px; }
.discounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.disc { padding: 30px 28px; border-radius: 36px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); }
.disc .disc__value { margin: 0; font: 800 clamp(46px, 4.4vw, 64px) / 1 var(--font-display); letter-spacing: -.04em; color: var(--c); }
.disc h3 { margin-top: 16px; font-size: 20px; }
.disc p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.disc--blue { --c: var(--sky); }
.disc--mint { --c: var(--mint); }
.disc--gold { --c: var(--sun); }
.rule-note { display: flex; gap: 10px; margin-top: 20px; color: var(--text-3); font-size: 15px; }
.rule-note svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.promo { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: 40px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.promo h3 { margin-top: 18px; font: 800 clamp(22px, 2vw, 30px) / 1.15 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.promo .ticks { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.promo--invite, .promo--gift { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.promo--invite .ticks { color: var(--text-2); }
.promo--invite .ticks li::before, .promo--invite .ticks li::after { color: var(--mint); }
.promo--gift .ticks li::before, .promo--gift .ticks li::after { color: var(--sun); }
.promo--gift .btn { margin-top: 24px; }
.levels { padding: 26px; border-radius: 30px; background: var(--ground); border: 1px solid rgba(255, 255, 255, .07); }
.levels__title { color: var(--text-2); font-weight: 600; }
.levels__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; align-items: end; }
.levels__bar li { display: grid; align-content: end; gap: 4px; padding: 14px; border-radius: 22px; background: var(--mint); color: var(--ink); }
.levels__bar li:nth-child(1) { min-height: 96px; background: #a9ecc4; }
.levels__bar li:nth-child(2) { min-height: 126px; background: #7fe2a7; }
.levels__bar li:nth-child(3) { min-height: 156px; }
.levels__bar b { font: 800 28px / 1 var(--font-display); letter-spacing: -.03em; }
.levels__bar span { font-size: 13px; font-weight: 600; }
.levels__table { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.levels__table caption { caption-side: top; text-align: left; padding-bottom: 8px; color: var(--text-3); font-size: 13px; }
.levels__table th { text-align: left; color: var(--text-3); font-weight: 500; padding: 8px 0; }
.levels__table td { text-align: right; padding: 8px 0; }
.levels__table tbody td { color: var(--mint); font-weight: 700; }
.levels__table tr + tr th, .levels__table tr + tr td, .levels__table tbody tr th, .levels__table tbody tr td { border-top: 1px solid rgba(255, 255, 255, .08); }
.gift-cards { position: relative; height: 300px; }
.gcard {
  position: absolute; width: 220px; height: 140px; padding: 20px; border-radius: 26px; display: grid; align-content: space-between;
  color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.gcard span { font-weight: 600; }
.gcard b { font: 800 30px / 1 var(--font-display); letter-spacing: -.03em; }
.gcard--1 { left: 0; top: 40px; background: var(--sky); transform: rotate(-9deg); }
.gcard--2 { left: 24%; top: 128px; background: var(--sun); transform: rotate(4deg); z-index: 1; }
.gcard--3 { left: 50%; top: 8px; background: var(--coral); transform: rotate(-3deg); z-index: 2; }
/* в две колонки контейнер узкий: раздвигаем карточки, чтобы они не закрывали цены друг друга */
@media (min-width: 901px) {
  .gcard--2 { left: max(24%, 150px); top: 150px; }
  .gcard--3 { left: auto; right: 0; }
}
.promo--gift:hover .gcard--1 { transform: rotate(-14deg) translate(-10px, -8px); }
.promo--gift:hover .gcard--3 { transform: rotate(4deg) translate(12px, -10px); }
.promo--guarantee, .promo--partner { display: flex; gap: 20px; align-items: flex-start; }
.promo--guarantee h3, .promo--partner h3 { margin-top: 0; }
.promo p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.promo .tag { margin-top: 0; color: var(--ink); font-size: 14px; line-height: 1; }
.promo .link-arrow { margin-top: 16px; }
.promo__ico { display: grid; place-items: center; flex: none; width: 60px; aspect-ratio: 1; border-radius: 50%; background: var(--mint); }
.promo--partner .promo__ico { background: var(--violet); }
.promo__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ——— заказ ——— */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; margin-top: 44px; align-items: start; }
.order__form { display: grid; gap: 16px; }
.field-group { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 32px; background: var(--ground-2); min-width: 0; }
.field-group legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 700 19px / 1 var(--font-body); }
.field-group legend + * { clear: both; }
.n { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 15px / 1 var(--font-display); }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span {
  display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: 22px; border: 2px solid rgba(255, 255, 255, .12);
  transition: border-color .2s, background-color .2s;
}
.choice b { font-size: 15px; }
.choice small { color: var(--text-3); font-size: 14px; }
.choice:hover > span { border-color: rgba(255, 255, 255, .35); }
.choice input:checked + span { border-color: var(--sun); background: rgba(254, 226, 50, .08); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.choice input:disabled + span { opacity: .62; cursor: not-allowed; border-style: dashed; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; margin-top: 14px; min-width: 0; }
.field-row .field { margin-top: 0; }
.field > span { color: var(--text-2); font-size: 14px; font-weight: 500; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .14);
  background: var(--ground); color: #fff; font: 500 16px / 1 var(--font-body); appearance: none;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9d4ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field select option { background: var(--ground-2); color: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sun); }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field input::placeholder { color: var(--text-3); }
.field input[type="date"] { color-scheme: dark; }
.field-hint { margin-top: 10px; color: var(--coral); font-size: 14px; }
.field-hint:empty { display: none; }
.field-row:has(.radio-pills) { margin-top: 16px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills--col { flex-direction: column; align-items: stretch; }
.radio-pills label { position: relative; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; }
.radio-pills span {
  display: flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .16);
  font-size: 15px; transition: background-color .2s, border-color .2s, color .2s;
}
.radio-pills input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; margin-top: 18px; cursor: pointer; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--sun); }
.check a { color: #fff; text-underline-offset: 3px; }
.summary { position: sticky; top: 92px; }
.summary__card, .summary__done { padding: 28px; border-radius: 36px; background: #fff; color: var(--ink); }
.summary__label { color: rgba(17, 17, 24, .6); font-size: 14px; font-weight: 600; }
.summary__card h3 { margin-top: 6px; font: 800 21px / 1.2 var(--font-display); letter-spacing: -.02em; }
.summary__list { display: grid; gap: 8px; margin-top: 18px; font-size: 15px; }
.summary__list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(17, 17, 24, .1); }
.summary__list span { color: rgba(17, 17, 24, .6); }
.summary__list b { text-align: right; }
.summary__price { margin-top: 20px; font: 800 24px / 1 var(--font-display); }
.summary__price b { font-size: 54px; letter-spacing: -.04em; }
.summary__save { margin-top: 6px; color: #138a4a; font-weight: 600; font-size: 14px; }
.summary__save:empty { display: none; }
.summary__per { margin: 6px 0 20px; color: rgba(17, 17, 24, .6); font-size: 14px; }
.summary .btn--sun { background: var(--ink); color: #fff; }
.summary .btn--sun:hover { background: #24243a; box-shadow: none; }
.summary__small { margin-top: 14px; color: rgba(17, 17, 24, .6); font-size: 13px; line-height: 1.5; }
.form-error { margin-top: 10px; color: #c2262b; font-weight: 600; font-size: 14px; }
.form-error:empty { display: none; }
.summary__done { text-align: center; }
.summary__done img { width: 150px; height: auto; margin: 0 auto 12px; }
.summary__done h3 { font: 800 24px / 1.2 var(--font-display); }
.summary__done p { margin: 10px 0 20px; color: rgba(17, 17, 24, .7); }
.summary__done .btn--ghost { border-color: var(--ink); color: var(--ink); }
.summary__done .btn--ghost:hover { background: var(--ink); color: #fff; }

/* ——— приложение и кабинет ——— */
.app { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; margin-top: 36px; }
.features li, .secure { display: flex; gap: 16px; align-items: flex-start; }
.features h3, .secure h3 { font-size: 18px; }
.features p, .secure p { margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.features__ico { display: grid; place-items: center; flex: none; width: 50px; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.features__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features__ico--mint { --c: var(--mint); }
.features__ico--violet { --c: var(--violet); }
.features__ico--sky { --c: var(--sky); }
.features__ico--coral { --c: var(--coral); }
.features__ico--sun { --c: var(--sun); }
.secure { margin-top: 30px; padding: 20px 22px; border-radius: 28px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); }
.app__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.app__stage { position: relative; display: grid; place-items: center; min-height: 620px; }
.app__capsule { position: absolute; width: min(330px, 70%); height: 600px; border-radius: 999px; background: var(--violet); transform: rotate(8deg); }
.dphone {
  position: relative; width: 300px; height: 600px; padding: 12px; border-radius: 48px; background: #05070b;
  border: 4px solid #2c3b51; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.dphone__screen { height: 100%; border-radius: 36px; overflow: hidden; background: #10132a; padding: 14px 16px; display: grid; gap: 12px; align-content: start; font-size: 13px; }
.dsb { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0; font-weight: 600; font-size: 12px; }
.dsb span { display: flex; gap: 5px; align-items: center; }
.dsb svg { width: 15px; height: 10px; fill: currentColor; }
.dsb .dsb__bat { width: 22px; height: 11px; }
.cab-url { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-2); font-size: 12px; }
.cab-url svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cab-head b { display: block; font: 800 17px / 1.2 var(--font-display); }
.cab-head small { color: var(--text-3); }
.cab-child { display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .06); }
.cab-child__top { display: flex; gap: 10px; align-items: center; }
.cab-child__top small { display: block; color: var(--mint); font-size: 12px; }
.cab-ava { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); color: var(--ink); font-weight: 700; }
.cab-state { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(254, 226, 50, .14); color: var(--sun); font-weight: 600; }
.cab-state svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cab-progress { display: flex; justify-content: space-between; color: var(--text-2); font-size: 12px; }
.cab-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cab-bar i { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--mint); }
.cab-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.cab-btn { padding: 10px; border-radius: 999px; text-align: center; border: 1.5px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 12px; }
.cab-btn--main { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.cab-hist { display: grid; gap: 8px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .04); }
.cab-hist b { font-size: 13px; }
.cab-hist p { display: flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 12px; }
.cab-hist p i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.cab-hist p i.ok { background: var(--mint); }
.cab-hist p span { margin-left: auto; color: var(--text-3); }
.app__kodi { position: absolute; right: -2%; bottom: 0; width: clamp(120px, 12vw, 170px); height: auto; transform: rotate(6deg); }

/* ——— миссия и ценности ——— */
.wordmark { white-space: nowrap; }
.wordmark span { color: #fe695c; }
.mission { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.mission__card { padding: clamp(26px, 3vw, 40px); border-radius: 40px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); }
.mission__card h3 {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; color: var(--ink);
  font: 800 16px / 1 var(--font-display); background: var(--c);
}
.mission__card--mission { --c: var(--sky); }
.mission__card--goal { --c: var(--coral); }
.mission__card p { margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.mission__kodi { position: absolute; right: -18px; bottom: -70px; width: clamp(110px, 10vw, 150px); height: auto; transform: rotate(8deg); pointer-events: none; }
.values__title { margin-top: clamp(70px, 8vw, 110px); text-align: center; font: 800 clamp(24px, 2.4vw, 34px) / 1 var(--font-display); letter-spacing: -.03em; }
.values { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 36px; align-items: start; }
.value {
  display: grid; align-content: start; justify-items: center; text-align: center; gap: 12px;
  min-height: 420px; padding: 34px 16px 40px; border-radius: 999px; background: var(--c); color: var(--ink);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.value:nth-child(even) { margin-top: 56px; }
.value:hover { transform: translateY(-8px); }
.value__n { display: grid; place-items: center; width: 60px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--c); font: 800 26px / 1 var(--font-display); }
.value h4 { margin-top: 6px; font: 700 16px / 1.2 var(--font-body); hyphens: auto; overflow-wrap: break-word; max-width: 100%; }
.value p { font-size: 15px; line-height: 1.45; color: rgba(17, 17, 24, .82); }
.value--sun { --c: var(--sun); }
.value--sky { --c: var(--sky); }
.value--mint { --c: var(--mint); }
.value--violet { --c: var(--violet); }
.value--orange { --c: var(--orange); }
.value--pink { --c: var(--pink); }

/* ——— скоро ——— */
.soon__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.soon__kodi { width: clamp(130px, 12vw, 180px); height: auto; }
.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 40px; }
.soon-card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 34px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); }
.soon-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.soon-card__ico { display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.soon-card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soon-card__status { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--c); color: var(--c); font-size: 13px; font-weight: 600; }
.soon-card small { color: var(--text-3); font-size: 14px; }
.soon-card h3 { font: 800 20px / 1.2 var(--font-display); letter-spacing: -.02em; }
.soon-card p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.soon-card .link-arrow { margin-top: 6px; font-size: 15px; }
.soon-card--blue { --c: var(--sky); }
.soon-card--mint { --c: var(--mint); }
.soon-card--violet { --c: var(--violet); }
.soon-card--gold { --c: var(--sun); }
.soon-card--green { --c: var(--mint); }
.soon-card--coral { --c: var(--coral); }

/* ——— вопросы ——— */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__side h2 { font: 800 clamp(32px, 4.3vw, 62px) / 1.06 var(--font-display); letter-spacing: -.035em; }
.faq__side .lead a { color: var(--sun); }
.faq__side img { width: min(220px, 60%); height: auto; margin-top: 30px; }
.faq__list { display: grid; gap: 10px; }
.faq__list details { border-radius: 28px; background: var(--ground-2); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .25s; }
.faq__list details[open] { border-color: rgba(69, 205, 252, .4); }
.faq__list summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-weight: 600; font-size: 17px; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--sky);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 24px 22px; color: var(--text-2); font-size: 16px; line-height: 1.6; }

/* ——— финал и подвал ——— */
.final { padding: 20px 0 clamp(80px, 9vw, 130px); }
.final__box {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: center;
  padding: clamp(28px, 4vw, 54px) clamp(28px, 6vw, 90px) clamp(28px, 4vw, 54px) clamp(20px, 3vw, 50px);
  border-radius: 999px; background: var(--sun); color: var(--ink);
}
.final__kodi { grid-row: span 2; width: clamp(140px, 15vw, 230px); height: auto; margin: -70px 0 -40px; }
.final h2 { font: 800 clamp(30px, 3.6vw, 52px) / 1.05 var(--font-display); letter-spacing: -.035em; }
.final__text p { margin-top: 10px; font-size: 18px; color: rgba(17, 17, 24, .8); }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.final__contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.final__contacts a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.final__contacts svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer { padding: 64px 0 40px; border-top: 1px solid rgba(255, 255, 255, .07); background: #07080f; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr .9fr; gap: 32px; }
.footer__brand img { width: 240px; height: auto; margin-left: -50px; }
.footer__brand p { margin-top: 10px; color: var(--text-2); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { margin-bottom: 4px; font-size: 15px; color: var(--text-3); font-weight: 600; }
.footer__col a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: #fff; }
.footer__legal { display: grid; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--text-3); font-size: 13px; line-height: 1.55; }
.footer__legal p { max-width: 90ch; }
.rule-note, .hint { max-width: 80ch; }
.faq__list details p { max-width: 68ch; }

/* ——— появление при прокрутке ——— */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s cubic-bezier(.2, .8, .2, 1), translate .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ——— движение ——— */
:root { --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.3, 1.28, .6, 1); }
.btn { transition: transform .3s var(--ease), translate .45s var(--ease), background-color .2s, color .2s, box-shadow .3s, border-color .2s; }
.orbit__go { transition: transform .35s var(--ease), translate .45s var(--ease), box-shadow .3s; }
.hero__kids, .hero__confetti { transition: transform 1.2s var(--ease); }
.hero__kids { transform: translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -9px)); }
.hero__confetti { transform: translate(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 14px)); }

/* шаг механики, который сейчас показывается */
/* активный шаг выделяется внутри своей капсулы: ничего не выходит за её край и не наезжает на кнопки */
.step { transition: box-shadow .5s var(--ease); }
.step.is-active { box-shadow: inset 0 0 0 max(2px, calc(7 * var(--u))) rgba(255, 255, 255, .62); }
.p2-tasks i {
  display: inline-grid; place-items: center; width: auto !important; min-width: calc(18 * var(--u)); padding: 0 calc(2 * var(--u)); color: transparent;
  font: 700 calc(15 * var(--u)) / 1 var(--font-body); font-style: normal;
}
.p2-tasks i::after { content: attr(data-a); }
.hero__kodi {
  position: absolute; left: calc(2040 * var(--u)); top: calc(560 * var(--u)); width: calc(150 * var(--u)); height: auto; z-index: 3;
  visibility: hidden; scale: .4; rotate: -12deg; pointer-events: none;
  transition: visibility 0s .5s, scale .5s var(--ease), rotate .5s var(--ease);
}
.hero.is-step-4 .hero__kodi { visibility: visible; scale: 1; rotate: 8deg; transition: visibility 0s, scale .6s var(--spring), rotate .6s var(--spring); }

@media (prefers-reduced-motion: no-preference) {
  .hero__tag { animation: rise .9s .1s var(--ease) both; }
  .hero__title .w { display: inline-block; animation: word 1s var(--ease) both; }
  .hero__title .w--sun { animation-delay: .2s; }
  .hero__title .w--mint { animation-delay: .3s; }
  .hero__title .w--sky { animation-delay: .4s; }
  .hero__title .w--coral { animation-delay: .5s; }
  .hero__lead { animation: rise .9s .62s var(--ease) both; }
  .hero__actions { animation: rise .9s .72s var(--ease) both; }
  .step { animation: capsule-in 1.1s var(--spring) both; }
  .step--1 { animation-delay: .75s; }
  .step--2 { animation-delay: .85s; }
  .step--3 { animation-delay: .95s; }
  .step--4 { animation-delay: 1.05s; }
  .hero__arrow, .hero__facts { animation: fade .8s 1.35s both; }
  .kid { animation: kid-in 1.2s var(--spring) both, kid-float 7s ease-in-out 1.6s infinite; }
  .kid--1 { animation-delay: .25s, 1.6s; }
  .kid--2 { animation-delay: .4s, 2.4s; }
  .kid--3 { animation-delay: .55s, 3.1s; }
  .kid--4 { animation-delay: .3s, 2s; }
  .kid--5 { animation-delay: .45s, 2.8s; }
  .kid--6 { animation-delay: .6s, 1.8s; }
  .hero__kidsrow span { animation: kid-in 1.1s var(--spring) both; }
  .hero__kidsrow span:nth-child(2) { animation-delay: .1s; }
  .hero__kidsrow span:nth-child(3) { animation-delay: .2s; }
  .hero__kidsrow span:nth-child(4) { animation-delay: .3s; }
  .hero__confetti i { animation: pop .7s var(--spring) both, drift 11s ease-in-out infinite; animation-delay: 1.1s, 1.8s; }
  .hero__confetti i:nth-child(3n) { animation-duration: .7s, 14s; animation-delay: 1.25s, 2.3s; --dx: -9; --dy: 8; }
  .hero__confetti i:nth-child(3n + 1) { animation-duration: .7s, 9s; animation-delay: 1.4s, 1.9s; --dx: 7; --dy: 12; }

  .step.is-active .step__num { animation: num-pop .7s var(--spring) both; }
  .step--1.is-active .p1-toggle { animation: tg-bg 3s var(--ease) both; }
  .step--1.is-active .p1-toggle i { animation: tg-knob 3s var(--ease) both; }
  .step--1.is-active .p1-lock { animation: lock-pulse 3s var(--ease) both; }
  .step--2.is-active .p2-tasks i { animation: answer 3s both; }
  .step--2.is-active .p2-tasks li:nth-child(2) i { animation-delay: .35s; }
  .step--2.is-active .p2-tasks li:nth-child(3) i { animation-delay: .7s; }
  .step--2.is-active .p2-tasks li:nth-child(4) i { animation-delay: 1.05s; }
  .step--3.is-active .p3-code b { animation: digit 3s var(--ease) both; }
  .step--3.is-active .p3-code b:nth-child(2) { animation-delay: .4s; }
  .step--3.is-active .p3-code b:nth-child(3) { animation-delay: .8s; }
  .step--3.is-active .p3-code b:nth-child(4) { animation-delay: 1.2s; }
  .step--3.is-active .p3-keys i:nth-child(7) { animation: key 3s both; }
  .step--3.is-active .p3-keys i:nth-child(3) { animation: key 3s .4s both; }
  .step--3.is-active .p3-keys i:nth-child(4) { animation: key 3s .8s both; }
  .step--3.is-active .p3-keys i:nth-child(1) { animation: key 3s 1.2s both; }
  .step--4.is-active .p4-lock__shackle { animation: shackle 3s var(--ease) both; }
  .step--4.is-active .p4-burst { animation: burst 3s var(--ease) both; }
  .step--4.is-active .p4-title, .step--4.is-active .p4-sub { animation: late-in 3s var(--ease) both; }

  .stair.reveal { translate: -56px 0; }
  .value.reveal { translate: 0 60px; scale: .94; }
  .price-card.reveal { translate: 0 44px; }
  .disc.reveal, .soon-card.reveal { translate: 0 30px; scale: .97; }
  .reveal { transition-property: opacity, translate, scale; }
  /* после появления всё встаёт на своё место: правило идёт после смещений выше, иначе они остаются */
  .reveal.is-in { translate: 0 0; scale: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes word { from { opacity: 0; transform: translateY(.42em) rotate(5deg); } }
@keyframes capsule-in { from { opacity: 0; transform: translateY(22%) scale(.9); } }
@keyframes kid-in { from { opacity: 0; transform: translateY(26%) scale(.88); } }
@keyframes kid-float { 50% { translate: 0 calc(-9 * var(--u)); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes drift { 50% { translate: calc(var(--dx, 6) * var(--u)) calc(var(--dy, -10) * var(--u)); } }
@keyframes num-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes tg-bg { 0%, 26% { background: #c9ccd6; } 40%, 100% { background: #29ab66; } }
@keyframes tg-knob { 0%, 26% { transform: translateX(calc(-40 * var(--u))); } 40%, 100% { transform: none; } }
@keyframes lock-pulse { 0%, 38% { transform: scale(1); } 50% { transform: scale(1.14); } 64%, 100% { transform: scale(1); } }
@keyframes answer {
  0%, 12% { color: transparent; border-color: #2a2b33; background: transparent; }
  20%, 82% { color: #0f6b3a; border-color: #29ab66; background: #e2f7eb; }
  100% { color: transparent; border-color: #2a2b33; background: transparent; }
}
@keyframes digit { 0% { color: transparent; transform: scale(.86); } 9% { color: #1d1838; transform: scale(1.14); } 16%, 100% { color: #1d1838; transform: scale(1); } }
@keyframes key { 0%, 100% { background: #fff; } 4% { background: #d7ccf6; } 14% { background: #fff; } }
@keyframes shackle { 0%, 24% { transform: translateY(calc(12 * var(--u))) rotate(0deg); } 38%, 100% { transform: rotate(-16deg); } }
@keyframes burst { 0%, 34% { opacity: 0; transform: scale(.4); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes late-in { 0%, 36% { opacity: 0; transform: translateY(calc(8 * var(--u))); } 50%, 100% { opacity: 1; transform: none; } }

/* пауза для всех движений дольше пяти секунд */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
html.still { scrollbar-gutter: auto; scrollbar-width: none; }

/* ——— планшет и телефон: первый экран в столбец (на широком планшете в альбомной ориентации — раскладка макета) ——— */
@media (max-width: 899px), (max-width: 1099px) and (orientation: portrait) {
  .top {
    position: fixed; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
    transition: background-color .3s, backdrop-filter .3s;
  }
  .top.is-scrolled, body.nav-open .top { background: rgba(9, 10, 20, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .brand { position: relative; left: auto; top: auto; flex: none; width: 104px; height: 52px; }
  .brand img { left: -49.7px; top: -4.5px; width: 241px; height: 68px; }
  .top__cta { position: static; width: auto; height: 44px; margin-left: auto; padding: 0 18px; font-size: 15px; }
  .burger {
    display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(9, 10, 20, .4); color: #fff; cursor: pointer;
  }
  .burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .nav {
    position: fixed; inset: 64px 0 auto; left: 0; top: 64px; padding: 18px 16px 28px;
    background: rgba(9, 10, 20, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s, visibility 0s .3s;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .3s; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav__extra { display: block; }
  .nav a { padding: 14px 6px; font: 600 20px / 1.2 var(--font-body); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }

  .hero {
    --u: calc(min((100vw - 56px) / 4, 184px) * .78 / 271);
    height: auto; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 82px 16px 0;
  }
  .hero__ground {
    background:
      radial-gradient(50% 30% at 8% 20%, rgba(108, 62, 255, .36), transparent 72%),
      radial-gradient(45% 30% at 95% 55%, rgba(32, 92, 255, .34), transparent 72%),
      radial-gradient(50% 30% at 10% 95%, rgba(108, 62, 255, .3), transparent 72%),
      var(--ground);
  }
  .hero__kids, .hero__confetti, .hero__arrow, .hero__kodi { display: none; }
  .hero__tag, .hero__title, .hero__lead, .hero__actions, .hero__facts, .steps { position: relative; left: auto; right: auto; top: auto; }
  .hero__tag { width: auto; height: auto; padding: 7px 16px 8px; border-width: 1.5px; font: 500 14px / 1.2 var(--font-body); }
  .hero__title { margin-top: 14px; white-space: normal; font-size: clamp(33px, 9.4vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
  .hero__lead { margin-top: 12px; max-width: 36ch; font-size: clamp(15px, 2.2vw, 19px); line-height: 1.45; color: var(--text-2); }
  .br-wide { display: none; }
  .hero__actions { margin-top: 18px; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero__actions .btn--sun, .hero__actions .btn--ghost { width: auto; height: 48px; padding: 0 22px; font-size: 16px; }
  .hero__actions .btn--ghost { border-width: 2px; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 760px; margin-top: 22px; }
  .step { position: relative; left: auto; top: auto; width: auto; height: auto; padding: 14px 0 30px; display: flex; flex-direction: column; align-items: center; }
  .step__num { position: static; font-size: clamp(19px, 5vw, 34px); line-height: 1; }
  .phone { position: relative; left: auto; top: auto; margin: 8px 0 0; }
  .phone::before, .phone::after { display: none; }
  .step__cap { position: static; margin-top: 10px; padding: 0 3px; font-size: clamp(12px, 3.2vw, 16px); line-height: 1.3; }
  .hero__facts { margin-top: 16px; max-width: 360px; font-size: 13px; column-gap: 1.1em; }
  .hero__pause { position: static; margin-top: 14px; flex: none; }
  .hero__kidsrow {
    display: flex; justify-content: center; gap: 10px; width: calc(100% + 32px); margin-top: 22px; height: 168px; overflow: hidden;
  }
  .hero__kidsrow span { flex: none; width: 92px; height: 190px; border-radius: 999px; background: var(--c); overflow: hidden; }
  .hero__kidsrow span:nth-child(even) { translate: 0 26px; }
  .hero__kidsrow img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
}
@media (min-width: 641px) and (max-width: 899px), (min-width: 641px) and (max-width: 1099px) and (orientation: portrait) {
  .hero__title { font-size: min(8vw, 64px); }
}

@media (max-width: 1099px) {
  .demo, .app, .faq { grid-template-columns: 1fr; }
  .demo__intro, .faq__side, .summary { position: static; }
  .catalog__top, .discounts__top, .soon__top { grid-template-columns: 1fr auto; }
  .order { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .value:nth-child(even) { margin-top: 0; }
  .value:nth-child(3n + 2) { margin-top: 40px; }
  .stair:nth-child(n) { margin-left: 0; }
  .stair:nth-child(2) { margin-left: 5%; }
  .stair:nth-child(3) { margin-left: 10%; }
  .stair:nth-child(4) { margin-left: 15%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .app__stage { min-height: 560px; }
}

@media (max-width: 900px) {
  .prices, .discounts, .needs { grid-template-columns: 1fr; }
  .price-card--half { transform: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo--invite, .promo--gift { grid-column: auto; grid-template-columns: 1fr; }
  .gift-cards { height: 240px; }
  .gcard { width: 180px; height: 116px; }
  .series { grid-template-columns: 1fr; }
  .series__cover { width: min(190px, 60%); margin: 0 auto 8px; }
  .mission { grid-template-columns: 1fr; }
  .mission__kodi { display: none; }
  .final__box { grid-template-columns: 1fr; border-radius: 48px; text-align: center; justify-items: center; }
  .final__kodi { grid-row: auto; margin: -80px 0 0; }
  .final__cta, .final__contacts { justify-content: center; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero__actions .btn--sun, .hero__actions .btn--ghost { height: 46px; padding: 0 18px; font-size: 15px; }
  .top__cta { display: none; }
  .burger { margin-left: auto; }
  .catalog__top, .discounts__top, .soon__top { grid-template-columns: 1fr; }
  .halo-book { width: 220px; margin: 10px auto 0; }
  .discounts__kodi, .soon__kodi { display: none; }
  .grades { grid-template-columns: repeat(5, 1fr); }
  .stair { grid-template-columns: auto 1fr; border-radius: 40px; padding: 16px 20px 18px 16px; }
  .stair:nth-child(n) { margin-left: 0; }
  .stair__ico { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(n) { margin-top: 0; }
  .value:nth-child(even) { translate: 0 32px; }
  .value { min-height: 330px; padding: 26px 12px 34px; }
  .value p { font-size: 14px; }
  .choice-grid, .choice-grid--3 { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .task { grid-template-columns: 40px 1fr 74px; gap: 10px; }
  .fig { width: 40px; }
  .digits { grid-template-columns: repeat(5, 1fr); }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 0 10px; font-size: 14px; }
  .footer__brand img { margin-left: -46px; }
  .price-controls { flex-direction: column; }
  .segmented button { padding: 0 14px; font-size: 14px; }
  .orbit__hint { display: none; }
  .levels { padding: 18px; }
  .levels__bar b { font-size: 22px; }
  .levels__table { font-size: 13px; }
  .levels__table td { padding-left: 6px; }
  .gift-cards { height: 210px; }
  .gcard { width: 150px; height: 100px; padding: 14px; border-radius: 20px; }
  .gcard b { font-size: 22px; }
  .gcard--1 { top: 30px; }
  .gcard--2 { left: 104px; top: 106px; }
  .gcard--3 { left: auto; right: 0; top: 0; }
  .demo__kodi { width: 120px; margin-top: 18px; }
  .perks { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .perks::-webkit-scrollbar { display: none; }
  .perks li { flex: none; max-width: 78vw; scroll-snap-align: start; }
  .hero { padding-top: 76px; }
  .hero__kidsrow { height: 132px; margin-top: 4px; }
  .hero__kidsrow span { width: 80px; height: 160px; }
  .section { padding-block: 64px; }
  .how .head { margin-bottom: 32px; }
  .soon { display: flex; overflow-x: auto; margin: 28px -16px 0; padding: 0 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .soon::-webkit-scrollbar { display: none; }
  .soon-card { flex: none; width: 78vw; scroll-snap-align: start; }
  .disc { padding: 22px 22px 24px; }
  .disc .disc__value { font-size: 44px; }
  .footer { padding: 44px 0 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__legal { margin-top: 28px; }
  .promo { border-radius: 32px; }
  .price-card { padding: 70px 22px 24px; border-radius: 32px; }
  .price-card__flag { top: 24px; left: 22px; }
  .mission { margin-top: 32px; }
  .values__title { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .halo-book__ring, .badge-spin svg, .book3d--spin { animation: none !important; }
}
