/* benevsky.work 2.0 — сайт Benevsky IT Hub в фирменном стиле benevsky.ai 3.0 и benevsky.tech 2.0:
   рендер-сцены, Inter 500 с трекингом −0.038em, капсула JetBrains Mono, стеклянная плашка, полосы «KEY → VALUE».
   Токены и базовые компоненты взяты из benevsky.tech 2.0/src/styles.css без изменений. */

@font-face { font-family: "InterVar"; src: url("/fonts/inter-latin.ttf") format("truetype"); 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "InterVar"; src: url("/fonts/inter-cyrillic.ttf") format("truetype"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "JBMono"; src: url("/fonts/jetbrains-mono-latin.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+2212; }
@font-face { font-family: "JBMono"; src: url("/fonts/jetbrains-mono-cyrillic.ttf") format("truetype"); font-weight: 500; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F; }

/* ── токены ── */
:root {
  --page: #efefec;
  --surface: #ffffff;
  --surface-2: #f6f6f4;
  --ink: #0a0a0a;
  --muted: #5b5b5b;
  --hair: rgba(59, 59, 59, 0.12);
  --rule: rgba(59, 59, 59, 0.22);
  --hot: #c43100;
  --hot-ink: #c43100;
  --hot-wash: #fbf0ec;
  --on-hot: #ffffff;
  --field: #dfe2e7;
  --hero-image: url("/img/hero-render-light.jpg");
  --pill-bg: rgba(255, 255, 255, 0.5);
  --pill-glow: inset 0 0 36px 0 #ffffff;
  --scrim: rgba(11, 11, 12, 0.55);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow: 0 10px 40px rgba(20, 20, 30, 0.08);
  --tick: rgba(59, 59, 59, 0.16);
  --ok: #13865a;
  --lift: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 24px 48px -16px rgba(20, 20, 40, 0.22), 0 2px 6px rgba(20, 20, 40, 0.06);
  --lift-sm: 0 1px 2px rgba(20, 20, 40, 0.06), 0 6px 14px -6px rgba(20, 20, 40, 0.14);
  --font: "InterVar", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JBMono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: 32px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #08080a;
  --surface: #121215;
  --surface-2: #17171a;
  --ink: #f4f4f6;
  --muted: #9b9ba3;
  --hair: rgba(255, 255, 255, 0.1);
  --rule: rgba(255, 255, 255, 0.16);
  --hot: #4a5fd8;
  --hot-ink: #9fb2ee;
  --hot-wash: #121831;
  --field: #0b0b0c;
  --hero-image: url("/img/hero-render-dark.jpg");
  --pill-bg: rgba(8, 8, 10, 0.82);
  --pill-glow: inset 0 0 36px 0 rgba(255, 255, 255, 0.14);
  --glass: rgba(16, 16, 20, 0.62);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --tick: rgba(255, 255, 255, 0.12);
  --ok: #4ade80;
  --lift: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 28px 56px -16px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.4);
  --lift-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 18px -8px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ── база ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
main { overflow-x: clip; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--hot-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hot); color: var(--on-hot); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--page); text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hot { color: var(--hot-ink); }
.muted { color: var(--muted); }
.mark { font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.mark-lc { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; line-height: 1.5; }
.pill { border-radius: 100px; background: var(--pill-bg); box-shadow: var(--pill-glow); -webkit-backdrop-filter: blur(44px); backdrop-filter: blur(44px); }

/* ── кнопки ── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 100px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ink:hover { background: var(--hot); color: var(--on-hot); }
.btn-ink::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent); transform: skewX(-18deg);
}
.btn-ink:hover::after { left: 130%; transition: left 0.9s var(--ease); }
.btn-glass { background: var(--pill-bg); box-shadow: var(--pill-glow); border-color: var(--hair); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.btn-glass:hover { border-color: var(--hot-ink); color: var(--hot-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover, .btn-glass:hover { transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--hot) 22%, transparent); }
}
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto;
  border: 0; border-radius: 100px; background: transparent; cursor: pointer; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--hair); }

/* ── шапка ── */
.hdr { position: fixed; inset: 16px 0 auto 0; z-index: 50; pointer-events: none; }
.hdr-bar {
  pointer-events: auto; position: relative;
  max-width: min(1120px, calc(100% - 32px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 6px 6px 8px; transition: box-shadow 0.4s var(--ease);
}
.hdr.is-scrolled .hdr-bar { box-shadow: var(--pill-glow), var(--shadow); }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.hdr-nav { position: relative; isolation: isolate; display: flex; gap: 2px; }
.nav-item {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-item:hover, .nav-item.is-here { color: var(--ink); }
.nav-pill { position: absolute; left: 0; top: 0; z-index: -1; height: 40px; border-radius: 100px; background: var(--hair); opacity: 0; transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s var(--ease); }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-menu { display: none; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
.hdr-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--hot); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ── сцены: первый экран, вывод, финал ── */
.hero, .final, .verdict { padding: 16px; }
.scene {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 32px); border-radius: 40px; background: var(--field);
  display: flex; flex-direction: column;
}
/* Плавность (25.11.2026): параллакс при прокрутке и «дыхание» картинки разнесены по двум слоям.
   Раньше --shift из app.js стоял внутри ключевых кадров breathe, и каждый кадр прокрутки браузер пересобирал анимацию
   (в Safari — заново отдавал её композитору). Теперь .scene-bg только сдвигается (--shift или прокрутка в CSS ниже),
   а картинка с «дыханием» — в ::before. Итоговое движение то же: сдвиг · дыхание. */
.scene-bg {
  position: absolute; inset: -6%; z-index: -1;
  transform: translate3d(0, var(--shift, 0px), 0);
}
.scene-bg::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-image) 70% 50% / cover no-repeat;
  transform: scale(1.02);
  animation: breatheIn 22s ease-in-out infinite alternate;
}
.scene-verdict .scene-bg::before { background-position: 20% 50%; transform: scaleX(-1); animation: none; }
.scene-final .scene-bg::before { background-position: 40% 60%; }
@keyframes breatheIn {
  from { transform: scale(1.02); }
  to { transform: translate3d(-1.5%, 0, 0) scale(1.07); }
}
@keyframes breathe {
  from { transform: translate3d(0, var(--shift, 0px), 0) scale(1.02); }
  to { transform: translate3d(-1.5%, var(--shift, 0px), 0) scale(1.07); }
}
.hero-body, .final-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 130px 24px 40px;
}
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; max-width: 100%; }
.hero-pill .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
.hero-h1 { margin-top: 28px; font-size: clamp(42px, min(7.2vw, 11svh), 108px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.hero-lede {
  margin-top: 28px; max-width: 760px; text-wrap: pretty;
  padding: 14px 24px; border-radius: 20px; background: var(--scrim); color: #ffffff;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; letter-spacing: -0.01em;
}
.hero-lede strong { font-weight: 600; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* лента: что разрабатываем — коротко */
.ribbon {
  margin-top: 30px; width: min(1000px, 100%); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ribbon-track { display: flex; gap: 8px; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 100px;
  background: var(--pill-bg); box-shadow: var(--pill-glow); border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
}
@keyframes ribbon { to { transform: translateX(calc(-50% - 4px)); } }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 32px 28px; border-top: 1px solid var(--rule); }
.hero-facts > div { padding: 18px 14px 4px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hero-facts > div + div { border-left: 1px solid var(--hair); }
.hero-facts .num { font-size: clamp(30px, 3vw, 44px); }
.hero-facts dd { color: var(--muted); }
.num { font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease); }

/* ── секции ── */
.sec { padding: 150px 0 20px; }
.sec-head { max-width: 1120px; margin-bottom: 56px; }
.band { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 16px; max-width: 900px; color: var(--muted); }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rule); transform-origin: 0 50%; transition: transform 1.3s var(--ease) 0.1s; }
.js .sec-head:not(.is-in) .band::before { transform: scaleX(0); }
.band .mark:first-child { color: var(--hot-ink); }
.arrow { font-family: var(--mono); color: var(--hot-ink); font-size: 14px; line-height: 1; transition: opacity 0.8s var(--ease) 0.35s, transform 0.8s var(--ease) 0.35s; }
.js .sec-head:not(.is-in) .arrow { opacity: 0; transform: translateX(-10px); }
.h2 { margin-top: 28px; font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -0.038em; text-wrap: balance; }
.h2 em, .final-h2 em { font-style: normal; color: var(--hot-ink); }
.lead { margin-top: 24px; max-width: 800px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; letter-spacing: -0.012em; color: var(--muted); }
.lead strong { color: var(--ink); font-weight: 500; }

.plate { position: relative; background: var(--surface); border: 1px solid var(--hair); border-radius: 32px; box-shadow: var(--shadow); padding: 28px; }
.kicker { color: var(--muted); }

.status { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--hair); color: var(--muted); }
.status .mark { font-size: 10.5px; letter-spacing: 0.1em; }
.status.is-live { background: var(--hot-wash); border-color: transparent; color: var(--hot-ink); }
.status.is-partner { background: var(--hot); border-color: transparent; color: var(--on-hot); padding: 6px 13px; }
.dot-s { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.live { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 100px;
  border: 1px solid var(--hair); background: var(--surface-2);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted);
}
.ext {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 100px;
  border: 1px solid var(--rule); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.ext span { color: var(--hot-ink); transition: transform 0.3s var(--ease); }
.ext:hover { border-color: var(--hot-ink); color: var(--hot-ink); }
.ext:hover span { transform: translateX(3px); }

.thesis { display: grid; gap: 9px; }
.thesis li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.thesis li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 9px; height: 1.5px; border-radius: 1px; background: var(--hot-ink); }
.thesis b, .thesis strong { color: var(--ink); font-weight: 600; }

/* ── 01 · проекты ── */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.projects > li { display: flex; }
.proj {
  position: relative; flex: 1; display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 28px; overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease);
}
.proj-cover {
  position: relative; margin: 10px; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--hair); container-type: size;
}
.proj-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.8s var(--ease); }
.proj-cover.is-logo { background: var(--logo-bg, #0a0a0a); display: grid; place-items: center; }
.proj-cover.is-logo img { width: 46%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 14px; }
.proj-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 10px 22px 22px; }
.proj-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.1em; }
.proj-meta span:first-child { color: var(--hot-ink); }
.proj h3 { font-size: clamp(24px, 2vw, 28px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; transition: color 0.3s var(--ease); }
.proj-thesis { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--hot-ink); }
.proj-line { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.proj-body .proj-line b { color: var(--ink); font-weight: 600; }
.proj-line.muted { color: var(--muted); opacity: 1; }
.proj .tags { margin-top: 2px; }
.proj .status { margin-top: auto; align-self: flex-start; }
.proj .tags + .status { margin-top: auto; }
.proj-body > .status { margin-top: auto; }
.proj-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.proj-foot .status { margin-top: 0; }
.proj-body .tags { margin-bottom: 6px; }
@media (hover: hover) and (pointer: fine) {
  .proj:hover { border-color: color-mix(in srgb, var(--hot) 40%, transparent); box-shadow: 0 16px 36px rgba(20, 20, 30, 0.08); translate: 0 -3px; }
  .proj:hover h3 { color: var(--hot-ink); }
  .proj:hover .proj-cover img { transform: scale(1.03); }
}
.projects-more { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.projects-more p { font-size: 18px; letter-spacing: -0.012em; color: var(--muted); }
.projects-more strong { color: var(--ink); font-weight: 500; }

/* ── 02 · что разрабатываем: пять карточек, у каждой свой визуал ── */
.bds { display: grid; gap: 16px; }
.bd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; padding: 36px; align-items: center; }
.bd:nth-child(even) .bd-text { order: 2; }
.bd-h { margin-top: 16px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.bd-pain { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.bd .thesis { margin-top: 20px; }
.bd-res { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.018em; line-height: 1.35; }

/* сцена визуала: мягкий свет, сетка точек, стеклянные окна */
.viz {
  position: relative; isolation: isolate; overflow: hidden; min-height: 470px; border-radius: 24px; border: 1px solid var(--hair);
  background:
    radial-gradient(90% 70% at 88% 0%, color-mix(in srgb, var(--hot) 18%, transparent), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--hot) 10%, transparent), transparent 60%),
    var(--surface-2);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 40%, transparent);
  display: grid; place-items: center; padding: 34px 26px 44px;
}
.viz::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--tick) 1px, transparent 1.3px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 45%, #000, transparent);
}
.viz::after {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hot) 16%, transparent), transparent 65%);
  filter: blur(30px); animation: vizBreath 9s ease-in-out infinite alternate;
}
@keyframes vizBreath { from { transform: translate(-6%, 4%) scale(0.92); } to { transform: translate(8%, -6%) scale(1.08); } }
.v-cap { position: absolute; right: 16px; bottom: 12px; font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); opacity: 0.75; }
.gl, .ai-win, .kb-win, .db-win, .tm-win {
  background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--hair); border-radius: 18px; box-shadow: var(--lift); overflow: hidden;
}
@keyframes aiIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes vBlink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85); } }

/* 01 · ИИ на данных компании: источники, провода, чат */
.viz-ai { grid-template-columns: 148px minmax(0, 1fr); gap: 44px; align-items: center; justify-items: stretch; }
.ai-src { position: relative; z-index: 2; display: grid; gap: 10px; }
.ai-src li {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.ai-src li.is-on { border-color: color-mix(in srgb, var(--hot) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hot) 14%, transparent), var(--lift-sm); transform: translateX(4px); }
.ai-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); font-family: var(--mono); font-size: 10px; font-weight: 500; transition: background-color 0.35s, color 0.35s; }
.ai-src li.is-on .ai-ic { background: var(--hot); border-color: transparent; color: var(--on-hot); }
.ai-src b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.ai-src i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.ai-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.ai-wires path { fill: none; stroke: var(--rule); stroke-width: 1.2; stroke-dasharray: 3 4; transition: stroke 0.3s; }
.ai-wires path.is-on { stroke: color-mix(in srgb, var(--hot) 70%, transparent); stroke-dasharray: none; stroke-width: 1.6; }
.ai-wires circle { fill: var(--hot); }
.ai-wires circle.halo { fill: color-mix(in srgb, var(--hot) 30%, transparent); }
.ai-win { position: relative; z-index: 2; width: 100%; max-width: 420px; justify-self: end; display: flex; flex-direction: column; }
.ai-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.ai-ava { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; background: linear-gradient(135deg, var(--hot), color-mix(in srgb, var(--hot) 55%, #000)); box-shadow: 0 6px 14px color-mix(in srgb, var(--hot) 35%, transparent); }
.ai-title b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.ai-state { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; color: var(--muted); }
.ai-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ai-state.is-busy::before { background: var(--hot); animation: live 1.2s ease-out infinite; }
.ai-lock { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
.ai-msgs { height: 250px; padding: 14px 14px 4px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; transition: opacity 0.4s; }
.ai-msgs.is-out { opacity: 0; }
.ai-q { align-self: flex-end; max-width: 84%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--page); font-size: 13.5px; line-height: 1.4; animation: aiIn 0.45s var(--ease) both; }
.ai-a { align-self: flex-start; max-width: 94%; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 13.5px; line-height: 1.45; animation: aiIn 0.45s var(--ease) both; }
.ai-think { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.ai-think b { font-weight: 500; background: linear-gradient(90deg, var(--muted) 20%, var(--ink) 50%, var(--muted) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.ai-dots { display: inline-flex; gap: 3px; }
.ai-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--hot); animation: dots 1s ease-in-out infinite; }
.ai-dots i:nth-child(2) { animation-delay: 0.15s; } .ai-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.ai-opts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-opts span { padding: 6px 11px; border-radius: 100px; border: 1px solid var(--hot-ink); color: var(--hot-ink); font-size: 12px; font-weight: 500; animation: popIn 0.35s var(--ease) both; }
.ai-opts span:first-child { background: var(--hot); border-color: var(--hot); color: var(--on-hot); }
.ai-opts span:nth-child(2) { animation-delay: 0.12s; }
.ai-cite { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.ai-cite i { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.03em; padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); animation: popIn 0.35s var(--ease) 0.25s both; }
.ai-input { margin: 8px 12px 12px; display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 14px; border-radius: 100px; border: 1px solid var(--hair); background: var(--surface-2); font-size: 13px; color: var(--muted); min-width: 0; }
.ai-typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-input.is-typing .ai-typed { color: var(--ink); }
.ai-caret { width: 1.5px; height: 15px; background: var(--hot); opacity: 0; }
.ai-input.is-typing .ai-caret { opacity: 1; animation: vBlink 1s steps(1) infinite; }
.ai-send { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font-weight: 500; transition: transform 0.2s var(--ease), background-color 0.2s; }
.ai-send.is-press { transform: scale(0.82); background: var(--hot); }

@keyframes moBump { 40% { transform: scale(1.35); } }

/* 02 · приложение: три плоских экрана — каталог, корзина, заказ — сменяются каруселью */
.viz-app { min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-top: 26px; perspective: 1200px; }
.mo-stage { position: relative; width: 100%; height: 312px; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform 0.8s var(--ease); }
.mo-scr {
  position: absolute; left: 50%; top: 0; width: 188px; height: 312px; margin-left: -94px;
  display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; border-radius: 24px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--hair); box-shadow: var(--lift);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform 0.85s var(--ease), opacity 0.85s var(--ease), filter 0.85s var(--ease);
}
.mo-scr.is-c { z-index: 3; transform: translate3d(0, 0, 40px); }
.mo-scr.is-l { z-index: 1; transform: translate3d(-76%, 16px, -40px) scale(0.86) rotateY(18deg); opacity: 0.55; filter: saturate(0.7); }
.mo-scr.is-r { z-index: 1; transform: translate3d(76%, 16px, -40px) scale(0.86) rotateY(-18deg); opacity: 0.55; filter: saturate(0.7); }
.mo-h { display: flex; justify-content: space-between; align-items: center; }
.mo-h i { display: block; font-style: normal; font-size: 9.5px; color: var(--muted); }
.mo-h b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.mo-cart { position: relative; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s; }
.mo-cart.is-press { transform: scale(0.86); background: var(--hot-wash); color: var(--hot-ink); }
.mo-badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; background: var(--hot); color: var(--on-hot); font-style: normal; font-size: 9.5px; font-weight: 600; transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); box-shadow: 0 0 0 2px var(--surface); }
.mo-badge.is-on { transform: scale(1); }
.mo-badge.is-bump { animation: moBump 0.45s var(--ease); }
.mo-search { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 10px; color: var(--muted); white-space: nowrap; }
.mo-chips { display: flex; gap: 5px; }
.mo-chips span { padding: 4px 8px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 9.5px; font-weight: 500; }
.mo-chips .is-on { background: var(--ink); color: var(--page); border-color: transparent; }
.mo-list, .mo-lines { display: grid; gap: 6px; }
.mo-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); transition: border-color 0.3s, box-shadow 0.3s; }
.mo-list li.is-added { border-color: color-mix(in srgb, var(--hot) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 12%, transparent); }
.mo-list .mo-th { grid-row: span 2; }
.mo-list .mo-nm { grid-column: 2; display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.mo-list .mo-nm i { display: none; }
.mo-list em, .mo-lines .mo-nm i, .mo-sum dd { white-space: nowrap; }
.mo-list em { grid-column: 2; font-style: normal; font-size: 10px; font-weight: 600; }
.mo-nm b { font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-nm i { flex: none; font-style: normal; font-size: 9px; color: var(--muted); }
.mo-add { grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font-size: 13px; line-height: 1; transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s; }
.mo-add.is-press { transform: scale(0.78); background: var(--hot); color: var(--on-hot); }
.mo-th { width: 30px; height: 30px; border-radius: 9px; }
.mo-th.t1 { background: radial-gradient(circle at 50% 54%, #f6e8d6 0 22%, #b9804f 24% 46%, transparent 48%), linear-gradient(140deg, #f5e6d6, #e3c4a2); }
.mo-th.t2 { background: radial-gradient(ellipse 62% 34% at 50% 56%, #e09445 0 80%, transparent 84%), linear-gradient(140deg, #fcebc9, #f3cf8b); }
.mo-th.t3 { background: radial-gradient(circle at 40% 44%, #ff6b5b 0 9%, transparent 10%), radial-gradient(circle at 60% 60%, #ffd24d 0 8%, transparent 9%), radial-gradient(circle at 50% 52%, #86c95f 0 36%, transparent 38%), linear-gradient(140deg, #e4f3d8, #c2e2ab); }
.mo-th.t4 { background: linear-gradient(90deg, transparent 38%, #ff9a3c 38% 62%, transparent 62%) 50% 80% / 100% 58% no-repeat, linear-gradient(140deg, #ffe7cf, #ffc58b); }
.mo-lines li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); }
.mo-lines .mo-nm { display: flex; flex-direction: column; }
.mo-lines .mo-nm i { font-size: 9.5px; }
.mo-qty { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; white-space: nowrap; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); font-size: 10px; font-weight: 600; }
.mo-qty i { font-style: normal; color: var(--muted); }
.mo-scr.s2.is-c .mo-lines li { animation: aiIn 0.5s var(--ease) both; }
.mo-scr.s2.is-c .mo-lines li:nth-child(2) { animation-delay: 0.12s; }
.mo-sum { margin-top: auto; display: grid; gap: 5px; padding-top: 9px; border-top: 1px dashed var(--rule); }
.mo-sum div { display: flex; justify-content: space-between; font-size: 10.5px; }
.mo-sum dt { color: var(--muted); }
.mo-sum dd { font-weight: 600; }
.mo-sum .is-bonus dt, .mo-sum .is-bonus dd { color: var(--hot-ink); }
.mo-pay { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 13px; background: var(--hot); color: var(--on-hot); font-size: 11.5px; font-weight: 600; transition: transform 0.2s var(--ease); }
.mo-pay.is-press { transform: scale(0.95); }
.mo-pay span, .mo-pay b { transition: opacity 0.2s; }
.mo-spin { position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; opacity: 0; animation: spin 0.8s linear infinite; }
.mo-pay.is-busy .mo-pay-t, .mo-pay.is-busy b { opacity: 0; }
.mo-pay.is-busy .mo-spin { opacity: 1; }
.mo-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.mo-check circle, .mo-check path { fill: none; stroke: var(--hot); stroke-linecap: round; stroke-linejoin: round; }
.mo-check circle { stroke-width: 4; stroke-dasharray: 214; stroke-dashoffset: 214; }
.mo-check path { stroke-width: 5; stroke-dasharray: 50; stroke-dashoffset: 50; }
.viz-app.is-done .mo-check circle, .js .viz-app:not(.is-live) .mo-check circle { stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s var(--ease) 0.2s; }
.viz-app.is-done .mo-check path, .js .viz-app:not(.is-live) .mo-check path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s var(--ease) 0.8s; }
.mo-done b { margin-top: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.mo-done > i { font-style: normal; font-size: 10px; color: var(--muted); }
.mo-track { width: 100%; margin-top: 12px; display: flex; gap: 4px; }
.mo-track li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: var(--muted); transition: color 0.4s; }
.mo-track span { width: 100%; height: 3px; border-radius: 2px; background: var(--hair); transition: background-color 0.5s; }
.mo-track li.is-on { color: var(--ink); }
.mo-track li.is-on span { background: var(--hot); }
.mo-coin { margin-top: 12px; padding: 5px 10px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); font-size: 10.5px; font-weight: 600; }
.mo-tap { position: absolute; z-index: 9; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none; background: color-mix(in srgb, var(--hot) 22%, transparent); border: 2px solid var(--hot); opacity: 0; transition: left 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s; }
.mo-tap.is-on { opacity: 1; }
.mo-tap.is-press { animation: moPress 0.35s var(--ease); }
@keyframes moPress { 50% { transform: scale(0.65); } }
.mo-dot { position: absolute; z-index: 8; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; background: var(--hot); box-shadow: 0 0 12px var(--hot); transition: left 0.55s cubic-bezier(0.5, -0.2, 0.5, 1), top 0.55s cubic-bezier(0.4, 0.3, 0.6, 1.2), opacity 0.3s; }
.mo-sync { position: absolute; z-index: 6; right: 16px; bottom: 46px; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift); font-size: 11px; line-height: 1.3; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.viz-app.is-synced .mo-sync { opacity: 1; transform: none; }
.mo-sync-ic { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: var(--page); font-family: var(--mono); font-size: 10px; }
.mo-sync b { display: block; font-weight: 600; }
.mo-sync i { font-style: normal; font-size: 10px; color: var(--muted); }
.mo-sync em { margin-left: 4px; font-style: normal; font-weight: 700; color: var(--ok); }
.mo-plat { display: flex; gap: 6px; }
.mo-plat li { padding: 4px 10px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.mo-plat li.is-on { border-color: var(--hot-ink); color: var(--hot-ink); }
.mo-plat li.is-code { background: var(--hot); border-color: transparent; color: var(--on-hot); }


/* 03 · платформа: доска заявок, курсор участника, журнал */
.viz-plat { padding: 28px 18px 44px; }
.kb-win { width: 100%; max-width: 520px; }
.kb-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--hair); }
.kb-bar > b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.kb-search { flex: 1; max-width: 170px; padding: 5px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.kb-team { margin-left: auto; display: flex; padding-left: 6px; }
.kb-team li { position: relative; width: 27px; height: 27px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--surface); font-size: 10.5px; font-weight: 600; transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s; }
.kb-team li.is-on { z-index: 1; background: var(--hot); color: var(--on-hot); transform: translateY(-2px) scale(1.12); }
.kb-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.kb-col { padding: 8px; border-radius: 14px; background: var(--surface-2); height: 236px; overflow: hidden; transition: background-color 0.3s, box-shadow 0.3s; }
.kb-col.is-target { background: color-mix(in srgb, var(--hot) 7%, var(--surface-2)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hot) 45%, transparent); }
.kb-col header { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 2px 3px 8px; font-size: 11px; }
.kb-col header b { font-weight: 600; white-space: nowrap; }
.kb-col header em { font-style: normal; font-family: var(--mono); font-size: 10px; padding: 1px 6px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); }
.kb-cards { display: grid; gap: 6px; }
.kb-card { display: flex; flex-direction: column; gap: 5px; padding: 8px 9px; border-radius: 11px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 10.5px; transition: transform 0.3s var(--ease), box-shadow 0.3s, opacity 0.4s; }
.kb-card p { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.kb-card p b { font-family: var(--mono); font-size: 10px; font-weight: 500; }
.kb-tag { padding: 1px 6px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--hair); color: var(--muted); font-size: 9px; white-space: nowrap; }
.kb-card > i { font-style: normal; font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.kb-card footer { display: flex; justify-content: space-between; align-items: center; }
.kb-av { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); font-size: 8.5px; font-weight: 600; }
.kb-card time { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.kb-card.is-main { border-color: color-mix(in srgb, var(--hot) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 12%, transparent), var(--lift-sm); }
.kb-card.is-main .kb-tag { background: var(--hot-wash); border-color: transparent; color: var(--hot-ink); }
.kb-card.is-hidden { opacity: 0; }
.kb-ghost { position: absolute; z-index: 8; margin: 0; pointer-events: none; transform: rotate(-3deg) scale(1.05); box-shadow: 0 22px 40px rgba(0, 0, 0, 0.25), 0 0 0 3px color-mix(in srgb, var(--hot) 14%, transparent); transition: left 0.75s var(--ease), top 0.75s var(--ease), transform 0.3s var(--ease); }
.kb-ghost.is-drop { transform: none; }
.kb-feed { display: grid; grid-template-rows: 32px 32px; gap: 5px; height: 81px; padding: 0 12px 12px; box-sizing: content-box; overflow: hidden; }
.kb-feed li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); font-size: 11px; line-height: 1.3; animation: aiIn 0.45s var(--ease) both; }
.kb-feed li b { font-weight: 600; }
.kb-feed li time { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--muted); }
.kb-feed li .kb-av.is-hot { background: var(--hot); color: var(--on-hot); border-color: transparent; }
.kb-cursor { position: absolute; z-index: 10; left: 0; top: 0; display: flex; align-items: flex-start; pointer-events: none; opacity: 0; transition: left 0.75s var(--ease), top 0.75s var(--ease), opacity 0.3s; }
.kb-cursor.is-on { opacity: 1; }
.kb-cursor svg path { fill: var(--ink); stroke: var(--page); stroke-width: 1.6; stroke-linejoin: round; }
.kb-cursor em { margin: 13px 0 0 -2px; padding: 3px 8px; border-radius: 4px 100px 100px 100px; background: var(--hot); color: var(--on-hot); font-style: normal; font-size: 10px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 10px color-mix(in srgb, var(--hot) 35%, transparent); }

/* 04 · панель руководителя: цифры, график, новые заказы */
.viz-ops { padding: 28px 20px 44px; }
.db-win { width: 100%; max-width: 470px; }
.db-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--hair); }
.db-bar > b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 100px; background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.db-sync em { font-style: normal; }
.db-spin.is-on { animation: spin 0.9s linear infinite; }
.db-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 12px 6px; }
.db-kpis > div { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 11px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); }
.db-kpis .mark { font-size: 8.5px; letter-spacing: 0.08em; color: var(--muted); }
.db-kpis b { font-size: 22px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; display: inline-block; }
.db-kpis b.is-bump { animation: moBump 0.45s var(--ease); color: var(--hot-ink); }
.db-kpis i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.db-kpis i.up { color: var(--ok); }
.db-ring { position: absolute; right: 9px; top: 9px; width: 30px; height: 30px; }
.db-ring circle { fill: none; stroke: var(--hair); stroke-width: 4.5; }
.db-ring .db-ring-v { stroke: var(--hot); stroke-linecap: round; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray 1.6s var(--ease) 0.4s; }
.bd.is-in .db-ring-v { stroke-dasharray: 92 100; }
.db-chart { position: relative; padding: 6px 14px 10px; }
.db-chart .mark { font-size: 8.5px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.db-svg { display: block; width: 100%; height: 104px; overflow: visible; }
.db-grid { stroke: var(--hair); stroke-width: 1; fill: none; }
.db-stop-a { stop-color: var(--hot); stop-opacity: 0.3; }
.db-stop-b { stop-color: var(--hot); stop-opacity: 0; }
.db-area { opacity: 0; transition: opacity 1.2s var(--ease) 1.2s; }
.db-line { fill: none; stroke: var(--hot); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.bd.is-in .db-area { opacity: 1; }
.bd.is-in .db-line { stroke-dashoffset: 0; }
.db-pt { fill: var(--hot); stroke: var(--surface); stroke-width: 2; opacity: 0; transition: opacity 0.4s 2.1s; }
.db-pulse { fill: color-mix(in srgb, var(--hot) 30%, transparent); opacity: 0; transform-origin: 418px 15px; }
.bd.is-in .db-pt { opacity: 1; }
.bd.is-in .db-pulse { animation: dbPulse 2s ease-out 2.2s infinite; }
@keyframes dbPulse { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.2); } }
.db-tip { position: absolute; right: 30px; top: 16px; padding: 6px 9px; border-radius: 10px; background: var(--ink); color: var(--page); font-size: 11px; line-height: 1.25; box-shadow: var(--lift-sm); opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease) 2.3s, transform 0.5s var(--ease) 2.3s; }
.bd.is-in .db-tip { opacity: 1; transform: none; }
.db-tip b { display: block; font-size: 12px; font-weight: 600; }
.db-tip i { font-style: normal; font-size: 10px; opacity: 0.7; }
.db-orders { display: grid; gap: 5px; padding: 0 12px 12px; }
.db-orders li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto; gap: 9px; align-items: center; padding: 7px 9px; border-radius: 10px; background: var(--surface-2); font-size: 11.5px; }
.db-orders li b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-orders li i { font-style: normal; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.db-orders li em { font-style: normal; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.db-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hair); font-size: 10px; font-weight: 600; }
.db-orders li.is-new { animation: dbNew 0.6s var(--ease) both; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hot) 40%, transparent); }
.db-orders li.is-new .db-av { background: var(--hot); border-color: transparent; color: var(--on-hot); }
.db-orders li.is-gone { animation: dbGone 0.4s var(--ease) both; }
@keyframes dbNew { from { opacity: 0; transform: translateY(-10px); } }
@keyframes dbGone { to { opacity: 0; transform: translateY(6px); } }

/* 05 · инженерия: светлый терминал и граф веток */
.viz-eng { align-content: center; gap: 12px; padding: 28px 22px 44px; }
.tm-win { width: 100%; max-width: 470px; }
.tm-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--hair); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.tm-dots { display: flex; gap: 6px; margin-right: 4px; }
.tm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.tm-dots i:nth-child(2) { background: #febc2e; }
.tm-dots i:nth-child(3) { background: #28c840; }
.tm-tab { padding: 4px 10px; border-radius: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tm-tab.is-on { background: var(--surface); border: 1px solid var(--hair); color: var(--ink); box-shadow: var(--lift-sm); }
.tm-branch { margin-left: auto; padding: 3px 9px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); font-family: var(--mono); font-size: 10px; }
.tm-body { min-height: 182px; padding: 14px 16px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.85; color: var(--ink); }
.tm-body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: aiIn 0.3s var(--ease) both; }
.tm-p { color: var(--hot-ink); margin-right: 6px; }
.tm-ok { color: var(--ok); }
.tm-dim { color: var(--muted); }
.tm-prog { color: var(--hot-ink); letter-spacing: -0.04em; }
.tm-cursor { display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--hot); animation: vBlink 1s steps(1) infinite; }
.tm-graph { position: relative; width: 100%; max-width: 470px; }
.tm-graph svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-main { stroke: var(--rule); stroke-width: 2.2; }
.g-br { stroke: var(--hot); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s var(--ease); }
.viz-eng.is-branch .g-br { stroke-dashoffset: 48; }
.viz-eng.is-merge .g-br { stroke-dashoffset: 0; }
.g-n { fill: var(--surface); stroke: var(--ink); stroke-width: 1.8; transition: opacity 0.4s, fill 0.4s, stroke 0.4s; }
.g-b1, .g-b2, .g-m { opacity: 0; }
.viz-eng.is-branch .g-b1 { opacity: 1; fill: var(--hot); stroke: var(--hot); }
.viz-eng.is-test .g-b2 { opacity: 1; fill: var(--hot); stroke: var(--hot); }
.viz-eng.is-merge .g-m { opacity: 1; fill: var(--hot); stroke: var(--hot); animation: gPulse 1.6s ease-out infinite; }
@keyframes gPulse { 0% { filter: drop-shadow(0 0 0 var(--hot)); } 50% { filter: drop-shadow(0 0 6px var(--hot)); } 100% { filter: drop-shadow(0 0 0 var(--hot)); } }
.tm-graph text { fill: var(--muted); font-family: var(--mono); font-size: 10px; }
.tm-badge { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-family: var(--mono); font-size: 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.tm-test { left: 62%; top: 4px; color: var(--ok); }
.tm-shield { right: 0; bottom: -6px; color: var(--hot-ink); }
.viz-eng.is-test .tm-test, .viz-eng.is-merge .tm-shield { opacity: 1; transform: none; }

/* без движения: всё в финальном состоянии */
@media (prefers-reduced-motion: reduce) {
  .viz::after { animation: none; }
}

/* ── вывод ── */
.verdict { padding-top: 150px; }
.scene-verdict { min-height: min(720px, calc(100svh - 32px)); align-items: center; justify-content: center; padding: 80px 24px; }
.verdict-h { max-width: 1080px; text-align: center; font-size: clamp(30px, 4.4vw, 62px); font-weight: 500; line-height: 1.1; letter-spacing: -0.038em; text-wrap: balance; }
.verdict-h span:not(.vw) { color: var(--hot-ink); }
.verdict-h .vw { transition: opacity 0.25s linear; }
.verdict-h.is-lit .vw { opacity: 0.16; }
.verdict-h.is-lit .vw.on { opacity: 1; }

/* ── 03 · полный цикл: дорожка с бегущим светом и карточки шагов ── */
.cyc { position: relative; }
.cyc-rail { position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; border-radius: 2px; background: var(--hair); }
.cyc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 1) * 100%); border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--hot) 25%, transparent), var(--hot)); box-shadow: 0 0 14px color-mix(in srgb, var(--hot) 70%, transparent); }
.cyc-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cyc-step { position: relative; display: flex; padding-top: 36px; }
.cyc-card { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s; }
.cyc-step.is-now .cyc-card { transform: translateY(-8px); border-color: color-mix(in srgb, var(--hot) 45%, transparent); box-shadow: 0 22px 44px -16px color-mix(in srgb, var(--hot) 55%, transparent); }
.cyc-top { display: flex; justify-content: space-between; align-items: center; }
.cyc-top .mark { color: var(--muted); }
.cyc-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); color: var(--ink); transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.cyc-step.is-done .cyc-ic { background: var(--hot-wash); border-color: transparent; color: var(--hot-ink); }
.cyc-step.is-now .cyc-ic { background: var(--hot); color: var(--on-hot); transform: rotate(-6deg) scale(1.06); }
.cyc-card h3 { margin-top: 18px; font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.cyc-d { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cyc-out { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.cyc-out .mark { padding-top: 12px; border-top: 1px solid var(--hair); font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); }
.cyc-step.is-now .cyc-out .mark { color: var(--hot-ink); }
.cyc:not(.is-live) .cyc-ic { background: var(--hot-wash); border-color: transparent; color: var(--hot-ink); }

/* ── 04 · почему мы: бенто с мини-визуалами ── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bn { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--hair); transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease); }
.bn-text h3 { margin-top: 18px; font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.bn-text .card-d { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.bn-text .card-d b { color: var(--ink); font-weight: 600; }
.bn-viz { position: relative; overflow: hidden; min-height: 168px; border-radius: 18px; background: radial-gradient(90% 90% at 100% 0%, color-mix(in srgb, var(--hot) 12%, transparent), transparent 60%), var(--surface-2); border: 1px solid var(--hair); }
@media (hover: hover) and (pointer: fine) {
  .bn:hover { border-color: color-mix(in srgb, var(--hot) 40%, transparent); box-shadow: 0 16px 34px -14px rgba(20, 20, 30, 0.18); translate: 0 -2px; }
}
.js .bn { transition: opacity 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), transform 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease); }

/* свои продукты: кривая роста */
.bnv-launch { display: grid; place-items: center; padding: 14px 16px 6px; }
.bnv-launch svg { width: 100%; height: auto; overflow: visible; }
.bnv-grid { stroke: var(--hair); stroke-width: 1; }
.bnv-area { opacity: 0; transition: opacity 1.2s var(--ease) 1s; }
.bnv-line { stroke: var(--hot); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.bnv-ms circle { fill: var(--surface); stroke: var(--ink); stroke-width: 2; opacity: 0; transition: opacity 0.4s; }
.bnv-ms circle.is-hot { fill: var(--hot); stroke: var(--hot); }
.bnv-lb text { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-anchor: middle; opacity: 0; transition: opacity 0.4s; }
.is-in .bnv-area { opacity: 1; }
.is-in .bnv-line { stroke-dashoffset: 0; }
.is-in .bnv-ms circle, .is-in .bnv-lb text { opacity: 1; }
.is-in .bnv-ms circle:nth-child(1), .is-in .bnv-lb text:nth-child(1) { transition-delay: 0.5s; }
.is-in .bnv-ms circle:nth-child(2), .is-in .bnv-lb text:nth-child(2) { transition-delay: 0.9s; }
.is-in .bnv-ms circle:nth-child(3), .is-in .bnv-lb text:nth-child(3) { transition-delay: 1.4s; }
.is-in .bnv-ms circle:nth-child(4), .is-in .bnv-lb text:nth-child(4) { transition-delay: 2s; }
.is-in .bnv-ms .is-hot { animation: gPulse 1.8s ease-out 2.3s infinite; }

/* инженерия: код */
.bnv-code { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 16px 16px; font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--ink); }
.bnv-code p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; border-radius: 6px; }
.bnv-code p:nth-child(3) { background: color-mix(in srgb, var(--hot) 10%, transparent); }
.bnv-code i { display: inline-block; width: 16px; font-style: normal; color: var(--muted); opacity: 0.6; }
.bnv-code .k { color: var(--hot-ink); }
.bnv-code .f { color: var(--ok); }
.bnv-caret { display: inline-block; width: 6px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--hot); animation: vBlink 1s steps(1) infinite; }

/* местная специфика: облако плашек */
.bnv-local { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 7px; padding: 18px 14px; }
.bnv-local span { padding: 7px 12px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 12.5px; font-weight: 500; white-space: nowrap; animation: bnvFloat 6s ease-in-out infinite; }
.bnv-local span.is-hot { background: var(--hot); border-color: transparent; color: var(--on-hot); }
.bnv-local span:nth-child(2) { animation-delay: -1s; } .bnv-local span:nth-child(3) { animation-delay: -2s; } .bnv-local span:nth-child(4) { animation-delay: -3s; } .bnv-local span:nth-child(5) { animation-delay: -4s; } .bnv-local span:nth-child(6) { animation-delay: -5s; }
@keyframes bnvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }



/* отрасли: две бегущие строки */
.bnv-ind { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 0; }
.bnv-row { overflow: hidden; padding: 4px 0 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bnv-track { display: flex; gap: 8px; width: max-content; animation: ribbon 40s linear infinite; }
.bnv-row:nth-child(2) .bnv-track { animation-direction: reverse; animation-duration: 46s; }
.bnv-track span { flex: none; padding: 9px 15px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.bnv-track span:nth-child(3n + 1) { background: var(--hot-wash); color: var(--hot-ink); border-color: transparent; }

/* ── BenevskyAI: живая сцена ── */
.co-scene { --tx: 0px; --ty: 0px; }
.co-scene-bg { transform: translate3d(var(--tx), var(--ty), 0) scale(1.08); transition: transform 0.9s var(--ease); animation: breathe 20s ease-in-out infinite alternate; }
.co-sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 38%, color-mix(in srgb, #ffffff 16%, transparent) 50%, transparent 62%); transform: translateX(-100%); animation: coSweep 7s ease-in-out infinite; }
@keyframes coSweep { 0%, 50% { transform: translateX(-100%); } 80%, 100% { transform: translateX(100%); } }
.co-orb { position: absolute; z-index: -1; left: var(--mx, 70%); top: var(--my, 30%); width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--hot) 45%, transparent), transparent 65%); filter: blur(10px); opacity: 0.55; transition: left 0.6s var(--ease), top 0.6s var(--ease), opacity 0.4s; animation: coOrb 12s ease-in-out infinite alternate; }
@keyframes coOrb { from { transform: scale(0.85); } to { transform: scale(1.15); } }
.co-scene:hover .co-orb { opacity: 0.9; }
.co-float { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 100px; background: var(--pill-bg); box-shadow: var(--pill-glow); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 12px; font-weight: 500; color: var(--ink); animation: coFloat 7s ease-in-out infinite; transition: box-shadow 0.4s, transform 0.4s; }
.co-float i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--hot); color: var(--on-hot); font-style: normal; font-family: var(--mono); font-size: 9px; }
.co-float.f1 { left: 5%; top: 7%; }
.co-float.f2 { right: 5%; top: 7%; animation-delay: -2.3s; }
.co-float.is-ping { box-shadow: var(--pill-glow), 0 0 0 6px color-mix(in srgb, var(--hot) 22%, transparent); }
@keyframes coFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.co-w { display: inline-block; }
.js .co-prod:not(.is-in) .co-w { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.co-w { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.co-w:nth-child(2) { transition-delay: 0.08s; } .co-w:nth-child(3) { transition-delay: 0.16s; }
.co-scene-h .hot .co-w:nth-child(1) { transition-delay: 0.3s; } .co-scene-h .hot .co-w:nth-child(2) { transition-delay: 0.38s; }
.co-scene-ask { min-width: min(100%, 360px); }
.co-typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.co-caret { width: 1.5px; height: 15px; margin-left: -10px; background: var(--hot); animation: vBlink 1s steps(1) infinite; }
.co-scene-ask b { margin-left: auto; transition: transform 0.2s var(--ease), background-color 0.2s; }
.co-scene-ask b.is-press { transform: scale(0.82); background: var(--hot); color: var(--on-hot); }
.co-ans { display: flex; align-items: flex-start; gap: 10px; max-width: min(100%, 420px); min-height: 62px; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--glass); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--lift-sm); text-align: left; font-size: 13.5px; line-height: 1.45; color: var(--ink); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.co-ans.is-out { opacity: 0; transform: translateY(8px); }
.co-ans-ava { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 9.5px; background: linear-gradient(135deg, var(--hot), color-mix(in srgb, var(--hot) 55%, #000)); }

/* иконка в карточке «почему мы» */
.card-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--hot-wash); color: var(--hot-ink); }
.card-ic + h3 { margin-top: 18px; }

/* ── 05 · компания: продукт и основатель ── */
.co-prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 36px; align-items: center; }
.co-h { margin-top: 18px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.co-sub { margin-top: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--hot-ink); }
.co-p { margin-top: 16px; max-width: 540px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.co-prod .btn { margin-top: 26px; }
.co-prod .btn span { margin-left: 2px; }
.co-scene {
  position: relative; overflow: hidden; isolation: isolate; min-height: 380px; border-radius: 26px; background: var(--field);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 24px; text-align: center; text-decoration: none;
}
.co-scene-bg { position: absolute; inset: -4%; z-index: -1; background: var(--hero-image) 70% 50% / cover no-repeat; transition: transform 1.2s var(--ease); }
.co-scene:hover .co-scene-bg { transform: scale(1.05); }
.co-scene .hero-pill { padding: 9px 14px; font-size: 10.5px; letter-spacing: 0.1em; }
.co-scene-h { font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.co-scene-ask {
  display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 7px 7px 7px 18px; border-radius: 100px;
  background: var(--pill-bg); box-shadow: var(--pill-glow); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  font-size: 13.5px; color: var(--muted); text-align: left;
}
.co-scene-ask b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font-weight: 500; }
.co-founder { margin-top: 16px; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 32px; padding: 28px; align-items: center; }
.co-photo { width: 168px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #ffffff; }
.co-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.co-name { margin-top: 10px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.co-founder .co-p { margin-top: 12px; }
.co-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* мягкий свет за курсором */
.has-glow::after {
  content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--hot) 7%, transparent), transparent 55%);
  transition: opacity 0.5s var(--ease);
}
.has-glow:hover::after { opacity: 1; }

/* ── финал и контакты (как на benevsky.ai) ── */
.final { padding-top: 150px; }
.scene-final { min-height: min(900px, calc(100svh - 32px)); }
.final-body { padding: 96px 24px 72px; }
.final-h2 { margin-top: 28px; max-width: 1000px; text-wrap: balance; font-size: clamp(34px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -0.038em; }
.final-phrases { margin-top: 36px; width: min(1000px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; }
.final-phrases > div {
  padding: 18px 20px 20px; border-radius: 20px; background: var(--scrim); color: #ffffff;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 10px;
}
.final-phrases.is-two { grid-template-columns: repeat(2, 1fr); width: min(760px, 100%); }
.final-phrases dt { color: rgba(255, 255, 255, 0.7); }
.final-phrases dd { font-size: 18px; line-height: 1.4; letter-spacing: -0.012em; }
.final-cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.final-contacts { margin-top: 44px; width: min(1000px, 100%); text-align: left; border-top: 1px solid var(--rule); }
.final-reach, .final-offices { display: grid; }
.final-reach { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.final-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.final-reach > div, .final-offices > div { padding: 14px 24px 14px 0; display: flex; flex-direction: column; gap: 6px; }
.final-reach > div + div, .final-offices > div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
.final-contacts dt { color: var(--hot-ink); }
.final-contacts dd { font-size: 16px; line-height: 1.45; }
.final-contacts a { text-decoration: none; font-weight: 500; }
.final-contacts a:hover { color: var(--hot-ink); }
.final-contacts a[href^="tel"] { white-space: nowrap; }
.final-geo { padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--muted); text-align: center; }

.ftr { margin-top: 40px; padding: 28px 0 40px; }
.ftr-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.ftr-links { display: flex; gap: 18px; }
.ftr-links a { text-decoration: none; }
.ftr-links a:hover { color: var(--hot-ink); }

/* ── появление при прокрутке ── */
/* только transform и opacity: размытие большого блока (было blur 6px) тяжело для телефона и против правил движения */
.js [data-reveal] { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 0.15s); }
.js .is-in[data-stagger] > *, .js .is-in [data-stagger] > * { opacity: 1; transform: none; }
/* показ сразу, без анимации: после перехода по якорю, «назад», обновления (app.js держит класс два кадра) */
.js .is-now, .js .is-now *, .js .is-now *::before, .js .is-now *::after { transition: none !important; }
.js .card { transition: opacity 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), transform 0.7s var(--ease) calc(var(--k, 0) * 70ms + 0.15s), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), translate 0.35s var(--ease); }
.js .hero-body > * { animation: heroIn 1s var(--ease) both; }
.js .hero-body > :nth-child(2) { animation-delay: 0.15s; }
.js .hero-body > :nth-child(3) { animation-delay: 0.3s; }
.js .hero-body > :nth-child(4) { animation-delay: 0.45s; }
.js .hero-body > :nth-child(5) { animation-delay: 0.6s; }
.js .hero-facts { animation: heroIn 1s var(--ease) 0.75s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }

/* ── адаптив ── */
@media (max-width: 1180px) {
  .hdr-nav .nav-item { padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 1180px) {
  .cyc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .cyc-step { padding-top: 0; }
}
@media (max-width: 1060px) {
  .hdr-menu { display: inline-grid; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 2px; padding: 8px; border-radius: 26px;
    background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .hdr.is-open .hdr-nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  .hdr-nav .nav-item { min-height: 48px; padding: 0 16px; font-size: 16px; color: var(--ink); }
  .hdr-nav .nav-item.is-here { background: var(--hair); }
  .nav-pill { display: none; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .bd { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .bd .viz { order: -1; }
  .bd:nth-child(even) .bd-text { order: 0; }
  .co-prod { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hdr { inset: 10px 0 auto 0; }
  .hdr-bar { max-width: calc(100% - 20px); }
  .hdr-cta { display: none; }
  .hero, .final, .verdict { padding: 10px; }
  .verdict, .final { padding-top: 96px; }
  .scene { border-radius: 28px; min-height: calc(100svh - 20px); }
  .hero-body { padding: 100px 18px 28px; }
  .hero-pill { padding: 9px 14px; font-size: 10.5px; letter-spacing: 0.1em; }
  .hero-h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero-lede { padding: 12px 16px; border-radius: 16px; font-size: 15.5px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 16px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); margin: 0 18px 18px; }
  .hero-facts > div:nth-child(3) { border-left: 0; }
  .hero-facts > div:nth-child(n + 3) { border-top: 1px solid var(--hair); margin-top: 10px; }
  .plate { border-radius: 26px; }
  .sec { padding-top: 96px; }
  .sec-head { margin-bottom: 36px; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .projects > li:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .bd { padding: 14px 14px 22px; border-radius: 26px; }
  .cyc-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cyc-rail { display: block; left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .cyc-fill { width: auto; right: 0; bottom: auto; height: calc(var(--p, 1) * 100%); }
  .cyc-step { padding: 0 0 0 30px; }
  .cyc-step.is-now .cyc-card { transform: translateX(4px); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bn { padding: 16px 16px 20px; border-radius: 22px; }
  .bn-text { padding: 0 4px; }
  .co-ans { font-size: 12.5px; }
  .co-float { display: none; }
  .bd-text { padding: 0 6px; }
  .viz { min-height: 0; padding: 24px 12px 40px; border-radius: 18px; }
  .viz-ai { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ai-src { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ai-src li { padding: 7px 8px; gap: 8px; }
  .ai-src i { display: none; }
  .ai-ic { width: 26px; height: 26px; }
  .ai-wires { display: none; }
  .ai-win { max-width: none; }
  .ai-msgs { height: 300px; }
  .ai-lock { font-size: 0; gap: 0; padding: 6px; }
  .kb-board { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px; }
  .kb-col { height: auto; min-height: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 8px; }
  .kb-col header { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 2px; }
  .kb-cards > .kb-card:not(:first-child) { display: none; }
  .kb-search { display: none; }
  .db-kpis b { font-size: 18px; }
  .db-ring { width: 22px; height: 22px; }
  .db-orders li { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .db-orders li i { display: none; }
  .tm-body { min-height: 160px; padding: 12px; font-size: 10.5px; }
  .tm-tab:not(.is-on) { display: none; }
  .bd-res { font-size: 17px; }
  .co-prod { padding: 14px 14px 24px; }
  .co-prod-text { padding: 0 6px; order: 2; }
  .co-scene { min-height: 320px; border-radius: 18px; }
  .co-founder { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; }
  .co-photo { width: 120px; }
  .proj { border-radius: 24px; }
  .proj-body { padding: 8px 18px 20px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
  .row dt { padding-top: 0; }
  .row dd { font-size: 17px; }
  .scene-verdict { padding: 56px 20px; }
  .final-phrases { grid-template-columns: 1fr; }
  .final-phrases dd { font-size: 16px; }
  .final-reach, .final-offices { grid-template-columns: minmax(0, 1fr); }
  .final-reach > div, .final-offices > div, .final-reach > div + div, .final-offices > div + div { padding: 12px 0; border-left: 0; }
  .final-reach > div + div, .final-offices > div + div { border-top: 1px solid var(--hair); }
  .final-geo { text-align: left; }
  .projects-more p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-bg, .scene-bg::before, .ribbon-track, .live { animation: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; filter: none; transition: none; }
  .js .hero-body > *, .js .hero-facts { animation: none; }
  .verdict-h.is-lit .vw { opacity: 1; }
}
@media print {
  .hdr, .ribbon { display: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; filter: none; }
  .scene { min-height: 0; }
}

/* ── страница проекта ── */
.ph { padding: 128px 0 0; }
.ph-back { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 100px; border: 1px solid var(--rule); text-decoration: none; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.ph-back:hover { color: var(--hot-ink); border-color: var(--hot-ink); }
.ph-badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.ph-grid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; }
.ph-h1 { font-size: clamp(52px, 7.4vw, 112px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.95; }
.ph-thesis { margin-top: 22px; font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
.ph-lede { margin-top: 22px; max-width: 720px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; letter-spacing: -0.012em; color: var(--muted); }
.ph-facts { border-top: 1px solid var(--rule); }
.ph-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.ph-facts dt { color: var(--hot-ink); padding-top: 3px; font-size: 10.5px; }
.ph-facts dd { font-size: 15.5px; line-height: 1.45; }
.ph-cover { margin-top: 48px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 30px; border: 1px solid var(--hair); background: var(--surface-2); box-shadow: var(--shadow); }
.ph-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

.pbody { padding-top: 16px; }
.pp { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; padding: 36px; align-items: center; }
.pp-h { margin-top: 18px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.pp-p { margin-top: 14px; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.pp .ext { margin-top: 22px; }
.pp-people { display: grid; gap: 8px; }
.pp-people li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--hair); }
.pp-people b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.pp-people i { display: block; margin-top: 2px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.pp-av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--hot); color: var(--on-hot); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }
.pp-people li.is-us .pp-av { background: var(--ink); color: var(--page); }

.pc { margin-top: 64px; }
.pc-list { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pc-list li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1px dashed var(--rule); color: var(--muted); font-size: 14.5px; font-weight: 500; }
.pc-list li.is-on { border: 1px solid transparent; background: var(--hot-wash); color: var(--ink); }
.pc-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rule); font-size: 11px; }
.pc-list li.is-on .pc-dot { background: var(--hot); border-color: var(--hot); color: var(--on-hot); }

.prows { margin-top: 64px; border-top: 1px solid var(--rule); }
.prow { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.prow dt { color: var(--hot-ink); padding-top: 6px; }
.prow dd { max-width: 820px; font-size: 19px; line-height: 1.55; letter-spacing: -0.012em; }
.prow .thesis li { font-size: 17px; }

.pres { margin-top: 64px; }
.pres-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pres-grid > div { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; }
.pres-grid dt { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.pres-grid dd { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.pres-grid > .is-main { background: var(--hot); border-color: transparent; color: var(--on-hot); }
.pres-grid > .is-main dd { color: color-mix(in srgb, var(--on-hot) 80%, transparent); }

.pg { margin-top: 64px; }
.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-item.is-wide { grid-column: 1 / -1; }
.pg-frame { overflow: hidden; border-radius: 24px; border: 1px solid var(--hair); background: var(--surface-2); box-shadow: var(--shadow); }
.pg-frame img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.pg-item:not(.is-wide) .pg-frame { aspect-ratio: 16 / 10; }
.pg-item:not(.is-wide) .pg-frame img { height: 100%; object-fit: cover; object-position: 50% 0; }
.pg-item figcaption { margin-top: 10px; padding: 0 4px; }
@media (hover: hover) and (pointer: fine) { .pg-item:hover .pg-frame img { transform: scale(1.02); } }

.pt { margin-top: 56px; display: flex; flex-direction: column; gap: 14px; }
.pnext { margin-top: 56px; display: flex; flex-direction: column; gap: 10px; padding: 32px 36px; text-decoration: none; transition: border-color 0.35s var(--ease), translate 0.35s var(--ease); }
.pnext-name { font-size: clamp(34px, 4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.pnext-line { font-size: 17px; }
@media (hover: hover) and (pointer: fine) { .pnext:hover { border-color: color-mix(in srgb, var(--hot) 40%, transparent); translate: 0 -2px; } }
.scene-short { min-height: min(620px, calc(100svh - 32px)); }

@media (max-width: 1060px) {
  .ph-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .pc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pres-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ph { padding-top: 104px; }
  .ph-cover { margin-top: 32px; border-radius: 22px; }
  .pp { padding: 22px 20px; }
  .pc, .prows, .pres, .pg { margin-top: 48px; }
  .pc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .prow dd { font-size: 17px; }
  .pres-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-grid { grid-template-columns: minmax(0, 1fr); }
  .pnext { padding: 24px 22px; }
}

/* ═════════ второй круг: сцены ниже, больше деталей ═════════ */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* 02 · высота сцен */
.viz { min-height: 400px; padding: 26px 22px 38px; }
.ai-msgs { height: 214px; }
.kb-col { height: 206px; }
.db-svg { height: 84px; }
.tm-body { min-height: 158px; }

/* ИИ: время у сообщений */
.ai-q time, .ai-a time { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.02em; opacity: 0.55; text-align: right; }
.ai-a time { text-align: left; }

/* приложение: плашки на товарах */

/* доска: вкладки, статусы, прогресс, комментарии */
.kb-views { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--hair); }
.kb-views i { padding: 3px 8px; border-radius: 7px; font-style: normal; font-size: 10.5px; color: var(--muted); }
.kb-views i.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--lift-sm); }
.kb-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--muted); }
.kb-col[data-col="1"] .kb-dot { background: color-mix(in srgb, var(--hot) 55%, var(--muted)); }
.kb-col[data-col="2"] .kb-dot { background: var(--hot); }
.kb-col[data-col="3"] .kb-dot { background: var(--ok); }
.kb-prog { display: block; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.kb-prog span { display: block; height: 100%; width: var(--w, 12%); border-radius: 2px; background: var(--hot); transition: width 0.8s var(--ease); }
.kb-com { display: inline-flex; align-items: center; gap: 3px; margin: 0 6px 0 auto; font-family: var(--mono); font-size: 9px; color: var(--muted); }

/* панель: мини-графики, план, дни */
.db-spark { position: absolute; right: 9px; top: 10px; width: 40px; height: 13px; overflow: visible; }
.db-spark path { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-linejoin: round; }
.db-legend { display: flex; justify-content: space-between; align-items: center; }
.db-legend span { display: inline-flex; align-items: center; gap: 5px; text-transform: none; letter-spacing: 0; font-size: 9.5px; }
.db-legend .is-fact { width: 12px; height: 2px; border-radius: 1px; background: var(--hot); }
.db-legend .is-plan { width: 12px; margin-left: 6px; border-top: 1.5px dashed var(--muted); }
.db-plan { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: 0.6; }
.db-days { display: flex; justify-content: space-between; margin-top: 3px; font-family: var(--mono); font-size: 9px; color: var(--muted); }

/* терминал: CI и хеши */
.tm-ci { margin-left: auto; padding: 3px 8px; border-radius: 100px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-family: var(--mono); font-size: 10px; }
.tm-ci + .tm-branch { margin-left: 0; }
.tm-graph .g-hash { font-size: 8.5px; opacity: 0.75; }
.tm-graph .g-mh { opacity: 0; transition: opacity 0.4s; }
.viz-eng.is-merge .g-mh { opacity: 0.75; }

/* ═════════ 03 · полный цикл: единая дорожка-плита ═════════ */
.cyc { padding: 22px 22px 24px; border-radius: 30px; border: 1px solid var(--hair); background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--hot) 10%, transparent), transparent 55%), radial-gradient(60% 100% at 100% 100%, color-mix(in srgb, var(--hot) 6%, transparent), transparent 60%), var(--surface-2); }
.cyc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-image: radial-gradient(var(--tick) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.cyc-head { position: relative; display: flex; justify-content: space-between; align-items: center; height: 16px; margin-bottom: 22px; }
.cyc-head .mark { color: var(--muted); }
.cyc-status b { font-weight: 500; color: var(--hot-ink); }
.cyc-rail { left: 30px; right: 30px; top: 67px; }
.cyc-card { position: relative; overflow: hidden; isolation: isolate; }
.cyc-num { position: absolute; z-index: -1; right: 44px; top: 6px; font-size: 58px; font-weight: 600; letter-spacing: -0.07em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--rule); opacity: 0.7; transition: -webkit-text-stroke-color 0.5s, opacity 0.5s; pointer-events: none; }
.cyc-step.is-now .cyc-num { -webkit-text-stroke-color: color-mix(in srgb, var(--hot) 60%, transparent); opacity: 1; }
.cyc-ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: transparent; background: var(--surface-2); border: 1px solid var(--hair); transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.cyc-step.is-done:not(.is-now) .cyc-ok, .cyc:not(.is-live) .cyc-ok { background: var(--ok); border-color: transparent; color: #fff; transform: scale(1.05); }
.cyc-step.is-now .cyc-ok { border-color: var(--hot); background: transparent; animation: live 1.6s ease-out infinite; }
.cyc-step.is-now .cyc-card::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--ang), var(--hot), transparent 25%, transparent 60%, color-mix(in srgb, var(--hot) 60%, #fff) 85%, var(--hot)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: cycSpin 2.6s linear infinite; }
@keyframes cycSpin { to { --ang: 360deg; } }
.cyc-out { position: relative; }
.cyc-step.is-done .cyc-out { color: var(--ink); }

/* ═════════ 04 · почему мы: второй круг мини-визуалов ═════════ */
/* рост: бегущая точка */
.bnv-run { fill: var(--hot); filter: drop-shadow(0 0 6px var(--hot)); }

/* редактор кода с подсказкой */
.bnv-code { padding: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; }
.bnv-ed-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--hair); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.bnv-file { padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--hair); font-family: var(--mono); font-size: 10.5px; }
.bnv-ok { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ok); }
.bnv-ed { position: relative; padding: 12px 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.8; }
.bnv-ed p { padding: 0 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bnv-ed p:nth-child(3) { background: none; }
.bnv-ed p.is-cur { background: color-mix(in srgb, var(--hot) 10%, transparent); }
.bnv-ed i { display: inline-block; width: 16px; font-style: normal; color: var(--muted); opacity: 0.6; }
.bnv-ed .k { color: var(--hot-ink); }
.bnv-ed .f, .bnv-typed { color: var(--ok); }
.bnv-ac { position: absolute; left: 118px; top: 86px; display: grid; min-width: 150px; padding: 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift); font-size: 11px; opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.bnv-ac.is-on { opacity: 1; transform: none; }
.bnv-ac span { display: flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; }
.bnv-ac span.is-on { background: var(--hot-wash); color: var(--hot-ink); }
.bnv-ac b { font-weight: 600; color: var(--hot-ink); }
.bnv-ac i { width: auto; font-style: normal; color: var(--muted); opacity: 1; }

/* местная специфика: орбиты вокруг Казахстана */
.bnv-local { display: grid; place-items: center; padding: 0; min-height: 200px; }
.bnv-orbit { position: relative; width: 100%; height: 196px; }
.bnv-local .bnv-core { animation: none; border: 0; }
.bnv-local .bnv-core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 14px; border-radius: 16px; background: var(--hot); color: var(--on-hot); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--hot) 70%, transparent); }
.bnv-core b { font-size: 11px; font-weight: 600; }
.bnv-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--rule); }
.bnv-ring.r1 { --rx: 62px; --ry: 40px; width: 124px; height: 80px; margin: -40px 0 0 -62px; }
.bnv-ring.r2 { --rx: 98px; --ry: 72px; width: 196px; height: 144px; margin: -72px 0 0 -98px; }
.bnv-ring span {
  position: absolute; left: calc(50% + cos(var(--a)) * var(--rx)); top: calc(50% + sin(var(--a)) * var(--ry)); transform: translate(-50%, -50%);
  padding: 4px 9px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 11px; font-weight: 500; white-space: nowrap;
  animation: bnvOrbit 34s linear infinite;
}
.bnv-ring.r2 span { animation-duration: 46s; animation-direction: reverse; }
.bnv-ring span.is-hot { background: var(--hot-wash); color: var(--hot-ink); border-color: transparent; }
@keyframes bnvOrbit { from { --a: var(--a0); } to { --a: calc(var(--a0) + 360deg); } }



/* отрасли: крупная цифра под лентами */
.bnv-big { position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%, -52%); opacity: 0.8; font-size: 170px; font-weight: 600; letter-spacing: -0.08em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--hot) 35%, transparent); pointer-events: none; }
.bnv-row { position: relative; z-index: 1; }

/* ═════════ телефон: сцены компактнее ═════════ */
@media (max-width: 720px) {
  .viz-app { min-height: 0; padding-top: 20px; }
  .mo-stage { height: 296px; }
  .mo-scr { width: 168px; height: 296px; margin-left: -84px; padding: 12px 10px; }
  .mo-th { width: 26px; height: 26px; }
  .mo-list li { grid-template-columns: 26px minmax(0, 1fr) 20px; }
  .mo-lines li { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .mo-scr.is-l { transform: translate3d(-64%, 16px, -40px) scale(0.84) rotateY(18deg); }
  .mo-scr.is-r { transform: translate3d(64%, 16px, -40px) scale(0.84) rotateY(-18deg); }
  .mo-sync { right: 10px; left: 10px; bottom: 40px; }
  .viz { padding: 18px 10px 32px; }
  .ai-src li { padding: 6px 7px; }
  .ai-src b { font-size: 11.5px; }
  .ai-ic { width: 24px; height: 24px; font-size: 9px; }
  .ai-bar { padding: 9px 10px; }
  .ai-msgs { height: 200px; padding: 10px 10px 2px; gap: 8px; }
  .ai-q, .ai-a { font-size: 12.5px; }
  .ai-input { margin: 6px 8px 8px; font-size: 12px; }
  .kb-views { display: none; }
  .kb-col { height: auto; grid-template-columns: 68px minmax(0, 1fr); padding: 6px; }
  .kb-card { padding: 6px 8px; gap: 4px; }
  .kb-feed { grid-template-rows: 32px; height: 32px; }
  .db-kpis b { font-size: 17px; }
  .db-spark { display: none; }
  .db-svg { height: 66px; }
  .db-orders li:nth-child(3) { display: none; }
  .tm-body { min-height: 128px; font-size: 10px; line-height: 1.7; }
  .cyc { padding: 14px 12px 16px; border-radius: 24px; }
  .cyc-head { margin-bottom: 16px; }
  .cyc-rail { left: 19px; top: 46px; bottom: 16px; }
  .cyc-num { font-size: 50px; }
  .bnv-ac { left: 96px; }
}

/* ═════════ страницы проектов: состав, полоса экранов, закрытый проект ═════════ */
.ph-link { margin-top: 26px; }
.ph-link span { margin-left: 2px; }
.ph-cover.is-logo { display: grid; place-items: center; background: radial-gradient(60% 80% at 50% 40%, #1d1d22, #0a0a0a 70%); }
.ph-cover.is-logo img { width: min(34%, 300px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.pclosed { margin-top: 16px; padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.pclosed .pp-h { margin-top: 18px; }

.pparts { margin-top: 64px; }
.pparts-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pparts-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--hair); transition: border-color 0.35s var(--ease), translate 0.35s var(--ease); }
.pparts-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hot), transparent); }
.pparts-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.pparts-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .pparts-card:hover { border-color: color-mix(in srgb, var(--hot) 40%, transparent); translate: 0 -2px; } }

.pg-strip { padding: 22px; border-radius: 26px; background: radial-gradient(80% 100% at 100% 0%, color-mix(in srgb, var(--hot) 12%, transparent), transparent 60%), var(--surface-2); border: 1px solid var(--hair); }
.pg-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-phone { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pg-phone img { width: 100%; max-width: 260px; height: auto; border-radius: 26px; border: 6px solid #111114; box-shadow: 0 24px 44px -16px rgba(10, 10, 30, 0.45); background: #fff; }
.pg-strip figcaption { margin-top: 16px; }
@media (max-width: 1060px) { .pg-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .pparts, .pclosed { margin-top: 48px; }
  .pclosed { padding: 24px 20px; }
  .pg-strip { padding: 14px; border-radius: 20px; }
  .pg-phones { gap: 10px; }
  .pg-phone img { border-width: 4px; border-radius: 18px; }
  .ph-cover.is-logo img { width: 46%; }
}

/* ── первый экран: строка ассистента BenevskyAI ── */
.hero-ask { margin-top: 16px; display: flex; align-items: center; gap: 12px; width: min(620px, 100%); padding: 7px 7px 7px 8px; border: 1px solid var(--hair); text-decoration: none; color: var(--ink); text-align: left; transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.25s var(--ease); }
.hero-ask:hover { border-color: var(--hot-ink); box-shadow: var(--pill-glow), 0 12px 30px color-mix(in srgb, var(--hot) 22%, transparent); transform: translateY(-1px); }
.hero-ask-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; background: linear-gradient(135deg, var(--hot), color-mix(in srgb, var(--hot) 55%, #000)); box-shadow: 0 6px 14px color-mix(in srgb, var(--hot) 35%, transparent); }
.hero-ask-t { flex: 1; min-width: 0; display: flex; align-items: center; font-size: 15px; color: var(--muted); }
.hero-ask-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-ask-caret { flex: none; width: 1.5px; height: 17px; margin-left: 2px; background: var(--hot); animation: vBlink 1s steps(1) infinite; }
.hero-ask-go { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 100px; background: var(--ink); color: var(--page); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; transition: background-color 0.25s, color 0.25s; }
.hero-ask:hover .hero-ask-go { background: var(--hot); color: var(--on-hot); }
.js .hero-body > :nth-child(6) { animation-delay: 0.75s; }
@media (max-width: 720px) {
  .hero-ask { width: 100%; }
  .hero-ask-t { display: none; }
  .hero-ask-go { flex: 1; justify-content: center; }
}

/* ── переключатель языков ── */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 100px; background: var(--hair); }
.seg-btn { display: inline-grid; place-items: center; min-height: 32px; min-width: 36px; padding: 0 9px; border-radius: 100px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); text-decoration: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-on { background: var(--ink); color: var(--page); }
.nav-langs { display: none; }
@media (max-width: 1180px) { .hdr-actions .langs .seg-btn { min-width: 32px; padding: 0 7px; } }
@media (max-width: 720px) {
  .hdr-actions .langs { display: none; }
  .nav-langs { display: inline-flex; align-self: flex-start; margin: 8px 8px 6px; }
}

/* ══ третий круг: градиенты, живые свечения, аватар ассистента ══ */
:root { --g1: #c43100; --g2: #ff9a3c; --g3: #ff6418; --t1: #c43100; --t2: #e8590c; --t3: #f07a16; }
/* тёмная тема — «космос»: глубокий ультрамарин, холодный стальной свет, тёмная туманность; без неонового голубого и розового */
:root[data-theme="dark"] { --g1: #3d56d6; --g2: #7fa3dc; --g3: #6c55d4; --t1: #c3cff5; --t2: #8aa6e6; --t3: #8f7fe0; }

/* акцентные слова в заголовках — переливающийся градиент */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-h1 .hot, .h2 em, .final-h2 .hot {
    background: linear-gradient(100deg, var(--t1) 0%, var(--t2) 28%, var(--t3) 52%, var(--t1) 78%) 0 50% / 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    animation: gText 10s ease-in-out infinite alternate;
  }
}
@keyframes gText { to { background-position: 100% 50%; } }

/* аватар ассистента: живой шар с глазами — моргает, оглядывается, думает */
.ava {
  --s: 32px; --av1: var(--g1); --av2: var(--g2); --av3: var(--g3);
  position: relative; isolation: isolate; overflow: hidden; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: calc(var(--s) * 0.15);
  font-size: 0; color: transparent; letter-spacing: 0;
  background: conic-gradient(from var(--a), var(--av1), var(--av2), var(--av3), var(--av1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 4px 12px -3px color-mix(in srgb, var(--av1) 50%, transparent);
  animation: avSpin 7s linear infinite, avGlow 3.2s ease-in-out infinite alternate;
}
.ava::before { content: ""; position: absolute; z-index: -1; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 42% 38%, color-mix(in srgb, var(--av2) 70%, #fff), transparent 70%); filter: blur(calc(var(--s) * 0.08)); animation: avDrift 5s ease-in-out infinite alternate; }
.ava::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%), radial-gradient(circle at 70% 112%, rgba(255, 255, 255, 0.3), transparent 52%); }
.ava i { width: calc(var(--s) * 0.12); height: calc(var(--s) * 0.3); border-radius: 99px; background: #fff; box-shadow: 0 0 calc(var(--s) * 0.16) rgba(255, 255, 255, 0.9); animation: avBlink 5.2s infinite, avLook 12s var(--ease) infinite; transition: translate 0.5s var(--ease); }
.ava.is-look i { animation: avBlink 5.2s infinite; translate: calc(var(--s) * 0.08) calc(var(--s) * -0.02); }
.ava.is-think { animation-duration: 1.5s, 1.2s; }
.ava.is-think i { animation: avThink 0.9s ease-in-out infinite; }
.ava.is-think i + i { animation-delay: 0.15s; }
.hero-ask-ava.ava { --s: 34px; }
.ai-ava.ava { --s: 30px; }
.co-ans-ava.ava { --s: 26px; }
@keyframes avSpin { to { --a: 360deg; } }
@keyframes avGlow {
  from { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 4px 12px -3px color-mix(in srgb, var(--av1) 45%, transparent); }
  to { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 5px 20px 0 color-mix(in srgb, var(--av3) 55%, transparent); }
}
@keyframes avDrift { from { transform: translate(-14%, -10%); } to { transform: translate(14%, 12%); } }
@keyframes avBlink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.12); } }
@keyframes avLook {
  0%, 30%, 100% { translate: 0 0; }
  36%, 52% { translate: calc(var(--s) * 0.07) calc(var(--s) * -0.03); }
  60%, 78% { translate: calc(var(--s) * -0.07) calc(var(--s) * 0.01); }
}
@keyframes avThink { 0%, 100% { transform: translateY(calc(var(--s) * 0.05)) scaleY(0.45); } 50% { transform: translateY(calc(var(--s) * -0.06)) scaleY(0.45); } }

/* строка ассистента и строка вопроса в блоке BenevskyAI: по рамке бежит цветной свет */
.hero-ask, .co-scene-ask { position: relative; }
.hero-ask::before, .hero-ask::after, .co-scene-ask::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 50%, var(--g1) 64%, var(--g2) 77%, var(--g3) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cycSpin 4.8s linear infinite;
}
.hero-ask::after { inset: -12px; padding: 11px; filter: blur(7px); opacity: 0.75; }
.co-scene-ask::before { animation-duration: 6s; animation-direction: reverse; }

/* сцены 02: второй, цветной свет плавает за содержимым (включается, только пока сцена видна) */
.viz-aura { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.viz-aura i { --blur: 44px; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; opacity: 0.24; will-change: transform; animation: aura1 15s ease-in-out infinite alternate; animation-play-state: paused; }
/* плавность: размытие — у неподвижного ::before, а двигается сам i. Размытый свет рисуется один раз и дальше только переносится,
   а не размывается заново каждый кадр (раньше filter стоял на движущемся слое) */
.viz-aura i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ab); filter: blur(var(--blur)); }
:root[data-theme="dark"] .viz-aura i { opacity: 0.3; }
.viz-aura i:first-child { left: -12%; top: 48%; --ab: radial-gradient(circle, var(--g2), transparent 68%); }
.viz-aura i:last-child { right: -10%; top: -14%; --ab: radial-gradient(circle, var(--g3), transparent 68%); animation-name: aura2; animation-duration: 18s; }
.viz.is-vis .viz-aura i { animation-play-state: running; }
@keyframes aura1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(45%, -35%) scale(1.15); } 100% { transform: translate(90%, -8%) scale(0.9); } }
@keyframes aura2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50%, 45%) scale(1.2); } 100% { transform: translate(-85%, 12%) scale(0.95); } }

/* 02 · приложение: настоящие продукты, свет на экранах, блик на кнопке оплаты */
.mo-th { position: relative; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--hair); }
.mo-th img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.6s var(--ease); }
.mo-list li.is-added .mo-th img { transform: scale(1.2); }
.mo-list li.is-added { border-color: color-mix(in srgb, var(--g1) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g1) 12%, transparent), 0 8px 18px -8px color-mix(in srgb, var(--g3) 55%, transparent); }
.mo-scr { background: radial-gradient(140% 55% at 50% -12%, color-mix(in srgb, var(--g2) 16%, transparent), transparent 70%), color-mix(in srgb, var(--surface) 94%, transparent); }
.mo-pay { overflow: hidden; background: linear-gradient(110deg, var(--g1), color-mix(in srgb, var(--g1) 62%, var(--g3))); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--g3) 70%, transparent); }
.mo-pay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s var(--ease) infinite; pointer-events: none; }
@keyframes shine { 0%, 35% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
.mo-badge { background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 0 0 2px var(--surface), 0 0 12px color-mix(in srgb, var(--g3) 70%, transparent); }
.mo-dot { background: radial-gradient(circle at 35% 35%, #fff, var(--g2) 45%, var(--g1)); box-shadow: 0 0 14px var(--g2), 0 0 4px #fff; }
.mo-check { filter: drop-shadow(0 0 0 transparent); }
.viz-app.is-done .mo-check { animation: chkGlow 2.6s ease-in-out 1.2s infinite; }
@keyframes chkGlow { 50% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--g3) 60%, transparent)); } }
.mo-coin { background: linear-gradient(110deg, color-mix(in srgb, var(--g2) 18%, var(--surface)), color-mix(in srgb, var(--g3) 16%, var(--surface))); }
.mo-sync::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--ang), transparent 0 45%, var(--g1) 62%, var(--g2) 78%, var(--g3) 92%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cycSpin 2.4s linear infinite; transition: opacity 0.6s;
}
.viz-app.is-synced .mo-sync::before { opacity: 1; }
.mo-sync-ic { background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--g1))); }

/* 01 · ИИ: кнопка отправки и пузырь ответа с мягким цветом */
.ai-send.is-press { background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 0 14px color-mix(in srgb, var(--g3) 60%, transparent); }

/* графики: линия переливается из одного цвета в другой и светится */
.g-a { stop-color: var(--g1); } .g-b { stop-color: var(--g2); } .g-c { stop-color: var(--g3); }
.db-line { stroke: url(#dbLine); filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--g3) 45%, transparent)); }
.bnv-line { stroke: url(#bnvLine); filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--g3) 45%, transparent)); }
.bnv-run { fill: var(--g3); filter: drop-shadow(0 0 6px var(--g3)); }
.bnv-ms circle.is-hot { fill: var(--g3); stroke: var(--g3); filter: drop-shadow(0 0 8px var(--g3)); }

/* 04 · «Казахстан» в центре орбиты и текущий шаг цикла — тоже в градиенте */
.bnv-local .bnv-core { background: linear-gradient(135deg, var(--g1), color-mix(in srgb, var(--g1) 55%, var(--g3))); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--g3) 65%, transparent); }
.cyc-step.is-now .cyc-card::before { background: conic-gradient(from var(--ang), var(--g1), transparent 25%, transparent 55%, var(--g2) 75%, var(--g3) 88%, var(--g1)); }
.co-orb { background: radial-gradient(circle at 38% 40%, color-mix(in srgb, var(--g1) 45%, transparent), transparent 60%), radial-gradient(circle at 68% 64%, color-mix(in srgb, var(--g3) 38%, transparent), transparent 58%); }

@media (prefers-reduced-motion: reduce) {
  .hero-h1 .hot, .h2 em, .final-h2 .hot, .ava, .ava::before, .ava i, .hero-ask::before, .hero-ask::after, .co-scene-ask::before,
  .mo-pay::before, .mo-sync::before, .viz-app.is-done .mo-check { animation: none !important; }
}
.mo-scr.s1::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 85%); }
:root:not([data-theme="dark"]) .hero-ask::after { opacity: 0.5; }

/* ══ «Почему мы» · Без чёрного ящика: акт за актом — показ результата, подпись, печать, в стопку ══ */
.ax { min-height: 206px; container-type: inline-size; }
.ax-top { position: absolute; z-index: 4; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 5px; }
.ax-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 3px; border-radius: 100px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); font-size: 10px; font-weight: 500; white-space: nowrap; }
.ax-chip em, .ax-fin em { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-style: normal; font-size: 8px; font-weight: 700; }
.ax-prog { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.ax-prog small { margin-right: 4px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ax-prog i { width: 15px; height: 4px; border-radius: 2px; background: var(--hair); transition: background-color 0.4s; }
.ax-prog i.is-on { background: linear-gradient(90deg, var(--g1), var(--g3)); box-shadow: 0 0 8px color-mix(in srgb, var(--g3) 45%, transparent); }
.ax-doc {
  position: absolute; z-index: 2; left: 50%; top: 44px; width: 160px; margin-left: -64px;
  display: flex; flex-direction: column; gap: 3px; padding: 11px 12px 11px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift);
  opacity: 0; transform: translateX(calc(50cqw + 90px)) rotate(8deg) scale(0.86);
  transition: transform 0.85s var(--ease), opacity 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.ax-doc.is-next { z-index: 1; opacity: 0.55; transform: translateX(calc(50cqw - 26px)) translateY(10px) rotate(7deg) scale(0.84); }
.ax-doc.is-cur { z-index: 3; opacity: 1; transform: none; }
.ax-doc.is-done { z-index: 1; opacity: 1; box-shadow: var(--lift-sm); transform: translateX(calc(38px - 50cqw + var(--k, 0) * 8px)) translateY(calc(30px - var(--k, 0) * 6px)) rotate(calc(-11deg + var(--k, 0) * 5deg)) scale(0.56); }
.ax-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.ax-h b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.ax-h em { font-style: normal; font-family: var(--mono); font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.ax-name { font-style: normal; font-size: 10.5px; color: var(--muted); }
.ax-lines { display: grid; gap: 3px; margin-top: 5px; }
.ax-lines i { display: block; height: 3px; border-radius: 2px; background: var(--hair); }
.ax-lines i:nth-child(2) { width: 70%; }
.ax-demo { position: relative; overflow: hidden; margin-top: 6px; display: flex; align-items: center; gap: 5px; padding: 4px 5px 4px 7px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--hair); font-size: 9.5px; color: var(--muted); white-space: nowrap; transition: color 0.3s, border-color 0.3s; }
.ax-demo svg { flex: none; color: var(--hot-ink); }
.ax-demo em { margin-left: auto; flex: none; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; background: var(--hair); color: transparent; font-style: normal; font-size: 8px; font-weight: 700; transition: background-color 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ax-demo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); transform: scaleX(0); transform-origin: 0 50%; }
.ax-doc.is-play .ax-demo::after { transform: scaleX(1); transition: transform 1.1s linear; }
.ax-doc.is-demo .ax-demo { color: var(--ink); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.ax-doc.is-demo .ax-demo::after { transform: scaleX(1); opacity: 0; transition: opacity 0.4s; }
.ax-doc.is-demo .ax-demo em { background: var(--ok); color: #fff; transform: scale(1.12); }
.ax-sign { display: flex; align-items: flex-end; gap: 7px; margin-top: 6px; padding-top: 5px; border-top: 1px dashed var(--rule); min-height: 24px; }
.ax-sign small { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ax-pen { width: 54px; height: 17px; overflow: visible; }
.ax-pen path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ax-doc.is-sign .ax-pen path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s cubic-bezier(0.45, 0, 0.25, 1); }
.ax-stamp { position: absolute; right: 9px; bottom: 11px; padding: 3px 7px; border: 1.5px solid var(--hot); border-radius: 6px; color: var(--hot-ink); background: color-mix(in srgb, var(--surface) 70%, transparent); font-family: var(--mono); font-size: 8.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: rotate(-12deg) scale(1.9); pointer-events: none; }
.ax-doc.is-signed .ax-stamp { opacity: 1; transform: rotate(-12deg) scale(1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 10%, transparent), 0 0 14px color-mix(in srgb, var(--g3) 35%, transparent); transition: opacity 0.15s, transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.6s; }
.ax-doc.is-cur.is-signed { animation: axSlam 0.45s var(--ease) 0.08s; }
@keyframes axSlam { 40% { translate: 0 2px; scale: 0.985; } }
.ax-fin { position: absolute; z-index: 3; left: 50%; top: 50%; margin: 12px 0 0 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 100px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); box-shadow: var(--lift), 0 0 0 4px color-mix(in srgb, var(--ok) 10%, transparent); font-size: 11.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-30%, -50%) scale(0.9); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ax-fin.is-on { opacity: 1; transform: translate(-30%, -50%) scale(1); }
.ax.is-reset .ax-doc, .ax.is-reset .ax-fin { opacity: 0 !important; transition: opacity 0.45s; }
.ax.is-snap, .ax.is-snap * { transition: none !important; animation: none !important; }

/* ══ «Почему мы» · Данные остаются вашими: сервер раздаёт доступы, щит не пускает персональные данные наружу ══ */
.sx { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 48px; align-items: center; padding: 16px 14px 50px; min-height: 238px; }
.sx-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sx-wires path { fill: none; stroke: var(--rule); stroke-width: 1.3; stroke-dasharray: 2 4; transition: stroke 0.4s; }
.sx-wires path.is-on { stroke: color-mix(in srgb, var(--g2) 70%, var(--ok)); stroke-dasharray: none; }
.sx-wires path.is-bad { stroke: var(--hot); stroke-dasharray: none; }
.sx-wires path.is-anon { stroke: var(--ok); stroke-dasharray: none; }
.sx-wires circle { fill: var(--g1); }
.sx-wires circle.halo { fill: color-mix(in srgb, var(--g3) 28%, transparent); }
.sx-wires .pk-bad { fill: var(--hot); } .sx-wires .pk-bad.halo { fill: color-mix(in srgb, var(--hot) 30%, transparent); }
.sx-wires .pk-anon { fill: var(--ok); } .sx-wires .pk-anon.halo { fill: color-mix(in srgb, var(--ok) 28%, transparent); }
.sx-srv { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; min-width: 0; }
.sx-rack { display: grid; gap: 4px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift-sm); transition: box-shadow 0.4s; }
.sx-rack.is-busy { box-shadow: var(--lift-sm), 0 0 0 3px color-mix(in srgb, var(--g2) 18%, transparent), 0 0 18px color-mix(in srgb, var(--g3) 30%, transparent); }
.sx-rack i { position: relative; width: 68px; height: 15px; border-radius: 5px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--hair); }
.sx-rack i::before { content: ""; position: absolute; left: 6px; top: 4.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: vBlink 1.4s steps(1) infinite; }
.sx-rack i:nth-child(2)::before { animation-delay: -0.5s; } .sx-rack i:nth-child(3)::before { animation-delay: -0.9s; background: var(--g2); box-shadow: 0 0 6px var(--g2); }
.sx-rack i::after { content: ""; position: absolute; right: 6px; top: 5px; width: 24px; height: 3px; background: repeating-linear-gradient(90deg, var(--rule) 0 2px, transparent 2px 4px); }
.sx-name { font-family: var(--mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.sx-log { width: 100%; display: grid; gap: 3px; margin-top: 2px; }
.sx-log li { display: flex; align-items: center; gap: 4px; min-width: 0; font-family: var(--mono); font-size: 7.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: aiIn 0.4s var(--ease) both; }
.sx-log li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }
.sx-log li.is-bad::before { background: var(--hot); } .sx-log li.is-bad { color: var(--hot-ink); }
.sx-shield { position: absolute; z-index: 3; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hair); color: var(--muted); box-shadow: var(--lift-sm); opacity: 0; transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.4s; }
.sx.is-ready .sx-shield { opacity: 1; }
.sx-shield.is-deny { background: var(--hot); color: var(--on-hot); border-color: transparent; transform: scale(1.22); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hot) 18%, transparent), 0 0 22px color-mix(in srgb, var(--hot) 60%, transparent); }
.sx-shield.is-pass { background: var(--ok); color: #fff; border-color: transparent; transform: scale(1.1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 16%, transparent), 0 0 18px color-mix(in srgb, var(--ok) 45%, transparent); }
.sx-shield.is-deny::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--hot); animation: sxRing 0.7s var(--ease) forwards; }
@keyframes sxRing { to { transform: scale(2.4); opacity: 0; } }
.sx-roles { position: relative; z-index: 1; display: grid; gap: 5px; min-width: 0; }
.sx-roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hair); font-size: 11.5px; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease); }
.sx-roles b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-roles span { grid-column: 1; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-roles em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-family: var(--mono); font-size: 9.5px; padding: 3px 7px; border-radius: 100px; background: var(--hot-wash); color: var(--hot-ink); transition: background-color 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.sx-roles em.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.sx-roles li.is-ext { border-style: dashed; border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.sx-roles li.is-hit { border-color: color-mix(in srgb, var(--ok) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 12%, transparent); }
.sx-roles li.is-hit em { transform: scale(1.12); }
.sx-roles li.is-deny { border-style: solid; border-color: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 16%, transparent), 0 8px 20px -10px color-mix(in srgb, var(--hot) 60%, transparent); animation: sxShake 0.45s var(--ease); }
.sx-roles li.is-anon { border-style: solid; border-color: color-mix(in srgb, var(--ok) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 12%, transparent); }
.sx-roles li.is-anon em { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
@keyframes sxShake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.sx-tag { position: absolute; z-index: 4; left: 0; top: 0; padding: 2px 7px; border-radius: 100px; font-family: var(--mono); font-size: 8px; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(-50%, -150%); background: var(--hot); color: var(--on-hot); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--hot) 60%, transparent); transition: opacity 0.3s; }
.sx-tag.is-anon { background: var(--ok); color: #fff; box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--ok) 60%, transparent); }
.sx-toast { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; background: var(--ink); color: var(--page); font-size: 10.5px; line-height: 1.3; }
.sx-toast svg { flex: none; color: var(--hot-ink); }
.sx.is-live .sx-toast { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.sx.is-live.is-toast .sx-toast { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .sx { grid-template-columns: 76px minmax(0, 1fr); column-gap: 30px; padding: 14px 10px 50px; }
  .sx-rack i { width: 58px; }
  .sx-rack i::after { width: 18px; }
  .sx-roles li { padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-rack i::before { animation: none; }
}


/* ══ бегущий свет по рамке (как у строки ассистента) — на главных кнопках всегда, на карточках при наведении ══ */
.gr { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 50%, var(--g1) 64%, var(--g2) 77%, var(--g3) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: cycSpin 4.8s linear infinite; animation-delay: var(--grd, 0s); }
.btn-ink.has-gr { animation: grGlow 4.8s ease-in-out infinite; animation-delay: var(--grd, 0s); }
@keyframes grGlow { 0%, 100% { box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--g1) 70%, transparent); } 50% { box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--g3) 70%, transparent); } }
.proj .gr, .bd .gr, .bn .gr { padding: 2px; opacity: 0; transition: opacity 0.45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .proj:hover .gr, .bd:hover .gr, .bn:hover .gr { opacity: 1; } }
@media (hover: none) { .proj.is-focus .gr { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gr, .btn-ink.has-gr { animation: none; } }

/* ══ светлая тема: первый экран и финал — светлое стекло вместо серых плашек, кнопки в фирменном градиенте вместо чёрных ══ */
:root:not([data-theme="dark"]) .hero-lede, :root:not([data-theme="dark"]) .final-phrases > div { background: rgba(255, 255, 255, 0.55); color: #17171b; border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 14px 34px -18px rgba(150, 50, 10, 0.35); }
:root:not([data-theme="dark"]) .final-phrases dt { color: rgba(23, 23, 27, 0.55); }
:root:not([data-theme="dark"]) .hero .btn-ink, :root:not([data-theme="dark"]) .final .btn-ink, :root:not([data-theme="dark"]) .hdr-cta, :root:not([data-theme="dark"]) .hero-ask-go { background: linear-gradient(115deg, var(--g1), color-mix(in srgb, var(--g1) 50%, var(--g3)) 60%, var(--g3)); color: #fff; }
:root:not([data-theme="dark"]) .hero .btn-ink:hover, :root:not([data-theme="dark"]) .final .btn-ink:hover, :root:not([data-theme="dark"]) .hdr-cta:hover, :root:not([data-theme="dark"]) .hero-ask:hover .hero-ask-go { background: linear-gradient(115deg, color-mix(in srgb, var(--g1) 85%, #000), var(--g3)); color: #fff; }
:root:not([data-theme="dark"]) .hero .btn-glass, :root:not([data-theme="dark"]) .final .btn-glass { background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.9); }

/* ══ вау-моменты в иллюстрациях: вспышка искр, ярче второй свет, цветная кромка окон ══ */
.burst { position: absolute; z-index: 30; width: 0; height: 0; pointer-events: none; }
.burst::before { content: ""; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--g2) 60%, transparent), color-mix(in srgb, var(--g3) 25%, transparent) 45%, transparent 70%); animation: bFlash 0.75s var(--ease) forwards; }
.burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 10px var(--g2); animation: bSpark 1s cubic-bezier(0.15, 0.8, 0.3, 1) forwards; }
.burst i:nth-child(3n) { background: var(--g3); box-shadow: 0 0 10px var(--g3); }
.burst i:nth-child(3n + 1) { background: var(--g1); box-shadow: 0 0 10px var(--g1); width: 4px; height: 4px; }
.burst.is-ok::before { background: radial-gradient(circle, rgba(47, 200, 130, 0.55), transparent 70%); }
.burst.is-ok i { background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.burst.is-ok i:nth-child(3n) { background: #b6ffdc; }
.burst.is-bad::before { background: radial-gradient(circle, color-mix(in srgb, var(--hot) 55%, transparent), transparent 70%); }
.burst.is-bad i { background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.burst.is-bad i:nth-child(3n) { background: #ffb08a; }
@keyframes bSpark { 0% { transform: translate(0, 0) scale(var(--s)); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
@keyframes bFlash { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .burst { display: none; } }
.viz-aura i { opacity: 0.38; }
:root[data-theme="dark"] .viz-aura i { opacity: 0.48; }
.bn-viz .viz-aura i { width: 70%; --blur: 34px; opacity: 0.3; }
.bn-viz.is-vis .viz-aura i { animation-play-state: running; }
.viz::after { background: radial-gradient(circle, color-mix(in srgb, var(--g1) 24%, transparent), color-mix(in srgb, var(--g3) 10%, transparent) 45%, transparent 68%); }
.ai-win, .kb-win, .db-win, .tm-win { box-shadow: var(--lift), 0 0 0 1px color-mix(in srgb, var(--g2) 16%, transparent), 0 24px 60px -30px color-mix(in srgb, var(--g3) 50%, transparent); }

/* ══ свечение за курсором: сильнее, с цветной кромкой, которая идёт за мышью ══ */
.has-glow::after { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--g1) 14%, transparent), color-mix(in srgb, var(--g3) 7%, transparent) 38%, transparent 62%); }
@media (hover: hover) and (pointer: fine) {
  .has-glow::before { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 1.5px; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--g2), color-mix(in srgb, var(--g3) 70%, transparent) 38%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s var(--ease); }
  .has-glow:hover::before { opacity: 1; }
  .proj:hover, .bn:hover, .bd:hover { box-shadow: 0 26px 60px -28px color-mix(in srgb, var(--g1) 55%, transparent), 0 10px 26px -18px color-mix(in srgb, var(--g3) 45%, transparent); }
}

/* ══ «Почему мы»: иконка маленькая и в одну строку с заголовком ══ */
.bn-text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.bn-text .card-ic { width: 34px; height: 34px; border-radius: 11px; }
.bn-text .card-ic svg { width: 17px; height: 17px; }
.bn-text h3, .bn-text .card-ic + h3 { margin-top: 0; text-wrap: balance; }
.bn-text .card-d { grid-column: 1 / -1; }


/* ══ вёрстка заголовков: акцентная часть всегда с новой строки, ровные переносы, на телефоне — без упора в края ══ */
.h2 em { display: block; }
.lead, .bn-text .card-d, .bd-pain, .proj-line { text-wrap: pretty; }
.final-h2, .verdict-h, .h2, .proj-thesis, .bd-h, .co-name { text-wrap: balance; }
@media (max-width: 720px) {
  .h2 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.06; }
  .final-h2 { font-size: clamp(26px, 7.2vw, 32px); }
  .verdict-h { font-size: clamp(26px, 7.4vw, 32px); }
  .lead { font-size: 16px; line-height: 1.55; }
}

/* ══ иллюстрации блоков 02–05: сочный фон со светом (светлая тема — тёплый оранжевый, тёмная — синий и фиолетовый), окна внутри белые / тёмные ══ */
.viz, .bn-viz {
  --tick: rgba(255, 255, 255, 0.3);
  border-color: color-mix(in srgb, var(--g3) 45%, transparent);
  background:
    radial-gradient(58% 62% at 84% 4%, rgba(255, 246, 228, 0.92), rgba(255, 214, 160, 0.4) 42%, transparent 72%),
    radial-gradient(72% 78% at 2% 102%, color-mix(in srgb, var(--g1) 88%, transparent), transparent 66%),
    radial-gradient(50% 55% at 100% 100%, rgba(255, 70, 40, 0.42), transparent 70%),
    linear-gradient(152deg, #ffb45a 0%, #ff8a2e 34%, var(--g3) 62%, #ee4a0a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
:root[data-theme="dark"] .viz, :root[data-theme="dark"] .bn-viz {
  --tick: rgba(255, 255, 255, 0.16);
  border-color: color-mix(in srgb, var(--g1) 55%, transparent);
  background:
    radial-gradient(1.2px 1.2px at 14% 22%, rgba(255, 255, 255, 0.85), transparent 100%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.7), transparent 100%),
    radial-gradient(1.4px 1.4px at 88% 58%, rgba(214, 226, 255, 0.8), transparent 100%),
    radial-gradient(1px 1px at 36% 82%, rgba(255, 255, 255, 0.6), transparent 100%),
    radial-gradient(1px 1px at 76% 90%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(1.2px 1.2px at 6% 64%, rgba(214, 226, 255, 0.7), transparent 100%),
    radial-gradient(58% 62% at 84% 4%, color-mix(in srgb, var(--g2) 34%, transparent), transparent 70%),
    radial-gradient(72% 78% at 2% 102%, color-mix(in srgb, var(--g3) 58%, transparent), transparent 66%),
    radial-gradient(50% 55% at 100% 100%, rgba(46, 70, 190, 0.42), transparent 70%),
    linear-gradient(152deg, #27378f 0%, #1a2268 40%, #10143f 78%, #0a0b26 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.viz::after { background: radial-gradient(circle, rgba(255, 244, 222, 0.5), rgba(255, 220, 170, 0.16) 45%, transparent 68%); }
:root[data-theme="dark"] .viz::after { background: radial-gradient(circle, color-mix(in srgb, var(--g2) 34%, transparent), color-mix(in srgb, var(--g1) 14%, transparent) 45%, transparent 68%); }
.bn-viz { isolation: isolate; }
.viz-aura i, .bn-viz .viz-aura i { opacity: 0.55; }
.viz-aura i:first-child { --ab: radial-gradient(circle, rgba(255, 226, 150, 0.95), transparent 66%); }
.viz-aura i:last-child { --ab: radial-gradient(circle, rgba(220, 40, 0, 0.7), transparent 66%); }
:root[data-theme="dark"] .viz-aura i, :root[data-theme="dark"] .bn-viz .viz-aura i { opacity: 0.55; }
:root[data-theme="dark"] .viz-aura i:first-child { --ab: radial-gradient(circle, var(--g2), transparent 66%); }
:root[data-theme="dark"] .viz-aura i:last-child { --ab: radial-gradient(circle, var(--g3), transparent 66%); }
.v-cap { color: #fff; opacity: 0.85; text-shadow: 0 1px 2px rgba(120, 30, 0, 0.25); }
:root[data-theme="dark"] .v-cap { text-shadow: none; opacity: 0.7; }
/* окна — плотные белые (в тёмной теме — тёмные), чтобы цветной фон не просвечивал */
.gl, .ai-win, .kb-win, .db-win, .tm-win { background: color-mix(in srgb, var(--surface) 97%, transparent); }
/* то, что лежит прямо на цветном фоне: провода, граф веток, подписи — белые */
.ai-wires path { stroke: rgba(255, 255, 255, 0.6); }
.ai-wires path.is-on { stroke: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7)); }
.ai-wires circle { fill: #fff; } .ai-wires circle.halo { fill: rgba(255, 255, 255, 0.4); }
.g-main { stroke: rgba(255, 255, 255, 0.55); }
.g-br { stroke: #fff; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6)); }
.g-n { stroke: var(--ink); }
.viz-eng.is-branch .g-b1, .viz-eng.is-test .g-b2, .viz-eng.is-merge .g-m { fill: var(--hot); stroke: #fff; stroke-width: 2.2; }
.tm-graph text { fill: #fff; opacity: 0.92; }

/* ══ «Почему мы»: белые виджеты на цветном фоне — как «Данные остаются вашими» и «Без чёрного ящика» ══ */
/* думаем как владельцы: график роста на белой карточке */
.bnv-launch { display: grid; place-items: center; padding: 20px; }
.bnv-card { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift); }
.bnv-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bnv-card-h b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.bnv-card-h em { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 100px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
.bnv-launch svg { width: 100%; height: auto; overflow: visible; }

/* пишем то, что другие покупают готовым: редактор — белое окно */
.bnv-code { display: grid; place-items: center; padding: 18px; gap: 0; }
.bnv-win { position: relative; z-index: 1; width: 100%; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift); }
.bnv-win .bnv-ed-bar { border-radius: 14px 14px 0 0; background: var(--surface-2); }
.bnv-win .bnv-ed { padding: 10px 10px 12px; }
.bnv-win .bnv-ac { left: 112px; top: 74px; z-index: 3; }

/* знаем, как всё устроено здесь: чек-лист местных требований, пункты отмечаются по очереди */
.bnv-local span { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; font-size: inherit; font-weight: inherit; white-space: normal; }
.bnv-local { display: grid; place-items: center; padding: 18px; min-height: 0; }
.bnv-local .lc-win { position: relative; z-index: 1; width: 100%; max-width: 360px; padding: 12px 10px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--lift); }
.bnv-local .lc-head { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.bnv-local .lc-pin { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g1), var(--g3)); color: #fff; }
.bnv-local .lc-head > b { min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bnv-local .lc-n { flex: none; margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.bnv-local .lc-n b { font-weight: 600; color: var(--ok); }
.bnv-local .lc-bar { display: block; height: 3px; margin: 9px 4px 6px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.lc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--g1), var(--g3)); transform-origin: 0 50%; transform: scaleX(var(--lc, 1)); transition: transform 0.5s var(--ease); }
.lc-list { display: grid; gap: 1px; }
.lc-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; column-gap: 9px; padding: 4px; border-radius: 9px; transition: background-color 0.35s; }
.bnv-local .lc-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--hair); color: var(--muted); transition: color 0.35s, background-color 0.35s, border-color 0.35s; }
.bnv-local .lc-t { display: flex; align-items: baseline; gap: 7px; min-width: 0; white-space: nowrap; }
.lc-t b { flex: none; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.lc-t i { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: normal; font-size: 11px; color: var(--muted); }
.lc-st { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: transparent; border: 1.5px solid var(--rule); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.lc-list li.is-ok .lc-st { background: var(--ok); border-color: var(--ok); color: #fff; }
.bnv-local .lc-list li.is-ok .lc-ic { color: var(--hot-ink); background: var(--hot-wash); border-color: transparent; }
.lc-list li.is-cur { background: var(--hot-wash); }
.lc-list li.is-cur .lc-st { border-color: var(--hot); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.lc-list li.is-pop .lc-st { animation: popIn 0.35s var(--ease); }
@media (prefers-reduced-motion: reduce) { .lc-list li .lc-st { animation: none !important; } }

/* редактор: место под подсказку внутри окна */
.bnv-win .bnv-ed { min-height: 150px; }

/* подписи прямо на цветном фоне — белые */
.sx-name, .sx-log li, .ax-prog small { color: rgba(255, 255, 255, 0.92); }
.sx-log li.is-bad { color: #fff; }
.sx-wires path { stroke: rgba(255, 255, 255, 0.6); }
.ax-prog i { background: rgba(255, 255, 255, 0.4); }
.ax-prog i.is-on { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.bnv-big { -webkit-text-stroke-color: rgba(255, 255, 255, 0.6); }

/* ══ «Вывод» и финал: поверх рендера — живые цветные свечения (светлая тема — оранжевые, тёмная — синие), под текстом ══ */
.scene-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.scene-glow i { position: absolute; display: block; aspect-ratio: 1; border-radius: 50%; animation: sg1 16s ease-in-out infinite alternate; }
.scene-glow i:nth-child(1) { left: -14%; top: -26%; width: 56%; background: radial-gradient(closest-side, rgba(255, 118, 40, 0.85), rgba(255, 130, 60, 0.32) 52%, transparent); }
.scene-glow i:nth-child(2) { right: -16%; bottom: -42%; width: 62%; background: radial-gradient(closest-side, rgba(255, 84, 30, 0.8), rgba(255, 100, 40, 0.28) 52%, transparent); animation-name: sg2; animation-duration: 19s; }
.scene-glow i:nth-child(3) { right: 4%; top: -18%; width: 36%; background: radial-gradient(closest-side, rgba(255, 178, 90, 0.9), rgba(255, 190, 110, 0.3) 52%, transparent); animation-name: sg3; animation-duration: 14s; }
.scene-glow i:nth-child(4) { left: 14%; bottom: -34%; width: 42%; background: radial-gradient(closest-side, rgba(255, 150, 60, 0.8), rgba(255, 120, 50, 0.26) 52%, transparent); animation-name: sg2; animation-duration: 23s; animation-direction: alternate-reverse; }
.scene-glow i:nth-child(5) { left: 58%; top: 10%; width: 15%; background: radial-gradient(closest-side, rgba(255, 206, 150, 0.7), rgba(255, 150, 70, 0.22) 55%, transparent); animation-name: sgPulse; animation-duration: 7s; animation-direction: normal; }
:root[data-theme="dark"] .scene-glow i { mix-blend-mode: screen; }
:root[data-theme="dark"] .scene-glow i:nth-child(1) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 80%, transparent), color-mix(in srgb, var(--g1) 30%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(2) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g3) 75%, transparent), color-mix(in srgb, var(--g3) 26%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(3) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g2) 70%, transparent), color-mix(in srgb, var(--g2) 22%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(4) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 70%, transparent), color-mix(in srgb, var(--g3) 22%, transparent) 50%, transparent); }
:root[data-theme="dark"] .scene-glow i:nth-child(5) { background: radial-gradient(closest-side, color-mix(in srgb, var(--g2) 80%, #fff), color-mix(in srgb, var(--g1) 30%, transparent) 55%, transparent); }
@keyframes sg1 { 0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; } 50% { transform: translate3d(22%, 14%, 0) scale(1.14); opacity: 1; } 100% { transform: translate3d(38%, -4%, 0) scale(0.92); opacity: 0.72; } }
@keyframes sg2 { 0% { transform: translate3d(0, 0, 0) scale(1.06); opacity: 0.9; } 50% { transform: translate3d(-24%, -16%, 0) scale(0.9); opacity: 0.7; } 100% { transform: translate3d(-10%, -30%, 0) scale(1.14); opacity: 1; } }
@keyframes sg3 { 0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.6; } 100% { transform: translate3d(-34%, 26%, 0) scale(1.2); opacity: 1; } }
@keyframes sgPulse { 0%, 100% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0.45; } 50% { transform: translate3d(-30%, 20%, 0) scale(1.2); opacity: 1; } }

/* финал: свечения по краям, центр с текстом и контактами — чистый */
.scene-final .scene-glow i:nth-child(1) { top: -18%; width: 48%; }
.scene-final .scene-glow i:nth-child(2) { bottom: -30%; width: 56%; }
.scene-final .scene-glow i:nth-child(3) { right: -6%; top: 20%; width: 32%; }
.scene-final .scene-glow i:nth-child(4) { left: -10%; bottom: -10%; width: 38%; }
.scene-final .scene-glow i:nth-child(5) { left: 30%; top: 4%; width: 13%; }

/* вывод: своя композиция — плашка, свет за фразой, вокруг медленно идёт цветное кольцо */
.scene-verdict .scene-bg::before { animation: breatheMIn 22s ease-in-out infinite alternate; }
@keyframes breatheMIn {
  from { transform: scaleX(-1) scale(1.02); }
  to { transform: translate3d(1.5%, 0, 0) scaleX(-1) scale(1.08); }
}
.verdict-pill { margin-bottom: 30px; }
.verdict-h { position: relative; }
.verdict-halo { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1180px, 130%); aspect-ratio: 2; translate: -50% -50%; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42) 50%, transparent); }
:root[data-theme="dark"] .verdict-halo { background: radial-gradient(closest-side, rgba(4, 4, 12, 0.55), rgba(4, 4, 12, 0.2) 55%, transparent); }
.verdict-halo::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; margin: -41% 0 0 -41%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, var(--g3) 17%, var(--g2) 23%, transparent 33%, transparent 56%, color-mix(in srgb, var(--g3) 80%, var(--g1)) 66%, var(--g2) 72%, transparent 82%);
  -webkit-mask: radial-gradient(closest-side, transparent 66%, #000 76%, #000 84%, transparent 96%); mask: radial-gradient(closest-side, transparent 66%, #000 76%, #000 84%, transparent 96%);
  opacity: 0.62; animation: vhSpin 28s linear infinite;
  /* плавность: blur(18px) на вращающемся кольце пересчитывался каждый кадр; переходы конического градиента и маска и так мягкие */
}
@keyframes vhSpin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .verdict-pill { margin-bottom: 22px; }
  .verdict-halo { width: 170%; aspect-ratio: 1.2; }
  .scene-glow i:nth-child(1), .scene-glow i:nth-child(2) { width: 90%; }
  .scene-glow i:nth-child(3), .scene-glow i:nth-child(4) { width: 70%; }
  .scene-glow i:nth-child(5) { width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-glow i, .verdict-halo::before, .scene-verdict .scene-bg, .scene-verdict .scene-bg::before { animation: none !important; }
}

/* ══ 02 · карточки задач: название направления — главный заголовок, номер — мелкий акцент над ним, длинная фраза — подзаголовок ══ */
.bd .kicker {
  position: relative; clip-path: inset(-0.4em 0 -0.4em 0); padding-top: 24px;
  font-family: var(--font); font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; text-transform: none; color: var(--ink);
  text-indent: -0.512em; text-wrap: balance;
}
.bd .kicker .hot { position: absolute; left: 0; top: 0; text-indent: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.14em; color: var(--hot-ink); }
.bd .bd-h { margin-top: 12px; font-size: clamp(18px, 1.45vw, 20px); font-weight: 400; line-height: 1.4; letter-spacing: -0.012em; color: color-mix(in srgb, var(--ink) 78%, var(--muted)); }
@media (max-width: 720px) {
  .bd .kicker { font-size: 24px; padding-top: 22px; }
  .bd .bd-h { font-size: 18px; }
}

/* ── 02 на планшете: до 1240px карточка в одну колонку (сцена сверху во всю ширину), иначе окна сцен узкие и режутся.
      Шапка окна ассистента: заголовок может сжиматься, плашка «сервер компании» компактнее, в узком окне — только замок ── */
@media (min-width: 1061px) and (max-width: 1240px) {
  .bd { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .bd .viz { order: -1; }
  .bd:nth-child(even) .bd-text { order: 0; }
}
.ai-win { container-type: inline-size; }
.ai-bar { gap: 8px; }
.ai-title { min-width: 0; }
.ai-title b { overflow: hidden; text-overflow: ellipsis; }
.ai-lock { flex: none; gap: 4px; padding: 4px 8px; font-size: 9.5px; letter-spacing: 0.02em; }
@container (max-width: 300px) { .ai-lock { font-size: 0; gap: 0; padding: 6px; } }

/* ── 04 «Почему мы»: шесть одинаковых карточек — сцена сверху одной высоты, ниже иконка с заголовком и текст.
      3 колонки на компьютере, 2 на планшете, 1 на телефоне ── */
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bn { gap: 22px; padding: 12px 12px 26px; }
.bn .bn-viz { order: -1; flex: none; height: 300px; min-height: 0; }
.bn-text { padding: 0 12px; align-items: start; }
.bn-text { align-items: center; }
.bn-text h3 { font-size: 21px; line-height: 1.22; min-height: 2.44em; display: flex; align-items: center; }
.bn-text .card-d { margin-top: 12px; font-size: 15px; line-height: 1.55; }
@media (max-width: 1240px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bn { padding: 10px 10px 22px; }
  .bn .bn-viz { height: 270px; }
  .bn-text { padding: 0 8px; }
  .bn-text h3 { font-size: 20px; }
}

/* ── первый экран на телефоне: больше воздуха между кнопками, строкой ассистента и бегущей строкой ── */
@media (max-width: 720px) {
  .hero-cta { margin-top: 28px; gap: 12px; }
  .hero-ask { margin-top: 28px; }
  .ribbon { margin-top: 38px; }
}

/* ── 03 «Путь продукта»: сплошная линия без точек. Плавно заполняется за курсором (на сенсорных экранах — за прокруткой),
      подсвечена карточка, до которой дошла линия. ≥1181 — линия над карточками слева направо; уже — слева, сверху вниз ── */
.cyc-rail { height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.cyc-fill { border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--g1) 30%, transparent), var(--g1) 40%, var(--g3)); box-shadow: 0 0 10px color-mix(in srgb, var(--g3) 55%, transparent), 0 0 2px color-mix(in srgb, var(--g3) 80%, transparent); }
.cyc-step { padding-top: 28px; }
.cyc-card { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease); }
@media (max-width: 1180px) {
  .cyc-list { grid-template-columns: minmax(0, 1fr); gap: 10px; row-gap: 10px; }
  .cyc-rail { display: block; left: 32px; right: auto; top: 60px; bottom: 24px; width: 3px; height: auto; }
  .cyc-fill { width: auto; right: 0; bottom: auto; height: calc(var(--p, 1) * 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--g1) 30%, transparent), var(--g1) 30%, var(--g3)); }
  .cyc-step { padding: 0 0 0 36px; }
  .cyc-step.is-now .cyc-card { transform: translateX(6px); }
}
/* планшет: карточка — широкая строка: иконка · название и описание · «на выходе» */
@media (min-width: 721px) and (max-width: 1180px) {
  .cyc-card { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 22px; align-items: start; padding: 20px 22px; }
  .cyc-top { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; justify-content: flex-start; gap: 10px; }
  .cyc-card h3 { grid-column: 2; margin-top: 4px; }
  .cyc-d { grid-column: 2; }
  .cyc-out { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; padding: 0 0 0 22px; border-left: 1px solid var(--hair); align-self: stretch; justify-content: center; }
  .cyc-out .mark { border-top: 0; padding-top: 0; }
  .cyc-num { right: 22px; }
}
@media (max-width: 720px) {
  .cyc-rail { left: 19px; top: 46px; bottom: 16px; }
  .cyc-step { padding: 0 0 0 30px; }
  .cyc-step.is-now .cyc-card { transform: translateX(4px); }
}

/* ── 05 «Компания»: третья карточка «Как мы работаем» — один договор, одна команда, одна ответственность ── */
.co-deal { margin-top: 16px; padding: 26px 28px 28px; }
.co-deal-k { color: var(--muted); }
.co-deal-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-deal-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; padding: 4px 24px; }
.co-deal-list li:first-child { padding-left: 0; }
.co-deal-list li:last-child { padding-right: 0; }
.co-deal-list li + li { border-left: 1px solid var(--hair); }
.co-deal-ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g3)); box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--g3) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.co-deal-ic svg { width: 22px; height: 22px; }
.co-deal-list b { align-self: end; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.co-deal-list i { align-self: start; font-style: normal; font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1060px) {
  .co-deal-list { grid-template-columns: minmax(0, 1fr); }
  .co-deal-list li, .co-deal-list li:first-child, .co-deal-list li:last-child { padding: 16px 0; }
  .co-deal-list li + li { border-left: 0; border-top: 1px solid var(--hair); }
  .co-deal-list li:last-child { padding-bottom: 0; }
}
@media (max-width: 720px) {
  .co-deal { padding: 20px 20px 22px; }
  .co-deal-list { margin-top: 10px; }
  .co-deal-list li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .co-deal-ic { width: 44px; height: 44px; border-radius: 13px; }
  .co-deal-list b { font-size: 18px; }
  .co-deal-list i { font-size: 14px; }
}

/* ── 04 «Почему мы»: выравнивание сцен в одинаковых карточках ──
   код — окно по центру и во всю ширину; чек-лист шире; «данные» — по центру по высоте (уведомление поверх снизу);
   акты крупнее; плашки отраслей и цифра 13 крупнее */
.bnv-code { grid-template-columns: minmax(0, 1fr); }
.bnv-code .bnv-win { width: min(100%, 420px); justify-self: center; }
.bnv-local { grid-template-columns: minmax(0, 1fr); }
.bnv-local .lc-win { width: min(100%, 400px); max-width: none; justify-self: center; padding: 14px 12px 10px; }
.bn .sx { padding: 30px 16px; }
.bn .ax-top { left: 14px; right: 14px; top: 14px; }
.bn .ax-chip { padding: 4px 10px 4px 4px; font-size: 11.5px; }
.bn .ax-chip em, .bn .ax-fin em { width: 16px; height: 16px; font-size: 9px; }
.bn .ax-doc { top: 58px; width: 210px; margin-left: -86px; gap: 4px; padding: 14px 15px 14px; border-radius: 15px; }
.bn .ax-h b { font-size: 16px; }
.bn .ax-h em { font-size: 9.5px; }
.bn .ax-name { font-size: 13px; }
.bn .ax-lines { gap: 4px; margin-top: 7px; }
.bn .ax-lines i { height: 4px; }
.bn .ax-demo { margin-top: 8px; gap: 6px; padding: 6px 6px 6px 9px; border-radius: 9px; font-size: 12px; }
.bn .ax-demo em { width: 16px; height: 16px; font-size: 9.5px; }
.bn .ax-sign { margin-top: 8px; padding-top: 7px; min-height: 30px; gap: 9px; }
.bn .ax-sign small { font-size: 9px; }
.bn .ax-pen { width: 68px; height: 21px; }
.bn .ax-stamp { right: 12px; bottom: 14px; padding: 4px 9px; font-size: 10.5px; }
.bn .ax-fin { padding: 7px 14px 7px 7px; font-size: 13px; }
.bn .bnv-ind { gap: 12px; }
.bn .bnv-track { gap: 10px; }
.bn .bnv-track span { padding: 11px 19px; font-size: 15.5px; }
.bn .bnv-big { font-size: 232px; }
@media (max-width: 720px) {
  .bn .sx { padding: 18px 10px 40px; }
  .bn .ax-doc { width: 196px; margin-left: -80px; }
  .bn .bnv-big { font-size: 200px; }
}

/* ══ плавность на телефоне (25.11.2026): только способ отрисовки, вид и тайминг прежние ══
   1) Вне экрана всё стоит: app.js ставит .is-off блоку (сцена, карточка, заголовок…), пока его нет на экране.
   2) Бегущий свет по рамке карточек крутится, только когда виден (наведение, фокус, карточка в центре экрана на телефоне).
      Пока он идёт — отдельным слоем, чтобы каждый кадр перерисовывался он один, а не вся карточка под ним.
   3) Окна сцен почти непрозрачные (94–97 %): размытие фона под ними было незаметно, но пересчитывалось каждый кадр,
      потому что под окнами плывёт цветной свет.
   4) Курсоры, точки, «призрак» карточки и бирка двигаются через translate, а не left/top. */
.is-off, .is-off::before, .is-off::after, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

.proj > .gr, .bd > .gr, .bn > .gr, .pfold > .gr { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .proj:hover > .gr, .bd:hover > .gr, .bn:hover > .gr, .pfold:not(.is-open):hover > .gr { animation-play-state: running; will-change: transform; }
}
@media (hover: none) {
  .proj.is-focus > .gr, .bd.is-focus:has(.bd-link) > .gr { animation-play-state: running; will-change: transform; }
}
.bd:has(.bd-link:focus-visible) > .gr { animation-play-state: running; }
/* свет по рамке строки ассистента и текущего шага цикла — своим слоем (перерисовывается каждый кадр) */
.hero-ask::before, .hero-ask::after, .co-scene-ask::before, .cyc-step.is-now .cyc-card::before { will-change: transform; }
/* рамка «синхронизировано» в сцене приложения видна только в конце сценария — до этого не крутится */
.mo-sync::before { animation-play-state: paused; }
.viz-app.is-synced .mo-sync::before { animation-play-state: running; }

.gl, .ai-win, .kb-win, .db-win, .tm-win, .mo-scr { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* мягкий свет сцены 02 (бывший .viz::after): app.js кладёт в сцену .viz-glow — двигается он, а размыт неподвижный ::before.
   Без скрипта и при «меньше движения» остаётся прежний .viz::after */
.viz.has-vglow::after { content: none; }
.viz-glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; pointer-events: none; will-change: transform; animation: vizBreath 9s ease-in-out infinite alternate; }
.viz-glow::before { content: ""; position: absolute; inset: 0; border-radius: 50%; filter: blur(30px); background: radial-gradient(circle, rgba(255, 244, 222, 0.5), rgba(255, 220, 170, 0.16) 45%, transparent 68%); }
:root[data-theme="dark"] .viz-glow::before { background: radial-gradient(circle, color-mix(in srgb, var(--g2) 34%, transparent), color-mix(in srgb, var(--g1) 14%, transparent) 45%, transparent 68%); }

.mo-tap { left: 0; top: 0; transition: translate 0.5s var(--ease), opacity 0.3s; }
.mo-dot { left: 0; top: 0; transition: transform 0.55s cubic-bezier(0.5, -0.2, 0.5, 1), translate 0.55s cubic-bezier(0.4, 0.3, 0.6, 1.2), opacity 0.3s; }
.kb-ghost { left: 0; top: 0; transition: translate 0.75s var(--ease), transform 0.3s var(--ease); }
.kb-cursor { transition: translate 0.75s var(--ease), opacity 0.3s; }
.kb-prog span { width: 100%; transform: translateX(calc(var(--w, 12%) - 100%)); transition: transform 0.8s var(--ease); }

/* параллакс фона первого экрана, «вывода» и финала — прокруткой в самом CSS, если браузер это умеет (Safari 26+, Chrome 115+):
   тогда app.js его не считает. Сдвиг тот же, что в app.js: −0,08 × положение блока на экране */
@supports (animation-timeline: view()) {
  .scene { view-timeline: --scene block; view-timeline-inset: 0px; }   /* inset 0: иначе браузер вычитает scroll-padding-top (96px) */
  .scene-bg { animation: sceneShift linear both; animation-timeline: --scene; animation-range: cover 0% cover 100%; }
  @keyframes sceneShift { from { translate: 0 -8dvh; } to { translate: 0 7.142857%; } }
}
/* свет за строкой вопроса в блоке BenevskyAI: размыт неподвижный ::before, а дышит (scale) сам .co-orb — размытие рисуется один раз */
.co-orb { filter: none; background: none; }
.co-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; filter: blur(10px); background: radial-gradient(circle at 38% 40%, color-mix(in srgb, var(--g1) 45%, transparent), transparent 60%), radial-gradient(circle at 68% 64%, color-mix(in srgb, var(--g3) 38%, transparent), transparent 58%); }
@media (prefers-reduced-motion: reduce) {
  .viz-glow, .viz-glow::before { animation: none !important; }
}
