/* aigets — «Диспетчер запросов aigets». Презентация продукта: возможности и случаи внедрения.
   Холст слайда 1920×1080, масштабируется под окно. Печать — A3 альбомный: слайд в рамке листа + пояснение под ним.
   Оформление — фон и палитра сайта aigets.online (графит, вуаль «ртуть на фольге», зелёный акцент #76c447):
   живой canvas за слайдами (assets/veil.js), статичный кадр img/veil-dark.png для печати и fallback.
   Штамп листа и моно-метки — навигация дека. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-cyrillic-wght-normal.woff2?v=3a5ed4d1") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2?v=8616dc35") format("woff2"); font-weight: 200 900; font-display: swap; 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: "Onest"; src: url("../fonts/onest-cyrillic-wght-normal.woff2?v=fe2bd26a") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-wght-normal.woff2?v=3db826ed") format("woff2"); font-weight: 100 900; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #141416;                    /* графит сайта */
  --surface: rgba(255, 255, 255, .045);  /* стекло плиток */
  --pane: rgba(22, 22, 25, .62);    /* вуаль панелей */
  --pane-solid: #1d1d21;
  --ink: #ececea;                   /* основной текст */
  --ink-2: #cfd0d4;                 /* вторичный текст */
  --muted: #9a9ba1;                 /* подписи */
  --line: rgba(236, 236, 234, .09);
  --line-strong: rgba(236, 236, 234, .18);
  --accent: #76c447;                /* фирменный зелёный */
  --accent-bright: #8fd35c;
  --accent-soft: rgba(118, 196, 71, .14);
  --signal: #f0b829;                /* золото кольца */
  --signal-soft: rgba(240, 184, 41, .14);
  --ok: #8fd35c;
  --ok-soft: rgba(143, 211, 92, .14);
  --off: #9a9ba1;
  --off-soft: rgba(154, 155, 161, .12);
  --magenta: #db3380;               /* малиновый кольца */
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --veil-still: url("../img/veil-dark.png?v=4655f514");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #0e0e10; color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }

/* ---------- живой фон сайта ---------- */
#veil { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity .8s ease; }
#veil.on { opacity: 1; }

/* ---------- просмотрщик ---------- */
.viewport { position: fixed; inset: 0; overflow: hidden; z-index: 1; }
.deck { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center center; transform: translate(-50%, -50%) scale(.5); }
.slide {
  position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: hidden;
  background-color: var(--bg);
  background-image: var(--veil-still);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 104px 120px 150px;
  display: flex; flex-direction: column; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
}
html.veil-on .slide { background-image: none; background-color: transparent; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; z-index: 2; }

.hud { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(236,236,234,.08); z-index: 10; }
.hud i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px rgba(118,196,71,.5); transition: width .3s ease; }
.ctrl { position: fixed; right: 18px; bottom: 16px; z-index: 12; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(10, 12, 11, .78); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity .35s, transform .35s; font-family: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
body.idle .ctrl { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ctrl button { appearance: none; border: 0; background: transparent; color: var(--ink); width: 40px; height: 36px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font: 600 13px/1 var(--text); }
.ctrl button:hover { background: var(--accent-soft); color: var(--accent-bright); }
.ctrl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ctrl button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .num-ctl { min-width: 64px; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ctrl .pdf { width: auto; padding: 0 10px; color: var(--accent-bright); }
body.idle { cursor: none; }
.mhead { display: none; }
.nav-hit { position: fixed; top: 0; bottom: 0; width: 6%; z-index: 5; cursor: pointer; }
.nav-hit.prev { left: 0; } .nav-hit.next { right: 0; }

.sheet-a3, .slot { display: contents; }

/* ---------- типографика ---------- */
.eyebrow { font: 500 22px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.h1 { font-family: var(--display); font-weight: 600; font-size: 88px; line-height: 1.05; letter-spacing: -0.02em; max-width: 1400px; color: #fff; }
.h2 { font-family: var(--display); font-weight: 600; font-size: 58px; line-height: 1.12; letter-spacing: -0.02em; max-width: 1600px; color: #fff; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.22; color: var(--ink); }
.lead { font-size: 34px; line-height: 1.42; color: var(--ink-2); max-width: 1240px; }
.p { font-size: 27px; line-height: 1.45; color: var(--ink-2); }
.p b, .lead b { color: var(--ink); font-weight: 600; }
.small { font-size: 23px; line-height: 1.4; color: var(--muted); }
.num { font-family: var(--display); font-weight: 600; color: var(--accent-bright); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent-bright); }
.signal { color: var(--signal); }

/* ---------- штамп (основная надпись) ---------- */
.stamp {
  position: absolute; z-index: 5; right: 120px; bottom: 44px; height: 72px; display: grid;
  grid-template-columns: 190px 270px 96px 96px; border: 1px solid var(--line-strong); border-radius: 18px;
  background: rgba(10, 12, 11, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden;
}
.stamp > div { border-left: 1px solid var(--line); padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.stamp > div:first-child { border-left: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.stamp img { width: 40px; height: 40px; }
.stamp .brand { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); }
.stamp .k { font: 500 15px/1 var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.stamp .v { font-size: 22px; color: var(--ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-note { position: absolute; z-index: 3; left: 120px; bottom: 50px; max-width: 1000px; font-size: 22px; line-height: 1.35; color: var(--muted); }

/* ---------- метки зрелости и честности ---------- */
.badge { display: inline-flex; width: fit-content; align-self: flex-start; align-items: center; gap: 10px; font: 600 21px/1 var(--text); padding: 8px 14px 8px 12px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.badge.today { color: var(--ok); background: var(--ok-soft); }
.badge.pilot { color: var(--signal); background: var(--signal-soft); }
.badge.scale { color: var(--off); background: var(--off-soft); }
.badge.est { color: var(--muted); background: transparent; border: 1.5px dashed var(--line-strong); font-weight: 500; }
.badge.est::before { background: transparent; border: 2px solid currentColor; }

/* ---------- общие блоки ---------- */
.row { display: flex; gap: 40px; }
.col { display: flex; flex-direction: column; gap: 24px; }
.grow { flex: 1; }
.cells { display: grid; gap: 18px; }
.cells > * { border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px; background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.cells .h3 { margin-bottom: 12px; }
.frame { position: relative; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 14, 13, .72); overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame .tick { position: absolute; width: 22px; height: 22px; border-color: var(--accent); border-style: solid; border-width: 0; }
.frame .tick.tl { left: 10px; top: 10px; border-left-width: 2px; border-top-width: 2px; }
.frame .tick.br { right: 10px; bottom: 10px; border-right-width: 2px; border-bottom-width: 2px; }
.img-missing { display: grid; place-items: center; color: var(--muted); font-size: 22px; background:
  repeating-linear-gradient(45deg, rgba(236,236,234,.04) 0 14px, transparent 14px 28px), var(--pane-solid); }
.caption { font-size: 22px; color: var(--muted); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.note .lbl { font: 600 19px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.note.key { background: var(--accent-soft); border-color: rgba(118,196,71,.35); }
.note.key .lbl { color: var(--accent-bright); }
.note.warn { background: var(--signal-soft); border-color: rgba(240,184,41,.35); }
.note.warn .lbl { color: var(--signal); }

.list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.list li { font-size: 26px; line-height: 1.4; color: var(--ink-2); padding-left: 30px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 2.5px; background: var(--accent); }
.list li b { color: var(--ink); font-weight: 600; }

/* ---------- таблицы ---------- */
.tbl { border: 1px solid var(--line); border-radius: 16px; background: var(--pane); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
table.t { border-collapse: collapse; width: 100%; font-size: 24px; }
table.t th { text-align: left; font: 600 18px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.05); padding: 13px 22px; border-bottom: 1px solid var(--line-strong); }
table.t td { padding: 12px 22px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.33; }
table.t tr:last-child td { border-bottom: 0; }
table.t td b { color: var(--ink); font-weight: 600; }
table.t td .sub { display: block; font-size: 21px; color: var(--muted); margin-top: 6px; }
table.t td .sub .badge { font-size: 17px; padding: 5px 9px 5px 8px; gap: 7px; }
table.t td .sub .badge::before { width: 8px; height: 8px; }
table.t .eff { color: var(--accent-bright); font-weight: 600; }


/* ---------- шапка слайда ---------- */
.hd { position: absolute; left: 120px; top: 62px; right: 120px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.hd .eyebrow { font-size: 20px; color: var(--accent-bright); }
.hd .lead { font-size: 26px; line-height: 1.38; margin-top: 4px; max-width: none; }
.hd .h2 b { color: var(--accent-bright); font-weight: 600; }

/* ---------- ключевой визуал: тёмные края картинки растворяются в вуали ---------- */
.kv { position: absolute; overflow: hidden; z-index: 1;
  --fx: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); --fy: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: var(--m, var(--fx), var(--fy)); mask-image: var(--m, var(--fx), var(--fy)); -webkit-mask-composite: source-in; mask-composite: intersect; }
.kv img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* кадрирование — только object-position: картинка не выходит за рамку .kv (иначе Chrome ужимает печать A3) */
.kv.img-missing { -webkit-mask-image: none; mask-image: none; border: 1px dashed var(--line-strong); border-radius: 18px; }
.slide.is-active .kv img { animation: kvDrift 14s ease-out both; }
@keyframes kvDrift { from { transform: scale(1.045); } to { transform: scale(1); } }

/* ---------- появление элементов ---------- */
.slide.is-active .rv { animation: rise .75s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms + 180ms); }
/* translate/scale — отдельные свойства: складываются с transform центровки (метки, узлы цикла), а не затирают его */
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.slide.is-active .pin.rv, .slide.is-active .hot.rv { animation-name: pinIn; }
@keyframes pinIn { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
html.still .rv, html.still .kv img { animation: none !important; }

/* ---------- метка на картинке ---------- */
.pin { position: absolute; transform: translate(-50%, -50%); z-index: 4; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 600 20px/1.2 var(--text); color: var(--ink); padding: 9px 16px 9px 13px; border-radius: 999px;
  background: rgba(10, 12, 11, .8); border: 1px solid rgba(118,196,71,.45); box-shadow: 0 8px 26px rgba(0,0,0,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.pin.gold { border-color: rgba(240,184,41,.5); } .pin.gold::before { background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.pin.mag { border-color: rgba(219,51,128,.55); } .pin.mag::before { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.pin small { font-weight: 400; color: var(--ink-2); font-size: 18px; }
/* .ra — метка у правого края: якорь right, сдвиг только по вертикали (рамка не выходит за 1920 до transform) */
.pin.ra { transform: translateY(-50%); }
.pin.big { font: 600 24px/1.2 var(--display); padding: 12px 22px 12px 16px; }

/* ---------- стеклянная карточка ---------- */
.glass { background: rgba(18, 19, 21, .66); border: 1px solid var(--line-strong); border-radius: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.tag { font: 600 17px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag.g { color: var(--accent-bright); } .tag.y { color: var(--signal); }
.eff { color: var(--accent-bright); font-weight: 600; }
.est { font-size: .78em; font-weight: 400; color: var(--muted); white-space: nowrap; }

.chip { font: 500 20px/1 var(--mono); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10,12,11,.6); color: var(--ink); white-space: nowrap; }
.chip.g { border-color: rgba(118,196,71,.5); color: var(--accent-bright); }
.mono-g { font-family: var(--mono); color: var(--accent-bright); }

/* =====================================================================
   Дек «Диспетчер запросов aigets». Визуалы — стиль новостей сайта (стекло и вуаль), img/kv/*.jpg без текста.
   Правила текста — §16 обзора диспетчера: без имён моделей и провайдеров, без узлов серверов; Э5/Э6 — как план.
   Печать A3: рамки абсолютных элементов держим в поле 120 px (x ≤ 1800), метки центрируем margin-left, не transform.
   ===================================================================== */

/* колонка справа от визуала */
.col-r { position: absolute; right: 120px; top: 228px; bottom: 140px; display: flex; flex-direction: column; gap: 12px; z-index: 3; }
.box { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.box .h3 { font-size: 25px; }
.box .p { font-size: 20px; line-height: 1.38; }
.steps-n { list-style: none; display: flex; flex-direction: column; gap: 9px; counter-reset: s; }
.steps-n li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 19px; line-height: 1.34; color: var(--ink-2); }
.steps-n li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-bright); display: grid; place-items: center; font: 600 14px/1 var(--display); margin-top: -2px; }
.steps-n li b { color: var(--ink); }
.live { position: absolute; left: 120px; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-radius: 16px; font-size: 19px; line-height: 1.32; color: var(--ink-2); }
.live .tag { flex: none; }
.live b { color: var(--ink); }
.live .num { font-size: 22px; white-space: nowrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .n { font: 600 40px/1.05 var(--display); color: var(--accent-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .d { font-size: 17px; line-height: 1.3; color: var(--ink-2); }
.honest { border-left: 3px solid var(--signal); padding-left: 14px; font-size: 18px; line-height: 1.36; color: var(--ink-2); }
.honest b { color: var(--signal); }

/* ================= 1. обложка ================= */
#d-cover { padding: 0; }
#d-cover .kv { left: 160px; top: 0; width: 1760px; height: 1080px; --m: linear-gradient(90deg, transparent 0, rgba(0,0,0,.5) 26%, #000 46%); }
#d-cover .kv img { --pos: 0% 50%; }
#d-cover .inner { position: absolute; left: 120px; top: 92px; bottom: 120px; width: 900px; z-index: 3; display: flex; flex-direction: column; }
#d-cover .logo { display: flex; align-items: center; gap: 20px; font-family: var(--display); font-weight: 600; font-size: 42px; color: #fff; }
#d-cover .logo img { width: 78px; height: 78px; }
#d-cover .eyebrow { margin-top: auto; font-size: 21px; color: var(--accent-bright); }
#d-cover .h1 { font-size: 80px; line-height: 1.04; margin-top: 18px; }
#d-cover .slogan { margin-top: 24px; font: 600 34px/1.25 var(--display); color: var(--accent-bright); text-shadow: 0 0 34px rgba(118,196,71,.35); }
#d-cover .lead { margin-top: 24px; font-size: 26px; max-width: 780px; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
#d-cover .stats3 { margin-top: 38px; display: flex; gap: 34px; }
#d-cover .stats3 .d { max-width: 190px; }

/* ================= 2. суть: четыре стадии ================= */
#d-idea .kv { left: 120px; top: 222px; width: 1680px; height: 400px; --pos: 50% 43%; }
.cols4 { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cols4 > * { pointer-events: auto; }
.cols4 .c { position: absolute; top: 636px; width: 340px; margin-left: -170px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.cols4 .c .h3 { font-size: 27px; }
.cols4 .c .p { font-size: 20px; line-height: 1.38; }
#d-idea .base { position: absolute; left: 120px; right: 120px; top: 872px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; z-index: 3; }
#d-idea .base .chip { font: 500 18px/1.2 var(--text); white-space: normal; }
#d-idea .base .chip b { color: var(--accent-bright); }

/* ================= 3. классификация ================= */
#d-class .kv { left: 60px; top: 214px; width: 1250px; height: 600px; --pos: 50% 30%; }
.mark { position: absolute; z-index: 4; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(10,12,11,.85); color: var(--accent-bright); display: grid; place-items: center; font: 600 15px/1 var(--display); }
#d-class .q7 li { font-size: 18px; }
#d-class .stats4 { position: absolute; left: 120px; top: 800px; width: 1150px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; z-index: 3; padding: 18px 22px; }

/* ================= 4. маршрут ================= */
#d-route .kv { left: 0; top: 214px; width: 1160px; height: 652px; --fx: linear-gradient(90deg, #000 0, #000 88%, transparent 100%); }
.kinds { display: flex; flex-direction: column; gap: 6px; }
.kind { display: grid; grid-template-columns: 50px 160px 1fr; gap: 12px; align-items: center; }
.kind img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.kind b { font: 600 21px/1.2 var(--display); color: #fff; }
.kind span { font-size: 17px; line-height: 1.3; color: var(--ink-2); }
.effort { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.effort div { border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.effort div:nth-child(4) { border-color: rgba(118,196,71,.45); background: var(--accent-soft); }
.effort b { font: 600 24px/1.1 var(--display); color: var(--accent-bright); white-space: nowrap; }
.effort span { font-size: 15px; color: var(--ink-2); }

/* ================= 5. четыре модели aigets ================= */
.models { position: absolute; left: 120px; right: 120px; top: 236px; bottom: 236px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; z-index: 3; }
.model { padding: 6px 24px 22px; display: flex; flex-direction: column; gap: 9px; }
.model .ico { width: 230px; height: 256px; object-fit: cover; align-self: center; margin-bottom: -6px; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.model .name { font: 600 22px/1.2 var(--mono); color: var(--accent-bright); }
.model .h3 { font-size: 26px; }
.model .p { font-size: 20px; line-height: 1.4; }
.model dl { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.model dt { color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding-top: 2px; }
.model dd { color: var(--ink); }
#d-models .under { position: absolute; left: 120px; right: 120px; top: 866px; display: flex; gap: 12px; z-index: 3; flex-wrap: wrap; }
#d-models .under .chip { font: 500 18px/1.2 var(--text); white-space: normal; }
#d-models .under .chip b { color: var(--accent-bright); }

/* ================= 6. проверка ================= */
#d-check .kv { left: 40px; top: 214px; width: 1170px; height: 640px; --pos: 50% 55%; }
/* ================= 7. исследование ================= */
#d-research .kv { left: 40px; top: 214px; width: 1210px; height: 650px; --pos: 50% 40%; }
#d-research .big { font: 600 50px/1 var(--display); color: var(--accent-bright); }
/* ================= 8. деньги ================= */
#d-money .kv { left: 40px; top: 214px; width: 1060px; height: 520px; --pos: 50% 35%; }
.runs { position: absolute; left: 120px; top: 742px; width: 980px; z-index: 3; padding: 14px 20px; }
.runs table { width: 100%; border-collapse: collapse; font-size: 18px; }
.runs th { text-align: left; font: 600 14px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0 8px 7px; border-bottom: 1px solid var(--line-strong); }
.runs td { padding: 7px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; line-height: 1.3; }
.runs tr:last-child td { border-bottom: 0; }
.runs td.n { font-family: var(--display); font-weight: 600; color: var(--accent-bright); white-space: nowrap; text-align: right; }
.runs td.t { white-space: nowrap; text-align: right; }
.runs td b { color: var(--ink); }
.ceil4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ceil4 div { border-radius: 14px; padding: 10px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.ceil4 b { display: block; font: 600 26px/1.1 var(--display); color: var(--accent-bright); }
.ceil4 span { font-size: 16px; color: var(--ink-2); }
/* ================= 9. надёжность ================= */
#d-reliab .kv { left: 0; top: 214px; width: 1110px; height: 600px; --fx: linear-gradient(90deg, #000 0, #000 86%, transparent 100%); --pos: 50% 45%; }
.inc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; font-size: 17px; line-height: 1.32; }
.inc > * { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.inc > :nth-last-child(-n+2) { border-bottom: 0; }
.inc .w { color: var(--ink); font-weight: 600; }
.inc .a { color: var(--ink-2); }
/* ================= 10. данные ================= */
#d-data .kv { left: 0; top: 214px; width: 1160px; height: 652px; --fx: linear-gradient(90deg, #000 0, #000 86%, transparent 100%); }
.prot { display: grid; grid-template-columns: 1fr; gap: 8px; }
.prot div { display: grid; grid-template-columns: 14px 1fr; gap: 2px 12px; }
.prot i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 8px; box-shadow: 0 0 8px var(--accent); }
.prot b { font: 600 19px/1.25 var(--display); color: #fff; }
.prot span { font-size: 16.5px; line-height: 1.32; color: var(--ink-2); }
/* ================= 11. случаи ================= */
.cases { position: absolute; left: 120px; right: 120px; top: 230px; bottom: 140px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; z-index: 3; }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case .pic { height: 300px; position: relative; overflow: hidden; }
.case .pic img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.case .body { padding: 6px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case .who { font: 600 15px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--accent-bright); }
.case .q { font: 600 22px/1.25 var(--display); color: #fff; }
.case .m { font: 500 17px/1.2 var(--mono); color: var(--signal); }
.case .p { font-size: 19px; line-height: 1.38; }
.case .res { margin-top: auto; display: flex; gap: 18px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.case .res .n { font: 600 30px/1 var(--display); color: var(--accent-bright); white-space: nowrap; }
.case .res span { font-size: 16px; color: var(--ink-2); }
/* ================= 12. где внедрить ================= */
#d-where .kv { left: 40px; top: 214px; width: 1160px; height: 652px; }
.map6 { display: flex; flex-direction: column; gap: 0; }
.map6 > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 11px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.map6 > div:last-child { border-bottom: 0; }
.map6 b { font: 600 19px/1.25 var(--display); color: #fff; }
.map6 code { font: 600 17px/1.3 var(--mono); color: var(--accent-bright); white-space: nowrap; }
.map6 span { grid-column: 1 / -1; font-size: 16.5px; line-height: 1.32; color: var(--ink-2); }
/* ================= 13. подключение ================= */
#d-api .kv { left: 1010px; top: 214px; width: 790px; height: 444px; --pos: 40% 50%; }
.code { position: absolute; left: 120px; top: 232px; width: 860px; z-index: 3; padding: 20px 24px; font: 500 18px/1.5 var(--mono); color: var(--ink-2); white-space: pre; }
.code .k { color: var(--signal); } .code .s { color: var(--accent-bright); } .code .c { color: var(--muted); }
.feed { position: absolute; left: 120px; top: 664px; width: 860px; z-index: 3; padding: 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.feed .line { font: 500 18px/1.3 var(--mono); color: var(--ink); display: flex; gap: 10px; }
.feed .line::before { content: "›"; color: var(--accent-bright); }
#d-api .start { position: absolute; left: 1030px; right: 120px; top: 676px; z-index: 3; padding: 16px 22px; }
/* ================= 14. дорожная карта ================= */
#d-road .kv { left: 120px; top: 214px; width: 1680px; height: 470px; --pos: 50% 34.5%; }
.stage3 .s { position: absolute; top: 696px; width: 470px; margin-left: -235px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.stage3 .s .when { font: 600 17px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.stage3 .s .h3 { font-size: 30px; }
.stage3 .s .p { font-size: 20.5px; line-height: 1.4; }
.stage3 .s.g .when { color: var(--accent-bright); } .stage3 .s.y .when { color: var(--signal); } .stage3 .s.m .when { color: var(--magenta); }
.stage3 { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
/* ================= 15. финал ================= */
#d-next { padding: 0; }
#d-next .kv { left: 200px; top: 0; width: 1720px; height: 1080px; --m: linear-gradient(90deg, transparent 0, #000 22%); --pos: 0% 50%; }
#d-next .shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(20,20,22,.94) 0, rgba(20,20,22,.8) 34%, rgba(20,20,22,0) 58%); pointer-events: none; }
#d-next .inner { position: absolute; left: 120px; top: 92px; bottom: 132px; width: 860px; z-index: 3; display: flex; flex-direction: column; gap: 22px; }
#d-next .h1 { font-size: 74px; }
#d-next .slogan { font: 600 30px/1.3 var(--display); color: var(--accent-bright); text-shadow: 0 0 30px rgba(118,196,71,.35); max-width: 800px; }
#d-next .steps-n li { font-size: 24px; }
#d-next .steps-n li::before { width: 38px; height: 38px; font-size: 17px; }
#d-next .steps-n li { grid-template-columns: 44px 1fr; }
#d-next .contact { margin-top: auto; display: flex; align-items: center; gap: 24px; }
#d-next .contact img { width: 88px; height: 88px; }
#d-next .contact .site { font-family: var(--display); font-weight: 600; font-size: 44px; color: var(--accent-bright); text-shadow: 0 0 30px rgba(118,196,71,.35); }
#d-next .contact .contact-lines { font-size: 23px; color: var(--ink-2); margin-top: 6px; }

/* ---------- печать: A3 альбомный, рамка листа; фон — статичный кадр вуали ---------- */
.print-note { display: none; }
@page { size: 420mm 297mm; margin: 0; }
@media print {
  html, body { background: var(--bg); overflow: visible; height: auto; }
  #veil, .hud, .nav-hit { display: none !important; }
  .viewport { position: static; display: block; overflow: visible; }
  .deck { position: static; width: auto; height: auto; transform: none !important; }
  .ctrl, .mhead { display: none !important; }
  .sheet-a3 { display: block; position: relative; width: 420mm; height: 297mm; page-break-after: always; break-after: page; overflow: hidden; background: var(--bg);
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet-a3::before { content: ""; position: absolute; left: 20mm; top: 5mm; right: 5mm; bottom: 5mm; border: .5mm solid var(--line-strong); }
  .sheet-a3 .slot { display: block; position: absolute; left: 22.5mm; top: 7.5mm; width: 390mm; height: 219.375mm; overflow: hidden; }
  .sheet-a3 .slide { position: absolute; left: 0; top: 0; opacity: 1 !important; visibility: visible !important; transform: scale(0.767717); transform-origin: 0 0;
    background-color: var(--bg) !important; background-image: var(--veil-still) !important; background-size: cover !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; transition: none !important; }
  .sheet-a3 .print-note { display: block; position: absolute; left: 24mm; right: 9mm; top: 231mm; bottom: 9mm; border-top: .35mm solid var(--line-strong); padding-top: 5mm;
    font-size: 14pt; line-height: 1.5; color: var(--ink-2); max-width: 330mm; }
  .sheet-a3 .print-note b { color: var(--accent-bright); font-weight: 600; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cells > *, .note, .stamp, .panel, .glass, .pin, .hot, .chip { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- телефон вертикально: слайды лентой, под каждым — пояснение крупным текстом ---------- */
@media screen {
  body.scroll { overflow-x: hidden; overflow-y: auto; height: auto; background: var(--bg); }
  body.scroll #veil { position: absolute; height: 100%; }
  body.scroll .viewport { position: static; display: block; overflow: visible; }
  body.scroll .deck { position: static; transform: none !important; width: 100%; height: auto; }
  body.scroll .sheet-a3 { display: block; border-bottom: 1px solid var(--line); }
  body.scroll .slot { display: block; position: relative; width: 100%; height: calc(var(--k, .2) * 1080px); overflow: hidden; }
  body.scroll .slide { position: absolute; left: 0; top: 0; transform: scale(var(--k, .2)); transform-origin: 0 0; opacity: 1; visibility: visible; transition: none; }
  body.scroll .print-note { display: block; padding: 14px 18px 26px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
  body.scroll .print-note b { color: var(--accent-bright); font-weight: 600; }
  body.scroll .hud, body.scroll .ctrl, body.scroll .nav-hit { display: none; }
  body.scroll .mhead { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(20,20,22,.94); }
  body.scroll .mhead img { width: 34px; height: 34px; }
  body.scroll .mhead b { font-family: var(--display); font-weight: 600; font-size: 17px; display: block; }
  body.scroll .mhead span { font-size: 13px; color: var(--muted); }
