﻿:root {
  /* Токены как в кабинете (app.css dark) */
  --bg: #101317;
  --bg-2: #151920;
  --panel: #181C23;
  --panel-2: #1E2430;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #E5E7EB;
  --muted: #94A3B8;
  --faint: #64748B;

  --accent: #3B82F6;           /* steel */
  --accent-light: #60A5FA;     /* ice */
  --accent-strong: #3B82F6;
  --accent-deep: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --accent-soft: rgba(59, 130, 246, 0.12);

  --font-display: "Open Sans", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
  --pad-x: 22px;
  --section-y: clamp(64px, 8vw, 104px);
  --head-h: 68px;
  --card: linear-gradient(165deg, rgba(24, 28, 35, 0.96), rgba(16, 19, 23, 0.96));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(700px 420px at 8% 0%, rgba(96, 165, 250, 0.10), transparent 50%),
    linear-gradient(180deg, #0b0e13 0%, var(--bg) 40%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Плёночное зерно поверх страницы */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; }

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

/* ─── Header ─── */
.top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 11, 16, 0.72);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad-x);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); justify-self: start; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 18px var(--accent-glow);
  display: grid; place-items: center; color: #fff;
}
.brand-mark svg { width: 18px; height: 18px; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-link {
  appearance: none; border: 0; background: transparent; font: inherit; font-size: 0.92rem; font-weight: 600;
  color: var(--muted); padding: 8px 12px; cursor: pointer; text-decoration: none; border-radius: 8px;
  position: relative; transition: color 0.2s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }
.nav-link.is-active { color: var(--text); }
/* подчёркивание — только по наведению/фокусу */
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform-origin: center;
  opacity: 0; transform: scaleX(0.5); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-link:hover::after, .nav-link:focus-visible::after { opacity: 1; transform: scaleX(1); }

.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.btn-nav {
  min-height: 38px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); color: var(--text); background: transparent;
  font-weight: 700; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-nav:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-nav-primary {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-strong));
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.btn-nav-primary:hover { color: #fff; box-shadow: 0 6px 22px rgba(59, 130, 246, 0.5); }

.nav-toggle {
  display: none; justify-self: end; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,0.04); cursor: pointer; padding: 11px; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 1px; }
.nav-drawer { display: none; flex-direction: column; padding: 8px var(--pad-x) 16px; gap: 2px; border-top: 1px solid var(--line); background: rgba(7, 11, 16, 0.96); }
.nav-drawer .nav-link { text-align: left; }
.nav-drawer[hidden] { display: none !important; }

@media (max-width: 960px) {
  .top-inner { grid-template-columns: 1fr auto; }
  .nav, .top-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer:not([hidden]) { display: flex; }
}

/* ─── Panels ─── */
.panel[hidden] { display: none !important; }
.panel.is-active { animation: rise 0.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ─── Типографика секций ─── */
.section-head { margin-bottom: 38px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-light);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }

.section-title {
  margin: 0; font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.015em; line-height: 1.18;
  max-width: 30ch; text-wrap: balance;
}
.section-lead {
  margin: 14px 0 0; max-width: 56ch; color: #c5d5dd;
  font-size: 1.04rem; font-weight: 500; line-height: 1.6;
}

/* ─── Hero (две колонки: текст слева, ноутбук справа) ─── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 5.5vw, 68px) var(--pad-x) clamp(48px, 6vw, 76px); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 400px at 76% 42%, rgba(59, 130, 246, 0.22), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 3.4vw, 46px); align-items: center;
}
.hero-copy .eyebrow { animation: rise 0.7s var(--ease) both; }
.hero-copy h1 {
  margin: 0 0 18px; max-width: 17ch;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.1vw, 3.05rem); letter-spacing: -0.022em; line-height: 1.07; color: #fff;
  text-wrap: balance;
  animation: rise 0.7s var(--ease) 0.1s both;
}
.accent { color: var(--accent-light); }
.hero-copy .lead {
  margin: 0 0 28px; max-width: 42ch; font-size: 1.04rem; font-weight: 500; color: #d5e2e8; line-height: 1.6;
  animation: rise 0.7s var(--ease) 0.2s both;
}
.hero-copy .cta-row { animation: rise 0.7s var(--ease) 0.3s both; }
.hero-copy .trust-row { animation: rise 0.7s var(--ease) 0.4s both; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 12px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-strong) 55%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.42), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(59, 130, 246, 0.55), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-ghost { background: rgba(255,255,255,0.03); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0; }
.trust-row span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(18, 28, 36, 0.72); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: #cfe0e6;
}
.trust-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 8px var(--accent-glow); }

/* ─── Ноутбук ─── */
.hero-showcase {
  position: relative; z-index: 1;
  animation: rise 0.9s var(--ease) 0.35s both;
}
/* свечение под ноутбуком */
.hero-showcase::before {
  content: ""; position: absolute; left: 50%; top: 10%; transform: translateX(-50%);
  width: 92%; height: 85%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(59, 130, 246, 0.32), transparent 70%);
  filter: blur(26px);
}
@media (max-width: 960px) {
  .hero-showcase { max-width: 620px; margin: 0 auto; }
}
/* ─── Блок с графиком продаж ─── */
.salesboard {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.sb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sb-label {
  margin: 0 0 8px; font-size: 0.72rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.sb-value {
  margin: 0; font-family: var(--font-display); font-weight: 800; color: #fff; line-height: 1;
  font-size: clamp(1.75rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.sb-delta {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  padding: 6px 12px; border-radius: 999px; background: rgba(34, 197, 94, 0.14); color: #4ade80;
  font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums;
}

/* сетка-подложка */
.sb-chart { position: relative; margin-bottom: 14px; }
.sb-grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); pointer-events: none; }
.sb-grid span { border-top: 1px solid rgba(148, 163, 184, 0.09); }

.sb-bars {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(4px, 0.9vw, 8px);
  align-items: end; height: clamp(150px, 19vw, 196px);
}
.sb-bars li { height: 100%; display: flex; align-items: flex-end; }
.sb-bars i {
  display: block; width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent-deep));
  /* растём снизу вверх через clip-path: углы не деформируются, в отличие от scaleY */
  clip-path: inset(100% 0 0 0);
}
.sb-bars li:last-child i { background: linear-gradient(180deg, #7dd3fc, var(--accent)); box-shadow: 0 0 18px var(--accent-glow); }
.is-live .sb-bars i {
  animation: grow-up 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes grow-up { to { clip-path: inset(0 0 0 0); } }

.sb-xaxis {
  list-style: none; margin: 10px 0 0; padding: 0; display: flex; justify-content: space-between;
  font-size: 0.68rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums;
}

.sb-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 13px; overflow: hidden;
}
.sb-stats > div { background: rgba(255, 255, 255, 0.025); padding: 13px 10px; text-align: center; }
.sb-stats span { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.sb-stats b {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: #fff;
  font-variant-numeric: tabular-nums;
}
/* ─── Бегущая строка ─── */
.marquee-wrap {
  overflow: hidden; margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; padding: 13px 0; animation: marquee 42s linear infinite; }
/* отступ через margin, а не gap: иначе сдвиг на -50% не совпадает с длиной набора */
.marquee-item { white-space: nowrap; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-right: 44px; }
.marquee-item b { color: #e8f0f3; font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Цифры ─── */
.stats-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
.stats-cap { margin: 0 0 16px; text-align: center; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.stats-band > div { background: rgba(18, 28, 36, 0.6); padding: 24px 18px; text-align: center; }
.stats-band b { display: block; font-family: var(--font-display); font-size: clamp(1.35rem, 2.3vw, 1.75rem); color: #fff; font-variant-numeric: tabular-nums; }
.stats-band span { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
@media (max-width: 720px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ─── Как это работает ─── */
.steps-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
/* зазор 24px, чтобы стрелка помещалась между карточками и не наезжала */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover { border-color: rgba(59, 130, 246, 0.35); transform: translateY(-2px); }
.step-num {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent)); box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.step h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.step p { margin: 0; color: #b7c9d2; font-size: 0.95rem; line-height: 1.6; font-weight: 500; }
/* стрелка центрирована по вертикали и ровно в зазоре: 4px слева, 4px справа */
.step-arrow {
  position: absolute; top: 50%; right: -20px; transform: translateY(-50%);
  width: 16px; height: 16px; color: rgba(148, 163, 184, 0.5); z-index: 2;
}
.steps > .step:last-child .step-arrow { display: none; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } .step-arrow { display: none; } }

/* ─── Возможности ─── */
.features-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
/* блок плотный по тексту — забираем его в рамку, чтобы он читался как единый смысловой узел */
.features-frame {
  position: relative; overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 26px;
  padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(19, 29, 43, 0.72), rgba(9, 14, 21, 0.72));
}
.features-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 320px at 50% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.features-frame > * { position: relative; }
.features-frame .section-head { margin-bottom: 32px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 26px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(340px 160px at 50% 0%, rgba(59, 130, 246, 0.16), transparent 70%);
  transition: opacity 0.3s var(--ease);
}
.feature:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-3px); }
.feature:hover::before { opacity: 1; }
.feature-ico {
  position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: var(--accent-light); background: var(--accent-soft); border: 1px solid rgba(59, 130, 246, 0.28); margin-bottom: 16px;
}
.feature h3 { position: relative; margin: 0 0 8px; font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.feature p { position: relative; margin: 0; color: #b7c9d2; font-size: 0.95rem; line-height: 1.6; font-weight: 500; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ─── Продукт изнутри ─── */
.module-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
.module-panel {
  border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.module-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.module-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(168, 186, 196, 0.3); }
.module-url { margin-left: 12px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.rules-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 620px; }
.rules-table th {
  text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rules-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: #e8f0f3; font-weight: 500; }
.rules-table tbody tr:last-child td { border-bottom: 0; }
.rules-table tbody tr { transition: background 0.2s var(--ease); }
.rules-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
/* числовые колонки — по правому краю, цифры моноширинные */
.rules-table th.num, .rules-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rules-table td.num { font-family: var(--font-display); font-weight: 700; color: #fff; }
.status { display: inline-flex; align-items: center; font-size: 0.76rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.status.ok { background: rgba(34, 197, 94, 0.14); color: #4ade80; }
.status.floor { background: rgba(59, 130, 246, 0.14); color: var(--accent-light); }
.status.wait { background: rgba(245, 158, 11, 0.14); color: #fbbf24; }

/* ─── Отзывы ─── */
.proof-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.proof-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.proof-quote { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent); opacity: 0.55; margin-bottom: 10px; }
.proof-card p { margin: 0 0 18px; color: #d5e2e8; font-size: 0.96rem; line-height: 1.65; flex: 1; }
.proof-card footer { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.proof-card footer b { color: #fff; }
.category-row { display: flex; flex-wrap: wrap; gap: 8px; }
.category-row span { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--muted); }
@media (max-width: 880px) { .proof-grid { grid-template-columns: 1fr; } }

/* ─── Тарифы: один тариф + лестница скидок за срок ─── */
.pricing-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }

/* Левая карточка — сам тариф */
.plan-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
}
.plan-price { margin: 0 0 26px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price b {
  font-family: var(--font-display); font-weight: 800; color: #fff; line-height: 1;
  font-size: clamp(2.1rem, 4.2vw, 2.9rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.plan-price span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 13px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 30px; font-size: 0.95rem; color: #d5e2e8; font-weight: 500; line-height: 1.5; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid rgba(59, 130, 246, 0.32);
}
.plan-list li::after {
  content: ""; position: absolute; left: 6px; top: 7.5px; width: 7px; height: 3.5px;
  border-left: 1.8px solid var(--accent-light); border-bottom: 1.8px solid var(--accent-light); transform: rotate(-45deg);
}
.plan-actions { display: grid; gap: 12px; justify-items: start; }
.plan-actions .btn { min-width: 250px; }

/* Правая карточка — цена по сроку оплаты */
.terms-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(20px, 2.4vw, 26px);
}
.terms-cap {
  margin: 0 0 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.terms-list { display: grid; gap: 10px; }
.term-row {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start;
  padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.025);
}
.term-row.is-best { border-color: rgba(59, 130, 246, 0.55); background: rgba(59, 130, 246, 0.07); }
.term-badge {
  position: absolute; top: -10px; right: 14px;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; white-space: nowrap;
}
.term-l b { display: block; font-size: 0.98rem; font-weight: 700; color: #fff; }
.term-l span { display: block; margin-top: 3px; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.term-l s { color: rgba(168, 186, 196, 0.5); margin-left: 5px; }
.term-r { text-align: right; }
.term-r b {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; color: #fff;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.term-r b i { font-style: normal; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.term-r em {
  display: block; margin-top: 3px; font-style: normal; font-size: 0.78rem; font-weight: 700;
  color: #4ade80; white-space: nowrap;
}
.term-note { grid-column: 1 / -1; margin: 5px 0 0; font-size: 0.82rem; font-weight: 700; color: #4ade80; }

.pricing-notes { margin-top: 22px; display: grid; gap: 6px; text-align: center; }
.pricing-notes p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.pricing-notes a { color: var(--accent-light); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-actions .btn { min-width: 0; width: 100%; }
}
@media (max-width: 430px) {
  .term-row { grid-template-columns: 1fr; }
  .term-r { text-align: left; }
  .term-badge { right: auto; left: 14px; }
}

/* ─── FAQ ─── */
/* контейнер той же ширины, что и другие секции — чтобы заголовок совпадал по левому краю */
.faq-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x) 0; }
/* на всю ширину контейнера — как остальные блоки; длину строки ответа
   ограничиваем отдельно, чтобы текст не растягивался в нечитаемую полосу */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 700; color: #fff; font-size: 1rem; padding: 20px 0; user-select: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary:hover { color: var(--accent-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: 1rem; line-height: 1; color: var(--accent-light);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.faq-item[open] .plus { transform: rotate(45deg); border-color: var(--accent); }
.faq-item p { margin: 0 0 22px; padding-right: 44px; color: #b7c9d2; font-size: 0.95rem; line-height: 1.65; max-width: 82ch; }

/* ─── Финальный CTA ─── */
.cta-band-wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--pad-x); }
.cta-band {
  border-radius: 22px; padding: clamp(40px, 6vw, 56px) 32px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 32, 42, 0.96), rgba(9, 14, 18, 0.98));
  border: 1px solid rgba(59, 130, 246, 0.26);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 260px at 50% 0%, rgba(59, 130, 246, 0.3), transparent 70%);
}
.cta-band h2 {
  position: relative; margin: 0 auto 12px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.02em; color: #fff; max-width: 22ch; text-wrap: balance;
}
.cta-band p { position: relative; margin: 0 auto 28px; color: #c5d5dd; font-size: 1.04rem; max-width: 48ch; }
.cta-band .cta-row { position: relative; justify-content: center; margin-bottom: 0; animation: none; }

/* ─── Реквизиты / Обратная связь ─── */
.page-wrap { max-width: 820px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--pad-x) var(--section-y); }
.page-wrap-narrow { max-width: 580px; }
.page-wrap h1 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem); letter-spacing: -0.02em; color: #fff;
}
.page-lead { margin: 0 0 32px; color: #c5d5dd; font-size: 1.05rem; line-height: 1.6; }

.legal-list { margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.legal-list > div { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.legal-list dt { margin: 0; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.legal-list dd { margin: 0; font-weight: 600; color: #fff; }
.legal-list a, .legal-note a { color: var(--accent-light); font-weight: 700; text-decoration: none; }
.legal-list a:hover, .legal-note a:hover { text-decoration: underline; }
.legal-note { margin: 30px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 560px) { .legal-list > div { grid-template-columns: 1fr; gap: 4px; } }

.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.04);
  padding: 13px 15px; font: inherit; color: var(--text); transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(168, 186, 196, 0.6); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.contact-form .btn-primary { justify-self: start; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.95rem; color: var(--muted); }
.form-status.is-ok { color: #4ade80; }
.form-status.is-err { color: #fca5a5; }

/* ─── Footer ─── */
.foot { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.28); }
.foot-grid {
  max-width: var(--max); margin: 0 auto; padding: 52px var(--pad-x) 32px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px;
}
.foot-brand p { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; max-width: 34ch; line-height: 1.6; }
.foot-col h4 { margin: 0 0 14px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { color: #cfe0e6; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--accent-light); }
.foot-bottom {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--pad-x) 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ─── Появление блоков при скролле (CSS scroll-driven, без JS) ─── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal,
    .reveal-stagger > * {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 44%;
    }
    .reveal-stagger > *:nth-child(2) { animation-range: entry 4% entry 50%; }
    .reveal-stagger > *:nth-child(3) { animation-range: entry 8% entry 54%; }
    .reveal-stagger > *:nth-child(n+4) { animation-range: entry 10% entry 56%; }
  }
}
@keyframes reveal-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* столбцы скрыты через clip-path и раскрываются анимацией — без неё
     их нужно показать сразу, иначе график окажется пустым */
  .sb-bars i { clip-path: none; }
}
