/* Смарт Принт - главная в режиме презентации.
   Десять глав, на десктопе каждая глава = экран (scroll-snap).
   Палитра и шрифт - набор Катюши.
   Мастер-слайд: одна фиксированная тёмная шапка (--hh), заголовок главы на одной высоте (--pt),
   кегли 12/14/16/18/20/24, радиус карточек --r, кнопки 54 и 44 px. */

@font-face { font-family: 'Formular'; src: url('fonts/formular-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Formular'; src: url('fonts/formular-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Formular'; src: url('fonts/formular-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0F1921;
  --ink-2: #162433;
  --blue: #0069CB;
  --blue-d: #0057A8;
  --white: #FFFFFF;
  --sky: #009DEA;
  --butterfly: #50C3F5;
  --baby: #A4DBF7;
  --graphite: #525C66;
  --pacific: #7C8795;
  --cool: #939FAD;
  --ice: #D0D4E3;
  --light: #F0F0F3;
  --paper: #FAFAFA;
  --line-light: #E6E9EE;
  --err: #C62828;

  --font: 'Formular', 'Helvetica Neue', Arial, sans-serif;
  --w: 1280px;
  --gut: clamp(20px, 4vw, 40px);
  --hh: 72px;     /* высота шапки - одна на всю страницу */
  --pt: 112px;    /* отступ главы сверху на десктопе: шапка + 40 */
  --pb: 56px;     /* отступ главы снизу на десктопе */
  --r: 8px;       /* радиус карточек; кнопки и поля - 4 px */
}

/* ─── База ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ch--dark :focus-visible, .topbar :focus-visible, .site-foot :focus-visible, .case--d :focus-visible, .rt--cta :focus-visible { outline-color: var(--butterfly); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ─── Главы ─── */
.ch { position: relative; width: 100%; overflow: hidden; padding: calc(var(--hh) + 28px) 0 56px; }
.ch > .in { position: relative; width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; } /* блоки главы с одним зазором; на десктопе 32 */
.ch--dark { background: var(--ink); color: var(--white); }
.ch--white { background: var(--white); color: var(--ink); }
.ch--light { background: var(--light); color: var(--ink); }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
}
.glow {
  position: absolute; right: -120px; top: -160px; width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,105,203,.45), rgba(0,105,203,0));
}

.hd { display: flex; flex-direction: column; gap: 10px; }
.lbl { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.ch--dark .lbl { color: var(--butterfly); }
/* лейбл внутри карточки - тише лейбла главы: серый, без синего */
.lbl--c, .ch--dark .lbl--c { letter-spacing: .08em; color: var(--graphite); }
.case--d .lbl--c, .rt--cta .lbl--c { color: rgba(255,255,255,.6); }
.h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--graphite); }
.ch--dark .sub { color: var(--baby); }
.note { font-size: clamp(14px, 1.15vw, 16px); line-height: 1.5; color: var(--graphite); max-width: 900px; text-wrap: pretty; }
.hd .note { margin-top: 4px; font-size: clamp(16px, 1.3vw, 18px); }

/* ─── Кнопки: 54 px в содержимом, 44 px в шапке ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 4px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
  text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-d); border-color: var(--blue-d); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); }   /* вторичная на тёмном */
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--ink { border-color: var(--ink); color: var(--ink); }                 /* вторичная на светлом */
.btn--ink:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: default; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.arrow-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ─── Шапка: одна на всю страницу, тёмная, фиксированная ─── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hh);
  background: rgba(15,25,33,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white);
}
.topbar .in { width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar .logo { color: var(--white); height: 36px; }
.topbar nav { display: none; gap: 22px; font-size: 14px; font-weight: 500; align-self: stretch; }
.topbar nav a { position: relative; display: flex; align-items: center; color: rgba(255,255,255,.78); transition: color .2s; }
.topbar nav a:hover { color: var(--white); }
.topbar nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s; }
.topbar nav a.on { color: var(--white); }
.topbar nav a.on::after { transform: scaleX(1); }
.mnav > a.on { color: var(--blue); }
.topbar .btn { display: none; }
.logo { display: inline-block; color: inherit; }
.logo svg { height: 100%; width: auto; display: block; fill: currentColor; }

/* бургер и мобильное меню */
.burger {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--white); padding: 0;
}
.burger:hover { border-color: rgba(255,255,255,.7); }
.mnav-overlay { position: fixed; inset: 0; background: rgba(15,25,33,.5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mnav-overlay.open { opacity: 1; pointer-events: auto; }
.mnav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 80; background: var(--white); color: var(--ink);
  padding: 72px 28px 28px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .3s;
  overflow-y: auto;
}
.mnav.open { transform: none; }
.mnav a { color: var(--ink); font-size: 18px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.mnav .btn { margin-top: 16px; border: 0; }
.mnav-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ─── Точки-прогресс (цель нажатия 24 px, сама точка 8) ─── */
.dots { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 50; display: none; flex-direction: column; gap: 2px; align-items: center; margin: 0; padding: 0; list-style: none; }
.dots a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.dots a::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(124,135,149,.5); transition: height .25s, background .25s; }
.dots a:hover::before { background: var(--pacific); }
.dots a.on::before { height: 24px; background: var(--blue); }

/* ─── 01 Титул ─── */
.ch--hero { padding-top: var(--hh); }
.hero { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; padding-top: 28px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.badge { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--baby); }
.flag { display: inline-block; width: 18px; height: 12px; border: 1px solid rgba(255,255,255,.35); background: linear-gradient(#fff 0 33%, #1E4DB7 33% 66%, #D52B1E 66%); flex: none; }
.h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.hero-desc { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--baby); max-width: 540px; text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; }
.assoc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.assoc-plate { height: 40px; width: auto; border-radius: 4px; }
.assoc-tile { height: 40px; display: inline-flex; align-items: center; padding: 0 12px; background: var(--white); border-radius: 4px; }
.assoc-tile img { height: 22px; width: auto; }
.assoc-sk { display: block; flex: none; }
.assoc-sk img { height: 40px; width: auto; }
.hero-visual { position: relative; margin-top: 8px; padding-top: 40px; min-height: 300px; }
.stack-area { position: relative; width: 90%; }
.shot-stack { position: relative; z-index: 2; width: 100%; aspect-ratio: 1600 / 1133; cursor: pointer; }
/* задние экраны - стопкой за передним: чуть выше и меньше, без сдвига вбок */
.shot-stack img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r); transform-origin: center top; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, box-shadow .6s; }
.shot-stack .pos0 { z-index: 3; opacity: 1; transform: none; box-shadow: 0 22px 48px rgba(0,0,0,.42); }
.shot-stack .pos1 { z-index: 2; opacity: .55; transform: translateY(-16px) scale(.96); box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.shot-stack .pos2 { z-index: 1; opacity: .3; transform: translateY(-32px) scale(.92); box-shadow: none; }
.shot-stack .out { z-index: 4; opacity: 0; transform: translateY(14px) scale(1.015); transition: opacity .42s ease, transform .42s ease; }
.stack-cap { position: relative; z-index: 5; margin-top: 16px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 12px; color: var(--baby); line-height: 1.3; max-width: 100%; padding: 4px 12px 7px; border-radius: 6px; background: rgba(15,25,33,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bars { display: flex; gap: 8px; }
.bars button { width: 28px; height: 24px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; }
.bars i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.bars i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--blue); }
.bars .on i::after { width: 100%; }
.stack-cap.auto .bars .on i::after { width: 0; animation: barfill 5s linear forwards; }
.stack-cap.paused .bars .on i::after { animation-play-state: paused; }
@keyframes barfill { to { width: 100%; } }
.names { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.names button { border: 0; background: transparent; padding: 6px 0; color: var(--baby); font-size: inherit; cursor: pointer; opacity: .7; transition: opacity .2s, color .2s; }
.names button.on { color: var(--white); opacity: 1; }
.names button:hover { opacity: 1; }
.names span { opacity: .5; }

/* ─── 02 Клиенты ─── */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: center; border-top: 1px solid var(--ice); border-bottom: 1px solid var(--ice); padding: 18px 0; }
.logos div { height: 40px; display: flex; align-items: center; justify-content: center; } /* логотип по центру ячейки по высоте и ширине */
.logos { --ls: 46px; --lh: 34px; --lw: 100px; }
/* Логотипы одного визуального веса: высота зависит от пропорций (--r = ширина / высота) */
.logos img, .lg img, .pr .pl img { width: auto; max-width: 100%; height: var(--lh); height: min(var(--lh), calc(var(--ls) / sqrt(var(--r, 3))), calc(var(--lw) / var(--r, 3))); object-fit: contain; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--light); color: var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--r); }
.tile b { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.tile span { font-size: 12px; color: var(--graphite); }

/* ─── 03 Функциональность ─── */
.feat { display: flex; flex-direction: column; gap: 18px; }
.ft-list { display: flex; flex-direction: column; gap: 2px; }
.ft { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: var(--r); text-align: left; width: 100%; border: 0; background: transparent; cursor: pointer; color: var(--ink); transition: background .2s; }
.ft:hover { background: rgba(255,255,255,.6); }
.ft.on { background: var(--white); box-shadow: inset 3px 0 0 var(--blue); }
.ft svg { flex: none; width: 24px; height: 24px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ft .t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ft b { font-size: 16px; font-weight: 500; line-height: 1.4; }
.ft .d { display: none; font-size: 14px; line-height: 1.5; color: var(--graphite); }
.ft.on .d { display: block; }
.ft-shot { position: relative; order: -1; }
.shot { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 30px 70px rgba(15,25,33,.28); transition: opacity .25s; }
.shot.fade { opacity: 0; }
.shot--layer { position: absolute; left: 0; top: 0; opacity: 0; box-shadow: none; pointer-events: none; transition: opacity .32s ease; }
.shot--layer.in { opacity: 1; }
.hint { font-size: 12px; color: var(--graphite); }

/* ─── 04 Видео ─── */
.vhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.vhead .hd, .phead .hd { min-width: 0; flex: 1 1 auto; }
.vcar { position: relative; }
/* стрелки по бокам ролика: левая у левого края кадра, правая у правого края текущего кадра */
.varrow { position: absolute; z-index: 3; top: calc(var(--vh, 50%) / 2); transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(15,25,33,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; cursor: pointer; color: var(--white); padding: 0; transition: border-color .2s, background .2s, opacity .2s; }
.varrow:hover { border-color: var(--white); background: rgba(15,25,33,.8); }
.varrow:disabled { opacity: 0; pointer-events: none; }
.varrow--prev { left: 0; }
.varrow--next { left: var(--vw, 82%); }
.varrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.vtrack { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scroll-padding: 0; }
.vtrack:focus-visible { outline-offset: 6px; }
.vtrack::-webkit-scrollbar { display: none; }
.vs { flex: none; width: 82%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; gap: 10px; } /* свайп тачпадом не проскакивает ролик */
.vw { position: relative; aspect-ratio: 9 / 16; background: var(--ink-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.vw video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink-2); }
/* во весь экран ролик вписывается целиком: cover на экране 16:10 срезал края. Правила раздельно - незнакомый псевдокласс отменяет всё правило */
.vw video:fullscreen { object-fit: contain; background: #000; }
.vw video:-webkit-full-screen { object-fit: contain; background: #000; }
.vov { position: absolute; inset: 0; cursor: pointer; }
.vov::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 70%, rgba(0,105,203,.35), transparent); }
.vrole { position: absolute; left: 14px; top: 14px; right: 14px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--white); padding: 6px 10px; border-radius: 3px; line-height: 1.3; width: max-content; max-width: calc(100% - 28px); }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; border: 0; background: var(--blue); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s; }
.vplay svg { width: 26px; height: 26px; fill: var(--white); }
.vov:hover .vplay { background: var(--blue-d); }
.vname { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--white); margin-top: 4px; }
.vw.playing .vov { display: none; }
.vw::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(15,25,33,.45), rgba(15,25,33,.9)); opacity: 0; transition: opacity .4s; }
.vs:not(.cur) .vw::after { opacity: 1; }
.vplay, .vrole { transition: opacity .3s; }
.vs:not(.cur) .vplay, .vs:not(.cur) .vrole { opacity: 0; }
.vname, .vline { transition: opacity .4s; }
.vs:not(.cur) .vname, .vs:not(.cur) .vline { opacity: .4; }
.vline { font-size: 14px; color: var(--baby); margin-top: -4px; }
.vfoot { display: flex; flex-direction: column; gap: 16px; }
.vdots { display: flex; gap: 6px; }
.vdots button { position: relative; width: 24px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.vdots button::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.vdots button.on::before { background: var(--blue); }

/* ─── 05 Внедрение ─── */
.steps { position: relative; display: flex; flex-direction: column; }
.steps::before { content: ''; position: absolute; left: 17px; top: 30px; bottom: 30px; width: 2px; background: var(--ice); }
.st { position: relative; display: flex; gap: 14px; padding: 10px 0; color: inherit; border-radius: var(--r); }
.st .c { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.st svg { display: none; width: 24px; height: 24px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.st b { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; margin-top: 6px; }
.st span { display: block; font-size: 14px; line-height: 1.45; color: var(--graphite); margin-top: 4px; }
a.st:hover b { color: var(--blue); }
.result { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rt { border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; }
.rt--cta { background: var(--ink); color: var(--white); }
.rt--cta .rt-t { font-size: 18px; font-weight: 700; line-height: 1.25; }
.rt--cta .btn { align-self: flex-start; }
.rt--white { background: var(--white); }
.rt--white > p { font-size: 16px; font-weight: 500; color: var(--ink); position: relative; z-index: 1; }
.rt--mfu { display: none; min-height: 250px; }
.rt--mfu img { position: absolute; right: 8px; bottom: -8px; height: 200px; width: auto; }
.rt--shot { padding-bottom: 0; gap: 10px; justify-content: flex-start; }
.rt--shot img { border-radius: 6px 6px 0 0; box-shadow: 0 8px 24px rgba(15,25,33,.18); }

/* ─── 06 Лицензии ─── */
.lic { display: flex; flex-direction: column; gap: 18px; }
.lic-text { display: flex; flex-direction: column; gap: 14px; }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--graphite); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ice); flex: none; }
.dot.on { background: var(--blue); }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 12px; color: var(--graphite); }
.types strong { color: var(--ink); }
.types strong.b { color: var(--blue); }
.ltab { background: var(--light); border-radius: var(--r); padding: 0; }
.lt { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 32px); font-size: 14px; }
.lt .row { display: contents; }
.lt .th { padding: 8px 0; border-bottom: 1px solid var(--ink); font-weight: 500; color: var(--graphite); }
.lt .tc { padding: 8px 0; border-bottom: 1px solid var(--ink); text-align: center; font-weight: 700; }
.lt .tc small { display: none; font-size: 12px; font-weight: 400; color: var(--graphite); }
.lt .tc .tt { display: none; }
.lt .tc.t4 { color: var(--blue); background: rgba(0,105,203,.08); border-radius: 4px 4px 0 0; }
.lt .tc.t4 small { color: var(--blue); }
.lt .first { border-top: 1px solid var(--pacific); }
.lt .name { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--ice); line-height: 1.3; display: flex; align-items: center; }
.lt .cell { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--ice); min-height: 32px; }
.lt .cell.t4 { background: rgba(0,105,203,.08); }
.lic-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 6px; }

/* ─── 07 Совместимость ─── */
.compat { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--white); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.card > p { font-size: 16px; font-weight: 500; }
.lgs { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.lg { height: 40px; display: flex; align-items: center; gap: 10px; }
.lg { --ls: 50px; --lh: 32px; --lw: 112px; }
.lg svg { width: 28px; height: 28px; flex: none; color: var(--blue); fill: currentColor; }
.lg .tx { font-size: 18px; font-weight: 500; }

/* ─── 08 Кейсы ─── */
.cases { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.case { border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.case--w { background: var(--white); color: var(--ink); }
.case--d { background: var(--ink-2); color: var(--white); border: 1px solid rgba(255,255,255,.12); }
.case .ctx { font-size: 14px; line-height: 1.45; color: var(--graphite); }
.case--d .ctx { color: var(--baby); }
.big { font-size: clamp(38px, 4.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.case--w .big { color: var(--blue); }
.big + div { font-size: 14px; color: var(--graphite); margin-top: 6px; }
.case--d .big + div { color: var(--baby); }
.mts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mt { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--ice); }
.case--d .mt { border-top-color: rgba(255,255,255,.25); }
.mt b { font-size: 24px; font-weight: 700; line-height: 1; white-space: nowrap; }
.mt b.ac { color: var(--blue); }
.case--d .mt b.ac { color: var(--butterfly); }
.mt span { font-size: 12px; line-height: 1.3; color: var(--graphite); }
.case--d .mt span { color: var(--baby); }
.mt--text { border-top-color: transparent; }
.mt--text span { color: var(--butterfly); font-size: 14px; font-weight: 500; line-height: 1.35; }

/* ─── 09 Партнёры ─── */
.phead { display: flex; flex-direction: column; gap: 16px; }
.prow { display: flex; flex-direction: column; gap: 16px; }
.pcta { display: flex; flex-direction: column; gap: 12px; }
.pcta b { font-size: 18px; font-weight: 500; }
.plist { display: grid; grid-template-columns: 1fr; gap: 0 32px; border-bottom: 1px solid var(--ice); }
.pr { display: flex; align-items: center; gap: 16px; height: 64px; border-top: 1px solid var(--ice); color: inherit; }
.pr .pl { --ls: 50px; --lh: 36px; --lw: 88px; width: 88px; height: 40px; flex: none; display: flex; align-items: center; }
.pr .pl--txt { justify-content: center; background: var(--light); border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--graphite); }
.pr .pt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr b { font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr span { font-size: 14px; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.pr:hover b { color: var(--blue); }

/* ─── 10 Заявка и подвал ─── */
.ctc { display: flex; flex-direction: column; gap: 18px; }
.ctc-text { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.ctc-text .hd { align-items: center; }
.form { display: grid; grid-template-columns: 1fr; gap: 12px; background: var(--white); border-radius: var(--r); padding: 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-size: 14px; font-weight: 500; }
.fld .req { color: var(--blue); }
.inp { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--ice); border-radius: 4px; padding: 0 12px; height: 46px; width: 100%; transition: border-color .2s; }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,105,203,.15); }
textarea.inp { height: 96px; padding: 10px 12px; resize: vertical; }
.inp.input-error { border-color: var(--err); }
.err { font-size: 12px; color: var(--err); }
.err:empty { display: none; }
.cnt { font-size: 12px; color: var(--graphite); text-align: right; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--graphite); line-height: 1.45; cursor: pointer; }
.chk input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.chk a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { border: 0; }
.grecaptcha-badge { visibility: hidden !important; }
.rc-note { font-size: 12px; line-height: 1.4; color: var(--graphite); margin-top: 8px; }
.rc-note a { color: inherit; text-decoration: underline; }
.form-success { grid-column: 1 / -1; font-size: 16px; font-weight: 500; color: var(--ink); padding: 20px 0; }
.full { grid-column: 1 / -1; }

.site-foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 40px 0 34px; font-size: 14px; }
.site-foot .in { width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.site-foot .logo { height: 44px; color: var(--white); }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 900px; }
.site-foot nav a { color: rgba(255,255,255,.72); }
.site-foot nav a:hover { color: var(--white); }
.site-foot .sk { display: block; }
.site-foot .sk img { height: 36px; width: auto; }
.site-foot .copy { font-size: 12px; color: rgba(255,255,255,.5); }

/* ─── Cookie-баннер ─── */
.cookie-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(120px); z-index: 90;
  background: var(--white); border: 1px solid var(--ice); border-radius: var(--r); box-shadow: 0 8px 32px rgba(15,25,33,.18);
  padding: 14px 18px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 640px; width: calc(100% - 32px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: transform .4s, opacity .4s, visibility .4s;
}
/* скрытый баннер не должен ловить касания у нижнего края экрана (на телефоне он частично оставался в окне) */
.cookie-banner--visible { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.cookie-text { font-size: 14px; color: var(--graphite); line-height: 1.5; margin: 0; flex: 1; }
.cookie-link { color: var(--blue); text-decoration: underline; white-space: nowrap; }
.cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; justify-content: center; }
.cookie-btn { height: 40px; background: var(--blue); color: var(--white); border: 0; border-radius: 4px; padding: 0 18px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.cookie-btn:hover { background: var(--blue-d); }
.cookie-btn-secondary { height: 40px; background: transparent; color: var(--graphite); border: 1px solid var(--ice); border-radius: 4px; padding: 0 14px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.cookie-btn-secondary:hover { background: var(--light); color: var(--ink); }

/* ═══════════ Планшет ═══════════ */
@media (min-width: 768px) {
  .ch { padding: calc(var(--hh) + 36px) 0 72px; }
  .ch--hero { padding-top: var(--hh); }
  .topbar .btn { display: inline-flex; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-visual { min-height: 470px; padding-top: 56px; }
  .stack-area { width: 80%; }
  .ft-shot { order: 0; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 30px; padding: 26px 0; }
  .logos div { height: 50px; }
  .logos { --ls: 62px; --lh: 44px; --lw: 140px; }
  .tiles { gap: 14px; }
  .tile { padding: 20px 22px 18px; }
  .tile b { font-size: 40px; }
  .tile span { font-size: 14px; }
  .feat { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: center; }
  .varrow { display: flex; }
  .vtrack { gap: 24px; }
  .vs { width: 86%; }
  .vw { aspect-ratio: 16 / 9; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
  .vrole { left: 24px; top: 24px; letter-spacing: .08em; padding: 7px 12px; }
  .vplay { width: 88px; height: 88px; }
  .vplay svg { width: 32px; height: 32px; }
  .vname { font-size: 24px; }
  .vline { font-size: 16px; }
  .vfoot { flex-direction: row; align-items: center; justify-content: space-between; }
  .st svg { display: block; }
  .steps::before { left: 19px; top: 34px; bottom: 34px; }
  .st .c { width: 40px; height: 40px; }
  .st { gap: 16px; align-items: flex-start; }
  .st .c + svg { margin-top: 8px; }
  .result { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rt--cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
  .rt--cta .hd { max-width: 420px; }
  .rt--cta .btn { align-self: center; flex: none; }
  .rt--mfu { display: flex; }
  .rt--cta .rt-t { font-size: 20px; }
  .ltab { padding: 6px 18px 12px; }
  .lt { grid-template-columns: minmax(0, 1fr) repeat(4, 78px); }
  .lt .th { padding: 12px 0 10px; }
  .lt .tc { padding: 12px 4px 10px; }
  .lt .tc small { display: block; }
  .lt .tc .tt { display: inline; }
  .lt .name { padding: 0 10px 0 0; height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 34px; }
  .lt .cell { min-height: 34px; }
  .types { display: none; }
  .legend { flex-direction: row; justify-content: space-between; }
  .card { padding: 22px; }
  .lgs { gap: 10px 30px; }
  .lg { height: 44px; }
  .lg { --ls: 56px; --lh: 34px; --lw: 124px; }
  .case { padding: 28px; }
  .mts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
  .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcta { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 22px; }
  .inp { height: 44px; }
  .cookie-banner { flex-direction: row; align-items: center; gap: 16px; padding: 14px 20px; }
  .cookie-buttons { justify-content: flex-end; }
}

/* ═══════════ Десктоп: раскладка ═══════════ */
@media (min-width: 1024px) {
  .ch { padding: calc(var(--hh) + 44px) 0 80px; }
  .ch--hero { padding-top: var(--hh); }
  .h2 { text-wrap: nowrap; white-space: nowrap; }
  .h2.h2--wrap, .h2--lic, .h2--ctc { text-wrap: balance; white-space: normal; }
  .hd { gap: 12px; }

  /* 01 */
  .hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; padding: 24px 0 56px; }
  .hero-text { grid-column: span 6; gap: 28px; }
  .h1 { max-width: 9em; }
  .hero-actions { gap: 14px; }
  .assoc { gap: 12px; }
  .assoc-plate, .assoc-tile, .assoc-sk img { height: 44px; }
  .assoc-tile img { height: 24px; }
  .hero-visual { grid-column: 7 / span 6; height: 620px; min-height: 0; padding: 0; margin: 0; }
  .stack-area { position: absolute; left: -5%; top: 11%; width: 104%; }
  .stack-cap { margin-top: 20px; }

  /* заголовок главы на одной высоте, под ним один зазор 32 */
  .ch--clients > .in, .ch--features > .in, .ch--video > .in, .ch--vnedrenie > .in, .ch--compat > .in, .ch--case > .in, .ch--partners > .in { display: flex; flex-direction: column; gap: 32px; }

  /* 02 */
  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 48px; padding: 30px 0; }
  .logos div { height: 56px; }
  .logos { --ls: 76px; --lh: 52px; --lw: 176px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .tile { padding: 24px 26px 22px; gap: 6px; }
  .tile b { font-size: clamp(36px, 3.2vw, 46px); }

  /* 03 */
  .feat { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .ft-list { grid-column: span 5; }
  .ft-shot { grid-column: 6 / span 7; order: 0; }
  .ft { padding: 12px 16px; gap: 14px; }
  .hint { padding-left: 16px; margin-top: 10px; }

  /* 04 */
  .vtrack { margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .vs { width: var(--vsw, min(900px, 72%)); } /* --vsw ставит подгонка глав: в низком окне ролик уже, глава в том же масштабе, что соседние */
  .vdots button { width: 28px; }

  /* 05 */
  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .steps::before { left: 20px; right: calc(20% - 20px); top: 19px; bottom: auto; height: 2px; width: auto; }
  .st { flex-direction: column; gap: 10px; padding: 0 20px 0 0; }
  .st .c { width: 40px; height: 40px; }
  .st .c + svg { margin-top: 0; }
  .st b { font-size: 18px; margin-top: 0; }
  .st span { margin-top: 0; }
  .result { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; grid-auto-rows: minmax(300px, auto); }
  .rt { padding: 28px; }
  .rt--cta { grid-column: auto; flex-direction: column; align-items: stretch; justify-content: space-between; padding: 32px; }
  .rt--cta .hd { max-width: none; }
  .rt--cta .btn { align-self: flex-start; }
  .rt--cta .rt-t { font-size: clamp(18px, 1.7vw, 24px); }
  .rt--mfu img { right: 16px; bottom: -10px; height: 88%; }

  /* 06 */
  .lic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .lic-text { grid-column: span 4; gap: 18px; padding: 8px 0 16px; }
  .lic-foot { gap: 16px; margin-top: 8px; }
  .ltab { grid-column: 5 / span 8; padding: 8px 24px 16px; }
  .lt { grid-template-columns: minmax(0, 5fr) repeat(4, 96px); }
  .lt .th { padding: 14px 0 12px; }
  .lt .tc { padding: 14px 8px 12px; }
  .lt .name { height: 32px; line-height: 32px; padding-right: 12px; }
  .lt .cell { min-height: 32px; }
  .legend { flex-direction: column; gap: 10px; }
  .h2--lic { font-size: clamp(30px, 3vw, 44px); }

  /* 07 */
  .compat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 28px; gap: 20px; }
  .lgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .lg { height: 46px; }
  .lg { --ls: 60px; --lh: 38px; --lw: 136px; }
  .lg svg { width: 34px; height: 34px; }
  .lg .tx { font-size: 20px; }

  /* 08 */
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .case { padding: 32px; gap: 22px; }
  .case .ctx { font-size: 16px; }
  .big + div { font-size: 16px; margin-top: 8px; }
  .mts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
  .mt { padding-top: 14px; }
  .mt b { font-size: 28px; }
  .mt span { font-size: 14px; }

  /* 09 */
  .phead { gap: 20px; }
  .prow { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .pcta { flex-wrap: nowrap; gap: 20px; }
  .pcta b { white-space: nowrap; }
  .plist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr { height: 72px; }
  .pr .pl { --ls: 58px; --lh: 44px; --lw: 112px; width: 112px; height: 44px; }

  /* 10 */
  .ctc { width: min(880px, 100%); margin: 0 auto; gap: 24px; }
  .ctc-text { gap: 12px; }
  .form { gap: 12px 20px; padding: 26px 30px; box-shadow: 0 8px 24px rgba(15,25,33,.06); }
  .ch--contacts .inp { height: 42px; }
  .ch--contacts textarea.inp { height: 84px; }
}

/* Узкие десктопы 1024-1439: таблица лицензий шире, партнёры в три колонки */
@media (min-width: 1024px) and (max-width: 1439px) {
  .lic-text { grid-column: span 3; }
  .ltab { grid-column: 4 / span 9; }
  .lt { grid-template-columns: minmax(0, 1fr) repeat(4, 84px); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .ltab .lt .name { white-space: normal; height: auto; min-height: 30px; line-height: 1.25; display: flex; align-items: center; padding: 4px 10px 4px 0; }
  .plist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr { height: 64px; }
  .h2--lic { font-size: 30px; }
}

/* Полное меню в шапке - с 1280; до этого кнопка и бургер справа */
@media (max-width: 1279px) {
  .topbar .btn { margin-left: auto; }
  .topbar .in { gap: 12px; }
}
@media (min-width: 1280px) {
  .topbar nav { display: flex; }
  .topbar .burger { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .topbar nav { gap: 16px; }
}

/* ═══════════ Режим презентации: альбомный экран от 1024 ═══════════
   Глава = экран, прилипание при прокрутке. Заголовок каждой главы начинается на одной высоте (--pt).
   Если глава не влезает по высоте, скрипт уменьшает её целиком (fitChapters в main.js), на больших экранах - увеличивает. */
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  html.home { scroll-snap-type: y mandatory; } /* только главная (класс home на <html>): на внутренних страницах прилипать не к чему */
  .ch { min-height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-start; padding: var(--pt) 0 var(--pb); }
  .dots { display: flex; }

  /* Заголовок главы наверху (--pt), содержимое под ним центрируется в оставшемся месте: на высоком экране
     глава не выглядит прижатой кверху. Высоту .in под экран ставит fitChapters (min-height = место / zoom). */
  .ch > .in { display: flex; flex-direction: column; }
  .ch > .in > .hd + *, .ch > .in > .vhead + *, .ch > .in > .phead + * { margin-top: auto; }
  .ch > .in > :last-child { margin-bottom: auto; }
  .ch--hero > .in > :last-child { margin-bottom: 0; }
  /* главы, где заголовок вложен в колонку: «Лицензии» - таблица, «Контакты» - форма центрируются в остатке сами */
  .lic { flex: 1; }
  .ltab { align-self: center; }
  .ctc { flex: 1; }
  .ctc .form { margin-top: auto; margin-bottom: auto; }

  .ch--hero { padding: var(--hh) 0 0; }
  .ch--hero > .in { min-height: calc(100vh - var(--hh)); }
  .hero { flex: 1; }
  .hero-visual { height: min(700px, 100vh - 200px); }

  .ft .d { min-height: var(--dmax, calc(3 * 1.5em)); }
  .ft-list.measure .ft .d { display: block; min-height: 0; }

  /* содержимое главы проявляется, пока страница к ней едет (класс away ставит и снимает goStop в main.js) */
  .ch > .in > * { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ch.away > .in > * { opacity: 0; transform: translateY(20px); }

  .home .site-foot { scroll-snap-align: end; }
}

/* невысокие экраны: компактнее отступы и кегли */
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) and (max-height: 820px) {
  :root { --pt: 100px; --pb: 40px; }
  .h2 { font-size: clamp(26px, 2.6vw, 38px); }
  .hd { gap: 8px; }
  .ch--clients > .in, .ch--features > .in, .ch--video > .in, .ch--vnedrenie > .in, .ch--compat > .in, .ch--case > .in, .ch--partners > .in { gap: 24px; }
  .logos { padding: 18px 0; gap: 16px 40px; }
  .logos div { height: 46px; }
  .logos { --ls: 66px; --lh: 44px; --lw: 160px; }
  .tile { padding: 16px 20px 14px; }
  .tile b { font-size: 34px; }
  .note { font-size: 14px; }
  .ft { padding: 9px 16px; }
  .lt .name, .lt .cell { height: 28px; min-height: 28px; line-height: 28px; }
  .lt { font-size: 13px; }
  .lt .th, .lt .tc { padding: 10px 6px 8px; }
  .result { grid-auto-rows: minmax(236px, auto); }
  .st b { font-size: 16px; }
  .card { padding: 22px; gap: 14px; }
  .lg { height: 38px; }
  .lg { --ls: 52px; --lh: 32px; --lw: 124px; }
  .case { padding: 24px; gap: 16px; }
  .big { font-size: 48px; }
  .mt b { font-size: 24px; }
  .pr { height: 58px; }
  .pr .pl { --ls: 50px; --lh: 36px; --lw: 100px; width: 100px; height: 36px; }
  .form { padding: 20px 24px; gap: 10px 16px; }
  .inp { height: 40px; }
  textarea.inp { height: 72px; }
  .h1 { font-size: clamp(38px, 4.4vw, 60px); }
  .hero-text { gap: 20px; }
  .ctc { gap: 14px; }
  .ctc-text { gap: 6px; }
  .form { padding: 18px 26px; gap: 8px 20px; }
  .ch--contacts .inp { height: 38px; }
  .ch--contacts textarea.inp { height: 60px; }
  .fld { gap: 4px; }
}

/* ═══════════ Внутренние страницы: релизы, партнёры, документы, 404, спасибо ═══════════
   Та же шапка и подвал, что на главной (шапка статична - страница обычная, без прилипания).
   Разметка: body.page > .topbar + main > .pg (секции) > .in; заголовок секции - .hd (.lbl + .h2 + .sub). */
body.page { background: var(--paper); }
.page main { padding-top: var(--hh); }
.pg { position: relative; overflow: hidden; padding: 56px 0; }
.pg > .in { position: relative; width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.pg--white { background: var(--white); }
.pg--light { background: var(--light); }
.pg--dark { background: var(--ink); color: var(--white); }
.pg--dark .lbl { color: var(--butterfly); }
.pg--dark .sub, .pg--dark .note { color: var(--baby); }
.pg--narrow > .in { width: min(820px, 100% - 2 * var(--gut)); }
.pg--hero { padding: 48px 0 40px; }
.pg--hero .h1 { font-size: clamp(32px, 4.2vw, 56px); color: inherit; }
.pg--hero .hero-desc { max-width: 720px; }
.pg--hero .hero-actions { margin-top: 4px; }
.pg--center > .in { align-items: center; text-align: center; gap: 18px; min-height: calc(100vh - var(--hh) - 320px); justify-content: center; }
.pg--center .h1 { color: var(--ink); font-size: clamp(32px, 4.5vw, 56px); }
.pg--center .sub { max-width: 560px; }
.pg--center .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.num404 { font-size: clamp(88px, 16vw, 160px); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--blue); }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; }
.ok-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* текст документов */
.prose { font-size: 16px; line-height: 1.65; color: var(--ink); display: flex; flex-direction: column; gap: 14px; text-wrap: pretty; }
.prose h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin-top: 14px; }
.prose h3 { font-size: 18px; line-height: 1.3; font-weight: 500; margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; word-break: break-word; }
.prose .sign { margin-top: 20px; color: var(--graphite); font-weight: 500; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ice); vertical-align: top; }
.prose th { font-weight: 500; color: var(--graphite); }

/* аккордеон релизов */
.acc-controls { display: flex; gap: 18px; font-size: 14px; font-weight: 500; }
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc details { background: var(--white); border: 1px solid var(--ice); border-radius: var(--r); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 18px; font-weight: 500; cursor: pointer; }
.acc summary time { margin-left: auto; font-size: 14px; font-weight: 400; color: var(--graphite); white-space: nowrap; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: rotate(45deg); transition: transform .2s; flex: none; margin: -4px 6px 0 0; }
.acc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.acc .prose { padding: 0 20px 20px; font-size: 15px; gap: 10px; }
.acc .prose h3 { font-size: 16px; margin-top: 4px; }

/* карточки и списки партнёрской страницы */
.pcards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pcard { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.pcard h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.pcard p { font-size: 14px; line-height: 1.5; color: var(--graphite); }
.pcard--accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pcard--accent p { color: var(--baby); }
.pg--dark .pcard { background: var(--ink-2); border-color: rgba(255,255,255,.12); color: var(--white); }
.pg--dark .pcard p { color: var(--baby); }
.ico { width: 44px; height: 44px; border-radius: var(--r); background: rgba(0,105,203,.08); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pcard--accent .ico, .pg--dark .ico { background: rgba(80,195,245,.14); color: var(--butterfly); }
.tag { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(0,105,203,.08); padding: 5px 10px; border-radius: 4px; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.rlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rlist li { display: flex; gap: 14px; align-items: flex-start; }
.rlist strong { display: block; font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.rlist p { font-size: 14px; line-height: 1.5; color: var(--graphite); }
.bl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bl li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.bl li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; margin-top: 8px; }
.pg--dark .bl li::before { background: var(--butterfly); }
.split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.pg--dark .tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--white); }
.pg--dark .tile span { color: var(--baby); }
.band { background: var(--ink); color: var(--white); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.band .hd { gap: 8px; }
.band .ttl { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.band .lbl { color: var(--butterfly); }
.band .sub { color: var(--baby); }
.band .btn { flex: none; }

@media (min-width: 768px) {
  .pg { padding: 72px 0; }
  .pg > .in { gap: 32px; }
  .pg--hero { padding: 64px 0 56px; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pcard { padding: 26px; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .band { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 44px; gap: 32px; }
}
@media (min-width: 1024px) {
  .pg { padding: 80px 0; }
  .pg > .in { gap: 36px; }
  .pg--hero { padding: 80px 0 64px; }
  .pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .split { gap: 48px; }
  .band { padding: 48px 56px; }
  .acc summary { padding: 18px 24px; }
  .acc .prose { padding: 0 24px 24px; }
}
