/* ==========================================================================
   xander.by — лендинг. Тёмная тема, без фреймворков.
   Структура: переменные → база → утилиты → шапка → hero → секции → подвал
              → анимации → адаптив
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0b0d13;
  --bg-3: #10131b;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #eef0f5;
  --text-2: #b3b8c6;
  --muted: #8a90a2;

  --accent: #7c5cff;
  --accent-rgb: 124, 92, 255;
  --accent-2: #22d3ee;
  --accent-2-rgb: 34, 211, 238;
  --ok: #34d399;
  --ok-rgb: 52, 211, 153;
  --danger: #f87171;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --gradient-btn: linear-gradient(135deg, #6247f5, #0e7490); /* темнее: белый текст читается (контраст ≥ 4.5:1) */

  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}

::selection { background: rgba(var(--accent-rgb), .35); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Глобальные эффекты ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(var(--accent-rgb), .14),
    rgba(var(--accent-2-rgb), .05) 40%,
    transparent 65%);
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

/* ---------- Кнопки, бейджи, текст ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: var(--gradient-btn);
  box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .7);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(var(--accent-rgb), .8); }
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: var(--surface-2); transform: translateY(-2px); }

.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (hover: hover) and (min-width: 961px) {
  .gradient-text { animation: gradient-shift 6s ease infinite; }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section-title { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.02em; }
.section-text { margin-top: 16px; max-width: 560px; font-size: 16.5px; color: var(--text-2); }
.text-link { color: var(--accent-2); border-bottom: 1px solid rgba(var(--accent-2-rgb), .4); }
.nowrap { white-space: nowrap; }

.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - var(--gutter) * 2, var(--container));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-text { margin-inline: auto; }
.section-head--row {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: end;
}
.section-head--row .section-text { margin-top: 0; }

/* ---------- Карточки ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}

/* Подсветка, следующая за курсором (координаты --mx/--my ставит JS) */
.spotlight > * { position: relative; z-index: 1; }
.spotlight::before,
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.spotlight::before {
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--accent-rgb), .14), transparent 40%);
}
.spotlight::after {
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--accent-rgb), .7), rgba(var(--accent-2-rgb), .3) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.spotlight:hover::before,
.spotlight:hover::after { opacity: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag {
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header--scrolled,
.nav-open .header {
  background: rgba(7, 8, 12, .74);
  border-bottom-color: var(--border);
}
/* Размытие — на псевдоэлементе: backdrop-filter на самой шапке сделал бы её опорным блоком
   для fixed-меню, и на мобильном меню схлопнулось бы до высоты шапки */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.header--scrolled::before,
.nav-open .header::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; color: var(--text); }
.logo__svg { display: block; width: auto; height: 22px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 56px) 0 64px;
  overflow: hidden;
}
.hero__canvas, .hero__grid, .hero__blob { position: absolute; pointer-events: none; }
.hero__canvas { inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__grid {
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 70%);
}
.hero__blob {
  z-index: -2;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  animation: blob 16s ease-in-out infinite;
}
.hero__blob--1 {
  top: -260px; left: -200px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .42), transparent 68%);
}
.hero__blob--2 {
  top: 5%; right: -260px;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), .28), transparent 68%);
  animation-delay: -8s;
  animation-duration: 20s;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  min-height: min(720px, calc(100svh - 200px));
}

.hero__title {
  margin: 24px 0 18px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero__typed {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
}
.hero__typed-label { color: var(--muted); }
.typed { color: var(--accent-2); }
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: -4px;
  background: var(--accent-2);
  animation: blink 1s steps(2) infinite;
}

.hero__lead { margin-top: 20px; max-width: 540px; font-size: 17.5px; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__visual { position: relative; }

.terminal {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(12, 14, 20, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .02);
  font-family: var(--font-mono);
  font-size: 13.5px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .7s var(--ease);
}
.hero__visual:hover .terminal { transform: perspective(1200px) rotateY(0) rotateX(0); }

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal__dot:nth-child(2) { background: #febc2e; }
.terminal__dot:nth-child(3) { background: #28c840; }
.terminal__title { margin: 0 auto; padding-right: 50px; font-size: 12px; color: var(--muted); }

.terminal__body {
  min-height: 310px;
  padding: 18px 16px 56px; /* снизу место под плавающую плашку */
  line-height: 1.75;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal__line { display: block; }
.t-prompt { color: var(--accent-2); }
.t-cmd { color: var(--text); }
.t-ok { color: var(--ok); }
.t-dim { color: var(--muted); }
.t-accent { color: var(--accent-2); margin-top: 4px; }
.terminal__caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--text-2);
  animation: blink 1s steps(2) infinite;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(16, 19, 27, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-weight: 600; color: var(--text); }
.float-chip small { display: block; font-size: 12px; color: var(--muted); }
.float-chip--1 { top: -22px; right: -14px; }
.float-chip--2 { bottom: -18px; left: -26px; animation-delay: -3s; }
.float-chip__pulse {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(var(--ok-rgb), .15);
  color: var(--ok);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}
.stat { padding: 26px 28px; background: var(--bg-2); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__suffix { margin-left: 2px; font-size: .55em; color: var(--accent-2); }
.stat__label { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- Бегущая строка со стеком ---------- */
.marquee {
  display: grid;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  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__row { display: flex; overflow: hidden; }
.marquee__list { display: flex; flex-shrink: 0; }
.js .marquee__list { animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee__row--reverse .marquee__list { animation-direction: reverse; }
.marquee:hover .marquee__list { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 11px 0 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .6;
}

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.service__num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-2-rgb), .12));
  color: var(--accent-2);
  transition: transform .4s var(--ease);
}
.service__icon .icon { width: 22px; height: 22px; }
.service:hover .service__icon { transform: translateY(-3px) rotate(-4deg); }
.service__title { font-size: 19px; }
.service__text { flex: 1; font-size: 15px; color: var(--text-2); }

/* ---------- Процесс ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.process__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.process__aside .btn { margin-top: 28px; }

.timeline { position: relative; }
.timeline__line {
  position: absolute;
  top: 24px; bottom: 24px; left: 23px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--progress, 0%);
  background: var(--gradient);
  transition: height .15s linear;
}
.timeline__list { display: grid; gap: 12px; }

.step {
  position: relative;
  padding: 22px 24px 22px 72px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.step.is-active { background: var(--surface); border-color: var(--border); }
.step__dot {
  position: absolute;
  top: 22px; left: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  transition: background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.step.is-active .step__dot {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2);
}
.step__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.step__title { font-size: 17px; }
.step__time { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }
.step__text { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* ---------- Форматы ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.format { display: flex; flex-direction: column; padding: 28px 26px; }
.format__type {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.format__title { margin-top: 12px; font-size: 20px; }
.format__text { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.format__price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.format__from { font-size: 14px; color: var(--muted); }
.format__unit { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.formats__note { margin-top: 24px; font-size: 14px; text-align: center; color: var(--muted); }
.format__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  font-size: 14.5px;
}
.format__link .icon { transition: transform .3s var(--ease); }
.format__link:hover .icon { transform: translateX(4px); }
.format--featured {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-2-rgb), .05));
  border-color: rgba(var(--accent-rgb), .45);
}
.format__badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gradient-btn);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.checklist {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1;
  margin: 20px 0 24px;
  font-size: 14.5px;
  color: var(--text-2);
}
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before {
  content: '';
  position: absolute;
  top: 3px; left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(var(--ok-rgb), .15)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>")
    center / 10px no-repeat;
}

/* ---------- Почему мы (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento__item { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.bento__item--wide { grid-column: span 2; }
.bento__title { font-size: 20px; }
.bento__text { font-size: 15px; color: var(--text-2); }
.bento__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bento__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--accent-2);
}

.pipeline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pipeline span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  animation: pipeline-pulse 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .8s);
}

.bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; margin: 8px 0 4px; }
.bars i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity: .85;
  transform-origin: bottom;
  animation: bar-bounce 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* ---------- Кейсы ---------- */
.cases { display: grid; gap: 20px; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.case:nth-child(even) .case__visual { order: 2; border-right: 0; border-left: 1px solid var(--border); }
.case__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.case__visual--1 {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(var(--accent-rgb), .35), transparent 60%),
    radial-gradient(80% 80% at 100% 100%, rgba(var(--accent-2-rgb), .18), transparent 60%),
    var(--bg-3);
}
.case__visual--2 {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(var(--accent-2-rgb), .3), transparent 60%),
    var(--bg-3);
}
.case__visual--3 {
  background:
    radial-gradient(100% 100% at 50% 100%, rgba(var(--ok-rgb), .22), transparent 60%),
    var(--bg-3);
}
.case__visual--4 {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(var(--accent-rgb), .3), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(var(--accent-2-rgb), .16), transparent 60%),
    var(--bg-3);
}
.case__body { display: flex; flex-direction: column; gap: 16px; padding: 32px 36px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(var(--accent-2-rgb), .08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-2);
}
.case__title { font-size: clamp(20px, 2.1vw, 26px); }
.case__lead { max-width: 640px; font-size: 15.5px; color: var(--text-2); }

.case__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 4px; }
.case__features li { position: relative; padding-left: 30px; }
.case__features li::before {
  content: '';
  position: absolute;
  top: 2px; left: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .14)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>")
    center / 11px no-repeat;
}
.case__features strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.case__features span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.case__result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case__result-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__result-list { display: flex; flex-wrap: wrap; gap: 8px; }
.case__result-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ok-rgb), .28);
  background: rgba(var(--ok-rgb), .08);
  font-size: 13.5px;
  font-weight: 500;
  color: #c6f6e1;
}
.case__result-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

/* Декоративные макеты в кейсах */
.mock { transition: transform .7s var(--ease); }

.mock--window {
  width: 72%;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(7, 8, 12, .78);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: translateY(14px) rotate(-2deg);
}
.case:hover .mock--window { transform: translateY(6px) rotate(0); }
.mock__top { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.mock__top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.mock__sync {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
}
.mock__sync > span:not(.mock__flow) {
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .04);
  white-space: nowrap;
}
.mock__flow {
  position: relative;
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(var(--accent-2-rgb), .5) 0 4px, transparent 4px 8px);
}
.mock__flow i {
  position: absolute;
  top: -3px; left: 0;
  width: 100%;
  height: 7px;
  animation: flow-dot 1.8s var(--ease) infinite;
}
.mock__flow i::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}
.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 14px 14px 12px; }
.mock__chart b {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--gradient);
  opacity: .9;
  transform-origin: bottom;
  transition: transform .8s var(--ease);
}
.js .mock__chart b { transform: scaleY(0); }
.mock__chart b:nth-child(2) { transition-delay: .07s; }
.mock__chart b:nth-child(3) { transition-delay: .14s; }
.mock__chart b:nth-child(4) { transition-delay: .21s; }
.mock__chart b:nth-child(5) { transition-delay: .28s; }
.mock__chart b:nth-child(6) { transition-delay: .35s; }
.mock__chart b:nth-child(7) { transition-delay: .42s; }
.js .is-visible .mock__chart b { transform: scaleY(1); }

.mock--phone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 84%;
  max-height: 380px;
  aspect-ratio: 9 / 18;
  padding: 24px 10px 12px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: rgba(7, 8, 12, .82);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: translateY(18px) rotate(4deg);
}
.case:hover .mock--phone { transform: translateY(10px) rotate(0); }
.mock__notch {
  position: absolute;
  top: 8px; left: 50%;
  width: 36%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  transform: translateX(-50%);
}
.mock__map {
  flex: 1;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 14px 14px,
    rgba(var(--accent-2-rgb), .06);
  overflow: hidden;
}
.mock__map svg { width: 100%; height: 100%; }
.mock__route {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  transition: stroke-dashoffset 1.6s var(--ease) .3s;
}
.js .mock__route { stroke-dashoffset: 100; }
.js .is-visible .mock__route { stroke-dashoffset: 0; }
.mock__pin { fill: var(--bg-3); stroke: var(--accent-2); stroke-width: 1.6; }
.mock__pin--end { stroke: var(--ok); }
.mock__courier { fill: #fff; filter: drop-shadow(0 0 3px var(--accent-2)); }
.mock__gps {
  position: absolute;
  top: 32px; right: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ok-rgb), .4);
  background: rgba(7, 8, 12, .85);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ok);
}
.mock__gps i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); animation: led 1.6s steps(2) infinite; }
.mock__eta {
  display: grid;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  font-size: 9.5px;
  line-height: 1.3;
  color: var(--muted);
}
.mock__eta b { font-size: 10.5px; font-weight: 600; color: var(--text); }

/* Каршеринг: карта города с машинами и геозоной */
.mock--city {
  position: relative;
  width: 82%;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 20px 20px,
    rgba(7, 8, 12, .85);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
  transform: translateY(8px) rotate(-1.5deg);
}
.case:hover .mock--city { transform: translateY(2px) rotate(0); }
.mock--city svg { display: block; width: 100%; height: 100%; }
.mock__road { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 7; stroke-linecap: round; }
.mock__zone {
  fill: rgba(var(--accent-rgb), .1);
  stroke: rgba(var(--accent-rgb), .7);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}
.mock__car { fill: var(--accent-2); stroke: #07080c; stroke-width: 1.5; }
.mock__car--active { fill: #fff; }
.mock__car-pulse {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: car-pulse 2s ease-out infinite;
}
.mock__ride {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 19, 27, .94);
  font-size: 11px;
  line-height: 1.3;
}
.mock__ride b { display: block; font-size: 12px; font-weight: 600; }
.mock__ride small { display: block; font-size: 10.5px; color: var(--ok); }
.mock__ride em {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gradient);
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.mock--rack {
  position: relative;
  display: grid;
  gap: 6px;
  width: 46%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(7, 8, 12, .82);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: translateY(10px);
}
.case:hover .mock--rack { transform: translateY(4px); }
.mock__tz {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 19, 27, .94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.mock__tz i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mock__tz--1 { top: -18px; left: -48px; }
.mock__tz--2 { top: 42%; right: -60px; animation-delay: -2s; }
.mock__tz--3 { bottom: -18px; left: -24px; animation-delay: -4s; }
.mock__unit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
}
.mock__unit::before {
  content: '';
  position: absolute;
  top: 50%; left: 10px; right: 40%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
}
.mock__unit i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  animation: led 1.6s steps(2) infinite;
}
.mock__unit i:last-child { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); animation-duration: 2.3s; }
.mock__unit:nth-child(2) i { animation-delay: -.4s; }
.mock__unit:nth-child(3) i { animation-delay: -.9s; }
.mock__unit:nth-child(4) i { animation-delay: -1.3s; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .3s, background .3s;
}
.faq__item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); border-color: transparent; }
.faq__answer {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--text-2);
  animation: faq-in .35s var(--ease);
}

/* ---------- Контакты ---------- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(var(--accent-rgb), .16), transparent 60%),
    radial-gradient(70% 70% at 100% 100%, rgba(var(--accent-2-rgb), .1), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}

.contact-links { display: grid; gap: 10px; margin-top: 32px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.contact-link:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, .06); transform: translateX(4px); }
.contact-link__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), .15);
  color: var(--accent-2);
}
.contact-link__label { display: block; font-size: 12px; color: var(--muted); }
.contact-link__value { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; }
.contact-link__arrow { margin-left: auto; color: var(--muted); transition: transform .3s, color .3s; }
.contact-link:hover .contact-link__arrow { transform: translateX(3px); color: var(--text); }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(7, 8, 12, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.form__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
legend.form__label { padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover span { border-color: rgba(255, 255, 255, .3); }
.chip input:checked + span { background: rgba(var(--accent-rgb), .22); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--muted); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
textarea.input { min-height: 110px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--text); }
.form__status { min-height: 1.4em; font-size: 14px; text-align: center; }
.form__status:empty { min-height: 0; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--danger); }

/* ---------- Подвал ---------- */
.footer { position: relative; padding-top: 48px; border-top: 1px solid var(--border); overflow: hidden; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding-bottom: 40px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--text-2); }
.footer__nav a { padding: 10px 0; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { flex-basis: 100%; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer__copy a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.footer__copy a:hover { color: var(--text); }
.footer__requisites:empty { display: none; }
.footer__requisites::after { content: ' · '; }
.footer__cookie {
  padding: 0;
  font-size: inherit;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__cookie:hover { color: var(--text); }

/* ---------- Cookie: плашка и окно настроек (рекомендации НЦЗПД) ---------- */
.cookie {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 1100;
  width: min(400px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 19, 27, .97);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  animation: cookie-up .3s var(--ease) both;
}
.cookie b { color: var(--text); }
.cookie a, .cookie-dialog a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 8px; margin-top: 14px; }
.cookie__choice {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, border-color .2s;
}
.cookie__choice:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.cookie__settings {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .6);
}
.cookie-dialog {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  outline: none;
}
.cookie-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cookie-dialog__title { font-size: 18px; color: var(--text); }
.cookie-dialog__close { width: 36px; height: 36px; margin: -6px -8px 0 0; font-size: 22px; line-height: 1; color: var(--text-2); }
.cookie-dialog__close:hover { color: var(--text); }
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.cookie-option--locked { cursor: not-allowed; opacity: .85; }
.cookie-option input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.cookie-option b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--text); }
.cookie-dialog .btn { margin-top: 18px; }
@keyframes cookie-up { from { opacity: 0; translate: 0 16px; } }
@media (max-width: 600px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cookie-overlay { align-items: flex-end; padding: 8px; }
}

/* ---------- Страница политики ---------- */
.legal-header { padding: 22px 0; border-bottom: 1px solid var(--border); }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.legal { max-width: 860px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(26px, 4vw, 40px); }
.legal__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal h2 { margin: 40px 0 14px; font-size: 20px; }
.legal p, .legal li { font-size: 15.5px; color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent-2); }
/* Пустое поле под реквизиты — заполняется вручную */
.fill { display: inline-block; min-width: 140px; height: 1.1em; vertical-align: text-bottom; border-bottom: 1px dashed var(--border-strong); }
.legal__table-wrap { overflow-x: auto; margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legal__table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.legal__table th, .legal__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal__table th { font-weight: 600; color: var(--text); background: var(--surface); }
.legal__table td { color: var(--text-2); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal-footer { padding: 28px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ---------- 404 ---------- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 40px var(--gutter);
  text-align: center;
  background: radial-gradient(600px 400px at 50% 30%, rgba(var(--accent-rgb), .18), transparent 70%);
}
.not-found__code {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found__title { font-size: clamp(22px, 3vw, 30px); }
.not-found__text { margin-bottom: 12px; color: var(--text-2); }
.footer__big {
  display: block;
  width: min(100% - var(--gutter) * 2, 1100px);
  height: auto;
  margin: 0 auto;
  color: rgba(255, 255, 255, .07);
  transform: translateY(22%);
  pointer-events: none;
}

/* ---------- Появление при прокрутке (включается только с JS) ---------- */
.js [data-reveal],
.js [data-stagger] > * {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible,
.js [data-stagger] > .is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Анимации ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), .55); }
  70%  { box-shadow: 0 0 0 10px rgba(var(--ok-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 30px) scale(.96); }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes led { 50% { opacity: .25; } }
@keyframes car-pulse {
  from { transform: scale(1); opacity: .9; }
  to   { transform: scale(3.2); opacity: 0; }
}
@keyframes flow-dot {
  0%   { transform: translateX(0); opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { transform: translateX(calc(100% - 7px)); opacity: 0; }
}
@keyframes bar-bounce {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(var(--s, .6)); }
}
@keyframes pipeline-pulse {
  0%, 16.6%, 100% { border-color: var(--border); background: rgba(255, 255, 255, .04); color: var(--text-2); }
  8.3% { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .2); color: #fff; }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; translate: 0 0; }
  .cursor-glow { display: none; }
  .mock__courier { display: none; }
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .formats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero__visual { width: 100%; max-width: 560px; margin: 0 auto; }
  .terminal { transform: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case__visual, .case:nth-child(even) .case__visual {
    order: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .section-head--row { grid-template-columns: 1fr; gap: 16px; }
  .section-head--row .section-text { margin-top: 0; }
  .process, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .process__aside, .faq__aside { position: static; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 24px var(--gutter) 40px;
    background: rgba(7, 8, 12, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    translate: 0 -10px;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity .3s, translate .3s var(--ease), visibility 0s .3s;
  }
  .nav--open { opacity: 1; translate: 0 0; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  html:not(.js) .burger { display: none; }
  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
  }
  .nav__link::after { display: none; }
  .nav__cta { justify-content: center; margin: 20px 0 0; padding: 16px 24px; font-size: 16px; }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .stat { padding: 22px 20px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .hero { padding: calc(var(--header-h) + 32px) 0 48px; }
  .hero__blob { width: 480px; height: 480px; }
  .hero__title { margin: 20px 0 14px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .float-chip { display: none; }
  .terminal__body { min-height: 260px; padding-bottom: 20px; font-size: 12.5px; }
  .services, .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: auto; }
  .service, .bento__item, .format { padding: 24px 20px; }
  .case__visual, .case:nth-child(even) .case__visual { aspect-ratio: 4 / 3; }
  .case__body { padding: 24px 20px; }
  .case__features { grid-template-columns: 1fr; }
  .step { padding: 18px 16px 18px 60px; }
  .step__dot { left: 10px; top: 18px; }
  .timeline__line { left: 21px; }
  .contact { border-radius: 20px; padding: 24px 16px; }
  .form { padding: 18px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__nav { gap: 14px 18px; }
}

@media (max-width: 560px) {
  .formats { grid-template-columns: 1fr; }
}

/* ---------- Служебное ---------- */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 1001;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--text);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Анимации секций, ушедших за экран, ставим на паузу (класс ставит JS) */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
