/* e-Matbuot — сайт продукта.
   Цвета и шрифт — из комплекта бренда (brand/ematbuot-2026-10-25/final/KIT.md, брендбук: «сайт — Onest»).
   Язык визуала — «Devonxona»: бумажный стол пресс-службы (листы, скрепки, штампы, изометрическая сетка знака)
   и настоящая панель (графитовый рейл, белые карточки). Синий royal — один акцент на экран. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f5f7fb;
  --paper-2: #edf1f7;
  --white: #ffffff;
  --ink: #0c1f3f;          /* KIT: ink */
  --ink-2: #33415c;
  --slate: #56657e;        /* KIT: slate, 5,9:1 на белом */
  --mist: #a9b6cb;         /* KIT: mist, на тёмном */
  --line: #dde4ee;
  --line-2: #c8d2e1;
  --royal: #0964fd;        /* KIT: royal */
  --royal-ink: #0757de;    /* royal для мелкого текста (как в панели) */
  --royal-2: #0646b8;
  --royal-weak: #eaf2ff;
  --sky: #2d9dff;          /* KIT: sky */
  --navy: #0d1c61;
  --graphite: #1c1e22;     /* KIT: graphite, рейл панели */
  --u: #d1342a; --u-weak: #fdeceb;   /* красный: категория «критика» */
  --m: #b9620a; --m-weak: #fff3e2;   /* важно */
  --d: #3b5fd9; --d-weak: #edf1fe;   /* дайджест */
  --ok: #17803d; --ok-weak: #e5f4ea;
  --slip: #fffefb;                    /* бумага листа */
  --sh-1: 0 1px 0 rgba(12, 31, 63, 0.04), 0 6px 18px -10px rgba(12, 31, 63, 0.22);
  --sh-2: 0 1px 2px rgba(12, 31, 63, 0.06), 0 24px 60px -28px rgba(12, 31, 63, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gut: 24px;
  color-scheme: light;
}

/* Язык: оба текста в разметке, лишний скрыт */
/* uz-new (новая латиница) и uz-cyrl (кириллица) — те же узбекские тексты, буквы меняет JS */
:root:not([data-lang="ru"]) .ru, :root[data-lang="ru"] .uz { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
p, h1, h2, h3, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Типографика ── */
.reg { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; font-weight: 640; letter-spacing: -0.048em; margin: 22px 0 26px; }
h1 em, h2 em { color: var(--royal); }
h2 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.03; font-weight: 620; letter-spacing: -0.042em; margin-top: 18px; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 620; letter-spacing: -0.025em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.fine { font-size: 12.5px; color: var(--slate); margin-top: 14px; }
.muted { color: var(--slate); }
.sec-head { margin-bottom: 56px; }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: end; }

/* ── Кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--royal-2); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--white); border-color: var(--slate); }
.btn-ghost .ico { width: 17px; height: 17px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn .sm { display: none; }

/* ── Шапка ── */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { flex: none; }
.logo img { height: 35px; width: auto; }
/* на компьютере .menu «растворяется»: разделы и «Личный кабинет» стоят в строке шапки, порядок задаёт order */
.menu { display: contents; }
.nav { display: flex; gap: 2px; margin-left: 12px; order: 1; }
.nav a { padding: 8px 9px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.lang { order: 2; margin-left: auto; display: flex; flex: none; padding: 3px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.lang button { padding: 5px 9px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(12, 31, 63, 0.1); }
.cab { order: 3; gap: 8px; background: var(--white); border-color: var(--line-2); }
.cab .ico { width: 17px; height: 17px; color: var(--royal-ink); }
.top-apply { order: 4; }
/* «Личный кабинет» и «Оставить заявку» — одного размера на всех четырёх языках (основатель 03.11) */
.top .cab, .top .top-apply { min-width: 172px; padding: 0 14px; }
.menu-apply, .burger { display: none; }
.burger { order: 5; flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; }
.burger .ico { width: 20px; height: 20px; }
.burger .x, .top.open .burger .bars { display: none; }
.top.open .burger .x { display: inline; }

/* ── Заставка при открытии: капля жидкого стекла на знаке (assets/js/intro.js) ──
   Без JS и при «меньше движения» класса .intro нет — заставка не показывается. Если скрипт не запустился,
   через 6 с она прячется сама. Знак и надпись — один файл кита lockup.svg: сначала виден только знак (левые 23,36 %). */
.em-intro { display: none; }
.intro .em-intro { display: block; position: fixed; inset: 0; z-index: 200; background: var(--paper); --s: min(128px, calc((100vw - 56px) / 4.28)); animation: ei-failsafe 0.3s 6s forwards; }
.em-intro.run { animation: none; }
@keyframes ei-failsafe { to { opacity: 0; visibility: hidden; } }
.ei-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.em-intro.gl .ei-gl { opacity: 1; }
.ei-logo { position: absolute; left: 50%; top: 50%; height: var(--s); transform: translate(calc(var(--s) * -0.5), -50%); }
.ei-logo img { display: block; height: 100%; width: auto; clip-path: inset(0 76.64% 0 0); }
.em-intro.gl:not(.word) .ei-logo { visibility: hidden; }
.em-intro.word .ei-logo { transform: translate(calc(var(--s) * -2.14), -50%); transition: transform 0.62s var(--ease-out); }
.em-intro.word .ei-logo img { clip-path: inset(0 0 0 0); transition: clip-path 0.62s var(--ease-out); }
.em-intro.out { opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease); }
.em-intro.out .ei-logo { transform: translate(calc(var(--s) * -2.14), calc(-50% - 8px)); transition: transform 0.5s var(--ease); }
.em-intro.fast { transition-duration: 0.25s; }
/* запасная версия без WebGL2: та же капля и плитка, стекло — через размытие фона (тайминг как в intro.js) */
.ei-glass { display: none; position: absolute; left: 50%; top: 50%; width: calc(var(--s) * 1.6); height: calc(var(--s) * 1.6); margin: calc(var(--s) * -0.8) 0 0 calc(var(--s) * -0.8); border-radius: 50%; pointer-events: none; opacity: 0;
  background: rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(1.5px) saturate(1.5) brightness(1.04); backdrop-filter: blur(1.5px) saturate(1.5) brightness(1.04);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.95), inset 0 -3px 8px rgba(45, 157, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 16px 32px -14px rgba(12, 31, 63, 0.35); }
.em-intro.css .ei-glass { display: block; animation: ei-glass 1.7s linear forwards; }
@keyframes ei-glass {
  0% { opacity: 0; transform: translateY(-40vh) scale(0.25); border-radius: 50%; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  6% { opacity: 1; }
  25% { transform: translateY(0) scale(0.23, 0.27); border-radius: 50%; animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  54% { transform: translateY(0) scale(1); border-radius: 29%; }
  73% { opacity: 1; transform: scale(1); border-radius: 29%; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  100% { opacity: 0; transform: scale(1.1); border-radius: 29%; }
}
.em-intro.css:not(.word) .ei-logo img { animation: ei-zoom 1.7s linear forwards; transform-origin: 11.68% 50%; }
@keyframes ei-zoom { 0%, 25% { transform: none; } 54%, 73% { transform: scale(1.3); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); } 100% { transform: none; } }

/* ── Изометрическая сетка (30°, как в знаке) ── */
.iso-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4256' height='32'%3E%3Cpath d='M0 0L55.4256 32M0 32L55.4256 0M27.7128 0V32' stroke='%230C1F3F' stroke-opacity='.075' fill='none'/%3E%3C/svg%3E");
  background-size: 55.4256px 32px;
}
.hero .iso-grid { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 74% 46%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 74% 46%, #000 20%, transparent 72%); }

/* ── Общие мелочи: плашки вместо имён, строки, точки, уровни ── */
.bar { display: inline-block; vertical-align: middle; width: var(--w, 60px); height: 7px; border-radius: 4px; background: #dfe5ee; }
.ln { display: block; width: var(--w, 80%); height: 6px; border-radius: 3px; background: #e7ecf3; margin-top: 7px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.m { background: var(--m); } .dot.d { background: var(--d); } .dot.ink { background: var(--ink); }
.lv { font-weight: 650; }
.lv.m { color: var(--m); } .lv.d { color: var(--d); }
.lv::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.tone { color: var(--slate); }
.tone.pos { color: var(--ok); }

/* Штамп «Важно»: чернила цвета уровня, двойная рамка */
.stamp {
  display: inline-block; color: var(--m); font-weight: 760; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  padding: 8px 12px 7px; border: 2.5px solid currentColor; border-radius: 7px; outline: 1.5px solid currentColor; outline-offset: 2.5px;
  mix-blend-mode: multiply; opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle at 28% 35%, #000 55%, rgba(0, 0, 0, 0.72) 100%); mask-image: radial-gradient(circle at 28% 35%, #000 55%, rgba(0, 0, 0, 0.72) 100%);
}

/* Telegram-бот (общие стили для трёх мест) */
.tg-head { display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: var(--white); border-bottom: 1px solid #e6eaf1; }
.tg-head img { border-radius: 50%; }
.tg-head b { font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.tg-head small { font-size: 12px; color: var(--slate); }
.tg-body { background: #dde6ef; padding: 12px; }
.tg-msg { background: var(--white); border-radius: 14px 14px 14px 5px; padding: 10px 12px 7px; box-shadow: 0 1px 1px rgba(12, 31, 63, 0.08); }
.tg-lv { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 12px; font-weight: 700; color: var(--m); }
.tg-lv.b { color: var(--royal-ink); }
.tg-t { font-size: 14px; font-weight: 650; line-height: 1.3; margin-top: 5px; letter-spacing: -0.01em; }
.tg-s { font-size: 13px; line-height: 1.42; color: var(--ink-2); margin-top: 5px; }
.tg-s b { font-weight: 650; color: var(--ink); }
.tg-m { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--slate); font-style: italic; margin-top: 6px; }
.tg-m time { font-style: normal; font-variant-numeric: tabular-nums; }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 5px; }
.tg-kb.one { grid-template-columns: 1fr; }
.tg-kb > .full { grid-column: 1 / -1; }
.tg-kb > span { background: rgba(255, 255, 255, 0.78); color: var(--royal-ink); border-radius: 10px; padding: 8px 6px; text-align: center; font-size: 12.5px; font-weight: 620; line-height: 1.2; }

/* ── 1. Первый экран ── */
.hero { position: relative; padding: 40px 0 104px; overflow: hidden; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 40px; align-items: center; }
.hero-copy { padding-top: 24px; }
.hero .lead { max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 52px; border-top: 1px solid var(--line-2); max-width: 640px; }
.facts > div { padding: 16px 18px 0 0; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font-size: 24px; font-weight: 640; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts dd { font-size: 13.5px; line-height: 1.45; color: var(--slate); margin-top: 4px; }

.hero-visual { position: relative; }
.scaler { position: relative; width: 100%; }
.scaler > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.replay { position: absolute; right: 0; bottom: -44px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--slate); border: 1px solid var(--line); background: var(--paper); opacity: 0; transition: opacity 0.4s, color 0.2s, border-color 0.2s; }
.replay.show { opacity: 1; }
.replay:hover { color: var(--ink); border-color: var(--line-2); }

/* сцена первого экрана: 420 × 440 */
.hstage { width: 420px; height: 440px; }
.hstage > * { position: absolute; }
/* как панель сейчас (с 27.10): рамка — «жидкое стекло», меню — светлое стекло, карточки данных — сплошные */
.h-panel { left: 58px; top: 10px; width: 362px; height: 322px; border-radius: 20px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(226, 234, 247, 0.78)); border: 1px solid rgba(255, 255, 255, 0.95); padding: 7px; display: flex; gap: 7px; box-shadow: var(--sh-2); opacity: 0; transform: scale(0.965); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); }
.h-rail { width: 46px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff; display: flex; flex-direction: column; align-items: center; padding-top: 6px; gap: 12px; }
.h-rail i { width: 18px; height: 18px; border-radius: 5px; border: 1.6px solid #8a96aa; }
.h-rail i.on { border-color: var(--royal); background: var(--royal-weak); box-shadow: 0 0 0 6px var(--royal-weak); }
.h-main { position: relative; flex: 1; border-radius: 14px; background: rgba(247, 249, 252, 0.88); border: 1px solid rgba(255, 255, 255, 0.9); padding: 12px; }
.h-head { display: flex; align-items: center; justify-content: space-between; }
.h-head b { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.h-chips { display: flex; gap: 3px; }
.h-chips s { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 550; padding: 3px 6px; border-radius: 6px; color: var(--ink-2); }
.h-chips s.on { background: var(--white); box-shadow: 0 1px 2px rgba(12, 31, 63, 0.1); }
.h-chips .dot { width: 6px; height: 6px; }
.h-card { position: absolute; left: 12px; right: 12px; background: var(--white); border: 1px solid #e4e7ec; border-radius: 12px; padding: 10px 12px 10px 15px; overflow: hidden; }
.h-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--d); }
.h-card.c1 { top: 48px; height: 90px; } .h-card.c1::before { background: var(--m); }
.h-card.c2 { top: 148px; height: 76px; } .h-card.c2::before { background: var(--m); }
.h-card.c3 { top: 234px; height: 64px; }
.h-card .meta .lv { font-size: 12.5px; }
.h-card .meta { font-size: 10.5px; color: var(--slate); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.h-card .bar { height: 6px; }
.h-card .t { font-size: 13.5px; font-weight: 640; line-height: 1.3; margin-top: 6px; letter-spacing: -0.01em; }
.h-card.c2 .t { font-size: 12.5px; font-weight: 600; }

.h-slip { left: 130px; top: 65px; width: 271px; height: 90px; background: var(--slip); border: 1px solid #e6e9ee; border-radius: 6px; padding: 10px 13px; box-shadow: var(--sh-1); opacity: 0; transform: translate(-90px, -70px) rotate(-10deg); transition: transform 0.9s var(--ease-out), opacity 0.5s var(--ease); }
.h-slip .src { font-size: 10.5px; line-height: 1.3; font-weight: 600; letter-spacing: 0.04em; color: var(--slate); text-transform: uppercase; display: flex; gap: 4px; }
.h-slip .src .no { margin-left: auto; letter-spacing: 0.06em; color: var(--ink); }
.h-slip .bar { display: block; margin-top: 6px; height: 6px; }
.h-slip .t { font-size: 14px; font-weight: 650; line-height: 1.28; margin-top: 8px; letter-spacing: -0.01em; }
.h-tab { left: 64px; top: 147px; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; background: var(--ink); color: #fff; border-radius: 6px 6px 6px 2px; font-size: 10px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateY(6px) rotate(-4deg); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.h-tab svg { width: 18px; height: 8px; fill: none; stroke: #c8d2e1; stroke-width: 1.8; }
.h-stamp { left: 298px; top: 228px; white-space: nowrap; opacity: 0; transform: translateX(-50%) rotate(-10deg) scale(1.9); transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.16s; font-size: 15px; }
.h-bot { left: 0; top: 246px; width: 252px; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-2); border: 1px solid #dde4ee; opacity: 0; transform: translateY(36px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out); }
.h-bot .tg-head { padding: 8px 10px; }
.h-bot .tg-head b { font-size: 13px; }
.h-bot > .tg-msg { margin: 10px 10px 0; }
.h-bot { background: #dde6ef; padding-bottom: 10px; }
.h-bot .tg-kb { margin: 5px 10px 0; }
.h-bot .tg-t { font-size: 13px; }

/* фазы (классы p1…p5 добавляются по очереди) */
.hstage.p1 .h-slip { opacity: 1; }
.hstage.p1 .key { transform: translate(-82px, 104px) rotate(-4deg); }
.hstage.p1 .r1 { transform: translate(-50px, 64px) rotate(6deg); transition-delay: 0.12s; }
.hstage.p1 .r2 { transform: translate(-104px, 162px) rotate(-10deg); transition-delay: 0.22s; }
.hstage.p1 .r3 { transform: translate(-30px, 166px) rotate(8deg); transition-delay: 0.32s; }
.hstage.p1 .r4 { transform: translate(-124px, 70px) rotate(-14deg); transition-delay: 0.42s; }
.hstage.p2 .h-slip { transition-delay: 0s; }
.hstage.p2 .r1 { transform: translate(-79px, 107px) rotate(-3deg); }
.hstage.p2 .r2 { transform: translate(-76px, 110px) rotate(-5deg); }
.hstage.p2 .r3 { transform: translate(-73px, 113px) rotate(-2deg); }
.hstage.p2 .r4 { transform: translate(-70px, 116px) rotate(-6deg); }
.hstage.p2 .h-tab { opacity: 1; transform: translateY(0) rotate(-4deg); }
.hstage.p3 .h-stamp { opacity: 0.9; transform: translateX(-50%) rotate(-10deg) scale(1); }
.hstage.p4 .h-panel { opacity: 1; transform: none; }
.hstage.p4 .h-slip { transform: none; opacity: 0; transition: transform 0.75s var(--ease-out), opacity 0.3s 0.5s var(--ease); }
.h-card.c1 > * { opacity: 0; transition: opacity 0.35s 0.55s var(--ease); }
.hstage.p4 .h-card.c1 > * { opacity: 1; }
.hstage.p4 .h-tab { opacity: 0; transform: translate(70px, -2px); transition-duration: 0.3s; }
.hstage.p4 .h-stamp { opacity: 0; transform: translate(calc(-50% - 86px), -150px) rotate(0) scale(0.4); transition: transform 0.7s var(--ease-out), opacity 0.35s 0.25s; }
.hstage.p5 .h-bot { opacity: 1; transform: none; }

/* ── 2. Проблема: лента шума ── */
.noise { padding: 40px 0 112px; }
.noise-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px 56px; align-items: end; }
.noise .reg { grid-column: 1 / -1; }
.noise h2 { margin-top: 0; }
.noise h2 .mark { color: var(--ink); background: linear-gradient(transparent 62%, rgba(9, 100, 253, 0.16) 62%); }
.noise-text p { font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.noise-text b { color: var(--ink); font-weight: 620; }
.belt { margin-top: 64px; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.belt-row { overflow: hidden; padding: 6px 0; }
.belt-track { display: flex; gap: 14px; width: max-content; animation: belt 80s linear infinite; animation-play-state: paused; }
.belt-row[data-dir="-1"] .belt-track { animation-direction: reverse; animation-duration: 96s; }
.belt.run .belt-track { animation-play-state: running; }
@keyframes belt { to { transform: translateX(-50%); } }
.ns { flex: none; width: 228px; min-height: 96px; background: var(--slip); border: 1px solid #e6e9ee; border-radius: 6px; padding: 11px 13px; box-shadow: var(--sh-1); }
.ns:nth-child(odd) { transform: rotate(-1.2deg); }
.ns:nth-child(3n) { transform: rotate(1.4deg); }
.ns .src { font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.ns .big { font-size: 30px; font-weight: 640; letter-spacing: -0.04em; color: #9aa6b8; margin-top: 4px; }
.ns .bar { margin-top: 8px; }
.ns .t { font-size: 14px; font-weight: 640; line-height: 1.3; margin-top: 6px; }
.ns .nt { font-size: 13.5px; line-height: 1.35; margin-top: 6px; color: #9aa6b8; font-weight: 520; }
.ns:not(.hot) .src { color: #a3aec0; }
.ns.hot { background: var(--white); }
.ns.hot .src b { font-weight: 700; }
.ns.m { border-color: #f0d2a8; box-shadow: 0 0 0 3px var(--m-weak), var(--sh-1); }
.ns.m .src { color: var(--m); }
.ns.d { border-color: #c9d4f6; box-shadow: 0 0 0 3px var(--d-weak), var(--sh-1); }
.ns.d .src { color: var(--d); }

/* ── 3. Цепочка ── */
.chain { position: relative; padding: 112px 0 40px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chain-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 72px; }
.chain-pin { position: sticky; top: 92px; align-self: start; z-index: 2; }
.desk { position: relative; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); padding: 64px 22px 26px; overflow: hidden; }
.desk .iso-grid { -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35)); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35)); }
.desk-top { position: absolute; left: 22px; right: 22px; top: 20px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.desk-no { font-variant-numeric: tabular-nums; color: var(--ink); }
.desk-name { color: var(--slate); }
.desk-bar { margin-left: auto; width: 96px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.desk-bar i { display: block; height: 100%; width: 16.66%; background: var(--royal); transition: width 0.6s var(--ease); }

.cstage { width: 440px; height: 420px; }
.ce { position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 50%; transition: transform 0.95s var(--ease-out), opacity 0.6s var(--ease); will-change: transform; }
.counter { display: flex; gap: 8px; z-index: 6; }
.counter > span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 11.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(12, 31, 63, 0.05); }
.counter .ico { width: 13px; height: 13px; stroke: var(--royal); stroke-width: 2; }
.slip { width: 190px; background: var(--slip); border: 1px solid #e6e9ee; border-radius: 6px; padding: 10px 12px 11px; box-shadow: var(--sh-1); }
.slip.key, .slip.rp { width: 236px; }
.slip .src { font-size: 10.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); display: flex; gap: 4px; }
.slip .src .no { margin-left: auto; color: var(--ink); letter-spacing: 0.06em; }
.slip .bar { margin-top: 7px; height: 6px; }
.slip .t { font-size: 14px; font-weight: 640; line-height: 1.3; margin-top: 7px; letter-spacing: -0.01em; }
.slip .big { font-size: 28px; font-weight: 640; letter-spacing: -0.04em; color: #9aa6b8; margin-top: 2px; line-height: 1.1; }
.slip.n .src { color: #8a96a9; }
.slip.key { z-index: 3; }
.slip.key .t { font-size: 15.5px; }
.slip .tags { display: flex; flex-wrap: nowrap; gap: 5px; height: 0; overflow: hidden; transition: height 0.4s var(--ease), margin 0.4s var(--ease); }
.cstage.ge2 .slip.key .tags { height: 22px; margin-top: 9px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 620; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.4s var(--ease-out); }
.tag.topic { background: var(--royal-weak); color: var(--royal-ink); }
.tag.kind { background: #eef1f6; color: var(--ink-2); }
.cstage.ge2 .tag.topic { opacity: 1; transform: none; transition-delay: 0.25s; }
.cstage.ge3 .tag.kind { opacity: 1; transform: none; transition-delay: 0.3s; }
.ctab { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; background: var(--ink); color: #fff; border-radius: 6px 6px 6px 2px; font-size: 10.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; z-index: 4; }
.ctab svg { width: 18px; height: 8px; fill: none; stroke: #c8d2e1; stroke-width: 1.8; }
.chips { width: 400px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; z-index: 5; }
.chips .cap { width: 100%; font-size: 11.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 9px; background: var(--white); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chip.on { background: var(--royal); border-color: var(--royal); color: #fff; }
.chip .ico { width: 16px; height: 16px; stroke-width: 2.2; }
/* штамп в цепочке — часть листа: ложится на нижний край (на поле, не на текст) и уезжает вместе с листом */
.kstamp { position: absolute; left: 50%; bottom: -27px; z-index: 2; font-size: 15px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-50%) rotate(-6deg) scale(1.9); transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s; }
.cstage[data-step="3"] .kstamp { opacity: 0.9; transform: translateX(-50%) rotate(-6deg) scale(1); transition-delay: 0.3s; }
.legend { display: flex; gap: 10px; z-index: 5; }
.mini { font-size: 11px; font-weight: 740; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px 4px; border: 1.8px solid currentColor; border-radius: 5px; opacity: 0.4; }
.mini.d { color: var(--d); } .mini.m { color: var(--m); }
.mini.on { opacity: 1; outline: 1.2px solid currentColor; outline-offset: 2px; }
.phone { width: 252px; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--sh-2); z-index: 8; transform-origin: 0 0; }
.phone .tg-body { min-height: 300px; }
.phone .tg-kb + .tg-msg { margin-top: 8px; }
.tg-msg.fwd { border-left: 3px solid var(--m); }

.steps { padding: 6vh 0 24vh; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.38; transition: opacity 0.5s var(--ease); }
.step.on { opacity: 1; }
.step h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.035em; margin: 14px 0 14px; }
.step p:not(.reg) { font-size: 17px; line-height: 1.62; color: var(--ink-2); max-width: 440px; }
.step .reg { color: var(--royal-ink); }

/* ── 3. Панель: настоящие экраны (снимки на языке страницы, assets/shots/<язык>/) ── */
.panel-sec { padding: 120px 0; background: linear-gradient(180deg, var(--paper) 0%, #e9eef6 100%); }
.pm-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.pm-tabs { display: grid; gap: 6px; position: sticky; top: 100px; }
.pm-tabs [role="tab"] { text-align: left; display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; color: var(--slate); font-size: 14px; line-height: 1.5; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.pm-tabs [role="tab"] b { font-size: 17px; font-weight: 640; letter-spacing: -0.02em; color: var(--ink); }
.pm-tabs [role="tab"]:hover { background: rgba(255, 255, 255, 0.55); }
.pm-tabs [role="tab"][aria-selected="true"] { background: var(--white); border-color: var(--line); color: var(--ink-2); box-shadow: var(--sh-1); }
.pm-tabs [role="tab"][aria-selected="true"] b { color: var(--royal-ink); }
.pm-wrap { min-width: 0; }
.shot-frame { position: relative; margin: 0; border-radius: 18px; padding: 6px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45)); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(12, 31, 63, 0.05); }
.shot-frame > .shot:first-child { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; border-radius: 13px; background: #eef2f8; }
.shot-frame .phone-shot { position: absolute; right: -18px; bottom: -34px; width: 23%; height: auto; aspect-ratio: 390 / 844; border-radius: 22px; border: 5px solid #11151c; background: #11151c; box-shadow: 0 30px 60px -28px rgba(12, 31, 63, 0.55); }
#pv-shot > .shot:first-child { transition: opacity 0.25s var(--ease); }
#pv-shot.swap > .shot:first-child { opacity: 0.25; }
#pv-shot .phone-shot { transition: opacity 0.3s var(--ease), transform 0.45s var(--ease-out); }
#pv-shot:not([data-view="feed"]) .phone-shot { opacity: 0; transform: translateY(14px); pointer-events: none; }
.pm-cap { font-size: 12.5px; color: var(--slate); margin-top: 44px; text-align: center; }

/* ── 4. Отчёты ── */
.reports { padding: 120px 0; }
.rep-main { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 48px; align-items: center; }
.rep-kick { font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-ink); }
.rep-copy h3, .rep-card h3 { margin-top: 8px; font-size: 24px; font-weight: 640; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--royal); border-bottom: 2px solid var(--royal); transform: rotate(-45deg); }
.rep-shot { margin-bottom: 34px; }
.rep-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.rep-card { display: grid; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 24px; box-shadow: var(--sh-1); }
.rep-card .shot-frame { box-shadow: none; padding: 0; border: 0; background: none; margin-bottom: 18px; }
.rep-card .shot-frame > .shot:first-child { border-radius: 12px; border: 1px solid var(--line); }
.rep-card .rep-kick, .rep-card h3, .rep-card > p { padding: 0 10px; }
.rep-card > p:not(.rep-kick) { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ── 5. ИИ-чат ── */
.aichat { padding: 120px 0; background: linear-gradient(180deg, #0f1a33 0%, #0b1328 100%); color: #e8eef8; }
.aichat-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); gap: 56px; align-items: center; }
.aichat .reg { color: var(--mist); }
.aichat h2 { color: #fff; }
.aichat h2 em { color: #7fb2ff; }
.aichat .lead { color: #c3cfe2; margin-top: 20px; }
.asks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.asks li { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: #dfe7f4; }
.aichat .ticks li { color: #c3cfe2; }
.aichat .ticks li::before { border-color: #7fb2ff; }
.aichat .fine { color: var(--mist); margin-top: 18px; }
.chat-shot { background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.chat-shot > .shot:first-child { background: #0b1328; }

/* ── 6. Роли ── */
.roles { padding: 128px 0; }
.roles-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.roles .lead { margin-top: 22px; }
.role-tabs { display: grid; margin-top: 40px; border-top: 1px solid var(--line-2); }
.role-tabs [role="tab"] { position: relative; text-align: left; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; row-gap: 3px; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--slate); transition: color 0.2s; }
.role-tabs [role="tab"] > span:not(.rn) { grid-column: 2; }
.role-tabs .rn { grid-row: span 2; font-size: 12px; font-weight: 650; letter-spacing: 0.1em; color: var(--slate); padding-top: 5px; font-variant-numeric: tabular-nums; }
.role-tabs b { grid-column: 2; font-size: 19px; font-weight: 640; letter-spacing: -0.02em; color: var(--ink); }
.role-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--royal); transition: width 0.5s var(--ease); }
.role-tabs [role="tab"][aria-selected="true"]::after { width: 100%; }
.role-tabs [role="tab"][aria-selected="true"] { color: var(--ink-2); }
.role-tabs [role="tab"][aria-selected="true"] .rn { color: var(--royal-ink); }
.role-tabs [role="tab"]:hover b { color: var(--royal-ink); }
.roles-visual { position: relative; display: flex; justify-content: center; padding: 36px 0; }
.roles-visual::before { content: ""; position: absolute; inset: 0 8%; border-radius: 28px; background: var(--paper-2); border: 1px solid var(--line); }
.roles-visual::after { content: ""; position: absolute; inset: 0 8%; border-radius: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4256' height='32'%3E%3Cpath d='M0 0L55.4256 32M0 32L55.4256 0M27.7128 0V32' stroke='%230C1F3F' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E"); background-size: 55.4256px 32px; }
.phone-big { position: relative; z-index: 1; width: min(100%, 360px); border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.phone-big .tg-head { padding: 13px 16px; }
.phone-big .tg-head b { font-size: 15px; }
.phone-big .tg-body { min-height: 400px; padding: 16px 14px; }
.phone-big .tg-msg { padding: 12px 14px 8px; }
.phone-big .tg-t { font-size: 15px; }
.phone-big .tg-kb > span { font-size: 13px; padding: 10px 6px; }
.tg-note { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--ink-2); background: rgba(255, 255, 255, 0.6); border-radius: 10px; padding: 8px 10px; }
.phone-big .tg-msg + .tg-msg { margin-top: 8px; }

/* у каждой роли — своя подсказка под сообщениями бота */
.phone-big .tg-note { display: none; margin-top: 10px; }
.phone-big[data-role="login"] .tg-note.lg, .phone-big[data-role="remind"] .tg-note.rm, .phone-big[data-role="send"] .tg-note.sd { display: block; animation: rise 0.45s var(--ease-out) both; }
/* «Вход и бот»: на вкладке «Напоминания» в телефоне выделено напоминание, на «Отправить в бот» — пересланный пост */
.phone-big .tg-msg, .phone-big .tg-kb { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.phone-big[data-role="remind"] .tg-msg.fwd, .phone-big[data-role="send"] .tg-msg:not(.fwd), .phone-big[data-role="send"] .tg-kb { opacity: 0.38; }
.phone-big[data-role="send"] .tg-msg.fwd { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(12, 31, 63, 0.45); }

/* ── 7. Доверие ── */
.trust { padding: 128px 0; background: var(--ink); color: #fff; }
.trust-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
.trust .reg { color: var(--mist); }
.trust h2 em { color: var(--sky); }
.trust-head { position: sticky; top: 120px; align-self: start; }
.trust-head .lead { color: #c3cddc; margin-top: 22px; max-width: 420px; }
.clauses { counter-reset: cl; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.clauses li { counter-increment: cl; padding: 28px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.clauses li::before { content: counter(cl, decimal-leading-zero); display: block; font-size: 12px; font-weight: 650; letter-spacing: 0.14em; color: var(--sky); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.clauses h3 { font-size: 21px; margin-bottom: 10px; }
.clauses p { font-size: 15.5px; line-height: 1.6; color: #c3cddc; }
.clauses .specimen { margin-top: 14px; font-size: 15px; color: #fff; letter-spacing: -0.01em; }

/* ── 8. Заявка ── */
.apply { padding: 128px 0 120px; position: relative; overflow: hidden; }
.apply-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 72px; align-items: center; }
.apply .lead { margin-top: 22px; }
.slip-form { position: relative; background: var(--slip); border: 1px solid #e3e7ed; border-radius: 8px; padding: 26px 28px 28px; box-shadow: var(--sh-2); transform: rotate(-1.2deg); }
.slip-form::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); opacity: 0.6; }
.sf-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-variant-numeric: tabular-nums; }
.sf-top span:first-child { color: var(--ink); }
.sf-lines { margin-top: 22px; display: grid; gap: 4px; }
.sf-lines > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: end; gap: 12px; height: 40px; }
.sf-lines dt { font-size: 13.5px; color: var(--slate); padding-bottom: 6px; }
.sf-lines dd { height: 1px; background: var(--line-2); margin-bottom: 10px; }
.contact-slot { margin: 22px 0 20px; border: 1.5px dashed var(--royal); border-radius: 12px; padding: 14px 16px; background: var(--royal-weak); }
.cs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal-ink); }
.cs-list { margin-top: 8px; display: grid; gap: 6px; }
.cs-list > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.cs-list dt { font-size: 13px; color: var(--slate); }
.cs-v { font-size: 15px; font-weight: 560; color: var(--ink); }
.cs-v a { color: var(--royal-ink); }

/* ── Подвал ── */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot-in img { height: 32px; width: auto; }
.foot-in .muted { margin-left: auto; }

/* Появление по прокрутке (только с JS) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 1s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

/* ── Адаптив ── */
/* Шапка без строки разделов: разделы — в выпадающем меню (кнопка .burger); «Личный кабинет» остаётся в шапке,
   на телефоне уходит в меню вместе с «Оставить заявку» */
@media (max-width: 1280px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 49; margin: 0; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(12, 31, 63, 0.35); padding: 8px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))) 20px; }
  .top.open { border-bottom-color: var(--line); }
  .top.open .nav { display: grid; }
  .nav a { padding: 13px 4px; border-radius: 0; font-size: 17px; font-weight: 560; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:hover { background: transparent; color: var(--royal-ink); }
}
@media (max-width: 960px) {
  .top .btn .lg { display: none; }
  .top .btn .sm { display: inline; }
  .top .cab, .top .top-apply { min-width: 0; }
}
@media (max-width: 960px) {
  .hero-in, .noise-in, .roles-in, .trust-in, .apply-in, .sec-head.split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 88px; }
  .hero-visual { max-width: 520px; margin: 8px auto 0; width: 100%; }
  .chain-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chain-pin { top: 68px; background: var(--white); padding: 10px 0 12px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
  .desk { padding: 52px 12px 14px; border-radius: 18px; }
  .desk-top { left: 14px; right: 14px; top: 16px; font-size: 11px; }
  .steps { padding: 4vh 0 30vh; }
  .step { min-height: 62vh; justify-content: flex-start; padding-top: 6vh; }
  .trust-head { position: static; }
  .roles-visual { order: 2; }
  .slip-form { transform: none; }
  .pm-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pm-tabs { position: static; display: flex; overflow-x: auto; gap: 8px; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pm-tabs::-webkit-scrollbar { display: none; }
  .pm-tabs [role="tab"] { flex: none; width: 250px; scroll-snap-align: start; background: rgba(255, 255, 255, 0.45); border-color: var(--line); }
  .rep-main, .rep-pair, .aichat-in { grid-template-columns: minmax(0, 1fr); }
  .rep-main { gap: 28px; }
  .aichat-in { gap: 36px; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  .top-in { height: 60px; gap: 8px; }
  .logo img { height: 30px; }
  .lang button { padding: 5px 7px; font-size: 13px; }
  .burger { width: 38px; height: 38px; }
  .top-apply { display: none; }
  /* телефон: в меню разделы, «Личный кабинет» и «Оставить заявку» */
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(12, 31, 63, 0.35); padding: 8px var(--gut) 20px; }
  .top.open .menu { display: grid; gap: 14px; }
  .menu .nav { display: grid; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .menu .cab, .menu .menu-apply { display: inline-flex; width: 100%; height: 50px; margin: 4px 0 0; font-size: 15.5px; }
  .menu .menu-apply { order: 4; margin-top: 0; }
  html { scroll-padding-top: 70px; }
  .hero { padding-top: 20px; }
  .hero-copy { padding-top: 8px; }
  h1 { margin: 16px 0 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .facts > div, .facts > div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts dt { font-size: 22px; }
  .facts dd { margin-top: 2px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hero { padding-bottom: 64px; }
  .noise { padding-top: 32px; }
  .chain { padding-top: 80px; }
  .noise { padding-bottom: 80px; }
  .belt { margin-top: 44px; }
  .ns { width: 180px; }
  .sec-head { margin-bottom: 32px; }
  .chain-pin { top: 60px; }
  .step h3 { font-size: 25px; }
  .step p:not(.reg) { font-size: 16px; }
  .panel-sec, .reports, .aichat, .roles, .trust, .apply { padding: 88px 0; }
  .shot-frame { padding: 4px; border-radius: 14px; }
  .shot-frame > .shot:first-child { border-radius: 10px; }
  /* телефон: вместо компьютерного снимка — телефонный (site.js), верх экрана в рамке телефона */
  .shot-frame { max-width: 360px; margin-inline: auto; padding: 5px; border-radius: 30px; background: #11151c; border-color: #11151c; }
  .shot-frame > .shot:first-child { aspect-ratio: 390 / 680; border-radius: 25px; }
  .shot-frame .phone-shot { display: none; }
  .rep-card .shot-frame { max-width: 300px; }
  .pm-cap { margin-top: 32px; }
  .rep-pair { margin-top: 40px; gap: 20px; }
  .rep-copy h3, .rep-card h3 { font-size: 21px; }
  .roles-in { gap: 40px; }
  .roles-visual::before, .roles-visual::after { inset: 0; }
  .roles-visual { padding: 24px 16px; }
  .phone-big .tg-body { min-height: 300px; }
  .clauses { grid-template-columns: minmax(0, 1fr); }
  .sf-lines > div { grid-template-columns: 110px minmax(0, 1fr); }
  .slip-form { padding: 22px 18px 20px; }
  .foot-in .muted { margin-left: 0; width: 100%; }
}

/* Меньше движения: всё сразу в конечном состоянии, без лент и мигания */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .belt-track { animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
