/* ==========================================================================
   ОРБИТА — сквозная аналитика для e-commerce
   Общие стили. Чистый CSS, без сборки.
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  --bg: #070a16;
  --bg-2: #0b1022;
  --bg-3: #10162e;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eceefb;
  --muted: #9aa3c2;
  --dim: #7a83a6;
  --indigo: #5b5bf5;
  --indigo-2: #7c7cff;
  --violet: #9b6bff;
  --teal: #2ee6c5;
  --amber: #ffb454;
  --red: #ff6b81;
  --grad: linear-gradient(100deg, #7c7cff 0%, #9b6bff 42%, #2ee6c5 100%);
  --grad-btn: linear-gradient(135deg, #5b5bf5 0%, #8a5cf6 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --hh: 68px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Geologica', 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: break-word; }
[hidden] { display: none !important; }
::selection { background: rgba(91, 91, 245, .55); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; letter-spacing: -.02em; }
.nowrap { white-space: nowrap; }
.up { color: var(--teal); }
.down { color: var(--red); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 520px) { .container { width: calc(100% - 32px); } }

/* Фон: световые пятна + точечная сетка */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 46% at 12% -6%, rgba(91, 91, 245, .30), transparent 70%),
    radial-gradient(44% 40% at 92% 2%, rgba(155, 107, 255, .20), transparent 70%),
    radial-gradient(40% 36% at 72% 104%, rgba(46, 230, 197, .10), transparent 70%),
    var(--bg);
}
.bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 25%, transparent 80%);
}

/* ---------- 3. Кнопки, бейджи, мелочи ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 10px 30px -8px rgba(91, 91, 245, .7), 0 0 0 1px rgba(124, 124, 255, .5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .34) inset, 0 16px 40px -8px rgba(110, 96, 250, .9), 0 0 0 1px rgba(160, 150, 255, .7); }
.btn--ghost { color: var(--text); background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2) inset; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .10); transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.985); }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2) inset; transition: color .2s, background .2s; }
.badge b { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #06101a; background: var(--teal); }
a.badge:hover { color: var(--text); background: rgba(255, 255, 255, .09); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 500 11.5px/1.4 var(--mono); white-space: nowrap; }
.pill--good { color: var(--teal); background: rgba(46, 230, 197, .12); }
.pill--mid { color: var(--amber); background: rgba(255, 180, 84, .12); }
.pill--bad { color: var(--red); background: rgba(255, 107, 129, .13); }
.pill--info { color: #b9b9ff; background: rgba(91, 91, 245, .2); }

.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--teal); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

.section { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: 18px; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); }
.section__head p { margin-top: 18px; color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 640px; }
.section__head--center p { margin-inline: auto; }

/* Стеклянная карточка + свечение за курсором */
.card { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px var(--line) inset; isolation: isolate; }
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(110, 100, 255, .20), transparent 62%); }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 150, 255, .9), rgba(46, 230, 197, .35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }
.glow:hover::before, .glow:hover::after { opacity: 1; }

/* Градиентная обводка */
.gborder { position: relative; }
.gborder > .gborder__line { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(124, 124, 255, .95), rgba(155, 107, 255, .35) 35%, rgba(255, 255, 255, .06) 60%, rgba(46, 230, 197, .75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }

/* Появление при скролле */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--tilt { transform: perspective(1800px) rotateX(14deg) translateY(50px) scale(.97); transform-origin: 50% 0; transition-duration: 1.3s; }

/* ---------- 4. Шапка ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--hh); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 10, 22, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.header.is-stuck::before, .nav-open .header::before { background: rgba(7, 10, 22, .86); border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--display); letter-spacing: -.02em; }
.logo svg { width: 32px; height: 32px; }
.logo__ring { transform-origin: 16px 16px; animation: spin 14s linear infinite; }
.nav { margin-right: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(91, 91, 245, .9); }
.nav__extra { display: none; }
.header__act { display: flex; align-items: center; gap: 16px; }
.plink { font-size: 13px; color: var(--dim); transition: color .2s; white-space: nowrap; }
.plink:hover { color: var(--text); }
.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 10px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1020px) { .header .plink { display: none; } }
@media (max-width: 900px) {
  :root { --hh: 62px; }
  .burger { display: block; }
  .header__in { gap: 12px; }
  .header__act { margin-left: auto; gap: 10px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--hh)); height: calc(100dvh - var(--hh)); margin: 0; padding: 20px 24px 32px; overflow-y: auto; display: flex; flex-direction: column; background: rgba(7, 10, 22, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 18px 4px; font: 500 22px/1.2 var(--display); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: 4px; right: auto; width: 36px; bottom: 8px; }
  .nav__extra { display: grid; gap: 16px; margin-top: auto; padding-top: 28px; }
  .nav__extra .plink { display: block; text-align: center; font-size: 14px; padding: 8px; }
}
@media (max-width: 420px) { .header__act .btn { display: none; } }

/* ---------- 5. Hero (главная) ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); text-align: center; }
main { overflow-x: clip; }
.hero__orbits { position: absolute; left: 50%; top: clamp(260px, 34vw, 420px); width: max(1100px, 96vw); transform: translateX(-50%); z-index: -1; opacity: .9; pointer-events: none; }
.hero h1 { margin: 26px auto 0; max-width: 980px; font-size: clamp(2.1rem, 1rem + 5.2vw, 4.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.hero__lead { margin: 24px auto 0; max-width: 680px; color: var(--muted); font-size: clamp(1.02rem, .95rem + .45vw, 1.28rem); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: 13.5px; color: var(--dim); }
.hero__notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__notes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.hero__stage { position: relative; margin-top: clamp(44px, 6vw, 80px); text-align: left; }
.hero__stage::before { content: ""; position: absolute; left: 8%; right: 8%; top: -6%; height: 60%; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, rgba(91, 91, 245, .55), rgba(155, 107, 255, .2) 50%, transparent 75%); filter: blur(50px); }
@media (max-width: 520px) { .hero__cta .btn { width: 100%; } }

/* ---------- 6. Мокап дашборда ---------- */
.dash { position: relative; border-radius: 20px; overflow: hidden; font-size: 13px; line-height: 1.4;
  background: linear-gradient(180deg, rgba(19, 25, 56, .94), rgba(9, 13, 30, .97));
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 50px 130px -30px rgba(70, 64, 220, .55), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.dash__bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dash__url { flex: 1; max-width: 360px; margin-inline: auto; padding: 5px 14px; border-radius: 8px; text-align: center; font: 400 11.5px/1.4 var(--mono); color: var(--dim); background: rgba(0, 0, 0, .28); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__url b { color: var(--muted); font-weight: 500; }
.dash__body { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.dash__side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, .16); }
.dash__ws { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
.dash__ws i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 600 11px/1 var(--mono); font-style: normal; color: #fff; background: linear-gradient(135deg, #5b5bf5, #2ee6c5); }
.dash__ws small { display: block; font-weight: 400; font-size: 11px; color: var(--dim); }
.dash__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--muted); }
.dash__nav .ic { width: 16px; height: 16px; }
.dash__nav.is-on { color: var(--text); background: rgba(91, 91, 245, .2); box-shadow: 0 0 0 1px rgba(124, 124, 255, .35) inset; }
.dash__nav em { margin-left: auto; padding: 1px 7px; border-radius: 999px; font: 500 10.5px/1.5 var(--mono); font-style: normal; color: #1a0b10; background: var(--red); }
.dash__sync { margin-top: auto; padding: 12px 10px 4px; font-size: 11.5px; color: var(--dim); }
.dash__sync b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 500; color: var(--muted); }
.dash__main { display: grid; gap: 14px; padding: 18px; min-width: 0; }
.dash__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dash__top h3 { margin-right: auto; font-size: 18px; letter-spacing: -.01em; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 9px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .045); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; }
.chip .ic { width: 14px; height: 14px; }
.chip--live { color: var(--teal); background: rgba(46, 230, 197, .08); box-shadow: 0 0 0 1px rgba(46, 230, 197, .25) inset; }
.chip b { font: 500 12px/1 var(--mono); color: var(--text); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; padding: 14px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; overflow: hidden; }
.kpi__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.kpi__label abbr { text-decoration: none; }
.kpi__val { margin-top: 8px; font: 600 clamp(18px, 1.7vw, 23px)/1.1 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.kpi__val small { font-size: .6em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kpi__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.kpi__delta { font: 500 11.5px/1.3 var(--mono); }
.kpi__delta span { display: block; font-family: var(--font); font-size: 10.5px; color: var(--dim); }
.spark { width: 84px; height: 30px; flex: none; overflow: visible; }

.dash__row { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 12px; }
.panel { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.panel__head h4 { font: 600 13.5px/1.3 var(--font); letter-spacing: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--indigo)); }

.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.chart .grid line.dash { stroke-dasharray: 3 5; }
.chart__x { display: flex; justify-content: space-between; margin-top: 8px; font: 400 10.5px/1 var(--mono); color: var(--dim); }
.chart__tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 10px; border-radius: 10px; font-size: 11px; line-height: 1.45; white-space: nowrap; color: var(--muted); background: rgba(12, 16, 38, .92); box-shadow: 0 0 0 1px var(--line-2) inset, 0 12px 30px -8px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .6s 1.8s; pointer-events: none; }
.chart__tip b { display: block; font: 600 12.5px/1.3 var(--mono); color: var(--text); }
.in .chart__tip, .chart.in .chart__tip { opacity: 1; }

/* линии графиков: рисуются через pathLength=1 */
.js .s-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .s-line, .js .in.s-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.js .s-area, .js .s-mark { opacity: 0; }
.js .in .s-area { opacity: 1; transition: opacity 1.2s ease 1s; }
.js .in .s-mark { opacity: 1; transition: opacity .6s ease 1.9s; }
.s-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(2.1); opacity: 0; } }

.donut { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 16px; }
.donut__svg { position: relative; }
.donut__svg svg { width: 116px; height: 116px; transform: rotate(-90deg); }
.donut__svg circle { fill: none; stroke-width: 11; stroke: var(--c); stroke-dasharray: var(--v) 100; stroke-dashoffset: calc(var(--o) * -1); stroke-linecap: butt; }
.donut__svg circle.track { stroke: rgba(255, 255, 255, .06); stroke-dasharray: none; }
.js .donut__svg circle:not(.track) { stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease) calc(var(--i, 0) * .12s + .3s); }
.js .in .donut__svg circle:not(.track) { stroke-dasharray: var(--v) 100; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 10.5px; color: var(--dim); }
.donut__center b { font: 600 17px/1.2 var(--mono); color: var(--text); letter-spacing: -.04em; }
.donut__list { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.donut__list li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.donut__list i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); flex: none; }
.donut__list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut__list b { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--text); }

.tbl-wrap { overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { padding: 8px 10px; text-align: right; font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .045); white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: -.02em; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 4px; }
.tbl td:first-child { font-family: var(--font); font-size: 12.5px; letter-spacing: 0; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.tbl td.ch, .tbl th.ch { text-align: left; font-family: var(--font); color: var(--muted); letter-spacing: 0; }
.tbl .src { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 3px; background: var(--c); }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .03); }

@media (max-width: 1000px) {
  .dash__body { grid-template-columns: minmax(0, 1fr); }
  .dash__side { display: none; }
}
@media (max-width: 820px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__row { grid-template-columns: minmax(0, 1fr); }
  .tbl .c-hide-md { display: none; }
}
@media (max-width: 560px) {
  .dash { border-radius: 16px; font-size: 12px; }
  .dash__main { padding: 12px; gap: 10px; }
  .dash__bar { padding: 9px 12px; }
  .kpis { gap: 8px; }
  .kpi { padding: 11px 11px 10px; }
  .kpi__delta span { display: none; }
  .spark { width: 60px; height: 24px; }
  .panel { padding: 12px; }
  .chip--opt, .tbl .c-hide-sm { display: none; }
  .tbl td:first-child { max-width: 128px; }
  .donut { grid-template-columns: 96px minmax(0, 1fr); }
  .donut__svg svg { width: 96px; height: 96px; }
  .chart__tip { display: none; }
}

/* ---------- 7. Логотипы клиентов ---------- */
.logos { padding: 12px 0 8px; }
.logos__title { text-align: center; font-size: 14px; color: var(--dim); }
.logos__title b { color: var(--muted); font-weight: 500; }
.marquee { position: relative; margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); }
.marquee svg { height: 30px; width: auto; color: #aab2d3; opacity: .7; transition: opacity .3s, color .3s; }
.marquee svg:hover { opacity: 1; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento__item { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); min-width: 0; overflow: hidden; }
.bento__item h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -.015em; }
.bento__item > p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 520px; }
.bento__viz { margin-top: auto; padding-top: 26px; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.bento__tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.bento__tag .ic { width: 16px; height: 16px; color: var(--indigo-2); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-4 { grid-column: span 2; } .b-3, .b-2 { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .b-4, .b-3, .b-2 { grid-column: auto; } }

/* воронка */
.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.funnel__col { display: flex; flex-direction: column; min-width: 0; }
.funnel__bar { position: relative; height: 150px; display: flex; align-items: flex-end; }
.funnel__bar i { display: block; width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--c1, #7c7cff), rgba(91, 91, 245, .12)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; transform-origin: bottom; }
.js .funnel__bar i { transform: scaleY(0); transition: transform 1.1s var(--ease) calc(var(--i) * .12s + .2s); }
.js .in .funnel__bar i { transform: none; }
.funnel__col:last-child .funnel__bar i { --c1: #2ee6c5; background: linear-gradient(180deg, #2ee6c5, rgba(46, 230, 197, .1)); box-shadow: 0 0 0 1px rgba(46, 230, 197, .4) inset, 0 0 40px -6px rgba(46, 230, 197, .55); }
.funnel__val { margin-top: 12px; font: 600 clamp(13px, 1.3vw, 16px)/1.2 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.funnel__name { margin-top: 3px; font-size: 12px; color: var(--muted); }
.funnel__cr { margin-top: 3px; font: 400 10.5px/1.3 var(--mono); color: var(--dim); white-space: nowrap; }
@media (max-width: 480px) { .funnel { gap: 6px; } .funnel__bar { height: 110px; } .funnel__val { font-size: 11.5px; } .funnel__name { font-size: 10.5px; } .funnel__cr { display: none; } }

/* телеграм-уведомление */
.tg { display: grid; gap: 10px; }
.tg__msg { position: relative; padding: 12px 14px; border-radius: 14px 14px 14px 4px; font-size: 13px; line-height: 1.5; color: var(--muted); background: rgba(91, 91, 245, .13); box-shadow: 0 0 0 1px rgba(124, 124, 255, .28) inset; }
.tg__msg--warn { background: rgba(255, 107, 129, .09); box-shadow: 0 0 0 1px rgba(255, 107, 129, .3) inset; }
.tg__msg--ok { background: rgba(46, 230, 197, .07); box-shadow: 0 0 0 1px rgba(46, 230, 197, .25) inset; }
.tg__msg strong { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 600; color: var(--text); }
.tg__msg b { font: 500 12.5px/1 var(--mono); color: var(--text); }
.tg__msg time { display: block; margin-top: 6px; text-align: right; font: 400 10.5px/1 var(--mono); color: var(--dim); }
.tg__from { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.tg__from i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-btn); }
.tg__from i svg { width: 16px; height: 16px; }

/* SKU-список */
.sku { display: grid; gap: 12px; }
.sku li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 58px; align-items: center; gap: 12px; font-size: 13px; }
.sku span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.sku .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.sku .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--indigo), var(--teal)); transform-origin: left; }
.sku .bar i.neg { background: var(--red); }
.js .sku .bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--i) * .1s + .2s); }
.js .in .sku .bar i { transform: none; }
.sku b { text-align: right; font: 500 12.5px/1 var(--mono); }

/* атрибуция */
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 1px var(--line) inset; }
.seg button { flex: 1 1 auto; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: #fff; background: rgba(91, 91, 245, .35); box-shadow: 0 0 0 1px rgba(124, 124, 255, .5) inset; }
.attr { display: grid; gap: 10px; margin-top: 18px; }
.attr li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.attr .bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.attr .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c); transition: width .7s var(--ease); }
.attr b { text-align: right; font: 500 12.5px/1 var(--mono); color: var(--text); }

/* обновление */
.sync { display: grid; gap: 14px; }
.sync__big { display: flex; align-items: baseline; gap: 10px; font: 600 clamp(40px, 5vw, 60px)/1 var(--mono); letter-spacing: -.06em; }
.sync__big small { font: 400 14px/1.2 var(--font); letter-spacing: 0; color: var(--muted); }
.sync__rows { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.sync__rows li { display: flex; align-items: center; gap: 10px; }
.sync__rows time { margin-left: auto; font: 400 11.5px/1 var(--mono); color: var(--dim); }

/* когорты */
.heat { display: grid; grid-template-columns: 64px repeat(6, minmax(0, 1fr)); gap: 5px; font: 400 10.5px/1 var(--mono); color: var(--dim); }
.heat > span { display: flex; align-items: center; }
.heat > span.h { justify-content: center; padding-bottom: 2px; }
.heat i { display: grid; place-items: center; height: 30px; border-radius: 7px; font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, calc(.45 + var(--o) * .55)); background: rgba(91, 91, 245, var(--o)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05) inset; }
.heat i.t { background: rgba(46, 230, 197, calc(var(--o) * .8)); color: #03130f; font-weight: 600; }
.heat i.e { background: rgba(255, 255, 255, .025); }
.js .heat i { opacity: 0; transform: scale(.8); transition: opacity .5s ease calc(var(--k, 0) * 28ms), transform .5s var(--ease) calc(var(--k, 0) * 28ms); }
.js .in .heat i { opacity: 1; transform: none; }
@media (max-width: 420px) { .heat { grid-template-columns: 50px repeat(6, minmax(0, 1fr)); gap: 3px; } .heat i { height: 26px; font-size: 9px; } }

/* ---------- 9. Интеграции / орбиты ---------- */
.integr { overflow: hidden; }
.integr__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.integr__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 32px; }
.integr__list li { padding-left: 16px; border-left: 1px solid var(--line-2); }
.integr__list b { display: block; font-weight: 600; font-size: 15px; }
.integr__list span { font-size: 13.5px; color: var(--muted); }
.integr .btn { margin-top: 36px; }
.orbits { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbits::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 91, 245, .38), rgba(155, 107, 255, .12) 45%, transparent 70%); filter: blur(20px); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .11); animation: spin var(--dur, 60s) linear infinite; }
.ring--1 { inset: 31%; --dur: 36s; border-color: rgba(124, 124, 255, .4); }
.ring--2 { inset: 17.5%; --dur: 58s; animation-direction: reverse; border-style: dashed; border-color: rgba(255, 255, 255, .16); }
.ring--3 { inset: 4%; --dur: 84s; border-color: rgba(46, 230, 197, .22); }
.ring__slot { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.ochip { position: absolute; left: 100%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: var(--text); background: rgba(14, 19, 44, .92); box-shadow: 0 0 0 1px var(--line-2) inset, 0 8px 24px -8px rgba(0, 0, 0, .8); pointer-events: auto; animation: unspin var(--dur, 60s) linear infinite; }
.ring--2 .ochip { animation-direction: reverse; }
.ochip b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 600 10px/1 var(--mono); color: #fff; background: var(--c, var(--indigo)); }
.orbits__core { position: absolute; inset: 39%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #8b8bff, #4a3fe0 55%, #231a7a); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 60px rgba(91, 91, 245, .8), 0 0 140px rgba(91, 91, 245, .45); }
.orbits__core svg { width: 46%; height: 46%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes unspin { from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); } to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); } }
@media (max-width: 900px) { .integr__grid { grid-template-columns: minmax(0, 1fr); } .orbits { order: -1; width: min(460px, 100%); } }
@media (max-width: 640px) { .ochip { padding: 4px; } .ochip span { display: none; } .ochip b { width: 30px; height: 30px; font-size: 10.5px; } .ring--3 { inset: 6%; } }
@media (max-width: 420px) { .integr__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10. Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat__num { font: 600 clamp(2rem, 1.2rem + 2.6vw, 3.4rem)/1 var(--mono); letter-spacing: -.06em; white-space: nowrap; background: linear-gradient(180deg, #fff 30%, #a9b0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num small { font-size: .5em; letter-spacing: -.02em; }
.stat p { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat { border-left: 0; } .stat:nth-child(n+2) { border-top: 1px solid var(--line); } }

/* ---------- 11. Отзыв ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.quote__main { padding: clamp(28px, 4vw, 56px); }
.quote__mark { width: 44px; height: 44px; color: var(--indigo-2); }
.quote blockquote { margin-top: 22px; font: 500 clamp(1.15rem, 1rem + .9vw, 1.7rem)/1.4 var(--display); letter-spacing: -.015em; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font: 600 16px/1 var(--display); color: #fff; background: linear-gradient(135deg, #5b5bf5, #2ee6c5); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); flex: none; }
.quote__who b { display: block; font-weight: 600; }
.quote__who span { font-size: 14px; color: var(--muted); }
.quote__side { display: grid; align-content: center; gap: 0; padding: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.qres { padding: 18px 0; border-bottom: 1px solid var(--line); }
.qres:last-child { border-bottom: 0; }
.qres span { font-size: 13px; color: var(--muted); }
.qres b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 6px; font: 600 clamp(22px, 2.4vw, 30px)/1.1 var(--mono); letter-spacing: -.05em; }
.qres b s { font-size: .58em; font-weight: 400; color: var(--dim); text-decoration-color: rgba(255, 255, 255, .3); }
.qres b em { font-style: normal; color: var(--teal); }
@media (max-width: 860px) { .quote { grid-template-columns: minmax(0, 1fr); } .quote__side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- 12. CTA ---------- */
.cta { position: relative; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 80px); border-radius: clamp(24px, 3vw, 36px); text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 50% 120%, rgba(91, 91, 245, .55), transparent 60%), radial-gradient(50% 80% at 85% 0%, rgba(46, 230, 197, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.cta__rings { position: absolute; left: 50%; bottom: -62%; width: min(1100px, 170%); aspect-ratio: 1; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.cta__rings i { position: absolute; inset: calc(var(--n) * 9%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, calc(.05 + var(--n) * .025)); }
.cta__rings i:nth-child(2) { border-style: dashed; animation: spin 90s linear infinite; }
.cta__rings i::after { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.cta__rings i:nth-child(odd)::after { display: none; }
.cta__rings i:nth-child(4) { animation: spin 50s linear infinite reverse; }
.cta h2 { max-width: 760px; margin-inline: auto; font-size: clamp(1.75rem, 1rem + 3.2vw, 3.4rem); letter-spacing: -.03em; }
.cta p { max-width: 560px; margin: 20px auto 0; color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .cta__btns .btn { width: 100%; } }

/* ---------- 13. Футер ---------- */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(40px, 6vw, 72px) 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .45)); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer__about p { margin-top: 18px; max-width: 320px; font-size: 14.5px; color: var(--muted); }
.footer__status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); box-shadow: 0 0 0 1px var(--line-2) inset; }
.footer h3 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.footer__col ul { display: grid; gap: 11px; margin-top: 20px; }
.footer__col a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(36px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__bottom .plink { font-size: 13px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 14. Hero внутренних страниц ---------- */
.phero { position: relative; padding: clamp(48px, 7vw, 100px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.phero__in { max-width: 860px; }
.phero--center .phero__in { margin-inline: auto; text-align: center; }
.phero h1 { margin-top: 22px; font-size: clamp(2rem, 1.1rem + 4vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
.phero p { margin-top: 22px; max-width: 660px; color: var(--muted); font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); }
.phero--center p { margin-inline: auto; }
.phero__deco { position: absolute; right: -180px; top: -140px; width: 640px; aspect-ratio: 1; z-index: -1; pointer-events: none; opacity: .8; }
.phero__deco i { position: absolute; inset: calc(var(--n) * 11%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.phero__deco i:nth-child(2) { border-style: dashed; animation: spin 80s linear infinite; }
.phero__deco i:nth-child(3) { border-color: rgba(124, 124, 255, .3); animation: spin 40s linear infinite reverse; }
.phero__deco i:nth-child(3)::after, .phero__deco i:nth-child(2)::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal); }
.phero__deco i:nth-child(2)::after { top: auto; bottom: -4px; background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.phero--center .phero__deco { right: 50%; transform: translateX(50%); top: -300px; width: 900px; }
@media (max-width: 700px) { .phero__deco { width: 420px; right: -200px; top: -160px; } .phero--center .phero__deco { width: 600px; top: -260px; } }

/* ---------- 15. Продукт: табы модулей ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); text-align: left; color: var(--muted); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; transition: color .25s, background .25s, box-shadow .25s; min-width: 0; }
.tab:hover { color: var(--text); background: var(--panel-2); }
.tab__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none; color: var(--indigo-2); background: rgba(91, 91, 245, .14); box-shadow: 0 0 0 1px rgba(124, 124, 255, .25) inset; transition: color .25s, background .25s; }
.tab b { display: block; font: 600 15.5px/1.25 var(--display); letter-spacing: -.01em; color: inherit; }
.tab small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab > span:last-child { min-width: 0; }
.tab[aria-selected="true"] { color: var(--text); background: linear-gradient(180deg, rgba(91, 91, 245, .22), rgba(91, 91, 245, .06)); box-shadow: 0 0 0 1px rgba(124, 124, 255, .55) inset, 0 16px 40px -18px rgba(91, 91, 245, .8); }
.tab[aria-selected="true"] .tab__ic { color: #fff; background: var(--grad-btn); }
.tabs__panel { margin-top: 16px; padding: clamp(20px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.tabs__panel:not([hidden]) { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tabs__text h3 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -.025em; }
.tabs__text > p { margin-top: 16px; color: var(--muted); }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(46, 230, 197, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%232ee6c5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 9.2 2.4 2.4 4.6-5'/%3E%3C/svg%3E") center/18px no-repeat; }
.tabs__metric { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tabs__metric b { font: 600 clamp(26px, 3vw, 36px)/1 var(--mono); letter-spacing: -.06em; color: var(--teal); white-space: nowrap; }
.tabs__metric span { font-size: 14px; color: var(--muted); }
.mock { position: relative; padding: 16px; border-radius: 18px; font-size: 13px; background: linear-gradient(180deg, rgba(19, 25, 56, .9), rgba(9, 13, 30, .95)); box-shadow: 0 0 0 1px var(--line-2) inset, 0 40px 90px -40px rgba(70, 64, 220, .7); min-width: 0; }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock__head h4 { font: 600 14px/1.3 var(--font); letter-spacing: 0; }
@media (max-width: 960px) { .tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tabs__panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tab { padding: 12px; gap: 10px; } .tab__ic { width: 34px; height: 34px; } .tab b { font-size: 14px; } .tab small { display: none; } .mock { padding: 12px; } }

/* коннекторы */
.conn { display: grid; gap: 8px; }
.conn li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--line) inset; }
.conn__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 600 11px/1 var(--mono); color: #fff; background: var(--c); }
.conn b { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conn small { display: block; font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conn .prog { height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.conn .prog i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--grad); animation: prog 3.2s ease-in-out infinite alternate; }
@keyframes prog { from { width: 22%; } to { width: 86%; } }
@media (max-width: 420px) { .conn .pill { font-size: 10px; padding: 3px 7px; } }

/* мини-дашборд */
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-kpis .kpi { padding: 11px; }
.mini-kpis .kpi__val { font-size: clamp(15px, 1.5vw, 19px); }
.mini-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7c7cff, rgba(91, 91, 245, .25)); transform-origin: bottom; }
.bars i.hl { background: linear-gradient(180deg, #2ee6c5, rgba(46, 230, 197, .2)); }
.js .bars i { transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--i) * .06s + .15s); }
.js .in .bars i { transform: none; }
.widget-ghost { display: grid; place-items: center; gap: 6px; margin-top: 8px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .18); font-size: 12.5px; color: var(--dim); text-align: center; }
@media (max-width: 420px) { .mini-row { grid-template-columns: minmax(0, 1fr); } .mini-kpis .spark { display: none; } }

/* водопад юнит-экономики */
.wf { display: grid; gap: 9px; }
.wf li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 76px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.wf .track { position: relative; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 25%); }
.wf .track i { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 5px; background: rgba(255, 107, 129, .5); box-shadow: 0 0 0 1px rgba(255, 107, 129, .6) inset; transform-origin: right; }
.wf .track i.base { background: linear-gradient(90deg, rgba(91, 91, 245, .75), rgba(124, 124, 255, .45)); box-shadow: 0 0 0 1px rgba(124, 124, 255, .7) inset; transform-origin: left; }
.wf .track i.total { background: linear-gradient(90deg, #2ee6c5, rgba(46, 230, 197, .55)); box-shadow: 0 0 24px -4px rgba(46, 230, 197, .8); transform-origin: left; }
.js .wf .track i { transform: scaleX(0); transition: transform .8s var(--ease) calc(var(--i) * .13s + .2s); }
.js .in .wf .track i { transform: none; }
.wf b { text-align: right; font: 500 12.5px/1 var(--mono); color: var(--text); white-space: nowrap; }
.wf li.is-total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.wf li.is-total b { color: var(--teal); font-weight: 600; }
.wf__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 480px) { .wf li { grid-template-columns: 92px minmax(0, 1fr) 66px; gap: 8px; font-size: 11.5px; } .wf b { font-size: 11.5px; } }

/* правила алертов */
.rules { display: grid; gap: 8px; margin-bottom: 14px; }
.rules li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--line) inset; font-size: 12.5px; color: var(--muted); }
.rules code { font: 500 12px/1.4 var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rules .sw { margin-left: auto; position: relative; width: 30px; height: 18px; border-radius: 18px; background: var(--indigo); flex: none; }
.rules .sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.rules .sw.off { background: rgba(255, 255, 255, .15); }
.rules .sw.off::after { right: auto; left: 2px; }

/* как это работает */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow__item { padding: clamp(20px, 2.4vw, 30px); counter-increment: flow; }
.flow__item::before { content: "0" counter(flow); display: block; margin-bottom: 40px; font: 500 13px/1 var(--mono); color: var(--teal); }
.flow__item h3 { font-size: 1.2rem; }
.flow__item p { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 800px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow__item::before { margin-bottom: 20px; } }

/* безопасность */
.sec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sec__shield { position: relative; width: min(300px, 80%); aspect-ratio: 1; margin: 40px auto 0; display: grid; place-items: center; }
.sec__shield i { position: absolute; inset: calc(var(--n) * 12%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.sec__shield i:nth-child(1) { border-style: dashed; animation: spin 70s linear infinite; }
.sec__shield i:nth-child(2) { border-color: rgba(46, 230, 197, .3); }
.sec__shield svg { position: relative; width: 38%; height: 38%; filter: drop-shadow(0 0 30px rgba(46, 230, 197, .55)); }
.sec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sec__item { padding: 22px; border-radius: var(--r); }
.sec__item .ic { width: 22px; height: 22px; color: var(--teal); }
.sec__item h3 { margin-top: 16px; font: 600 16px/1.3 var(--display); letter-spacing: -.01em; }
.sec__item p { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .sec { grid-template-columns: minmax(0, 1fr); } .sec__shield { display: none; } }
@media (max-width: 520px) { .sec__grid { grid-template-columns: minmax(0, 1fr); } }

/* API */
.api { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.api__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin-top: 32px; }
.api__facts b { display: block; font: 600 24px/1.1 var(--mono); letter-spacing: -.05em; }
.api__facts span { font-size: 13px; color: var(--muted); }
.code { border-radius: 18px; overflow: hidden; background: #080c1c; box-shadow: 0 0 0 1px var(--line-2) inset, 0 40px 90px -40px rgba(70, 64, 220, .7); min-width: 0; }
.code__bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.code__tab { padding: 7px 12px; border-radius: 8px; font: 500 12px/1 var(--mono); color: var(--dim); transition: color .2s, background .2s; }
.code__tab:hover { color: var(--text); }
.code__tab[aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.code__copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; font-size: 12px; color: var(--muted); transition: color .2s, background .2s; }
.code__copy:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.code__copy .ic { width: 14px; height: 14px; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 12.5px/1.75 var(--mono); color: #c9d1f0; tab-size: 2; }
.code pre::-webkit-scrollbar { height: 8px; } .code pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 8px; }
.code__resp { border-top: 1px solid var(--line); }
.code__resp-h { display: flex; align-items: center; gap: 10px; padding: 10px 20px 0; font: 500 11.5px/1 var(--mono); color: var(--dim); }
.tk-k { color: #9d8bff; } .tk-s { color: #7ee6cf; } .tk-n { color: #ffb86b; } .tk-c { color: #5d6688; font-style: italic; } .tk-p { color: #8fb4ff; } .tk-f { color: #f0a6ff; } .tk-v { color: #ff9db0; }
@media (max-width: 900px) { .api { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .code pre { padding: 14px; font-size: 11.5px; } .api__facts { gap: 12px 24px; } }

/* ---------- 16. Тарифы ---------- */
.pctl { display: grid; gap: 28px; max-width: 860px; margin: 0 auto clamp(32px, 4vw, 56px); padding: clamp(20px, 3vw, 32px); }
.switch-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; font-size: 15px; color: var(--muted); }
.switch-row button.lbl { color: inherit; transition: color .2s; }
.switch-row button.lbl.is-on { color: var(--text); font-weight: 600; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 30px; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] { background: var(--indigo); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.save { padding: 3px 9px; border-radius: 999px; font: 600 11.5px/1.4 var(--mono); color: #03130f; background: var(--teal); }
.slider__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.slider__top label { font-size: 14.5px; color: var(--muted); }
.slider__top output { font: 600 clamp(18px, 2.2vw, 24px)/1.1 var(--mono); letter-spacing: -.04em; }
.slider__top output small { font: 400 13px/1 var(--font); letter-spacing: 0; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--indigo), var(--teal)) 0 0 / var(--p, 50%) 100% no-repeat, rgba(255, 255, 255, .1); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--indigo); box-shadow: 0 0 0 6px rgba(91, 91, 245, .22), 0 4px 12px rgba(0, 0, 0, .5); transition: box-shadow .2s; }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(91, 91, 245, .28), 0 4px 12px rgba(0, 0, 0, .5); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--indigo), var(--teal)); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 6px solid var(--indigo); box-shadow: 0 0 0 6px rgba(91, 91, 245, .22); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-runnable-track { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--teal); }
.slider__ticks { display: flex; justify-content: space-between; padding: 0 4px; margin-top: 4px; font: 400 11px/1 var(--mono); color: var(--dim); }
.slider__ticks span { width: 16px; display: flex; justify-content: center; white-space: nowrap; }
.slider__hint { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--muted); min-height: 1.6em; }
.slider__hint b { font-family: var(--mono); font-weight: 500; color: var(--teal); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); transition: transform .4s var(--ease), opacity .3s; }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.plan__name { font: 600 20px/1.1 var(--display); letter-spacing: -.02em; }
.plan__rec { display: none; padding: 4px 10px; border-radius: 999px; font: 600 11px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #03130f; background: var(--teal); }
.plan.is-rec .plan__rec { display: inline-block; }
.plan .gborder__line { opacity: 0; transition: opacity .4s; }
.plan.is-rec .gborder__line { opacity: 1; }
.plan.is-rec { background: linear-gradient(180deg, rgba(91, 91, 245, .2), rgba(91, 91, 245, .03) 60%); box-shadow: 0 0 0 1px transparent inset, 0 30px 80px -30px rgba(91, 91, 245, .8); }
.plan__desc { margin-top: 10px; min-height: 3.2em; font-size: 14.5px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 22px; min-height: 52px; }
.plan__price b { font: 600 clamp(28px, 3vw, 40px)/1 var(--mono); letter-spacing: -.06em; white-space: nowrap; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__price s { font: 400 15px/1 var(--mono); color: var(--dim); }
.plan__note { margin-top: 8px; min-height: 2.9em; font-size: 13px; color: var(--dim); }
.plan__note b { color: var(--teal); font-weight: 500; }
.plan .btn { margin-top: 18px; }
.plan__feats { display: grid; gap: 11px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan__feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--muted); }
.plan__feats li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%237c7cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 9.4 2.8 2.8 6-6.4'/%3E%3C/svg%3E") center/17px no-repeat; }
.plan__feats li.h { padding-left: 0; font-size: 13px; color: var(--dim); }
.plan__feats li.h::before { display: none; }
.plan.is-off { opacity: .55; }
.plan.is-off .plan__price b { color: var(--dim); }
.plans__foot { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--dim); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } .plan__desc, .plan__note { min-height: 0; } }

.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.cmp-wrap:focus-visible { outline-offset: -2px; }
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; font: 600 16px/1.2 var(--display); background: rgba(16, 22, 46, .9); }
.cmp thead th small { display: block; margin-top: 4px; font: 400 12px/1.2 var(--mono); color: var(--dim); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 400; color: var(--muted); }
.cmp th[scope="row"] { position: sticky; left: 0; background: #0c1126; max-width: 300px; }
.cmp tr.grp th { padding-top: 26px; text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: #0c1126; position: sticky; left: 0; }
.cmp td { font-family: var(--mono); font-size: 13px; color: var(--text); letter-spacing: -.02em; }
.cmp td.col-hl, .cmp th.col-hl { background: rgba(91, 91, 245, .08); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.yes, .no { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.yes { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%232ee6c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 9.4 3.2 3.2L14 5.4'/%3E%3C/svg%3E") center/18px no-repeat; }
.no { background: linear-gradient(var(--dim), var(--dim)) center/10px 1.5px no-repeat; opacity: .6; }
@media (max-width: 700px) { .cmp th, .cmp td { padding: 12px; } .cmp th[scope="row"] { max-width: 170px; font-size: 13.5px; } }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item { border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; transition: background .3s, box-shadow .3s; }
.faq__item.is-open { background: rgba(91, 91, 245, .07); box-shadow: 0 0 0 1px rgba(124, 124, 255, .35) inset; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 22px; text-align: left; font: 500 clamp(1rem, .95rem + .3vw, 1.14rem)/1.35 var(--display); letter-spacing: -.01em; border-radius: var(--r); }
.faq__ic { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line-2) inset; transition: transform .4s var(--ease), background .3s; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13.25px; height: 1.5px; background: currentColor; border-radius: 2px; }
.faq__ic::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq__q[aria-expanded="true"] .faq__ic { transform: rotate(180deg); background: var(--indigo); }
.faq__q[aria-expanded="true"] .faq__ic::after { transform: rotate(0); }
.js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.js .faq__item.is-open .faq__a > div { visibility: visible; transition: visibility 0s; }
.faq__a p { padding: 0 22px 22px; max-width: 720px; color: var(--muted); font-size: 15.5px; }
.faq__a p + p { margin-top: -8px; }

/* ---------- 17. Блог ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; }
.feat__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.feat__body h2 { margin-top: 18px; font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); letter-spacing: -.03em; }
.feat__body h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.feat__body h2 a:hover { background-size: 100% 1px; }
.feat__body p { margin-top: 16px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--dim); }
.meta .cat { padding: 3px 10px; border-radius: 999px; font: 500 11.5px/1.5 var(--mono); color: #c5c5ff; background: rgba(91, 91, 245, .2); box-shadow: 0 0 0 1px rgba(124, 124, 255, .3) inset; }
.meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.author { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.author .avatar { width: 38px; height: 38px; font-size: 13px; }
.author b { display: block; color: var(--text); font-weight: 600; }

.cover { position: relative; min-height: 190px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(90% 100% at 20% 0%, var(--c1), transparent 60%), radial-gradient(80% 100% at 100% 100%, var(--c2), transparent 60%), #0c1230; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.cover::after { content: ""; position: absolute; width: 150%; aspect-ratio: 1; left: var(--ox, 30%); top: var(--oy, 20%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 41px rgba(255, 255, 255, .1), 0 0 0 90px rgba(255, 255, 255, .02), 0 0 0 91px rgba(255, 255, 255, .07); z-index: -1; transition: transform 1s var(--ease); }
.cover b { font: 600 clamp(44px, 6vw, 72px)/1 var(--mono); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7); text-shadow: 0 0 50px rgba(255, 255, 255, .25); transition: transform .8s var(--ease); }
.cover--a { --c1: rgba(91, 91, 245, .7); --c2: rgba(46, 230, 197, .3); }
.cover--b { --c1: rgba(155, 107, 255, .6); --c2: rgba(91, 91, 245, .45); --ox: -60%; --oy: 30%; }
.cover--c { --c1: rgba(46, 230, 197, .4); --c2: rgba(91, 91, 245, .55); --ox: -20%; --oy: -110%; }
.cover--d { --c1: rgba(255, 107, 154, .35); --c2: rgba(124, 92, 246, .55); --ox: 40%; --oy: -60%; }
.cover--e { --c1: rgba(255, 180, 84, .3); --c2: rgba(91, 91, 245, .55); --ox: -70%; --oy: -40%; }
.feat .cover { min-height: 320px; }
.feat .cover b { font-size: clamp(64px, 10vw, 140px); }
.post:hover .cover b, .feat:hover .cover b { transform: scale(1.06); }
.post:hover .cover::after, .feat:hover .cover::after { transform: scale(1.08) rotate(8deg); }
@media (max-width: 860px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat .cover { min-height: 220px; } }

.btools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; transition: color .2s, background .2s, box-shadow .2s; }
.filter:hover { color: var(--text); background: var(--panel-2); }
.filter[aria-pressed="true"] { color: #fff; background: rgba(91, 91, 245, .3); box-shadow: 0 0 0 1px rgba(124, 124, 255, .6) inset; }
.filter span { margin-left: 6px; font: 400 11.5px/1 var(--mono); color: var(--dim); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .ic { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.search input { padding-left: 42px; }
.bcount { margin-bottom: 24px; font-size: 13.5px; color: var(--dim); }
.posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; overflow: hidden; }
.post.is-in { animation: panelIn .5s var(--ease) both; }
.post .cover { min-height: 150px; border-bottom: 1px solid var(--line); }
.post .cover b { font-size: clamp(34px, 3.4vw, 48px); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post h3 { margin-top: 14px; font: 600 17px/1.3 var(--display); letter-spacing: -.015em; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post h3 a:focus-visible { outline: none; }
.post h3 a:focus-visible::after { outline: 2px solid var(--teal); outline-offset: -2px; }
.post p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.post__foot { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--dim); }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.empty b { display: block; margin-bottom: 8px; font: 600 20px/1.2 var(--display); color: var(--text); }
.empty button { margin-top: 18px; color: var(--indigo-2); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .posts { grid-template-columns: minmax(0, 1fr); } .search { max-width: none; } }

.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); overflow: hidden; }
.subscribe h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem); letter-spacing: -.03em; }
.subscribe p { margin-top: 14px; color: var(--muted); }
.subscribe__row { display: flex; gap: 10px; }
.subscribe__row .input { flex: 1; min-width: 0; }
.subscribe small { display: block; margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.subscribe__ok { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: rgba(46, 230, 197, .08); box-shadow: 0 0 0 1px rgba(46, 230, 197, .3) inset; }
.subscribe__ok .ic { width: 26px; height: 26px; color: var(--teal); }
.subscribe__ok p { margin: 0; color: var(--text); font-size: 15px; }
@media (max-width: 800px) { .subscribe { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .subscribe__row { flex-direction: column; } }

/* ---------- 18. Формы ---------- */
.input, .field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 0; font-size: 15px; color: var(--text); background: rgba(0, 0, 0, .3); box-shadow: 0 0 0 1px var(--line-2) inset; transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field textarea { height: auto; min-height: 104px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239aa3c2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: #10162e; color: var(--text); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #5f688b; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .24) inset; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: rgba(91, 91, 245, .08); box-shadow: 0 0 0 1.5px var(--indigo-2) inset, 0 0 0 4px rgba(91, 91, 245, .22); }
.input[aria-invalid="true"], .field [aria-invalid="true"] { box-shadow: 0 0 0 1.5px var(--red) inset, 0 0 0 4px rgba(255, 107, 129, .14); }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 0; }
.field .req { color: var(--indigo-2); }
.err { min-height: 0; font-size: 12.5px; color: var(--red); }
.err:empty { display: none; }
.check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check i { width: 22px; height: 22px; border-radius: 7px; background: rgba(0, 0, 0, .3); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .2s, box-shadow .2s; }
.check input:checked + i { background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 9.4 3 3 6-6.6'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: none; }
.check input:focus-visible + i { outline: 2px solid var(--teal); outline-offset: 3px; }
.check input[aria-invalid="true"] + i { box-shadow: 0 0 0 1.5px var(--red) inset; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ---------- 19. Контакты ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(22px, 3.4vw, 44px); }
.form-card h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -.025em; }
.form-card > p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 28px; }
.form .full { grid-column: 1 / -1; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__foot small { font-size: 12.5px; color: var(--dim); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.success { text-align: center; padding: clamp(12px, 3vw, 32px) 0; animation: panelIn .7s var(--ease); }
.success__ic { position: relative; width: 96px; height: 96px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(46, 230, 197, .1); box-shadow: 0 0 0 1px rgba(46, 230, 197, .4) inset, 0 0 60px rgba(46, 230, 197, .3); }
.success__ic::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(46, 230, 197, .35); animation: spin 20s linear infinite; }
.success__ic svg { width: 44px; height: 44px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success__ic path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawIn .7s var(--ease) .25s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.success h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.success p { max-width: 440px; margin: 14px auto 0; color: var(--muted); }
.success p b { color: var(--text); font-weight: 600; }
.success .btn { margin-top: 28px; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .form__foot .btn { width: 100%; } }

.aside { display: grid; gap: 16px; }
.aside__card { padding: clamp(20px, 2.6vw, 32px); }
.aside__card h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.steps { position: relative; display: grid; gap: 22px; margin-top: 24px; counter-reset: st; }
.steps::before { content: ""; position: absolute; left: 15.5px; top: 16px; bottom: 16px; width: 1px; background: linear-gradient(180deg, var(--indigo), var(--teal)); opacity: .5; }
.steps li { position: relative; padding-left: 50px; counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 13px/1 var(--mono); color: #fff; background: #151c42; box-shadow: 0 0 0 1px rgba(124, 124, 255, .6) inset, 0 0 18px rgba(91, 91, 245, .5); }
.steps b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 600; font-size: 15.5px; }
.steps b time { font: 400 12px/1 var(--mono); color: var(--teal); }
.steps p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.contacts { display: grid; gap: 16px; margin-top: 22px; }
.contacts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; }
.contacts .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--indigo-2); background: rgba(91, 91, 245, .14); box-shadow: 0 0 0 1px rgba(124, 124, 255, .25) inset; }
.contacts span { display: block; font-size: 12.5px; color: var(--dim); }
.contacts a, .contacts b { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.contacts a:hover { color: var(--indigo-2); }
.map { position: relative; margin-top: 22px; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; background: #0a0f24; }
.map svg { width: 100%; height: auto; }
.map__pin { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust__item { padding: 24px; }
.trust__item b { display: block; font: 600 clamp(26px, 3vw, 36px)/1 var(--mono); letter-spacing: -.06em; color: var(--teal); }
.trust__item p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 20. Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 14px; font-size: 14px; color: var(--text); background: rgba(16, 22, 46, .96); box-shadow: 0 0 0 1px var(--line-2) inset, 0 20px 50px -10px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal--tilt { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-right: 0; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .ring, .ochip, .logo__ring { animation: none !important; }
  .ochip { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
  .s-pulse, .map__pin, .dot-live::after { animation: none !important; }
  .conn .prog i { animation: none !important; width: 68%; }
  .success__ic path { stroke-dashoffset: 0; animation: none !important; }
}

@media print { .header, .footer, .bg, .toast { display: none; } body { background: #fff; color: #000; } }
