/* Рекламный сайт программ ТРОП. Цеховой стиль программ: графит, сигнальный оранжевый, IBM Plex.
   Главное правило, как и в программах: каждая страница помещается на один экран без прокрутки —
   снимки экранов ужимаются под высоту окна, длинное листается шагами. Исключение — главная:
   лендинг с прокруткой (в конце файла). */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/ibm-plex-sans-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-700-normal.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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-mono-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-600-normal.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 {
  --bg: #121416;
  --ink: #0b0d0e;
  --ink-2: #1f2427;
  --surface: #1b1f22;
  --surface-2: #171a1d;
  --line: #30363a;
  --line-soft: #262b2f;
  --fg: #eceeee;
  --fg-2: #c9cdd0;
  --muted: #a0a8ad;
  --dim: #8a9399;
  --accent: #e8590c;
  --accent-hover: #ff6d1f;
  --accent-text: #ff8a4c;
  --ok: #4cc38a;
  --paper: #fbf7f2;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 3vw, 40px);
  --head: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent-text); }
a:hover { color: #ffa673; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }

/* ---------- Шапка ---------- */
.top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px 20px;
  height: var(--head);
  padding: 0 var(--pad);
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand img { display: block; border-radius: 7px; }
.brand-mark { display: block; flex: none; width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: 0.08em; }
.brand-text small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.brand-product { display: none; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--fg-2); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: #fff; background: var(--ink-2); }
.nav a[aria-current] { color: #fff; background: var(--ink-2); box-shadow: inset 0 -3px 0 var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { color: #fff; border-color: #4a5257; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-lg { min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.btn-block { width: 100%; }
.arr { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-play { fill: currentColor; stroke-width: 1.5; }
.btn-sm { min-height: 36px; padding: 0 12px; gap: 6px; font-size: 14px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn:disabled { color: #5b636a; border-color: var(--line); cursor: default; }
.btn-ghost:disabled { border-color: transparent; }
/* «Попробовать самому» — вторая по силе кнопка после «Запросить показ». */
.btn-try { border-color: var(--accent); background: rgba(232, 89, 12, 0.12); }
.btn-try:hover { border-color: var(--accent-hover); background: rgba(232, 89, 12, 0.2); }
.btn-try .ic-play { width: 14px; height: 14px; color: var(--accent-text); }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover:not(:disabled) { border-color: #4a5257; color: #fff; }
.icon-btn:disabled { color: #5b636a; cursor: default; }
.icon-btn svg, .menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn { display: none; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--fg); cursor: pointer; }

/* ---------- Общее ---------- */
main { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 1400px; margin: 0 auto; padding: clamp(16px, 3.6vh, 36px) var(--pad); }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow-icon { display: flex; align-items: center; gap: 10px; }
.eyebrow-icon img { border-radius: 8px; }
h1 { margin: 0; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.lead { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.5; color: var(--fg-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Рамка-видоискатель: уголки как у значков программ. */
.shot { position: relative; margin: 0; }
.corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--accent); pointer-events: none; }
.corner.tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.corner.tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.corner.bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.corner.br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.shot-desk, .shot-phone { display: block; width: auto; height: auto; max-width: 100%; cursor: zoom-in; background: var(--surface-2); }
.shot-desk { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.shot-phone { border-radius: 26px; border: 6px solid var(--ink); outline: 1px solid #3a4146; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }

/* Экран ПК и поверх него телефон. Размер — от высоты контейнера (container-type: size у родителя). */
.combo { position: relative; display: block; padding: 0 0 18px 64px; }
.combo .shot-desk { max-height: calc(100cqh - 18px); }
.combo .shot-phone { position: absolute; left: 0; bottom: 0; width: 23%; min-width: 96px; max-width: 170px; border-width: 5px; border-radius: 22px; }

/* ---------- Главная ---------- */

/* ---------- Страница программы: тур по экранам ---------- */
.tour { display: grid; grid-template-columns: clamp(300px, 31vw, 440px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.tour-side { display: flex; flex-direction: column; gap: clamp(10px, 1.8vh, 18px); min-height: 0; }
.tour h1 { font-size: clamp(24px, min(2.4vw, 4.2vh), 34px); line-height: 1.12; }
.h1-short { display: none; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.steps button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  row-gap: 6px;
  width: 100%;
  padding: clamp(6px, 1.1vh, 10px) 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--fg-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.steps button:hover { color: #fff; background: var(--surface-2); }
.steps .num { font-family: var(--mono); font-size: 13px; line-height: 24px; color: var(--dim); }
.steps .step-title { font-size: 16px; font-weight: 600; line-height: 1.5; }
.steps .step-text { display: none; grid-column: 2; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.steps [aria-selected='true'] { background: var(--surface); border-color: var(--line); color: var(--fg); box-shadow: inset 3px 0 0 var(--accent); }
.steps [aria-selected='true']:hover { background: var(--surface); }
.steps [aria-selected='true'] .num { color: var(--accent-text); }
.steps [aria-selected='true'] .step-title { font-weight: 700; }
.steps [aria-selected='true'] .step-text { display: block; }
.side-cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.next-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

.stage { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(12px, 2vh, 20px) clamp(14px, 2vw, 24px); border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.stage-head { display: flex; align-items: center; gap: 10px; }
.stage-label { margin-right: auto; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stage-body { flex: 1 1 0; min-height: 0; display: grid; }
.stage-body > .shot { grid-area: 1 / 1; min-height: 0; container-type: size; display: grid; place-items: center; }
.stage-body > .shot[hidden] { display: none; }
.stage-body > .shot > .shot-desk { max-height: calc(100cqh - 56px); max-width: calc(100cqw - 56px); }
.stage-body > .shot > .combo { max-width: calc(100cqw - 56px); }
.stage-body .combo .shot-desk { max-height: calc(100cqh - 74px); }
.phones { display: flex; justify-content: center; gap: clamp(14px, 3cqw, 40px); max-width: calc(100cqw - 40px); }
.phone { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.phone .shot-phone { max-height: calc(100cqh - 84px); }
.phone-cap { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.stage-note { margin: 0; font-size: 13px; color: var(--dim); }
.pager { display: none; }

/* ---------- Попробовать самому ---------- */
.try { display: grid; grid-template-columns: clamp(300px, 28vw, 380px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.try-side, .try-intro, .try-done { display: flex; flex-direction: column; gap: clamp(10px, 1.8vh, 18px); min-height: 0; }
.try-intro, .try-done { flex: 1 1 auto; }
.try-done, .try.done .try-intro { display: none; }
.try.done .try-done { display: flex; }
.try h1, .done-title { margin: 0; font-size: clamp(24px, min(2.3vw, 4.2vh), 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.try-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.roles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.roles li { display: flex; align-items: center; gap: 12px; padding: clamp(6px, 1.1vh, 10px) 14px; border-radius: 10px; border: 1px solid transparent; }
.role-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--surface); color: var(--dim); }
.role-icon .ic { width: 20px; height: 20px; }
.role-icon .ic-done, .roles .done .ic-kind { display: none; }
.roles .done .ic-done { display: block; stroke-width: 2.4; }
.roles .done .role-icon { background: #14281d; color: var(--ok); }
.role-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.role-text strong { font-size: 16px; line-height: 1.3; color: var(--fg-2); }
.role-sub { font-size: 13px; line-height: 1.35; color: var(--dim); }
.role-bar { display: none; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--line); }
.role-bar span { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--accent); transition: width 0.25s; }
.roles .on { background: var(--surface); border-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); }
.roles .on:not(.done) .role-icon { background: #2a1a12; color: var(--accent-text); }
.roles .on strong, .roles .upnext strong { color: var(--fg); }
.roles .on .role-sub, .roles .upnext .role-sub { color: #ffb085; }
.roles .on .role-bar { display: block; }
.roles .on.done .role-sub { color: #8fdcb4; }
.roles .on.done .role-bar span { background: var(--ok); }
.roles .upnext { border: 1px dashed #5a3a28; }
.roles .upnext .role-icon { color: var(--accent-text); }

.did { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(4px, 1vh, 10px); }
.did li { display: flex; align-items: center; gap: 12px; }
.did .ic { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: #14281d; color: var(--ok); stroke-width: 2.4; }
.did li > span { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.did li > span > span { font-size: 14px; color: var(--muted); }
.done-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.done-cta .ic { width: 16px; height: 16px; }
.done-shot { display: none; }
.others { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.others-label { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.other { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); text-decoration: none; }
.other:hover { color: var(--fg); border-color: var(--accent); }
.other img { flex: none; border-radius: 8px; }
.other > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.other strong { font-size: 15px; }
.other > span > span { font-size: 13px; color: var(--muted); }
.other .arr { color: var(--accent-text); }

.role-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 34px; margin-right: auto; padding: 0 12px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.role-chip .ic { width: 16px; height: 16px; color: var(--accent-text); }
.role-chip:not([data-kind='phone']) .ic-phone, .role-chip:not([data-kind='desk']) .ic-desk, .role-chip:not([data-kind='final']) .ic-flag { display: none; }
.role-chip[data-kind='final'] .ic { color: var(--ok); }
.role-chip-text { white-space: nowrap; }
.try-count, .try-progress, .try-bar { display: none; }
.try-body { position: relative; flex: 1 1 0; min-height: 0; }
.frame-area { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.frame { position: relative; flex: none; overflow: hidden; background: var(--surface-2); }
.frame-desk { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.frame-phone { border: 6px solid var(--ink); border-radius: 30px; outline: 1px solid #3a4146; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.frame-in { position: absolute; left: 0; top: 0; }
.frame-in img { display: block; width: 100%; height: 100%; max-width: none; }
/* Подсвеченное место: остальное притемнено, рамка дышит. */
.hot {
  position: absolute;
  padding: 0;
  border: 3px solid #ff7a33;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(255, 122, 51, 0.3), 0 0 26px 6px rgba(232, 89, 12, 0.5), 0 0 0 200vmax rgba(8, 10, 12, 0.5);
  animation: hot-pulse 1.6s ease-in-out infinite;
}
.hot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes hot-pulse {
  50% { box-shadow: 0 0 0 9px rgba(255, 122, 51, 0.16), 0 0 34px 10px rgba(232, 89, 12, 0.6), 0 0 0 200vmax rgba(8, 10, 12, 0.5); }
}
.try.nudge .hot { animation: nudge 0.45s ease-in-out; }
@keyframes nudge {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.mark { position: absolute; border: 2px solid var(--ok); border-radius: 10px; box-shadow: 0 0 0 5px rgba(76, 195, 138, 0.2); pointer-events: none; }
.frame-full { position: absolute; right: 10px; bottom: 10px; z-index: 1; border-color: #3a4146; background: rgba(11, 13, 14, 0.9); }
.frame-full.at-top { top: 10px; bottom: auto; }
.tip { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(260px, 34%, 340px); padding: 14px 16px 16px; border-radius: 12px; background: var(--paper); color: #16191b; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.tip-arrow { position: absolute; width: 14px; height: 14px; background: var(--paper); transform: rotate(45deg); }
.tip[data-dir='left'] .tip-arrow { left: -7px; top: calc(var(--arrow, 30px) - 7px); }
.tip[data-dir='right'] .tip-arrow { right: -7px; top: calc(var(--arrow, 30px) - 7px); }
.tip[data-dir='up'] .tip-arrow { top: -7px; left: calc(var(--arrow, 30px) - 7px); }
.tip[data-dir='down'] .tip-arrow { bottom: -7px; left: calc(var(--arrow, 30px) - 7px); }
.tip[data-dir='none'] .tip-arrow, .tip:not([data-dir]) .tip-arrow { display: none; }
.tip-label { position: relative; display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #c2410c; }
.tip-ok > .tip-label { color: #15803d; }
.tip-text { position: relative; margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.tip-text b { font-weight: 700; }
.try.nudge .tip { animation: nudge 0.45s ease-in-out; }
.tip-next { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6ddd2; }
.tip-next[hidden] { display: none; }
.tip-next .tip-label { color: #7a6f64; }
.tip-role { display: flex; align-items: center; gap: 12px; }
.tip-role .role-icon { width: 40px; height: 40px; background: #fde4d4; color: #c2410c; }
.tip-role .role-icon:not([data-kind='phone']) .ic-phone, .tip-role .role-icon:not([data-kind='desk']) .ic-desk { display: none; }
.tip-role > span:last-child { display: flex; flex-direction: column; }
.tip-role strong { font-size: 16px; }
.tip-role strong + span { font-size: 14px; color: #5c544c; }
.tip-next .btn { min-height: 46px; white-space: normal; text-align: left; }
.try-noscript { margin: 0; color: var(--fg-2); }
@media (prefers-reduced-motion: reduce) {
  .hot, .try.nudge .hot, .try.nudge .tip { animation: none; }
  .role-bar span { transition: none; }
}

/* ---------- Установка и цена ---------- */
.box { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 420px); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 2.5vw, 32px); align-items: stretch; }
.box-tabs { display: none; }
.box-main { display: flex; flex-direction: column; gap: clamp(10px, 1.8vh, 18px); min-height: 0; }
.box h1 { font-size: clamp(28px, min(3vw, 5vh), 40px); line-height: 1.1; }
.box .lead { font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 12px; margin-top: 6px; }
/* Со скриптом плитки занимают оставшуюся высоту, а что не влезло — на следующей странице (site.js, fitPager). */
.js .tiles { flex: 1 1 0; min-height: 0; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: clamp(12px, 2vh, 18px); border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.tile .num { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.tile h2 { margin: 0; font-size: 18px; line-height: 1.25; }
.tile p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.tile code { font-family: var(--mono); font-size: 13px; color: var(--fg); white-space: nowrap; }
.tiles-pager { display: none; }
.js .box.paged .tiles-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tiles-pager .pager-count { display: inline; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-card { position: relative; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2.6vh, 24px); border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.contact-card .corner.tl { left: -1px; top: -1px; width: 28px; height: 28px; border-top-left-radius: 18px; }
.contact-card h2 { margin: 0; font-size: 30px; line-height: 1.1; }
.contact-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.contact-card p.muted { font-size: 14px; color: var(--muted); }
.contact-card p.eyebrow { font-size: 13px; color: var(--accent-text); }
.contact-card .legal { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--dim); }
.contacts { margin: 0; display: flex; flex-direction: column; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.contacts > div { display: flex; flex-direction: column; gap: 1px; padding: 8px 14px; }
.contacts > div + div { border-top: 1px solid var(--line-soft); }
.contacts dt { font-size: 13px; line-height: 18px; color: var(--muted); }
.contacts dd { margin: 0; min-width: 0; font-weight: 600; line-height: 22px; overflow-wrap: anywhere; }
.contacts a { text-decoration: none; }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 900px; }
.notfound h1 { font-size: clamp(30px, 4vw, 48px); }

/* ---------- Меню на телефоне и просмотр снимка ---------- */
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 10px 16px 16px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: var(--fg);
  display: none;
  flex-direction: column;
  gap: 12px;
}
.sheet.open { display: flex; z-index: 30; }
.sheet:popover-open { display: flex; }
.sheet::backdrop { background: rgba(0, 0, 0, 0.55); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.sheet-head .icon-btn { border: 0; background: transparent; }
.sheet nav { display: flex; flex-direction: column; gap: 2px; }
.sheet nav a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 17px; }
.sheet nav a:hover { background: var(--ink-2); }
.sheet nav img { border-radius: 8px; }
.sheet nav span { display: flex; flex-direction: column; }
.sheet nav small { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.sheet-contacts { margin-top: auto; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(5, 6, 7, 0.92); }
.lightbox img { display: block; width: 100%; height: 100%; padding: 60px 16px 16px; object-fit: contain; cursor: zoom-out; }
.lightbox-close { position: fixed; top: 10px; right: 12px; width: 44px; height: 44px; }

/* ---------- Невысокие окна ноутбука (1366×768, Windows 150 %) ---------- */
/* Невысокие окна и узкие ПК: «Дальше: …» в туре не влезает рядом с двумя кнопками — переход есть в шапке. */
@media (min-width: 900px) and (max-height: 780px), (min-width: 900px) and (max-width: 1180px) {
  .tour .side-cta .next-link { display: none; }
}
@media (min-width: 900px) and (max-height: 760px) {
  :root { --head: 56px; }
  .others-label, .other > span > span { display: none; }
  .other { padding: 7px 12px; }
  .lead { font-size: 16px; }
  .tour-side { gap: 10px; }
  .steps .step-text { font-size: 13.5px; }
  .stage-note { display: none; }
  .tile { gap: 4px; }
  .tile p { font-size: 13.5px; line-height: 1.45; }
  .contact-card { gap: 10px; }
  .contact-card h2 { font-size: 26px; }
  .contact-card p { font-size: 14px; }
  .contacts > div { padding: 6px 14px; }
}
@media (min-width: 900px) and (max-height: 640px) {
  .tour .eyebrow, .try .eyebrow, .try-lead { display: none; }
  .try h1, .done-title { font-size: 24px; }
  .tip-text { font-size: 15px; }
  .tour h1 { font-size: 24px; }
  .steps button { padding-top: 5px; padding-bottom: 5px; }
  .box .lead { display: none; }
  .steps .step-title { font-size: 15px; }
  .contact-card p.muted { display: none; }
}

/* ---------- Узкие окна ПК и планшеты ---------- */
@media (min-width: 900px) and (max-width: 1180px) {
  .brand-text small, .brand-product > span:last-child { display: none; }
  .try { grid-template-columns: clamp(280px, 30vw, 340px) minmax(0, 1fr); }
  .try .eyebrow, .try .stage-note { display: none; }
  .nav a { padding: 8px 10px; }
  .tour { grid-template-columns: clamp(300px, 34vw, 400px) minmax(0, 1fr); }
  .tour .eyebrow, .stage-note, .contact-card p.muted { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Телефон ---------- */
@media (max-width: 899px) {
  :root { --head: 56px; }
  .top { gap: 8px; padding: 0 6px 0 16px; }
  .nav, .btn-contact { display: none; }
  .btn-contact.keep { display: inline-flex; min-height: 36px; margin-left: auto; padding: 0 14px; border-radius: 999px; font-size: 14px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .btn-contact.keep + .menu-btn { margin-left: 0; }
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text small { display: none; }
  .brand-product { display: flex; }
  .brand-site { display: none; }
  main { padding: 14px 16px 12px; }
  .eyebrow { font-size: 11px; }
  .lead { font-size: 15px; }
  .shot-phone { border-width: 4px; border-radius: 18px; }

  .cta .btn:not(.btn-primary) { display: none; }
  .cta .btn-primary { flex: 1; }

  /* Тур: снимок, под ним текст шага и стрелки; список шагов скрыт — шаги листаются. */
  .tour { display: flex; flex-direction: column; gap: 12px; }
  .tour-side { display: contents; }
  .eyebrow-icon img { display: none; }
  .tour h1 { font-size: 23px; line-height: 1.15; margin-top: -4px; }
  .h1-long { display: none; }
  .h1-short { display: inline; }
  .stage { order: 3; flex: 1 1 0; padding: 10px; border-radius: 16px; }
  .stage-head, .stage-note, .side-cta { display: none; }
  .stage-body > .shot > .shot-desk { max-height: calc(100cqh - 24px); max-width: calc(100cqw - 24px); }
  .stage-body > .shot > .combo { max-width: calc(100cqw - 24px); }
  .stage-body .combo .shot-desk { max-height: calc(100cqh - 42px); }
  .combo { padding-left: 44px; }
  .combo .shot-phone { min-width: 72px; border-width: 3px; border-radius: 14px; }
  /* ПК и телефон в высокой рамке: экран ПК во всю ширину сверху, телефон крупно под ним справа. */
  @container (max-aspect-ratio: 4 / 5) {
    .stage-body .combo { width: calc(100cqw - 24px); height: calc(100cqh - 24px); padding: 0; }
    .stage-body .combo .shot-desk { width: 100%; max-width: 100%; max-height: none; }
    .stage-body .combo .shot-phone { left: auto; right: 6%; width: auto; height: calc(100cqh - 24px - 0.4 * (100cqw - 24px)); min-width: 0; max-width: none; }
  }
  .phones { gap: 12px; max-width: calc(100cqw - 16px); }
  .phone .shot-phone { max-height: calc(100cqh - 20px); }
  .phone-cap { display: none; }
  .phones-3 .phone:nth-child(3) { display: none; }
  .steps { order: 4; }
  .steps li:not(.on) { display: none; }
  .steps button, .steps [aria-selected='true'] { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 4px; padding: 0; border: 0; background: none; box-shadow: none; cursor: default; }
  .steps .num { line-height: 27px; }
  .steps .step-title { font-size: 18px; color: var(--fg); }
  .steps .step-text { grid-column: 1 / -1; font-size: 14px; }
  .tour .pager { order: 5; display: flex; align-items: center; gap: 8px; }
  .pager .icon-btn { width: 48px; height: 44px; }
  .dots { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; }
  .dot { width: 6px; height: 6px; border-radius: 3px; background: #3a4146; transition: width 0.2s; }
  .dot.on { width: 18px; background: var(--accent); }
  .pager-count { display: none; }
  .tour .pager .dots { display: none; }
  .pager-try { flex: 1; min-height: 44px; }

  /* Попробовать самому: снимок, под ним подсказка и кнопки; итог — отдельным экраном вместо снимка. */
  .try { display: flex; flex-direction: column; gap: 10px; }
  .try-side { display: none; }
  .try.done .try-side { display: flex; flex: 1 1 0; gap: 12px; }
  .try.done .try-stage, .try.done .try-bar { display: none; }
  .try-done { gap: 12px; }
  .done-title { font-size: 22px; line-height: 1.2; }
  /* Снимок итога — крупный кусок вокруг итога на экране (site.js). */
  .done-shot { display: block; position: relative; flex: 1 1 0; min-height: 0; margin: 0; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
  .done-shot[hidden] { display: none; }
  .done-shot img { position: absolute; left: 0; top: 0; max-width: none; }
  .did { gap: 6px; }
  .did li { align-items: flex-start; }
  .did .ic { width: 22px; height: 22px; padding: 3px; border-radius: 6px; }
  .did li > span { display: block; font-size: 14px; line-height: 22px; }
  .did li > span > span { font-size: 14px; }
  .done-cta { flex-wrap: nowrap; }
  .done-cta .btn-primary { flex: 1; }
  .done-cta .btn:not(.btn-primary) { width: 52px; padding: 0; }
  .done-cta .btn:not(.btn-primary) span { display: none; }
  .others { margin-top: 0; }
  .other { padding: 8px 12px; }
  .try-stage { order: 0; flex: 1 1 0; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
  .try-stage .stage-head { display: flex; }
  .try-stage .stage-head .btn, .try-stage .stage-note { display: none; }
  .role-chip { min-height: 0; padding: 0; border: 0; background: none; }
  .role-chip-text { overflow: hidden; text-overflow: ellipsis; }
  .try-count { display: inline; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
  .try-progress { display: block; height: 3px; border-radius: 2px; background: var(--line-soft); }
  .try-progress span { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--accent); }
  .try-body { display: flex; flex-direction: column; gap: 10px; }
  .frame-area { position: relative; inset: auto; flex: 1 1 0; min-height: 0; }
  .frame-phone { border-width: 4px; border-radius: 22px; }
  .tip { position: relative; flex: none; width: auto; padding: 12px 14px 14px; box-shadow: none; }
  .tip-arrow, .tip-num, .tip-next .tip-label, .tip-role { display: none; }
  .tip-text { font-size: 15px; line-height: 1.42; }
  .tip-next { margin-top: 10px; padding-top: 0; border: 0; }
  .try-bar { display: flex; flex: none; align-items: center; gap: 8px; }
  .try-bar .btn { min-height: 44px; }
  .try-bar .ic { width: 16px; height: 16px; }
  .try-exit { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }

  /* Установка и цена: две вкладки, плитки по три. Без скрипта видно всё, листанием страницы. */
  .box { display: flex; flex-direction: column; gap: 14px; }
  .box-tabs { display: flex; flex: none; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
  .box-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--fg-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .box-tabs [aria-selected='true'] { background: var(--fg); color: var(--bg); font-weight: 700; }
  .box-main { flex: 1 1 auto; gap: 12px; }
  .js .box-main { flex-basis: 0; }
  .box h1 { font-size: 26px; }
  .box .lead { display: none; }
  .tiles { grid-template-columns: 1fr; gap: 8px; margin: 0; }
  .tile { gap: 4px; padding: 12px 14px; }
  .tile .num { display: none; }
  .tile h2 { font-size: 16px; }
  .tile p { font-size: 14px; }
  .tile code { white-space: normal; }
  .tiles-pager .icon-btn { width: 48px; height: 44px; }
  .js .box:not(.price) .contact-card, .js .box.price .box-main { display: none; }
  .contact-card { flex: 1 1 auto; padding: 0; gap: 12px; border: 0; background: none; }
  .contact-card .corner { display: none; }
  .contact-card h2 { font-size: 28px; margin-top: -6px; }
  .contact-card p.muted { font-size: 13px; }
}
@media (max-width: 380px) {
  .try-bar { gap: 4px; }
  .try-bar .btn { padding: 0 12px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .tip { padding: 10px 12px 12px; }
  .tip-label { font-size: 11px; }
  .tip-text { margin-top: 4px; font-size: 14px; line-height: 1.38; }
  .try-body, .try-stage { gap: 8px; }
  .done-title { font-size: 20px; }
  .tour h1 { font-size: 20px; }
  .steps .step-title { font-size: 16px; }
  .steps .step-text { font-size: 13.5px; line-height: 1.4; }
  .box h1 { font-size: 22px; }
  .tile p { font-size: 13.5px; line-height: 1.4; }
  .contact-card h2 { font-size: 24px; }
  .contact-card p { font-size: 14px; }
  .contact-card p.muted { display: none; }
  .contacts > div { padding: 6px 14px; }
}
/* Телефон с панелями браузера на маленьком экране (360×560). */
@media (max-width: 899px) and (max-height: 600px) {
  main { padding-top: 10px; }
  .eyebrow-more, .others-label, .other > span > span { display: none; }
  .try.done .try-side, .try-done { gap: 8px; }
  .other { padding: 6px 12px; }
  .lead { font-size: 14px; }
  .box-tabs button { min-height: 36px; }
  .contact-card { gap: 10px; }
  .contact-card .legal { padding-top: 8px; font-size: 12px; }
}

/* ---------- Главная: продающий лендинг с прокруткой ----------
   Единственная страница сайта, которая прокручивается. Движение — на CSS (анимации от прокрутки): без их поддержки
   или с настройкой «меньше движения» страница обычная — все блоки видны сразу, закреплений нет. */
.land { --wrap: 1240px; background: var(--bg); color: var(--fg); overflow-x: clip; }
.l-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.land h1, .land h2, .land h3 { margin: 0; text-wrap: balance; }
.land h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; }
.land .lead { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--fg-2); }
.l-sec { padding: clamp(80px, 13vh, 150px) 0; }
.l-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.l-head > div { display: flex; flex-direction: column; gap: 14px; }
.l-num { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent-text); }
.l-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Тело страницы растёт по содержимому, шапка липнет к верху; тонкая полоса под ней — сколько прочитано. */
body.page-home { height: auto; min-height: 100vh; display: block; }
.page-home .top { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 14, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.page-home main.land { max-width: none; margin: 0; padding: 0; }
.land .eyebrow { font-size: 13px; }
.l-progress { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.l-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; }

/* ---------- Знак ТРОП ---------- */
.l-mark { display: block; width: 100%; height: auto; overflow: visible; }
.l-mark .m-spin { transform-box: fill-box; transform-origin: center; }

/* ---------- 1. Первый экран: обещание и живая программа под ним ---------- */
.l-hero { position: relative; isolation: isolate; padding: clamp(40px, 8vh, 96px) 0 clamp(64px, 10vh, 120px); }
.l-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; opacity: 0.5; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000, transparent 75%); }
.l-hero::after { content: ''; position: absolute; left: 50%; bottom: 0; z-index: -1; width: min(1400px, 140vw); height: 70%; translate: -50% 0; background: radial-gradient(ellipse 50% 45% at 50% 55%, rgba(232, 89, 12, 0.22), transparent 70%); pointer-events: none; }
.l-hero-text { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 1080px; text-align: center; }
.l-chip { display: inline-flex; max-width: 100%; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--fg-2); }
.l-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(76, 195, 138, 0.18); }
.l-hero h1 { font-size: clamp(36px, 5.2vw, 76px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 700; }
.l-hero h1 em { font-style: normal; color: var(--accent-text); }
.l-hero .lead { max-width: 760px; }
.l-hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.l-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.l-trust li { display: flex; align-items: center; gap: 10px; }
.l-trust li::before { content: ''; flex: none; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); rotate: -45deg; }

.l-stage-wrap { margin-top: clamp(40px, 7vh, 72px); }
.l-stage { position: relative; max-width: 1060px; margin: 0 auto; perspective: 1800px; }
.l-screen { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--ink); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.02); transform-origin: 50% 0; }
.l-chrome { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); background: #15181b; }
.l-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.l-chrome span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: var(--ink); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.l-screen img { display: block; width: 100%; height: auto; }
.l-hphone { position: absolute; left: -2%; bottom: -8%; width: 21%; padding: 6px; border-radius: 28px; background: #0b0d0e; border: 1px solid var(--line); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9); }
.l-hphone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.l-sticker { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 12px; background: #fff; color: #16191c; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7); }
.l-sticker > span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.l-sticker b { font-family: var(--mono); font-size: 15px; }
.l-qr { display: block; flex: none; width: 60px; height: 60px; }
.l-stage > .l-sticker { position: absolute; right: -3%; bottom: 10%; rotate: 4deg; }
.l-toast { position: absolute; right: -2%; top: 14%; display: flex; align-items: flex-start; gap: 12px; width: 310px; padding: 14px 16px; border-radius: 14px; background: rgba(27, 31, 34, 0.94); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); font-size: 13px; line-height: 1.4; color: var(--fg-2); text-align: left; }
.l-toast-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; }
.l-toast b { display: block; margin-bottom: 2px; color: var(--fg); font-size: 14px; }

/* ---------- 2. Для кого: бегущая строка ролей ---------- */
.l-roles { padding: 8px 0 0; text-align: center; }
.l-roles-t { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.l-marquee { display: flex; overflow: hidden; }
.l-marquee ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto; padding: 0 var(--pad); list-style: none; }
.l-marquee ul + ul { display: none; }
.l-marquee li { padding: 9px 18px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 15px; color: var(--fg-2); white-space: nowrap; }

/* ---------- 3. Возможности: плитки разного размера ---------- */
.l-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.l-tile-b { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; overflow: hidden; padding: 26px; border-radius: 22px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, #1b1f22, #16191c); }
.l-tile-b::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(232, 89, 12, 0.1), transparent 70%); pointer-events: none; }
.l-tile-b > * { position: relative; }
.l-b-text { display: flex; flex-direction: column; gap: 8px; }
.l-b-text h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.l-b-text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.l-b-vis { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 92px; }
.l-b-qr { grid-column: span 2; grid-row: span 2; }
.l-b-ver, .l-b-pareto { grid-column: span 2; }
.l-b-qr .l-b-vis { flex: 1; position: relative; min-height: 360px; }
.l-b-phone { position: absolute; left: 50%; top: 4px; bottom: -60px; width: 50%; max-width: 250px; translate: -30% 0; padding: 6px; border-radius: 28px 28px 0 0; background: #0b0d0e; border: 1px solid var(--line); border-bottom: 0; }
.l-b-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; }
.l-b-sticker { position: absolute; left: 4%; top: 22%; overflow: hidden; rotate: -5deg; }
.l-beam { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--accent); box-shadow: 0 0 12px 2px rgba(232, 89, 12, 0.7); opacity: 0; }

.l-net { display: grid; justify-items: center; }
.l-net > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.l-net svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.l-net-a { background: rgba(245, 159, 0, 0.14); color: #ffc24d; border: 1px solid rgba(245, 159, 0, 0.35); }
.l-net-b { background: rgba(76, 195, 138, 0.14); color: #6fdca6; border: 1px solid rgba(76, 195, 138, 0.35); opacity: 0; }

.l-voice { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); }
.l-mic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); }
.l-mic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.l-wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.l-wave i { width: 3px; height: 40%; border-radius: 2px; background: var(--accent-text); }
.l-wave i:nth-child(3n) { height: 75%; } .l-wave i:nth-child(4n + 1) { height: 55%; } .l-wave i:nth-child(5n) { height: 95%; }
.l-voice-t { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.l-ver { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.l-ver-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.l-st { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.l-st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.l-st-ok { background: rgba(76, 195, 138, 0.12); color: #6fdca6; }
.l-st-warn { background: rgba(245, 159, 0, 0.13); color: #ffc24d; }
.l-st-bad { background: rgba(224, 49, 49, 0.14); color: #ff8787; }
.l-ver-track { position: relative; height: 8px; margin: 0 4px 22px; border-radius: 4px; background: var(--line-soft); }
.l-ver-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 78%; border-radius: inherit; background: linear-gradient(90deg, #4cc38a 0 70%, #f59f00 70% 90%, #e03131 90%); }
.l-ver-tick { position: absolute; top: 14px; translate: -50% 0; font-family: var(--mono); font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.l-ver-tick::before { content: ''; position: absolute; left: 50%; top: -14px; width: 2px; height: 8px; background: var(--fg-2); }
.l-t30 { left: 70%; } .l-t7 { left: 90%; }
.l-ver-dot { position: absolute; top: 50%; left: 78%; width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12); }

.l-ready { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.l-ready li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line-soft); font-size: 13.5px; font-weight: 600; }
.l-ready li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2f9e44; color: #fff; font-size: 12px; }
.l-ready .l-r-bad::before { content: '!'; background: #e03131; }

.l-par { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.l-par li { display: grid; grid-template-columns: 190px minmax(0, 1fr) 28px; align-items: center; gap: 12px; font-size: 13.5px; }
.l-par span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-2); font-weight: 600; }
.l-par i { height: 12px; border-radius: 3px; background: var(--accent); transform-origin: left; }
.l-par b { font-family: var(--mono); text-align: right; color: var(--fg); }
.l-p48 { width: 100%; } .l-p40 { width: 83%; } .l-p23 { width: 48%; } .l-p16 { width: 33%; } .l-p13 { width: 27%; }

.l-xls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.l-file { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.l-file b { padding: 4px 6px; border-radius: 6px; background: #1d7a46; color: #fff; font-family: var(--mono); font-size: 10.5px; }
.l-arrow { width: 26px; height: 2px; background: var(--dim); position: relative; }
.l-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--dim); border-right: 2px solid var(--dim); rotate: 45deg; }
.l-ok { padding: 8px 12px; border-radius: 10px; background: rgba(76, 195, 138, 0.12); color: #6fdca6; font-size: 13.5px; font-weight: 600; }

/* ---------- 4. Программы: карточки, на компьютере ложатся стопкой ---------- */
.l-pcards { display: flex; flex-direction: column; gap: 28px; margin-top: 0; margin-bottom: 0; list-style: none; }
.l-pcard-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; height: 100%; padding: clamp(28px, 3.6vw, 52px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(232, 89, 12, 0.16), transparent 65%), linear-gradient(180deg, #1d2225, #15181b); box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, 0.9); transform-origin: 50% 0; }
.l-pcard-in::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: #050607; opacity: 0; pointer-events: none; }
.l-pc-text { display: flex; flex-direction: column; gap: 18px; }
.l-prod-name { display: flex; align-items: center; gap: 14px; }
.l-prod-name img { flex: none; width: 56px; height: 56px; border-radius: 14px; }
.l-prod-name > span { display: flex; flex-direction: column; gap: 2px; }
.l-prod-name strong { font-size: 15px; font-weight: 600; color: var(--muted); }
.l-pcard h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.1; letter-spacing: -0.015em; }
.l-pcard ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.l-pcard li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; color: var(--fg-2); }
.l-pcard li::before { content: ''; flex: none; width: 14px; height: 2px; margin-top: 11px; background: var(--accent); }
.l-prod-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.l-shots { position: relative; margin: 0; padding: 20px 20px 40px; }
.l-shots .corner { width: 40px; height: 40px; border-width: 0; }
.l-shots .corner.tl { border-left-width: 4px; border-top-width: 4px; }
.l-shots .corner.tr { border-right-width: 4px; border-top-width: 4px; }
.l-shots .corner.bl { border-left-width: 4px; border-bottom-width: 4px; }
.l-shots .corner.br { border-right-width: 4px; border-bottom-width: 4px; }
.l-shot { position: relative; }
.l-desk { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.l-phone { position: absolute; right: -8px; bottom: -32px; width: 26%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 18px; border: 4px solid #0b0d0e; outline: 1px solid var(--line); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8); }

/* ---------- 5. Как это работает: телефон и шаги ---------- */
.l-how-stage { display: none; }
.l-hsteps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.l-hstep { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.l-hfig { position: relative; height: 300px; margin: 0; overflow: hidden; border-bottom: 1px solid var(--line-soft); background: radial-gradient(circle at 50% 120%, rgba(232, 89, 12, 0.25), transparent 60%), var(--ink); }
.l-hfig > img, .l-hfig-cam { position: absolute; left: 50%; top: 22px; width: 70%; translate: -50% 0; border-radius: 16px; border: 3px solid #0b0d0e; outline: 1px solid var(--line); }
.l-hfig > img { height: auto; }
.l-hfig-cam { aspect-ratio: 390 / 844; overflow: hidden; }
.l-hstep:nth-child(3) .l-hfig > img { top: auto; bottom: -3px; border-radius: 16px 16px 0 0; }
.l-htext { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.l-htext h3 { font-size: 19px; line-height: 1.2; }
.l-htext p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Экран камеры: наклейка в рамке видоискателя */
.l-cam { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12% 8% 10%; background: radial-gradient(ellipse 80% 60% at 50% 45%, #3b4248, #1a1e21 70%), #1a1e21; color: #fff; }
.l-cam-t { max-width: 100%; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); font-size: 11px; font-weight: 600; line-height: 1.3; text-align: center; }
.l-cam-view { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.l-sticker-cam { flex-direction: column; gap: 6px; padding: 10px 10px 8px; rotate: -3deg; }
.l-sticker-cam .l-qr { width: 78px; height: 78px; }
.l-sticker-cam > span { align-items: center; font-size: 9px; }
.l-sticker-cam b { font-size: 11px; }
.l-vf { position: absolute; inset: 6%; border-radius: 10px; background:
  linear-gradient(var(--accent), var(--accent)) left top / 22% 3px no-repeat, linear-gradient(var(--accent), var(--accent)) left top / 3px 22% no-repeat,
  linear-gradient(var(--accent), var(--accent)) right top / 22% 3px no-repeat, linear-gradient(var(--accent), var(--accent)) right top / 3px 22% no-repeat,
  linear-gradient(var(--accent), var(--accent)) left bottom / 22% 3px no-repeat, linear-gradient(var(--accent), var(--accent)) left bottom / 3px 22% no-repeat,
  linear-gradient(var(--accent), var(--accent)) right bottom / 22% 3px no-repeat, linear-gradient(var(--accent), var(--accent)) right bottom / 3px 22% no-repeat; }
.l-cam-view .l-beam { left: 10%; right: 10%; }
.l-cam-link { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.92); color: #16191c; font-size: 10.5px; font-weight: 600; white-space: nowrap; }

/* ---------- 6. Цифры ---------- */
.l-facts { padding-top: 0; }
.l-bign { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-n { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 5vh, 48px) 28px; border-left: 1px solid var(--line-soft); }
.l-n:first-child { border-left: 0; padding-left: 0; }
.l-n b { font-family: var(--mono); font-size: clamp(44px, 5vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--accent-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.l-n b small { font-size: 0.36em; letter-spacing: 0; color: var(--fg); font-weight: 600; }
.l-n > span { max-width: 270px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.l-count { display: none; }

/* ---------- 7. Для ИТ и безопасности ---------- */
.l-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; border: 1px solid var(--line-soft); background: var(--surface-2); transition: border-color 0.2s; }
.l-tile:hover { border-color: var(--line); }
.l-tile-n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-text); }
.l-tile h3 { font-size: 19px; }
.l-tile p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.l-tile code { font-family: var(--mono); font-size: 13.5px; color: var(--fg-2); }
.l-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; text-decoration: none; }

/* ---------- 8. Попробовать самому ---------- */
.l-try-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.l-try-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); text-decoration: none; transition: border-color 0.2s, translate 0.2s; }
.l-try-card:hover { color: var(--fg); border-color: var(--accent); translate: 0 -4px; }
.l-try-card figure { position: relative; height: 300px; margin: 0; overflow: hidden; background: radial-gradient(circle at 50% 120%, rgba(232, 89, 12, 0.28), transparent 60%), var(--ink); }
.l-try-card figure img { position: absolute; left: 50%; top: 28px; width: 58%; height: auto; translate: -50% 0; border-radius: 18px; border: 4px solid #0b0d0e; outline: 1px solid var(--line); transition: translate 0.3s; }
.l-try-card:hover figure img { translate: -50% -8px; }
.l-try-card > div { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.l-try-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.l-try-name img { border-radius: 8px; }
.l-try-card b { font-size: 19px; line-height: 1.25; }
.l-try-go { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.l-try-go span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; }

/* ---------- 9. Вопросы ---------- */
.l-faq-in { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 32px 64px; align-items: start; }
.l-faq-head { display: flex; flex-direction: column; gap: 14px; }
.l-faq-list details { border-bottom: 1px solid var(--line-soft); }
.l-faq-list details:first-child { border-top: 1px solid var(--line-soft); }
.l-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.l-faq-list summary::-webkit-details-marker { display: none; }
.l-faq-list summary::after { content: ''; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--accent-text), var(--accent-text)) center / 16px 2px no-repeat, linear-gradient(var(--accent-text), var(--accent-text)) center / 2px 16px no-repeat; transition: rotate 0.25s; }
.l-faq-list summary:hover { color: #fff; }
.l-faq-list details[open] summary::after { rotate: 45deg; }
.l-faq-list details p { max-width: 680px; margin: -4px 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- 10. Последний экран ---------- */
.l-end { position: relative; isolation: isolate; text-align: center; }
.l-end::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 55% at 50% 40%, rgba(232, 89, 12, 0.18), transparent 70%); }
.l-end .l-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.l-end-mark { width: clamp(120px, 13vw, 168px); margin-bottom: 8px; }
.l-end h2 { max-width: 900px; font-size: clamp(36px, 4.6vw, 68px); }
.l-end .lead { max-width: 640px; }
.l-end .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.l-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 28px var(--pad); border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 14px; }
.l-foot .brand-mark { width: 28px; height: 28px; }
.l-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.l-foot nav a { color: var(--muted); text-decoration: none; }
.l-foot nav a:hover { color: var(--fg); }

/* ---------- Планшет и телефон ---------- */
@media (max-width: 1100px) {
  .l-hsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-toast { width: 270px; right: 0; }
  .l-stage > .l-sticker { right: 0; }
}
@media (max-width: 899px) {
  .land .cta .btn { display: inline-flex; }
  .l-head { grid-template-columns: 1fr; }
  .l-hero { padding-top: 28px; }
  .l-chip { font-size: 12px; }
  .l-hero-text { align-items: flex-start; gap: 18px; text-align: left; }
  .l-hero .cta { justify-content: flex-start; width: 100%; }
  .l-hero .cta .btn { flex: 1 1 220px; }
  .l-trust { flex-direction: column; justify-content: flex-start; gap: 8px; }
  .l-stage-wrap { margin-top: 40px; }
  .l-hphone { width: 30%; left: 0; bottom: -12%; padding: 4px; border-radius: 18px; }
  .l-hphone img { border-radius: 14px; }
  .l-toast { top: auto; bottom: -20%; right: 0; width: min(270px, 62%); padding: 10px 12px; font-size: 12px; }
  .l-toast b { font-size: 13px; }
  .l-stage > .l-sticker { display: none; }
  .l-hero { padding-bottom: 120px; }
  .l-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-b-qr { grid-row: auto; }
  .l-b-qr .l-b-vis { min-height: 320px; }
  .l-pcard-in { grid-template-columns: 1fr; gap: 24px; padding: 24px; border-radius: 22px; }
  .l-shots { padding: 14px 14px 30px; }
  .l-shots .corner { width: 28px; height: 28px; }
  .l-phone { width: 28%; bottom: -24px; border-radius: 12px; border-width: 3px; }
  .l-hsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-bign { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-n:nth-child(3) { border-left: 0; padding-left: 0; }
  .l-n:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .l-tiles, .l-try-cards { grid-template-columns: 1fr; }
  .l-faq-in { grid-template-columns: 1fr; }
  .l-end .cta .btn { flex: 1 1 220px; }
  .l-foot nav { margin-left: 0; }
}
@media (max-width: 599px) {
  .l-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .l-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .l-b-ver, .l-b-pareto, .l-b-qr { grid-column: auto; }
  .l-tile-b { padding: 22px; }
  .l-par li { grid-template-columns: 130px minmax(0, 1fr) 24px; font-size: 12.5px; }
  .l-hsteps { grid-template-columns: 1fr; }
  .l-hstep { flex-direction: row; }
  .l-hfig { flex: none; width: 42%; height: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .l-hfig > img, .l-hfig-cam { top: 14px; width: 80%; border-width: 2px; border-radius: 12px; }
  .l-hstep:nth-child(3) .l-hfig > img { bottom: -2px; }
  .l-htext { justify-content: center; padding: 16px; }
  .l-htext h3 { font-size: 17px; }
  .l-htext p { font-size: 14px; }
  .l-bign { grid-template-columns: 1fr; }
  .l-n { padding: 22px 0; border-left: 0; }
  .l-n + .l-n { border-top: 1px solid var(--line-soft); }
  .l-faq-list summary { font-size: 17px; }
}
@media (max-width: 899px) and (max-height: 720px) {
  .l-hero { padding-top: 16px; }
  .l-hero-text { gap: 14px; }
  .l-chip, .l-trust { display: none; }
  .l-hero .lead { font-size: 15px; }
}

/* ---------- Движение при загрузке ---------- */
@keyframes l-up { from { translate: 0 110%; } }
@keyframes l-fade { from { opacity: 0; translate: 0 18px; } }
@keyframes l-pop { from { opacity: 0; translate: 0 14px; scale: 0.94; } }
@keyframes l-scan { 0% { top: 12%; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: 88%; opacity: 0; } }
@keyframes l-wave { 0%, 100% { scale: 1 0.35; } 50% { scale: 1 1; } }
@keyframes l-net-a { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes l-net-b { 0%, 45% { opacity: 0; scale: 0.9; } 50%, 95% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes l-marq { to { translate: -100% 0; } }

@media (prefers-reduced-motion: no-preference) {
  .l-ln { display: inline-block; overflow: clip; overflow-clip-margin: 0.08em; vertical-align: top; padding-bottom: 0.06em; }
  .l-ln > span { display: inline-block; animation: l-up 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-ln:nth-child(2) > span { animation-delay: 0.08s; }
  .l-ln:nth-child(3) > span { animation-delay: 0.16s; }
  .l-chip { animation: l-fade 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-hero .lead { animation: l-fade 0.8s 0.3s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-hero .cta { animation: l-fade 0.8s 0.4s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-trust { animation: l-fade 0.8s 0.5s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-stage-wrap { animation: l-fade 1.1s 0.45s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .l-toast { animation: l-pop 0.6s 1.5s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .l-beam { animation: l-scan 2.4s 0.6s ease-in-out infinite; }
  .l-wave i { animation: l-wave 1.1s ease-in-out infinite; }
  .l-wave i:nth-child(2n) { animation-delay: -0.3s; } .l-wave i:nth-child(3n) { animation-delay: -0.55s; } .l-wave i:nth-child(5n) { animation-delay: -0.8s; }
  .l-net-a { animation: l-net-a 4s ease-in-out infinite; }
  .l-net-b { animation: l-net-b 4s ease-in-out infinite; }
  .l-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .l-marquee ul { flex: none; flex-wrap: nowrap; margin: 0; padding: 0 10px 0 0; animation: l-marq 45s linear infinite; }
  .l-marquee ul + ul { display: flex; }
  .l-marquee:hover ul { animation-play-state: paused; }
}

/* ---------- Движение от прокрутки ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
    @keyframes l-fill { from { scale: 0 1; } }
    @keyframes l-tilt { from { transform: rotateX(30deg) scale(0.86); } }
    @keyframes l-hphone { from { translate: 0 80px; rotate: -8deg; } to { translate: 0 -30px; rotate: 0deg; } }
    @keyframes l-stk { from { translate: 0 30px; rotate: 10deg; } to { translate: 0 -70px; rotate: 2deg; } }
    @keyframes l-toast-s { to { translate: 0 -80px; } }
    @keyframes l-rise { from { opacity: 0; translate: 0 56px; scale: 0.97; } }
    @keyframes l-tile-in { from { opacity: 0; translate: 0 70px; rotate: x 14deg; } }
    @keyframes l-bar { from { scale: 0 1; } }
    @keyframes l-row { from { opacity: 0; translate: -16px 0; } }
    @keyframes l-dot { from { left: 8%; } }
    @keyframes l-vfill { from { width: 8%; } }
    @keyframes l-count { from { --n: 0; } }
    @keyframes l-count-down { from { --n: 99; } }
    @keyframes l-corner { from { opacity: 0; translate: var(--fx) var(--fy); } }
    @keyframes l-nut { from { opacity: 0; rotate: -180deg; scale: 0.4; } 75% { rotate: 6deg; scale: 1.03; } }
    @keyframes l-bg { from { opacity: 0; } }

    .l-progress { display: block; }
    .l-progress span { animation: l-fill linear both; animation-timeline: scroll(nearest block); }

    .l-screen { animation: l-tilt linear both; animation-timeline: scroll(nearest block); animation-range: 0 70vh; }
    .l-hphone { animation: l-hphone linear both; animation-timeline: scroll(nearest block); animation-range: 0 90vh; }
    .l-stage > .l-sticker { animation: l-stk linear both; animation-timeline: scroll(nearest block); animation-range: 0 90vh; }
    .l-toast { animation: l-pop 0.6s 1.5s cubic-bezier(0.3, 1.4, 0.5, 1) both, l-toast-s linear both; animation-timeline: auto, scroll(nearest block); animation-range: normal, 0 90vh; }

    /* Блоки проявляются, пока поднимаются от низа окна, и готовы, когда их верх прошёл треть окна, — высокие плитки тоже. */
    .l-head > *, .l-faq-head, .l-faq-list details, .l-tile, .l-n, .l-end .l-wrap > :not(.l-end-mark) { animation: l-rise linear both; animation-timeline: view(); animation-range: cover 0vh cover 24vh; }
    .l-tile:nth-child(3n + 2), .l-n:nth-child(2) { animation-range: cover 3vh cover 27vh; }
    .l-tile:nth-child(3n), .l-n:nth-child(3) { animation-range: cover 6vh cover 30vh; }
    .l-n:nth-child(4) { animation-range: cover 9vh cover 33vh; }
    .l-bento { perspective: 1600px; }
    .l-tile-b { transform-origin: 50% 100%; animation: l-tile-in linear both; animation-timeline: view(); animation-range: cover 0vh cover 24vh; }
    .l-b-off, .l-b-ver, .l-b-pareto { animation-range: cover 3vh cover 27vh; }
    .l-b-voice, .l-b-xls { animation-range: cover 6vh cover 30vh; }
    .l-par i { animation: l-bar linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
    .l-par li:nth-child(2) i { animation-range: entry 45% cover 58%; }
    .l-par li:nth-child(3) i { animation-range: entry 50% cover 61%; }
    .l-par li:nth-child(4) i { animation-range: entry 55% cover 64%; }
    .l-par li:nth-child(5) i { animation-range: entry 60% cover 67%; }
    .l-ready li { animation: l-row linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .l-ready li:nth-child(2) { animation-range: entry 45% cover 52%; }
    .l-ready li:nth-child(3) { animation-range: entry 60% cover 58%; }
    .l-ver-dot { animation: l-dot linear both; animation-timeline: view(); animation-range: entry 30% cover 60%; }
    .l-ver-fill { animation: l-vfill linear both; animation-timeline: view(); animation-range: entry 30% cover 60%; }
    .l-try-card { animation: l-tile-in linear both; animation-timeline: view(); animation-range: cover 0vh cover 24vh; }
    .l-try-card:nth-child(2) { animation-range: cover 3vh cover 27vh; }
    .l-try-card:nth-child(3) { animation-range: cover 6vh cover 30vh; }
    .l-pcard-in { animation: l-rise linear both; animation-timeline: view(); animation-range: cover 0vh cover 24vh; }
    .l-hstep { animation: l-rise linear both; animation-timeline: view(); animation-range: cover 0vh cover 24vh; }

    .l-count { display: inline; animation: l-count linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; counter-reset: n var(--n); }
    .l-count::after { content: counter(n); }
    .l-cv { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .l-c20 { --n: 20; } .l-c30 { --n: 30; }
    .l-c0 { --n: 0; animation-name: l-count-down; }

    .l-end-mark { view-timeline: --endmark block; }
    .l-end-mark .m-c { animation: l-corner linear both; animation-timeline: --endmark; animation-range: entry 10% cover 50%; }
    .l-end-mark .m-c1 { --fx: -260px; --fy: -260px; }
    .l-end-mark .m-c2 { --fx: 260px; --fy: -260px; }
    .l-end-mark .m-c3 { --fx: -260px; --fy: 260px; }
    .l-end-mark .m-c4 { --fx: 260px; --fy: 260px; }
    .l-end-mark .m-spin { animation: l-nut linear both; animation-timeline: --endmark; animation-range: entry 20% cover 55%; }
    .l-end-mark .m-bg { animation: l-bg linear both; animation-timeline: --endmark; animation-range: entry 0% cover 40%; }
  }

  /* Компьютер: карточки программ ложатся стопкой, телефон закреплён и показывает шаги. */
  @media (min-width: 900px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
    @keyframes l-recede { to { scale: 0.93; } }
    @keyframes l-dim { to { opacity: 0.55; } }
    @keyframes l-scr { 0%, 26% { opacity: 0; translate: 0 28px; scale: 0.97; } 34%, 66% { opacity: 1; translate: 0 0; scale: 1; } 74%, 100% { opacity: 0; translate: 0 -28px; scale: 0.97; } }
    @keyframes l-scr-first { 0%, 66% { opacity: 1; translate: 0 0; scale: 1; } 74%, 100% { opacity: 0; translate: 0 -28px; scale: 0.97; } }
    @keyframes l-scr-last { 0%, 26% { opacity: 0; translate: 0 28px; scale: 0.97; } 34%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
    @keyframes l-act { 0%, 22% { opacity: 0.22; } 36%, 64% { opacity: 1; } 78%, 100% { opacity: 0.22; } }
    @keyframes l-dot-on { 0%, 26% { background: var(--line); height: 8px; } 34%, 66% { background: var(--accent); height: 28px; } 74%, 100% { background: var(--line); height: 8px; } }

    .l-pcards { --h: min(calc(100vh - var(--head) - 72px), 660px); --top: calc(var(--head) + (100vh - var(--head) - var(--h)) / 2 - 14px); gap: 0; view-timeline: --pcards block; }
    .l-pcards::after { content: ''; height: 30vh; }
    .l-pcard { position: sticky; top: var(--top); height: var(--h); }
    .l-pcard:nth-child(2) { top: calc(var(--top) + 14px); }
    .l-pcard:nth-child(3) { top: calc(var(--top) + 28px); }
    .l-pcard-in { animation: none; }
    .l-pcard:nth-child(1) .l-pcard-in { animation: l-recede linear both; animation-timeline: --pcards; animation-range: cover calc(100vh - var(--top)) cover calc(100vh + var(--h) - var(--top) - 14px); }
    .l-pcard:nth-child(2) .l-pcard-in { animation: l-recede linear both; animation-timeline: --pcards; animation-range: cover calc(100vh + var(--h) - var(--top) - 14px) cover calc(100vh + 2 * var(--h) - var(--top) - 28px); }
    .l-pcard:nth-child(1) .l-pcard-in::after { animation: l-dim linear both; animation-timeline: --pcards; animation-range: cover calc(100vh - var(--top)) cover calc(100vh + var(--h) - var(--top) - 14px); }
    .l-pcard:nth-child(2) .l-pcard-in::after { animation: l-dim linear both; animation-timeline: --pcards; animation-range: cover calc(100vh + var(--h) - var(--top) - 14px) cover calc(100vh + 2 * var(--h) - var(--top) - 28px); }
    .l-pcard h3 { font-size: clamp(24px, 2.3vw, 36px); }

    .l-how-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; timeline-scope: --s1, --s2, --s3, --s4, --s5; }
    .l-how-stage { display: block; }
    .l-how-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); display: flex; align-items: center; justify-content: center; gap: 28px; }
    .l-device { position: relative; height: min(640px, calc(100vh - var(--head) - 96px)); aspect-ratio: 390 / 844; padding: 10px; border-radius: 42px; background: #0b0d0e; border: 1px solid var(--line); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px #1a1e21, 0 0 120px -20px rgba(232, 89, 12, 0.35); }
    .l-scr { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); overflow: hidden; border-radius: 32px; object-fit: cover; object-position: top; animation: l-scr linear both; animation-range: cover 0% cover 100%; }
    .l-scr1 { animation-name: l-scr-first; animation-timeline: --s1; }
    .l-scr2 { animation-timeline: --s2; }
    .l-scr3 { animation-timeline: --s3; object-position: bottom; }
    .l-scr4 { animation-timeline: --s4; }
    .l-scr5 { animation-name: l-scr-last; animation-timeline: --s5; }
    .l-scr1 .l-cam { padding: 14% 8% 12%; }
    .l-scr1 .l-cam-t { font-size: 13px; }
    .l-scr1 .l-sticker-cam .l-qr { width: 104px; height: 104px; }
    .l-scr1 .l-sticker-cam > span { font-size: 11px; }
    .l-scr1 .l-sticker-cam b { font-size: 14px; }
    .l-scr1 .l-cam-link { font-size: 12px; }
    .l-dots { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
    .l-dots li { width: 4px; height: 8px; border-radius: 2px; background: var(--line); animation: l-dot-on linear both; animation-range: cover 0% cover 100%; }
    .l-dots li:nth-child(1) { animation-timeline: --s1; }
    .l-dots li:nth-child(2) { animation-timeline: --s2; }
    .l-dots li:nth-child(3) { animation-timeline: --s3; }
    .l-dots li:nth-child(4) { animation-timeline: --s4; }
    .l-dots li:nth-child(5) { animation-timeline: --s5; }
    .l-hsteps { display: flex; flex-direction: column; padding-bottom: 16vh; }
    .l-hstep { min-height: 72vh; flex-direction: row; align-items: center; overflow: visible; border: 0; background: none; animation: none; }
    .l-hstep:nth-child(1) { view-timeline: --s1 block; }
    .l-hstep:nth-child(2) { view-timeline: --s2 block; }
    .l-hstep:nth-child(3) { view-timeline: --s3 block; }
    .l-hstep:nth-child(4) { view-timeline: --s4 block; }
    .l-hstep:nth-child(5) { view-timeline: --s5 block; }
    .l-hfig { display: none; }
    .l-htext { gap: 14px; max-width: 520px; padding: 0; animation: l-act linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .l-htext .l-num { font-size: 15px; }
    .l-htext h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
    .l-htext p { font-size: 18px; color: var(--fg-2); }
  }
}

/* Невысокие окна компьютера: заголовок плотнее, чтобы программа под ним была видна на первом экране. */
@media (min-width: 900px) and (max-height: 820px) {
  .l-hero { padding-top: 32px; }
  .l-hero-text { gap: 18px; }
  .l-hero h1 { font-size: clamp(36px, 4.4vw, 60px); }
  .l-stage-wrap { margin-top: 36px; }
}
