/* ==========================================================================
   BotLeadGen — Editorial Technical
   Visual language: Bloomberg terminal × Linear engineering × Instrument editorial
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600;1,700&family=JetBrains+Mono:wght@400;500;600;700&family=Geist:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

:root {
  /* Palette */
  --bg:           #0A0A0A;
  --bg-elevated: #131313;
  --bg-card:     #181818;
  --border:      #262626;
  --border-soft: #1F1F1F;

  --text:        #F5F5F0;
  --text-bright: #FFFFFF;
  --text-mute:   #8A8A85;
  --text-faint:  #8A8A85;        /* 26.09.2026: было #5A5A55 = 2,2–2,9:1 на тёмном; на тексте не проходило AA — теперь равен --text-mute, иерархия за счёт размера и капители */

  --accent:      #FFD60A;        /* signal amber */
  --accent-dim:  #B59308;
  --green:       #00FF88;        /* metric green */
  --green-dim:   #006B3A;
  --red:         #FF3B30;
  --red-dim:     #7A1C18;

  /* Type */
  --serif:  'Montserrat', -apple-system, sans-serif; /* заголовки — Montserrat, без засечек */
  --sans:   'Geist', -apple-system, sans-serif;
  --mono:   'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing system */
  --rule:        1px;
  --grid-gap:    1px;
}

html { background: var(--bg); scroll-behavior: smooth; }

/* Точечная сетка как на холсте конструктора — на фоне всего сайта */
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 28px 28px;
  background-attachment: fixed;
}

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* =============== Layout primitives =============== */

.container { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.container--narrow { width: min(960px, calc(100% - 48px)); margin: 0 auto; }

/* Grain overlay over the whole site */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* =============== Header =============== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--sans);
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--text-bright);
}
.brand::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  align-self: center;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 120ms ease;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text-bright); }
.nav a.active::after {
  content: '';
  position: absolute; bottom: -22px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 0;
  border: none;
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 214, 10, 0.25); }

.nav-toggle {
  display: none;
  width: 28px; height: 24px;
  background: none; border: none;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text-bright); }

/* =============== Ticker bar (running data strip) =============== */

.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: flex; gap: 48px;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
.ticker__item { display: inline-flex; gap: 10px; align-items: center; }
.ticker__item strong { color: var(--text-bright); font-weight: 500; }
.ticker__item--up strong { color: var(--green); }
.ticker__item--alert strong { color: var(--accent); }
.ticker__dot { width: 4px; height: 4px; background: var(--text-faint); border-radius: 50%; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============== Hero =============== */

.hero {
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero__text,
.hero__visual,
.showcase__head,
.showcase__visual,
.section__heading,
.layer__content,
.layer__visual,
.pricing-row > *,
.footer-grid > * {
  min-width: 0;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.hero__tag::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 28px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
  text-shadow:
    0 0 60px rgba(255, 214, 10, 0.35),
    0 0 120px rgba(255, 214, 10, 0.15);
}

.hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__lede strong {
  color: var(--text);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-bright);
  transition: all 140ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}

.btn--primary {
  background: var(--accent); color: #0A0A0A; border-color: var(--accent);
}
.btn--primary:hover {
  background: #FFE545; border-color: #FFE545;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 214, 10, 0.25);
}
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  border-color: var(--border);
  color: var(--text-bright);
}
.btn--ghost:hover { border-color: var(--text-bright); background: var(--bg-elevated); }
.btn--ghost .btn__arrow { transition: transform 140ms ease; }
.btn--ghost:hover .btn__arrow { transform: translateX(3px); }

.btn__arrow { transition: transform 140ms ease; }

.hero__meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: ''; width: 5px; height: 5px; background: var(--green);
  border-radius: 50%; box-shadow: 0 0 6px var(--green);
}

/* Hero visual — product screenshot card */
.hero__visual {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 6px;
  /* Драматический glow вокруг скриншота */
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 214, 10, 0.08),
    0 0 60px -10px rgba(255, 214, 10, 0.18),
    0 0 120px -40px rgba(255, 214, 10, 0.12);
  /* Тонкая анимация парения */
  animation: heroFloat 8s ease-in-out infinite;
  /* Для overlay-эффектов нужен слой выше img */
  isolation: isolate;
}

/* Внешний жёлтый ореол — тонкая рамка */
.hero__visual::before {
  content: '';
  position: absolute; inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.25;
  pointer-events: none;
  z-index: 3;
}

/* Декоративное верхнее свечение поверх скриншота — лёгкий блик */
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(255, 214, 10, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 30%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__visual-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px 8px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.hero__visual-label > span:first-child {
  min-width: 0;
}
.hero__visual-label .dots { display: inline-flex; gap: 5px; }
.hero__visual-label .dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
}
.hero__visual img {
  width: 100%; height: auto; display: block;
  position: relative;
  z-index: 1;
}

/* Подсветка ключевых "горячих точек" поверх скриншота */
.hero__hotspot {
  position: absolute;
  width: 60px;
  height: 30px;
  z-index: 2;
  pointer-events: none;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  box-shadow:
    0 0 20px rgba(255, 214, 10, 0.4),
    inset 0 0 12px rgba(255, 214, 10, 0.15);
  animation: hotspotPulse 3s ease-in-out infinite;
}
.hero__hotspot--balance {
  /* Балансовый блок в левой панели — "159,89 ₽" */
  top: 71%; left: 4.5%;
  width: 95px; height: 32px;
}
.hero__hotspot--spend {
  /* "Расход сегодня: 181,58 ₽" в шапке */
  top: 12%; right: 13%;
  width: 160px; height: 26px;
}
@keyframes hotspotPulse {
  0%, 100% {
    opacity: 0.85;
    box-shadow:
      0 0 20px rgba(255, 214, 10, 0.4),
      inset 0 0 12px rgba(255, 214, 10, 0.15);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 30px rgba(255, 214, 10, 0.6),
      inset 0 0 16px rgba(255, 214, 10, 0.25);
  }
}

/* Annotation pins on the hero image */
.pin {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--text-bright);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 2;
  animation: pinPulse 3s ease-in-out infinite;
}
.pin::before {
  content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
@keyframes pinPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.92; transform: translateY(-2px); }
}

/* =============== Constructor showcase =============== */

.showcase {
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 30% -200px, rgba(255, 214, 10, 0.06), transparent 60%),
    var(--bg);
}

.showcase__head {
  max-width: 880px;
  margin-bottom: 64px;
}
.showcase__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--accent);
  display: inline-block;
}
.showcase__heading {
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 28px;
}
.showcase__heading em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    0 0 40px rgba(255, 214, 10, 0.35),
    0 0 80px rgba(255, 214, 10, 0.15);
}
.showcase__lede {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 720px;
}

/* Большой "монитор" со скриншотом конструктора */
.showcase__visual-wrap {
  position: relative;
}
.showcase__visual {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 4px;
  margin-bottom: 64px;
  box-shadow:
    0 80px 160px -40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 214, 10, 0.12),
    0 0 120px -20px rgba(255, 214, 10, 0.18),
    0 0 200px -60px rgba(255, 214, 10, 0.10);
  isolation: isolate;
}
.showcase__visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.28;
  pointer-events: none;
  z-index: 3;
}
/* Верхний блик поверх скриншота */
.showcase__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 30% at 50% 0%, rgba(255, 214, 10, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* Подсветка ключевых зон на showcase скриншоте */
.showcase__hotspot {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  box-shadow:
    0 0 24px rgba(255, 214, 10, 0.45),
    inset 0 0 16px rgba(255, 214, 10, 0.15);
  animation: hotspotPulse 3s ease-in-out infinite;
}
.showcase__hotspot--label {
  position: absolute;
  top: -28px;
  left: -2px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  white-space: nowrap;
  font-weight: 600;
}
/* 4 подсветки на ключевых местах скриншота. Геометрия в процентах от
   рамки, а не в пикселях: скриншот масштабируется по ширине контейнера,
   и пиксельные рамки уезжали с места на узких экранах. Пересчитаны под
   кадр от 25.09.2026 (сценарий «ВЕРТЕКС», 3420×1662). */
.showcase__hotspot--01 {
  /* Блок «Старт» — зелёный, слева в середине холста */
  top: 44.6%; left: 24.8%;
  width: 5.2%; height: 18.4%;
  animation-delay: 0s;
}
.showcase__hotspot--02 {
  /* Цепочка реплик разговора — свободное размещение на холсте */
  top: 52%; left: 33.4%;
  width: 13.2%; height: 17.4%;
  animation-delay: 0.6s;
}
.showcase__hotspot--03 {
  /* «ВЕРТЕКС · v3» в шапке продукта (ниже серой рамки страницы) */
  top: 8.2%; left: 29.5%;
  width: 7.1%; height: 3.3%;
  animation-delay: 1.2s;
}
.showcase__hotspot--04 {
  /* «Расход за всё время: 1,94 ₽» в шапке продукта */
  top: 8.2%; left: 65.7%;
  width: 12.4%; height: 3.3%;
  animation-delay: 1.8s;
}
/* Номера верхних подсветок стоят над рамкой и на узких экранах налезали
   на подпись самой рамки — им номер снизу. */
.showcase__hotspot--03 .showcase__hotspot--label,
.showcase__hotspot--04 .showcase__hotspot--label { top: auto; bottom: -26px; }
.showcase__visual-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.showcase__visual-bar > span {
  min-width: 0;
}
.showcase__visual-bar > span:first-child {
  color: var(--text-bright);
}
.showcase__visual-bar > span:nth-child(2) {
  color: var(--accent);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.04em;
}
.showcase__visual-bar .dots { display: inline-flex; gap: 6px; }
.showcase__visual-bar .dots span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--border);
}
.showcase__dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

.showcase__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Аннотации под скриншотом */
.showcase__annotations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.anno {
  background: var(--bg);
  padding: 32px 28px;
  display: flex; gap: 20px;
  align-items: flex-start;
  min-height: 220px;
}
.anno__num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  padding-top: 2px;
}
.anno__body { flex: 1; }
.anno__body h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.3;
}
.anno__body p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
}
.anno__mono {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-elevated);
  padding: 2px 6px;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .showcase__annotations { grid-template-columns: repeat(2, 1fr); }
  .anno { min-height: 180px; }
}

@media (max-width: 768px) {
  .showcase { padding: 64px 0; }
  .showcase__heading { font-size: 36px; }
  .showcase__annotations { grid-template-columns: 1fr; }
  .anno { min-height: 0; padding: 24px 20px; }
  .anno__num { font-size: 28px; }
  .showcase__visual-bar {
    font-size: 10px;
    padding: 8px 10px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .showcase__visual-bar > span:first-child {
    flex: 1 1 100%;
  }
  .showcase__visual-bar > span:nth-child(2) { display: none; }
  .showcase__visual { margin-bottom: 32px; }
  /* На мобильном скриншот мелкий, hotspots не сработают — прячем */
  .showcase__hotspot, .hero__hotspot { display: none; }
}

.stats {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  position: relative;
}
.stat {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background 240ms ease;
}
.stat:hover {
  background: var(--bg-elevated);
}
/* Тонкий радиальный блик сверху каждой stat карточки */
.stat::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse 40% 30% at 30% 0%, rgba(255, 214, 10, 0.05), transparent 60%);
  pointer-events: none;
}
.stat__value {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: 8px;
  position: relative;
}
.stat__value em {
  color: var(--accent);
  font-style: normal;
  /* Лёгкое свечение акцентных чисел — как индикатор на терминале */
  text-shadow:
    0 0 30px rgba(255, 214, 10, 0.35),
    0 0 60px rgba(255, 214, 10, 0.15);
}
.stat__value sub {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0;
  vertical-align: baseline;
  margin-left: 4px;
}
.stat__hint {
  font-size: 13px;
  color: var(--text-mute);
  position: relative;
}

/* =============== Section bones =============== */

.section { padding: 96px 0; border-bottom: 1px solid var(--border); position: relative; }

.section__head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.section__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 8px;
  border-top: 1px solid var(--accent);
  display: inline-block;
}
.section__heading h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.section__heading h2 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    0 0 30px rgba(255, 214, 10, 0.3),
    0 0 60px rgba(255, 214, 10, 0.1);
}
.section__heading p {
  font-size: 17px;
  color: var(--text-mute);
  max-width: 640px;
}

/* =============== Segments =============== */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.segment {
  background: var(--bg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: background 160ms ease;
  position: relative;
  min-height: 320px;
}
.segment:hover { background: var(--bg-elevated); }
.segment__code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
}
.segment__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.segment__desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: 28px;
  flex: 1;
}
.segment__competitor {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.segment__competitor strong {
  color: var(--text);
  font-weight: 500;
}

.not-for {
  margin-top: 64px;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--red-dim);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.not-for__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.not-for p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* =============== Layers (8 capabilities) =============== */

.layers { display: flex; flex-direction: column; }

.layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 64px;
  border-top: 1px solid var(--border);
  padding: 80px 0;
  position: relative;
}
.layer:first-child { border-top: none; }
/* Слой без номера (FAQ на посадочных solutions/*): тело занимает обе колонки
   сетки, иначе ответ падал в 80-пиксельную колонку номера, а справа пустота. */
.layer > .layer__body:first-child { grid-column: 1 / -1; }
.layer > .layer__body:first-child > .layer__text:only-child { grid-column: 1 / -1; max-width: 760px; }

.layer__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 12px;
}
.layer__index strong {
  display: block;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--text-bright);
  margin-top: 4px;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.layer__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.layer__body--rev .layer__visual {
  order: -1;
}

.layer__title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 20px;
}
.layer__desc {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.65;
  margin-bottom: 24px;
}
.layer__facts {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.layer__facts li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.layer__facts li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  line-height: 1.5;
}

.layer__compare {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 18px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.layer__compare-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.layer__compare-col--us h4 { color: var(--accent); }
.layer__compare-col p {
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.5;
}
.layer__compare-col--us p {
  color: var(--text);
}

/* Визуал слоя — фиксированное соотношение сторон и обрезка скриншота */
.layer__visual {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 4px;
  /* Фиксированный аспект — скриншоты всегда одной высоты */
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Карточка слегка приподнята */
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.layer__visual:hover {
  box-shadow:
    0 40px 80px -25px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 214, 10, 0.15),
    0 0 60px -10px rgba(255, 214, 10, 0.18);
  transform: translateY(-2px);
}
/* Тонкая виньетка по краям скриншота — чтобы белизна не "резала" взгляд */
.layer__visual::after {
  content: '';
  position: absolute;
  inset: 28px 4px 4px 4px;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(10, 10, 10, 0.15) 100%),
    linear-gradient(180deg, transparent 80%, rgba(10, 10, 10, 0.25) 100%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.7;
  transition: opacity 240ms ease;
}
.layer__visual:hover::after {
  opacity: 0.3;
}
.layer__visual-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.layer__visual-bar .dots { display: inline-flex; gap: 5px; }
.layer__visual-bar .dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--border);
}
.layer__visual-img {
  flex: 1;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.layer__visual img {
  width: 100%;
  height: auto;
  display: block;
  /* Лёгкая desaturation скриншота — сольётся с темой */
  filter: saturate(0.9);
  transition: filter 240ms ease;
}
.layer__visual:hover img {
  filter: saturate(1.05);
}

/* Портретный снимок окна (виджет на сайт): по центру, не выше рамки */
.layer__visual-img--contain { background: var(--bg-elevated); align-items: center; padding: 24px; }
.layer__visual-img--contain img { width: auto; max-width: 100%; max-height: 460px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); }

/* =============== Pricing =============== */

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.pricing-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.pricing-card__price {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.9;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pricing-card__price sub {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-mute);
  vertical-align: baseline;
  margin-left: 4px;
}
.pricing-card__sub {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__includes {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-card__includes li {
  display: grid; grid-template-columns: 24px 1fr; gap: 8px;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.pricing-card__includes li::before {
  content: '✓';
  color: var(--green);
  font-family: var(--mono);
  font-weight: 600;
}

.tco {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.tco__head {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.tco__head > div {
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.tco__head > div:last-child { color: var(--accent); }
.tco__row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.tco__row:last-child { border-bottom: none; }
.tco__row > div {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.tco__row > div:first-child { color: var(--text); }
.tco__row > div:last-child {
  background: rgba(255, 214, 10, 0.04);
  color: var(--text-bright);
  font-weight: 500;
}
.tco__row--total > div {
  font-weight: 600;
  background: var(--bg);
}
.tco__row--total > div:last-child {
  background: rgba(255, 214, 10, 0.12);
  color: var(--accent);
}

/* =============== Vs (competitor table) =============== */

.vs-table {
  width: 100%;
  border: 1px solid var(--border);
  border-collapse: collapse;
  background: var(--bg-elevated);
  font-size: 13px;
  position: relative;
  /* Тонкий glow вокруг всей таблицы */
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}
.vs-table-wrap {
  max-width: 100%;
}
.vs-table th, .vs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
}
.vs-table th:last-child, .vs-table td:last-child { border-right: none; }
.vs-table tr:last-child td { border-bottom: none; }
.vs-table th {
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.vs-table th.vs-us {
  color: var(--accent);
  background: rgba(255, 214, 10, 0.08);
  border-left: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  position: relative;
  text-shadow: 0 0 20px rgba(255, 214, 10, 0.3);
}
.vs-table td.vs-us {
  background: rgba(255, 214, 10, 0.05);
  color: var(--text-bright);
  border-left: 1px solid rgba(255, 214, 10, 0.4);
  border-right: 1px solid rgba(255, 214, 10, 0.4);
  font-weight: 500;
}
/* Подсветка последней строки колонки BotLeadGen — чуть ярче, как итог */
.vs-table tr:last-child td.vs-us {
  background: rgba(255, 214, 10, 0.08);
  border-bottom: 1px solid var(--accent);
}
.vs-table td .x {
  color: var(--red);
  font-family: var(--mono);
  opacity: 0.7;
}
.vs-table td .check {
  color: var(--green);
  font-family: var(--mono);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
  padding: 0;
  margin-right: 5px;
  display: inline;
  background: none;
}

/* =============== FAQ =============== */

.faq {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq details:last-of-type { border-bottom: none; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid; grid-template-columns: 60px 1fr 24px; gap: 24px; align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-bright);
  position: relative;
  transition: color 120ms ease;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.faq summary .plus {
  width: 20px; height: 20px;
  position: relative;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ''; position: absolute; background: var(--text-bright);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq summary .plus::before { width: 14px; height: 1.5px; }
.faq summary .plus::after { width: 1.5px; height: 14px; transition: transform 200ms ease; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__answer {
  padding: 0 0 28px 84px;
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.65;
  max-width: 800px;
}

/* =============== «Как это устроено» — техника под спойлером =============== */

.howto {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  max-width: 760px;
}
.howto summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 200ms ease;
}
.howto summary:hover { color: var(--accent); }
.howto summary::-webkit-details-marker { display: none; }
.howto__plus {
  margin-left: auto;
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.howto__plus::before, .howto__plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
}
.howto__plus::before { width: 12px; height: 1.5px; }
.howto__plus::after { width: 1.5px; height: 12px; transition: transform 200ms ease; }
.howto[open] summary .howto__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.howto__body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mute);
}

/* =============== Final CTA =============== */

.final {
  padding: 140px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 214, 10, 0.10), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 214, 10, 0.06), transparent 60%),
    var(--bg);
  overflow: hidden;
}
/* Декоративные горизонтальные линии сверху и снизу секции */
.final::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 214, 10, 0.5);
}
.final::after {
  content: '';
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.final__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  text-shadow: 0 0 16px rgba(255, 214, 10, 0.4);
}
.final h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 24px;
}
.final h2 em {
  font-style: normal;
  color: var(--accent);
  /* Тёплое свечение акцентного слова */
  text-shadow:
    0 0 40px rgba(255, 214, 10, 0.4),
    0 0 80px rgba(255, 214, 10, 0.15);
}
.final p {
  font-size: 17px;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto 40px;
}
.final__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* =============== Footer =============== */

.site-footer {
  padding: 64px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.footer__brand-text {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 320px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 13px;
  color: var(--text-mute);
  transition: color 120ms ease;
}
.footer__col a:hover { color: var(--text-bright); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.footer__bottom .green { color: var(--green); }

/* =============== Page hero (для inner-страниц) =============== */

.page-hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 24px;
  max-width: 1000px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow:
    0 0 50px rgba(255, 214, 10, 0.3),
    0 0 100px rgba(255, 214, 10, 0.12);
}
.page-hero__lede {
  font-size: 18px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 720px;
}

/* =============== Team / about helpers =============== */

.mission {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.mission__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
  border-top: 1px solid var(--accent);
  align-self: start;
}
.mission__text {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  max-width: 900px;
}

/* =============== Contact form =============== */

.contact-form {
  max-width: 640px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-bright);
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 12px;
  border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* =============== Responsive =============== */

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer__col:last-child { grid-column: 1 / -1; }
  .layer__body { grid-template-columns: 1fr; gap: 32px; }
  .layer__body--rev .layer__visual { order: 0; }
  .pricing-row { grid-template-columns: 1fr; gap: 48px; }
  .tco__head, .tco__row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .tco__head > div, .tco__row > div { padding: 14px 12px; font-size: 12px; }
}

@media (max-width: 768px) {
  .container,
  .container--narrow { width: min(1320px, calc(100% - 32px)); }

  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .nav.open a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 56px 0 40px; }
  .hero__title { font-size: clamp(40px, 14vw, 56px); }
  .hero__lede { font-size: 16px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__meta { gap: 14px 18px; }
  .hero__visual-label {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .hero__visual-label > span:first-child {
    flex: 1 1 100%;
  }

  .stats { grid-template-columns: 1fr; }
  .stat { padding: 28px 20px; }
  .stat__value { font-size: 48px; }

  .section { padding: 64px 0; }
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section__heading h2 { font-size: 36px; }

  .segments-grid { grid-template-columns: 1fr; }
  .not-for { grid-template-columns: 1fr; gap: 16px; padding: 20px; }

  .layer { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .layer__index strong { font-size: 36px; }
  .layer__title { font-size: 32px; }
  .layer__compare { grid-template-columns: 1fr; gap: 16px; }

  .pricing-card__price { font-size: 64px; }

  .tco { overflow-x: auto; }
  .tco__head, .tco__row { grid-template-columns: 1.4fr 1fr 1fr 1fr; min-width: 600px; }

  /* На мобиле таблица превращается в карточки: BotLeadGen наверху и подсвечен,
     конкуренты — под ним. Никакого горизонтального скролла. */
  .vs-table-wrap { overflow-x: visible; }
  .vs-table {
    min-width: 0;
    display: block;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
  }
  .vs-table thead { display: none; }
  .vs-table tbody { display: block; }
  .vs-table tr {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
  }
  .vs-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 16px;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    text-align: right;
  }
  .vs-table td:last-child { border-bottom: none; }
  /* первая ячейка строки — заголовок-«фича» карточки */
  .vs-table td:first-child {
    order: -2;
    justify-content: flex-start;
    text-align: left;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mute);
  }
  /* подписи колонок слева через ::before (порядок по DOM, не по flex) */
  .vs-table td:not(:first-child)::before {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-faint);
    flex-shrink: 0;
    text-align: left;
  }
  .vs-table td:nth-child(2)::before { content: "Обзвонщики"; }
  .vs-table td:nth-child(3)::before { content: "Облачные"; }
  .vs-table td:nth-child(4)::before { content: "Корпоративные"; }
  /* BotLeadGen — поднят под заголовок и подсвечен амбером */
  .vs-table td.vs-us {
    order: -1;
    background: rgba(255, 214, 10, 0.07);
    border-left: 2px solid var(--accent);
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-bright);
    font-weight: 500;
  }
  .vs-table td.vs-us::before {
    content: "BotLeadGen";
    color: var(--accent);
  }
  .vs-table tr:last-child td.vs-us { border-bottom: 1px solid var(--border-soft); }

  .faq summary { grid-template-columns: 40px 1fr 20px; font-size: 17px; padding: 22px 0; }
  .faq__answer { padding-left: 60px; font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .pin { display: none; }

  .mission { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   2026 enhancements — scroll-reveal, ambient glow, micro-interactions
   ========================================================================== */

/* --- Scroll-reveal (классы навешивает script.js; без JS контент виден) --- */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(.2,.7,.2,1),
    transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js-reveal.in {
  opacity: 1;
  transform: none;
}

/* --- Амбиентное свечение за hero: живое, дышит --- */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 8%;
  width: 520px;
  height: 520px;
  max-width: 70vw;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.10) 0%, rgba(255, 214, 10, 0) 68%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 9s ease-in-out infinite;
}
.hero__inner { position: relative; z-index: 1; }
@keyframes heroGlow {
  0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 1;    transform: translate3d(20px, 14px, 0) scale(1.08); }
}

/* --- Кнопка: блик-проблеск при наведении --- */
.btn--primary { overflow: hidden; }
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn--primary:hover::before { left: 150%; }
.btn--ghost:hover {
  box-shadow: 0 8px 28px -12px rgba(255, 214, 10, 0.18);
}

/* --- Карточки: тонкая подсветка края на hover --- */
.stat { transition: background 160ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1); }
.stat:hover {
  border-color: rgba(255, 214, 10, 0.45);
  box-shadow: 0 18px 48px -28px rgba(255, 214, 10, 0.30);
  transform: translateY(-3px);
}
.segment { transition: background 160ms ease, border-color 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1); }
.segment:hover {
  border-color: rgba(255, 214, 10, 0.35);
  transform: translateY(-2px);
}
.layer__visual:hover {
  box-shadow: 0 30px 70px -36px rgba(255, 214, 10, 0.22);
}

/* --- Строки таблицы сравнения: лёгкий подсвет на hover (desktop) --- */
@media (min-width: 769px) {
  .vs-table tbody tr { transition: background 140ms ease; }
  .vs-table tbody tr:hover td { background: rgba(255,255,255,0.018); }
  .vs-table tbody tr:hover td.vs-us { background: rgba(255, 214, 10, 0.10); }
}

/* --- Счётчик в hero (анимируется из JS): моноширинные цифры не «прыгают» --- */
.stat__value[data-count] { font-variant-numeric: tabular-nums; }

/* --- Уважение к настройке «меньше движения» --- */
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before { animation: none; opacity: 0.6; }
  .btn--primary::before { display: none; }
  .stat:hover, .segment:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}

/* ====================================================
   AUDIO CASES — «Послушайте робота»
   ==================================================== */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  background: var(--border);
  border: 1px solid var(--border);
}
.case {
  background: var(--bg-card);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.case::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.case--yes::before { background: var(--green); box-shadow: 0 0 14px var(--green-dim); }
.case--no::before  { background: var(--red);   box-shadow: 0 0 14px var(--red-dim); }
.case__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.case__badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--border);
}
.case__badge--yes { color: var(--green); border-color: var(--green-dim); }
.case__badge--no  { color: var(--red);   border-color: var(--red-dim); }
.case__latency {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--green);
  white-space: nowrap;
}
.case__title {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.case__sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mute);
  margin-bottom: 22px;
  max-width: 44ch;
}
/* Виджет на сайт: карточки возможностей + кнопки */
.wdg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.wdg__card { background: var(--bg-card); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.wdg__card h3 { font-size: 18px; color: var(--text-bright); font-weight: 600; }
.wdg__card p { font-size: 14px; line-height: 1.6; color: var(--text-mute); }
.wdg__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.wdg__note { font-size: 13px; line-height: 1.6; color: var(--text-mute); max-width: 460px; }
.wdg__more { font-family: var(--mono); font-size: 13px; color: var(--accent); text-decoration: none; }
.wdg__more:hover { text-decoration: underline; }
@media (max-width: 900px) { .wdg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wdg { grid-template-columns: 1fr; } .wdg__cta .btn { width: 100%; justify-content: center; } }
/* Анимация дуплекса: тайминги — по трассе звонка daac9bfc (секунды от начала вопроса) */
.dpx { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 16px; padding: 16px; border: 1px solid var(--border); background: var(--bg-card); font-family: var(--mono); }
.dpx__lane { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.dpx__who { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.dpx__who--bot { color: var(--accent); }
.dpx__track { position: relative; height: 26px; background: rgba(255,255,255,0.03); }
.dpx__bar { position: absolute; top: 4px; bottom: 4px; width: 0; }
.dpx__bar--bot, .dpx__bar--reply { background: repeating-linear-gradient(90deg, var(--accent) 0 3px, transparent 3px 5px); opacity: 0.9; }
.dpx__bar--cli { background: repeating-linear-gradient(90deg, var(--text) 0 3px, transparent 3px 5px); }
.dpx__overlap { position: absolute; top: -40px; bottom: 0; width: 0; background: rgba(0,255,136,0.10); border-left: 1px dashed var(--green); border-right: 1px dashed var(--green); opacity: 0; transition: opacity 200ms; }
.dpx__overlap.is-on { opacity: 1; }
.dpx__ear { position: absolute; right: 0; top: -18px; font-size: 10px; color: var(--green); white-space: nowrap; }
.dpx__ear::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; animation: dpx-pulse 1.2s ease-in-out infinite; }
@keyframes dpx-pulse { 50% { opacity: 0.25; } }
.dpx__head { position: absolute; width: 1px; background: rgba(255,255,255,0.45); }
.dpx__state { min-height: 1.5em; font-size: 12px; line-height: 1.5; color: var(--text-mute); padding-left: 76px; }
.dpx__state strong { color: var(--green); font-weight: 600; }
@media (max-width: 640px) {
  .dpx__lane { grid-template-columns: 52px 1fr; gap: 8px; }
  .dpx__state { padding-left: 0; }
  .dpx__ear { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .dpx__ear::before { animation: none; } }
.case__audio {
  width: 100%;
  height: 40px;
  margin-bottom: 24px;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.4);
}
.case__script {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
}
.case__line {
  font-size: 13.5px;
  line-height: 1.45;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
}
.case__line span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 2px;
}
.case__line--bot { color: var(--text); }
.case__line--bot span { color: var(--accent); }
.case__line--cli { color: var(--text-mute); }
.case__line--cli span { color: var(--text-faint); }
.cases__note {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  max-width: 760px;
}
@media (max-width: 768px) {
  .cases { grid-template-columns: 1fr; }
  .case { padding: 26px 22px 30px; }
  .case__title { font-size: 23px; }
  .case__top { flex-wrap: wrap; }
}

/* --- Доп. варианты кейсов: автоинформатор (амбер) и антиспам (синий) --- */
.case--wait::before { background: var(--accent); box-shadow: 0 0 14px var(--accent-dim); }
.case--bot::before  { background: #38BDF8; box-shadow: 0 0 14px #1E6A8C; }
.case__badge--wait { color: var(--accent); border-color: var(--accent-dim); }
.case__badge--bot  { color: #38BDF8; border-color: #1E6A8C; }
.case__latency--wait { color: var(--accent); }
.case__latency--bot  { color: #38BDF8; }
.case__line--note {
  color: var(--text-faint);
  font-style: normal;
}
.case__line--note span { color: var(--text-faint); font-style: normal; }
.case__hint { color: var(--text-faint); font-style: normal; font-size: 12px; }

/* ====================================================
   HERO AUDIO DEMO — компактный плеер вместо канваса
   ==================================================== */
.hero-demo {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  background: var(--border);
}
.hero-demo__row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: none;
  border-left: 3px solid var(--border);
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--text);
  transition: background 140ms ease;
}
.hero-demo__row:hover { background: #1d1d1d; }
.hero-demo__row--yes  { border-left-color: var(--green); }
.hero-demo__row--no   { border-left-color: var(--red); }
.hero-demo__row--wait { border-left-color: var(--accent); }
.hero-demo__row--bot  { border-left-color: #38BDF8; }
.hero-demo__ico {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-bright);
  background: var(--bg-elevated);
}
.hero-demo__row--yes  .hero-demo__ico { color: var(--green);  border-color: var(--green-dim); }
.hero-demo__row--no   .hero-demo__ico { color: var(--red);    border-color: var(--red-dim); }
.hero-demo__row--wait .hero-demo__ico { color: var(--accent); border-color: var(--accent-dim); }
.hero-demo__row--bot  .hero-demo__ico { color: #38BDF8;        border-color: #1E6A8C; }
.hero-demo__row.is-playing { background: #1d1d1d; }
.hero-demo__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-demo__txt strong { font-size: 15px; font-weight: 600; color: var(--text-bright); }
.hero-demo__txt small { font-size: 12.5px; color: var(--text-mute); }
.hero-demo__more {
  display: block;
  padding: 13px 18px;
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 140ms ease;
}
.hero-demo__more:hover { color: var(--accent); }
@media (max-width: 980px) {
  .hero-demo__txt small { display: none; }
  .hero-demo__row { padding: 13px 15px; }
}

/* ====================================================
   SPEED — таймлайн-контраст латентности
   ==================================================== */
.speed { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.speed__row { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
.speed__label { font-family: var(--mono); font-size: 13px; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.speed__label small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.speed__track { display: flex; align-items: stretch; height: 46px; gap: 2px; font-family: var(--mono); font-size: 11px; overflow-x: auto; }
.speed__seg { display: flex; align-items: center; justify-content: center; padding: 0 14px; white-space: nowrap; color: var(--text-mute); background: var(--bg-card); border: 1px solid var(--border); flex: 0 0 auto; }
.speed__seg--bot { background: #1d1d1d; color: var(--text); }
.speed__gap { display: flex; align-items: center; justify-content: center; padding: 0 14px; white-space: nowrap; font-weight: 600; }
.speed__gap--slow { flex: 0 0 360px; background: repeating-linear-gradient(45deg, #5a1512, #5a1512 9px, var(--red-dim) 9px, var(--red-dim) 18px); color: var(--text-bright); }
.speed__gap--fast { flex: 0 0 78px; background: var(--green); color: #000; }
.speed__proof { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.speed__play { max-width: 460px; border: 1px solid var(--border); }
.speed__note { font-size: 13px; line-height: 1.6; color: var(--text-mute); }
.pausemeter { max-width: 460px; border: 1px solid var(--border); background: var(--bg-card); padding: 14px 16px; font-family: var(--mono); display: flex; flex-direction: column; gap: 10px; }
.pausemeter__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pausemeter__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.pausemeter__val { font-size: 28px; font-weight: 600; color: var(--text-bright); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.pausemeter.is-live .pausemeter__val { color: var(--green); }
.pausemeter__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pausemeter__chip { flex: 1 1 0; min-width: 72px; text-align: center; padding: 6px 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text-faint); border: 1px solid var(--border); }
.pausemeter__chip.is-live { color: #000; background: var(--green); border-color: var(--green); }
.pausemeter__chip.is-done { color: var(--text); border-color: var(--green); }
.pausemeter__state { font-size: 12px; color: var(--text-mute); }
.speed__note strong { color: var(--text-bright); }
@media (max-width: 768px) {
  .speed__row { grid-template-columns: 1fr; gap: 8px; }
  .speed__gap--slow { flex-basis: 220px; }
}

/* ====================================================
   DUPLEX — бот слышит во время своей реплики
   ==================================================== */
.duplex { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); background: var(--border); border: 1px solid var(--border); margin-bottom: 28px; }
.duplex__case { background: var(--bg-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.duplex__case-label { font-family: var(--mono); font-size: 13px; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.duplex__case-label small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.duplex__chart { display: flex; flex-direction: column; gap: 8px; }
.duplex__lane { position: relative; height: 32px; background: var(--bg-elevated); border: 1px solid var(--border-soft); }
.duplex__role { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); z-index: 0; }
.duplex__bar { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; justify-content: center; padding: 0 8px; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; z-index: 1; }
.duplex__bar--bot { background: #1d1d1d; border: 1px solid var(--border); color: var(--text); }
.duplex__bar--lost { background: repeating-linear-gradient(45deg, #5a1512, #5a1512 7px, var(--red-dim) 7px, var(--red-dim) 14px); color: var(--text-bright); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.5); }
.duplex__bar--ok { background: var(--green); color: #000; font-weight: 600; }
.duplex__bar--idle { background: transparent; border: 1px dashed var(--text-faint); color: var(--text-faint); }
.duplex__bar--next { background: #11201a; border: 1px solid var(--green-dim); color: var(--green); }
.duplex__verdict { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.5; }
.duplex__verdict--bad { color: var(--red); }
.duplex__verdict--good { color: var(--green); }
.duplex__proof { border: 1px solid var(--border); max-width: 820px; }
@media (max-width: 768px) { .duplex { grid-template-columns: 1fr; } }

/* ====================================================
   UNDERSTANDING — карта «фраза → интент»
   ==================================================== */
.understand { display: flex; flex-direction: column; gap: var(--grid-gap); background: var(--border); border: 1px solid var(--border); }
.u-row { display: grid; grid-template-columns: 1.4fr 28px 200px 1.3fr; gap: 16px; align-items: center; background: var(--bg-card); padding: 16px 20px; }
.u-row--key { background: #161616; }
.u-phrase { font-family: var(--serif); font-size: 19px; color: var(--text-bright); }
.u-arrow { font-family: var(--mono); color: var(--text-faint); text-align: center; }
.u-intent { font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; padding: 6px 12px; border: 1px solid var(--border); text-align: center; white-space: nowrap; }
.u-intent--yes  { color: var(--green);  border-color: var(--green-dim); }
.u-intent--no   { color: var(--red);    border-color: var(--red-dim); }
.u-intent--wait { color: var(--accent); border-color: var(--accent-dim); }
.u-fail { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.02em; }
.u-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.02em; }
@media (max-width: 768px) {
  /* minmax(0,…) обязателен: у грид-колонки 1fr минимум равен min-content,
     поэтому длинная фраза распирала строку до 415px при вьюпорте 375 и
     давала горизонтальный скролл всей странице. */
  .u-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .u-arrow { display: none; }
  .u-intent { grid-column: 2; white-space: normal; }
  .u-fail { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; }
  .u-phrase { overflow-wrap: anywhere; }
}

/* ====================================================
   ECON — чек звонка + калькулятор стоимости лида
   ==================================================== */
.econ { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); margin-top: var(--grid-gap); background: var(--border); border: 1px solid var(--border); }
.check, .calc { background: var(--bg-card); padding: 26px 28px; }
.check__title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 18px; }
.check__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--text-mute); }
.check__row span:last-child { font-family: var(--mono); color: var(--text); white-space: nowrap; }
.check__row--total { border-bottom: none; margin-top: 4px; }
.check__row--total span { color: var(--text-bright); font-weight: 600; font-size: 16px; }
.check__row--total span:last-child { color: var(--accent); }
.check__foot { margin-top: 16px; font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--text-faint); }
.calc__field { display: block; margin-bottom: 18px; }
.calc__field span { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-mute); margin-bottom: 8px; }
.calc__field b { font-family: var(--mono); color: var(--accent); font-weight: 600; }
.calc__field input[type=range] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.calc__out { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 22px 0 14px; }
.calc__metric { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--bg-elevated); padding: 12px 16px; }
.calc__metric span { font-size: 13px; color: var(--text-mute); }
.calc__metric strong { font-family: var(--mono); font-size: 16px; color: var(--text); }
.calc__metric--hl { background: rgba(255,214,10,0.08); }
.calc__metric--hl strong { color: var(--accent); font-size: 20px; }
.calc__note { font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--text-faint); }
@media (max-width: 768px) { .econ { grid-template-columns: 1fr; } }

/* --- [08] Бот против оператора --- */
.vsop { margin-top: var(--grid-gap); background: var(--bg-card); border: 1px solid var(--border); padding: 26px 28px; }
.vsop__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 8px; }
.vsop__card { background: var(--bg-elevated); border: 1px solid var(--border-soft); padding: 18px 20px; }
.vsop__card--bot { border-color: color-mix(in srgb, var(--green) 35%, transparent); background: color-mix(in srgb, var(--green) 6%, var(--bg-elevated)); }
.vsop__who { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); margin-bottom: 10px; }
.vsop__num { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--green); }
.vsop__num--dim { color: var(--text); }
.vsop__sub { margin-top: 6px; font-size: 13px; color: var(--text-mute); }
.vsop__vs { font-family: var(--mono); font-size: 12px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; padding: 8px 14px; white-space: nowrap; background: rgba(255, 214, 10, 0.07); }
@media (max-width: 768px) { .vsop__row { grid-template-columns: 1fr; } .vsop__vs { justify-self: center; } }

/* --- [09] Данные в России --- */
.rf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.rf__card { background: var(--bg-card); padding: 24px 26px; }
.rf__card p { font-size: 14px; color: var(--text-mute); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .rf { grid-template-columns: 1fr; } }

/* ==========================================================================
   Демо блока «Живой разговор» — плавающий виджет (js/voice-demo.js)
   ========================================================================== */
/* 03.10: справа внизу — виджет-консультант (w.js). Плавающей кнопки демо больше нет
   (владелец 03.10): демо открывается кнопкой «▶ Поговорить с ИИ прямо сейчас» в блоке про ИИ. */
.vdemo { position: fixed; left: 24px; bottom: 24px; z-index: 900; font-family: var(--sans); }
.vdemo__launcher { display: none !important; }
/* Виджет прячет части собой через атрибут hidden, а почти все они — flex-
   контейнеры: правило display в классе перебивает браузерное [hidden], и до
   старта разговора были видны и таймер, и кнопка запуска разом. */
.vdemo [hidden] { display: none !important; }

/* Метрики кнопки — ровно те же, что у .btn сайта (высота 48, Geist 14/500,
   отступы 0 22px): плавающая кнопка стоит рядом с обычными кнопками первого
   экрана, и своя типографика выдавала в ней чужой элемент. */
.vdemo__launcher { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; background: var(--accent); color: #000; border: 1px solid transparent; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; cursor: pointer; box-shadow: 0 10px 34px rgba(0,0,0,0.55); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.vdemo__launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.65); }
.vdemo__launcher-ico { display: flex; }
/* Моно остаётся только на служебной метке — как у всех метрик сайта. */
.vdemo__launcher-tag { font-family: var(--mono); font-size: 11px; background: rgba(0,0,0,0.16); padding: 3px 7px; }

.vdemo__panel { width: 380px; max-width: calc(100vw - 32px); background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(0,0,0,0.65); display: flex; flex-direction: column; max-height: min(74vh, 640px); }

.vdemo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 14px; border-bottom: 1px solid var(--border); }
.vdemo__label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 5px; }
.vdemo__title { font-size: 15px; color: var(--text-bright); font-weight: 600; }
.vdemo__close { background: none; border: none; color: var(--text-faint); font-size: 14px; cursor: pointer; padding: 2px 4px; }
.vdemo__close:hover { color: var(--text); }

.vdemo__body { padding: 16px 18px; overflow-y: auto; }
.vdemo__intro p { font-size: 13px; line-height: 1.6; color: var(--text-mute); margin-bottom: 10px; }
.vdemo__intro em { color: var(--green); font-style: normal; font-family: var(--mono); }
.vdemo__intro-mute { font-family: var(--mono); font-size: 11px !important; line-height: 1.55 !important; color: var(--text-faint) !important; }

.vdemo__stage { display: flex; align-items: center; gap: 14px; padding: 4px 0 14px; }
.vdemo__meter { display: flex; align-items: center; gap: 3px; height: 26px; }
.vdemo__meter i { display: block; width: 3px; height: 26px; background: var(--text-faint); transform: scaleY(0.12); transform-origin: center; transition: transform 0.07s linear; }
.vdemo__meter i.is-bot { background: var(--accent); }
.vdemo__status { flex: 1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-mute); text-transform: uppercase; }
.vdemo__clock { display: flex; align-items: center; gap: 8px; }
.vdemo__clock-bar { display: block; width: 44px; height: 2px; background: var(--border); }
.vdemo__clock-bar i { display: block; height: 100%; width: 100%; background: var(--green); transition: width 0.9s linear; }
.vdemo__clock b { font-family: var(--mono); font-size: 12px; color: var(--text); }
.vdemo__clock b.is-low { color: var(--red); }

.vdemo__feed { display: flex; flex-direction: column; gap: 10px; max-height: 220px; overflow-y: auto; border-top: 1px solid var(--border-soft); padding-top: 14px; }
.vdemo__line span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px; }
.vdemo__line p { font-size: 13px; line-height: 1.55; color: var(--text); }
.vdemo__line--bot span { color: var(--accent); }
.vdemo__line--you p { color: var(--text-mute); }

.vdemo__collected { margin-top: 14px; border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); background: color-mix(in srgb, var(--green) 6%, var(--bg-elevated)); padding: 12px 14px; }
.vdemo__collected-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.vdemo__field { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 4px 0; }
.vdemo__field span { color: var(--text-mute); }
.vdemo__field b { font-family: var(--mono); color: var(--text); text-align: right; font-weight: 500; }

.vdemo__note { margin-top: 14px; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--text-faint); border-left: 2px solid var(--border); padding-left: 10px; }

.vdemo__foot { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 16px; border-top: 1px solid var(--border); }
.vdemo__go { background: var(--accent); color: #000; border: none; padding: 12px 16px; font-family: var(--mono); font-size: 13px; font-weight: 600; cursor: pointer; }
.vdemo__go:hover { background: #FFE45C; }
.vdemo__go--stop { background: transparent; color: var(--text-mute); border: 1px solid var(--border); }
.vdemo__go--stop:hover { background: var(--bg-elevated); color: var(--text); }
.vdemo__cta { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--accent); padding: 6px; }
.vdemo__cta:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .vdemo { right: 12px; left: 12px; bottom: 12px; }
  .vdemo__panel { width: 100%; max-height: 80vh; }
  .vdemo__launcher { width: 100%; justify-content: center; }
  .vdemo__launcher-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vdemo__meter i { transition: none; }
  .vdemo__launcher { transition: none; }
}

/* ==========================================================================
   Сценарий против ИИ — две карточки со ставками (index, pricing)
   ========================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); margin-top: var(--grid-gap); background: var(--border); border: 1px solid var(--border); }
.duo__card { background: var(--bg-card); padding: 28px 30px; display: flex; flex-direction: column; }
.duo__card--ai { background: color-mix(in srgb, var(--accent) 4%, var(--bg-card)); }

.duo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.duo__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); }
.duo__card--ai .duo__tag { color: var(--accent); }
.duo__price { font-family: var(--mono); font-size: 34px; font-weight: 600; color: var(--text-bright); white-space: nowrap; }
.duo__price sub { font-size: 12px; font-weight: 400; color: var(--text-faint); margin-left: 4px; vertical-align: baseline; }
.duo__card--ai .duo__price { color: var(--accent); }

.duo__lede { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.duo__list { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.duo__list li { font-size: 14px; line-height: 1.6; color: var(--text-mute); padding-left: 18px; position: relative; }
.duo__list li::before { content: "—"; position: absolute; left: 0; color: var(--text-faint); font-family: var(--mono); }
.duo__list b { color: var(--text); font-weight: 600; }
.duo__card--ai .duo__list li::before { color: var(--accent-dim); }

.duo__when { margin-top: auto; background: var(--bg-elevated); border-left: 2px solid var(--border); padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--text-mute); }
.duo__when span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.duo__card--ai .duo__when { border-left-color: color-mix(in srgb, var(--accent) 50%, transparent); }

.duo__foot { margin-top: var(--grid-gap); background: var(--bg-card); border: 1px solid var(--border); border-top: none; padding: 24px 30px; }
.duo__foot p { font-size: 14px; line-height: 1.65; color: var(--text-mute); max-width: 900px; }
.duo__foot b { color: var(--text); }
.duo__foot-mute { font-family: var(--mono); font-size: 11px !important; line-height: 1.6 !important; color: var(--text-faint) !important; margin-top: 12px; }
.duo__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.duo__cta span { font-family: var(--mono); font-size: 11px; color: var(--text-faint); }

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

/* ============================================================
   РОЛИК «КАК РАБОТАЕТ РОБОТ» — сцены на таймлайне
   Сцена рисуется в фиксированной системе координат (--stage-w
   × --stage-h) и масштабируется под ширину рамки, поэтому на
   любом экране пропорции те же. На узком экране система
   координат другая (вертикальная) — иначе текст сцены
   уезжает в нечитаемые 7px.
   ============================================================ */
.clip { padding-top: 0; }
.clip__frame {
  --stage-w: 1280;
  --stage-h: 720;
  position: relative;
  width: 100%;
  aspect-ratio: var(--stage-w) / var(--stage-h);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}
.clip__stage {
  position: absolute; left: 0; top: 0;
  width: calc(var(--stage-w) * 1px);
  height: calc(var(--stage-h) * 1px);
  transform-origin: 0 0;
  color: var(--text);
  font-family: var(--sans);
}
.clip__scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.clip__scene.is-on { opacity: 1; visibility: visible; }
.clip__abs { position: absolute; }

.clip h2, .clip h3 { font-family: var(--serif); margin: 0; }
.clip__h {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: 44px; line-height: 1.12; color: var(--text-bright); margin: 0;
}
.clip__h em { font-style: normal; color: var(--accent); }
.clip__sub { font-size: 20px; line-height: 1.45; color: var(--text-mute); margin: 14px 0 0; max-width: 640px; }
.clip__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint);
}

/* появление элементов по таймлайну */
.clip__fade { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.clip__fade.is-on { opacity: 1; transform: none; }
.clip__drop { opacity: 0; transform: translateY(-420px) rotate(var(--r, 0deg)); transition: transform .8s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
.clip__drop.is-on { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
.clip__fly { opacity: 0; transform: translateX(-260px) scale(.9); transition: transform .7s cubic-bezier(.2,.9,.2,1), opacity .35s; }
.clip__fly.is-on { opacity: 1; transform: none; }
.clip__pop { opacity: 0; transform: scale(.7); transition: transform .4s cubic-bezier(.3,1.5,.5,1), opacity .25s; }
.clip__pop.is-on { opacity: 1; transform: none; }
.clip__draw { stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset .6s ease; }
.clip__draw.is-on { stroke-dashoffset: 0; }
.clip__stage.is-reset *, .clip__stage.is-reset .clip__scene { transition: none !important; }

/* блоки конструктора: легенда сайта, значения из платформы */
.clip__block {
  display: flex; align-items: center; gap: 12px;
  border-radius: 12px; padding: 0 20px;
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  color: #0A0A0A; box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}
.clip__block--start  { background: #16c06f; }
.clip__block--talk   { background: #3b82f6; color: #F5F5F0; }
.clip__block--noans  { background: #f15a24; color: #F5F5F0; }
.clip__block--result { background: #7c3aed; color: #F5F5F0; }
.clip__stud { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); flex: none; }

/* сцена «конструктор» */
.clip__palette {
  left: 56px; top: 150px; width: 250px; display: grid; gap: 10px;
}
.clip__palette .clip__block { height: 52px; font-size: 16px; }
.clip__palette .clip__block--ghost {
  background: var(--bg-card); color: var(--text-mute);
  border: 1px dashed var(--border); box-shadow: none;
}
.clip__canvas {
  left: 350px; top: 128px; width: 856px; height: 470px;
  background:
    radial-gradient(circle, rgba(245,245,240,0.06) 1px, transparent 1px) 0 0/24px 24px,
    var(--bg);
  border: 1px solid var(--border);
}
.clip__cbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint);
}
.clip__publish {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  background: var(--accent); color: #0A0A0A; padding: 5px 12px; font-weight: 600;
}
.clip__node {
  position: absolute; width: 250px; padding: 12px 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 3px solid var(--c, var(--accent));
}
.clip__node b { display: block; font-size: 16px; color: var(--text-bright); margin-bottom: 5px; }
.clip__node span { display: block; font-size: 13px; line-height: 1.4; color: var(--text-mute); }
.clip__chips { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.clip__chips em {
  font-style: normal; font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border: 1px solid var(--border); color: var(--text-mute);
}
.clip__elabel {
  position: absolute; font-family: var(--mono); font-size: 11px;
  color: var(--accent); background: var(--bg); padding: 2px 7px; border: 1px solid var(--border);
}

/* сцена «звонок» */
.clip__phone {
  left: 78px; top: 150px; width: 300px; height: 440px;
  background: var(--bg-card); border: 1px solid var(--border); padding: 22px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.clip__phone small { font-family: var(--mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.08em; }
.clip__ava {
  width: 72px; height: 72px; flex: none; border-radius: 50%; margin: 18px 0 12px;
  background: #3b82f6; color: #fff; font-family: var(--serif); font-weight: 700;
  font-size: 30px; display: grid; place-items: center;
}
.clip__pname { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--text-bright); }
.clip__timer { font-family: var(--mono); font-size: 13px; color: var(--green); margin-top: 14px; }
.clip__wave { display: flex; align-items: center; gap: 3px; height: 92px; margin-top: 16px; }
.clip__wave i { display: block; width: 4px; border-radius: 2px; background: #5A6A92; transition: height .08s linear; }
.clip__who { font-family: var(--mono); font-size: 11px; color: var(--text-mute); margin-top: 10px; min-height: 16px; }
.clip__subs { left: 430px; top: 150px; width: 780px; display: grid; gap: 10px; align-content: start; }
.clip__line {
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 14px; border: 1px solid var(--border); background: var(--bg-card);
  font-size: 16px; line-height: 1.4;
}
.clip__line b {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); flex: none; width: 58px;
}
.clip__line--bot { border-left: 3px solid #7c3aed; }
.clip__line--cl  { border-left: 3px solid #3b82f6; }
.clip__tagx {
  font-family: var(--mono); font-size: 13px; color: var(--green);
  border: 1px solid var(--green-dim); background: rgba(0,255,136,0.07); padding: 9px 13px;
}
.clip__outcome {
  font-family: var(--serif); font-weight: 700; font-size: 17px; color: #0A0A0A;
  background: var(--accent); padding: 11px 15px;
}

/* сцена «стадии CRM» */
.clip__panel {
  left: 40px; top: 150px; width: 270px; height: 440px;
  background: var(--bg-card); border: 1px solid var(--border); padding: 14px;
}
.clip__plabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.clip__slot { height: 62px; border: 1px dashed var(--border); margin: 10px 0 16px; }
.clip__status { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 18px; }
.clip__ring {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-elevated);
  border: 1px solid var(--border); display: grid; place-items: center; flex: none;
}
.clip__ring.is-ringing { animation: clip-ring .7s infinite; }
@keyframes clip-ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.clip__col {
  position: absolute; top: 150px; width: 142px;
  border-top: 2px solid var(--c, var(--border)); padding-top: 10px;
}
.clip__col h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.clip__col h3 i { font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--c, var(--text)); }
.clip__col p { font-size: 11px; line-height: 1.35; color: var(--text-faint); margin: 0; }
.clip__lead {
  position: absolute; padding: 8px 10px; background: var(--bg-card);
  border: 1px solid var(--border); border-left: 3px solid #C3D2E5;
  transition: border-left-color .3s;
}
.clip__lead b { display: block; font-size: 13px; color: var(--text-bright); }
.clip__lead small { font-family: var(--mono); font-size: 10px; color: var(--text-faint); }
.clip__lead.is-active { box-shadow: 0 0 0 1px var(--accent), 0 12px 28px rgba(0,0,0,0.5); }

/* финал */
.clip__cta {
  display: inline-block; margin-top: 26px; background: var(--accent); color: #0A0A0A;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; padding: 14px 26px;
}
.clip__mini { width: 58px; height: 58px; border-radius: 12px; }


/* позиции подписей сцен (десктоп) */
.clip__t--s1 { left: 56px; top: 56px; width: 1160px; font-size: 38px; }
.clip__t--s2 { left: 430px; top: 56px; width: 780px; font-size: 34px; }
.clip__t--s3 { left: 40px; top: 44px; width: 1200px; font-size: 34px; }
.clip__lead--s3 { left: 40px; top: 96px; max-width: 1160px; font-size: 18px; }
.clip__final { left: 96px; top: 210px; width: 760px; }
.clip__final__h { font-size: 52px; }
.clip__final__p { font-size: 22px; max-width: 700px; }
.clip__minis { left: 960px; top: 250px; display: grid; grid-template-columns: repeat(2, 58px); gap: 14px; }


/* узлы и связи сцены «конструктор» (десктоп) */
.clip__wires { position: absolute; left: 0; top: 44px; }
.clip__n--start  { left: 30px;  top: 70px; }
.clip__n--talk   { left: 440px; top: 70px; }
.clip__n--result { left: 440px; top: 290px; }
.clip__n--noans  { left: 30px;  top: 290px; }
.clip__el--yes    { left: 612px; top: 236px; }
.clip__el--silent { left: 330px; top: 250px; }

/* ---------- узкий экран: своя система координат ---------- */
/* Система координат почти равна ширине телефона: при stage 1280 текст сцены
   ужимался до 7px и не читался. Здесь масштаб около 1:1, поэтому кегли
   настоящие. */
@media (max-width: 860px) {
  .clip__frame { --stage-w: 390; --stage-h: 880; }

  .clip__h { font-size: 22px; line-height: 1.2; }
  .clip__sub { font-size: 13px; line-height: 1.4; }
  .clip__label { font-size: 10px; }

  .clip__t--s1 { left: 16px; top: 18px; width: 358px; font-size: 21px; }
  .clip__t--s2 { left: 16px; top: 18px; width: 358px; font-size: 21px; }
  .clip__t--s3 { left: 16px; top: 16px; width: 358px; font-size: 20px; }
  .clip__lead--s3 { left: 16px; top: 74px; width: 358px; max-width: 358px; font-size: 12px; }

  /* сцена 1: палитра сверху, холст под ней */
  .clip__palette { left: 16px; top: 78px; width: 358px; grid-template-columns: 1fr 1fr; gap: 7px; }
  .clip__palette .clip__block { height: 38px; font-size: 12px; padding: 0 10px; border-radius: 8px; }
  .clip__stud { width: 8px; height: 8px; }
  .clip__canvas { left: 16px; top: 214px; width: 358px; height: 420px; }
  .clip__cbar { padding: 8px 10px; font-size: 10px; }
  .clip__publish { font-size: 10px; padding: 4px 8px; }
  .clip__node { width: 320px; padding: 9px 11px; }
  /* узлы сцены «конструктор» — в колонку, связи декоративные и не нужны */
  .clip__wires { display: none; }
  .clip__el--yes, .clip__el--silent { display: none; }
  .clip__n--start  { left: 19px; top: 56px; }
  .clip__n--talk   { left: 19px; top: 146px; }
  .clip__n--result { left: 19px; top: 268px; }
  .clip__n--noans  { left: 19px; top: 348px; }

  .clip__node b { font-size: 13px; }
  .clip__node span { font-size: 11px; }
  .clip__chips em { font-size: 10px; padding: 2px 6px; }
  .clip__elabel { font-size: 10px; padding: 1px 5px; }

  /* сцена 2: телефон сверху, субтитры под ним */
  /* На узком экране карточка звонка — компактная колонка: строкой элементы
     не помещались и вылезали за рамку. */
  .clip__phone { left: 16px; top: 70px; width: 358px; height: 196px; padding: 12px 14px;
                 flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .clip__ava { width: 40px; height: 40px; flex: none; font-size: 17px; margin: 8px 0 6px; }
  .clip__pname { font-size: 15px; }
  .clip__phone small { font-size: 10px; }
  .clip__timer { margin-top: 6px; font-size: 11px; }
  .clip__wave { height: 40px; margin-top: 8px; gap: 2px; }
  .clip__wave i { width: 3px; }
  .clip__who { font-size: 10px; margin-top: 6px; }
  .clip__subs { left: 16px; top: 282px; width: 358px; gap: 6px; }
  .clip__line { font-size: 12px; padding: 8px 10px; gap: 8px; }
  .clip__line b { width: 42px; font-size: 10px; }
  .clip__tagx { font-size: 11px; padding: 7px 10px; }
  .clip__outcome { font-size: 12px; padding: 9px 11px; }

  /* сцена 3: панель сверху, стадии в два ряда по три */
  .clip__panel { left: 16px; top: 108px; width: 358px; height: 150px; padding: 10px; }
  .clip__plabel { font-size: 10px; }
  .clip__slot { height: 40px; margin: 7px 0 10px; }
  .clip__status { font-size: 12px; margin-bottom: 0; }
  .clip__ring { width: 26px; height: 26px; }
  .clip__col { width: 112px; padding-top: 7px; }
  .clip__col h3 { font-size: 10px; }
  .clip__col h3 i { font-size: 11px; }
  .clip__col p { font-size: 10px; }
  .clip__lead { padding: 5px 7px; }
  .clip__lead b { font-size: 10px; }
  .clip__lead small { font-size: 10px; }

  /* финал */
  .clip__final { left: 16px; top: 150px; width: 358px; }
  .clip__final__h { font-size: 30px; }
  .clip__final__p { font-size: 14px; max-width: 340px; }
  .clip__cta { font-size: 11px; padding: 11px 18px; margin-top: 18px; }
  .clip__minis { left: 16px; top: 420px; grid-template-columns: repeat(4, 44px); gap: 10px; }
  .clip__mini { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .clip__scene { transition: none; }
  .clip__fade, .clip__drop, .clip__fly, .clip__pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .clip__draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .clip__ring { animation: none !important; }
  .clip__wave i { transition: none !important; }
}

/* =============== Схема детектора роботов (слой 04) ===============
   Отрисовка вместо скриншота: на слайде был внутренний экран разметки
   («ждут вашего ревью», «Substring mining») — то, что клиент не видит.
   Здесь показано устройство: четыре судьи, два из которых пополняются
   из потока звонков сами. Общий css, а не inline в index.html: блок
   стоит на четырёх страницах. */
.layer__visual--demo .layer__visual-img { background: var(--bg-elevated); align-items: stretch; justify-content: flex-start; }
.layer__visual--demo::after { display: none; }

/* Схема — не скриншот: жёсткая пропорция 4/3 ей не нужна и на узких
   экранах режет контент (элементы наезжали друг на друга на 375px). */
.layer__visual--map { aspect-ratio: auto; min-height: 300px; }

/* Широкий скриншот (конструктор, 3420×1662) в рамке 4/3 оставлял пустую
   треть под собой. Рамке с таким кадром пропорция не нужна — она берёт
   высоту по картинке. */
.layer__visual--wide { aspect-ratio: auto; }
.detmap { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 14px 15px 15px; font-family: var(--mono); box-sizing: border-box; }
.detmap__in { flex: none; padding: 9px 11px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; font-size: 11px; line-height: 1.4; color: var(--text); }
.detmap__who { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.detmap__flow { display: flex; flex-direction: column; gap: 9px; flex: 1; min-height: 0; }
.detmap__stage { display: flex; flex-direction: column; gap: 5px; }
.detmap__when { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.detmap__j { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 6px; font-size: 10.5px; }
.detmap__j b { color: var(--text); font-weight: 500; }
.detmap__j i { font-style: normal; color: var(--text); font-size: 11px; letter-spacing: .02em; }
.detmap__j em { margin-left: auto; font-style: normal; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
/* Судьи, которые собираются сами — отмечены акцентом: это и есть суть блока */
.detmap__j--auto { border-left-color: color-mix(in srgb, var(--green) 55%, var(--border)); }
.detmap__j--auto em { color: var(--green); }
.detmap__j--auto em::before { content: '↻ '; }
.detmap__sum { display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.detmap__sum::before, .detmap__sum::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.detmap__out { flex: none; display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--red) 34%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--red) 9%, var(--bg-card)); }
.detmap__verdict { font-size: 11.5px; color: var(--red); letter-spacing: .02em; }
.detmap__verdict::before { content: '⛔ '; }
.detmap__note { font-size: 10px; line-height: 1.4; color: var(--text-mute); }

@media (max-width: 900px) {
  .detmap { padding: 12px; gap: 8px; }
  .detmap__j { font-size: 10px; padding: 5px 8px; }
  .detmap__j em { font-size: 10px; }
}

/* =============== Один ход разговора (слой 01) ===============
   Вместо обрезанного скриншота аудиобиблиотеки: он показывал список
   записей и переключатель порядка проигрывания — ни одного из четырёх
   утверждений блока. Здесь один ход звонка, разложенный на такты ровно
   по абзацам: чей голос → реплика бота → ответ клиента → приведение
   слова к начальной форме → заполненная карточка.

   Анимация — CSS-only, один общий период 14 с, у каждого такта свой
   @keyframes с собственной точкой входа. Так такты синхронны навсегда
   (общий период), финал держится целиком, и нет JS на четырёх страницах.
   Общий css, а не inline: блок стоит на index и features. */
.vturn {
  width: 100%; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 9px;
  padding: 14px 15px 15px;
  font-family: var(--mono);
}

/* 1. Чей голос: выбор диктор/синтез и запись прямо в браузере */
.vturn__src { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; animation: vturn-b1 16s infinite; }
.vturn__srclab { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.vturn__pill {
  padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 10px; color: var(--text-mute);
}
.vturn__pill--on {
  color: var(--bg); background: var(--accent);
  border-color: var(--accent); font-weight: 500;
}
.vturn__rec { margin-left: auto; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); white-space: nowrap; }
.vturn__rec::before {
  content: '●'; margin-right: 4px; color: var(--red);
  animation: vturn-rec 1.6s steps(1) infinite;
}

/* 2-3. Реплики */
.vturn__row {
  display: grid; grid-template-columns: 54px 1fr; align-items: start; gap: 9px;
  padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-card);
}
.vturn__row--bot { animation: vturn-b2 16s infinite; }
.vturn__row--man { animation: vturn-b3 16s infinite; border-left: 3px solid color-mix(in srgb, var(--green) 55%, var(--border)); }
.vturn__row--ask { animation: vturn-b3 16s infinite; }
.vturn__row--date { animation: vturn-b6 16s infinite; }
.vturn__who { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
.vturn__line { grid-column: 2; margin: 0; font-size: 10.5px; line-height: 1.5; color: var(--text); }
.vturn__line + .vturn__line { margin-top: 5px; }

/* Проигрывание записи диктора: столбики, а не иконка плеера — видно, что
   это живой звук, а не «робот из коробки». */
.vturn__wave { grid-column: 2; display: flex; align-items: center; gap: 2px; height: 16px; margin-bottom: 6px; }
.vturn__wave i {
  display: block; width: 2px; border-radius: 1px; background: var(--accent);
  height: 30%; opacity: .75;
  animation: vturn-wave 1.05s ease-in-out infinite;
}
.vturn__wave i:nth-child(3n)   { animation-delay: -.15s; }
.vturn__wave i:nth-child(3n+1) { animation-delay: -.5s; }
.vturn__wave i:nth-child(4n)   { animation-delay: -.78s; }
.vturn__wave i:nth-child(5n)   { animation-delay: -.33s; }

/* Слова, из которых будет извлечено значение */
.vturn__mark {
  font-weight: 500; color: var(--text-bright);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--accent) 65%, transparent);
}

/* Встречный вопрос увёл на ветку — и вернул на основную линию. Абзац
   про это в тексте есть, а в иллюстрации не было ничего. */
.vturn__branch {
  padding: 0 11px; font-size: 10px; line-height: 1.55; color: var(--text-mute);
  animation: vturn-b4 16s infinite;
}
.vturn__branch::before { content: '↳ '; color: var(--text-faint); }
.vturn__branch b { color: var(--text); font-weight: 400; }
.vturn__row--back { animation: vturn-b5 16s infinite; }

/* 4. Приведение к начальной форме — то самое «во вторник = по вторникам» */
.vturn__lemma {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 11px; font-size: 10px; color: var(--text-mute);
  animation: vturn-b7 16s infinite;
}
.vturn__lemma::before { content: '↳'; color: var(--text-faint); }
.vturn__lemma em { font-style: normal; color: var(--text-faint); }
.vturn__lemma b { color: var(--accent); font-weight: 500; }

/* 5. Куда всё это попадает */
.vturn__card {
  margin-top: auto; display: flex; flex-direction: column; gap: 5px;
  padding: 9px 11px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  background: color-mix(in srgb, var(--green) 7%, var(--bg-card));
  animation: vturn-b8 16s infinite;
}
.vturn__cardlab { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.vturn__field { display: flex; align-items: baseline; gap: 8px; font-size: 10.5px; }
.vturn__field span { color: var(--text-mute); min-width: 52px; }
.vturn__field b { color: var(--text-bright); font-weight: 500; }
.vturn__field::after { content: '✓'; margin-left: auto; color: var(--green); font-size: 10px; }
.vturn__field--late { animation: vturn-b9 16s infinite; }

/* Такты: общий период, у каждого своя точка входа; финал держится целиком
   до 93%, дальше общий сброс. */
@keyframes vturn-b1 { 0%,2%  { opacity:0; transform: translateY(6px); } 6%,93% { opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b2 { 0%,11% { opacity:0; transform: translateY(6px); } 15%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b3 { 0%,23% { opacity:0; transform: translateY(6px); } 27%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b4 { 0%,32% { opacity:0; transform: translateX(-6px); } 36%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b5 { 0%,40% { opacity:0; transform: translateY(6px); } 44%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b6 { 0%,52% { opacity:0; transform: translateY(6px); } 56%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b7 { 0%,63% { opacity:0; transform: translateX(-6px); } 67%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b8 { 0%,72% { opacity:0; transform: translateY(8px); } 77%,93%{ opacity:1; transform:none; } 97%,100% { opacity:0; } }
@keyframes vturn-b9 { 0%,82% { opacity:0; } 86%,93% { opacity:1; } 97%,100% { opacity:0; } }
@keyframes vturn-wave { 0%,100% { height: 22%; } 50% { height: 100%; } }
@keyframes vturn-rec  { 0%,49% { opacity: 1; } 50%,100% { opacity: .15; } }

/* Сцена ждёт, пока блок появится в кадре: иначе посетитель долистывает до
   середины цикла и видит полупостроенную схему. Гейт через js-reveal —
   класс, который вешает тот же наблюдатель (script.js). Нет JS или нет
   IntersectionObserver → класса нет → анимация идёт сразу, как и раньше. */
.layer.js-reveal:not(.in) .vturn * { animation-play-state: paused; }

@media (max-width: 900px) {
  .vturn { padding: 12px; gap: 8px; }
  .vturn__row { grid-template-columns: 44px 1fr; gap: 7px; padding: 8px 9px; }
  .vturn__line, .vturn__field { font-size: 10px; }
  .vturn__rec { margin-left: 0; }
}

/* Движение выключено системно — показываем собранный финал целиком. */
@media (prefers-reduced-motion: reduce) {
  .vturn__src, .vturn__row--bot, .vturn__row--man, .vturn__lemma,
  .vturn__card, .vturn__field--late, .vturn__wave i, .vturn__rec::before {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .vturn__wave i { height: 55%; }
}
