/* СканРадар — Visual system: тёмный «радар».
   Тема: ночной PPI-скоп. Почти чёрное поле (#0E1012), янтарный фосфор (#F5A623),
   крупная типографика Unbounded/Montserrat, моноширинные технические подписи Geist Mono.
   Принцип: иерархия типографикой и воздухом, а не рамками и плашками. */

:root {
  /* --- Базовая палитра --- */
  --background: #0e1012;
  --surface: #14171a;
  --surface-2: #191d21;
  --surface-3: #1f242a;
  --surface-raised: #171b1f;

  --ink: #f2f3f5;
  --ink-2: #cdd2d8;
  --muted: #8b939c;
  --muted-2: #626a72;

  --border: #23282e;
  --border-strong: #343b43;

  /* --- Акценты --- */
  --amber: #f5a623;
  --amber-hover: #ffb83d;
  --amber-press: #d98b00;
  --amber-soft: rgba(245, 166, 35, 0.14);
  --amber-line: rgba(245, 166, 35, 0.22);

  --green: #34d399;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);

  /* --- Алиасы под существующую разметку / инлайн-стили --- */
  --bg: var(--background);
  --bg-alt: var(--surface-2);
  --bg-warm: var(--surface-2);
  --graphite: var(--ink);
  --graphite-2: var(--ink-2);
  --amber-legacy: var(--amber);
  --amber-soft-legacy: var(--amber-soft);

  /* --- Геометрия / тени --- */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 28px 64px -30px rgba(0, 0, 0, 0.9);
  --glow-amber: 0 0 0 1px var(--amber-line), 0 0 32px -10px rgba(245, 166, 35, 0.45);

  /* --- Шрифты --- */
  --font-display: "Unbounded", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* Контент занимает всю ширину экрана: только боковые отступы, без
     жёсткого максимума — так кнопки шапки не переносятся на узких экранах. */
  --container: 100%;
  --tap: 44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  /* ВАЖНО: overflow-x: clip (а не hidden) — hidden создаёт scroll-контейнер
     и ломает position: sticky у шапки. clip просто обрезает вылет по X. */
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 2.4vw, 40px); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.18rem; }
b, strong { font-weight: 600; }

.lead { font-size: clamp(1rem, 1.35vw, 1.19rem); color: var(--ink-2); line-height: 1.62; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-dark .eyebrow { color: var(--amber); }
.section-dark .eyebrow::before { background: var(--amber); }

/* ---------------- Кнопки ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 12px 26px; border-radius: 10px;
  font-weight: 500; font-size: 0.97rem; line-height: 1;
  background: var(--surface-3); color: var(--ink);
  border: 1px solid var(--border-strong);
  /* Названия кнопок не переносятся на вторую строку. */
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color .15s;
}
.btn:hover { background: #262c33; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: #14171a; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-hover); border-color: var(--amber-hover); box-shadow: var(--glow-amber); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(245, 166, 35, 0.07); border-color: var(--amber); color: var(--amber); transform: none; }
.section-dark .btn-ghost { color: var(--ink); border-color: var(--border-strong); }
.section-dark .btn-ghost:hover { background: rgba(245, 166, 35, 0.09); border-color: var(--amber); color: var(--amber); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.87rem; }
.btn-lg { min-height: 56px; padding: 18px 36px; font-size: 1rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------------- Хедер ---------------- */
/* Шапка закреплена всегда: остаётся вверху при прокрутке любой страницы,
   из любого места можно перейти в нужный раздел. */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 16, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 500; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-logo { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav a { font-size: 0.94rem; color: var(--ink-2); transition: color 0.15s; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a:hover { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* grid-элементы по умолчанию имеют min-width:auto и не сжимаются ниже
   min-content — из-за этого hero/demo вылезали за контейнер на узких экранах. */
.hero-grid > *,
.proof-grid > * { min-width: 0; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .accent { color: var(--amber); position: relative; }
.hero .lead { max-width: 100%; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); border: 1px solid var(--border); }
.trust-line { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.trust-line .label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.trust-line .src { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--ink-2); font-weight: 500; }
.trust-line .src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------------- Секции ---------------- */
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-warm { background: var(--surface-2); }
.section-dark { background: #08090b; color: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .lead, .section-dark p { color: var(--ink-2); }
/* Заголовки секций занимают всю ширину экрана (без узкой колонки),
   чтобы длинные формулировки не сжимались внутри контейнера. */
.section-head { max-width: 100%; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0 18px; }
.section-head .lead { max-width: 100%; }

/* ---------------- Шаги ---------------- */
.steps { display: grid; gap: clamp(28px, 4vw, 44px); }
.step-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 48px); align-items: center;
  padding-bottom: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--border);
}
.section-dark .step-row { border-bottom-color: var(--border); }
.step-row:last-child { border-bottom: none; padding-bottom: 0; }
.step-num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--amber); line-height: 1; min-width: 1.5em; }
.section-dark .step-num { color: var(--amber); }
.step-body h3 { margin-bottom: 8px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.step-body p { color: var(--muted); max-width: 100%; }
.section-dark .step-body p { color: var(--ink-2); }
.step-row img { width: clamp(120px, 18vw, 200px); border-radius: var(--radius); border: 1px solid var(--border); }

/* ---------------- Возможности (мозаика, асимметрия) ---------------- */
.feature-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 3vw, 30px); }
.feat { grid-column: span 2; }
.feat.wide { grid-column: span 3; }
.feat h3 { font-size: 1.12rem; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.feat h3 .n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--amber); }
.feat p { color: var(--muted); font-size: 0.94rem; }
.feat.big { padding: clamp(24px, 3vw, 34px); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.feat.accent { background: var(--surface-3); color: var(--ink); padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); border: 1px solid var(--amber-line); }
.feat.accent h3 { color: var(--ink); }
.feat.accent h3 .n { color: var(--amber); }
.feat.accent p { color: var(--ink-2); }

/* ---------------- Источники ---------------- */
.sources-list { display: flex; flex-direction: column; }
.source-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.section-dark .source-line { border-bottom-color: var(--border); }
.source-line:first-child { border-top: 1px solid var(--border); }
.section-dark .source-line:first-child { border-top-color: var(--border); }
.source-line .s-name { font-family: var(--font-display); font-size: 1.08rem; }
.source-line .s-meta { color: var(--muted); font-size: 0.88rem; }
.s-status { font-family: var(--font-mono); font-size: 0.72rem; padding: 5px 12px; border-radius: 100px; white-space: nowrap; }
.s-status.on { background: var(--amber-soft); color: var(--amber); }
.s-status.limited { background: rgba(116, 192, 252, 0.12); color: #74c0fc; }
.s-status.manual { background: var(--surface-3); color: var(--muted); }

/* ---------------- Тарифы ---------------- */
/* Четыре тарифа в одну линию; компактные карточки равной высоты. */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  align-items: stretch;
}
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 15px 15px;
  display: flex; flex-direction: column; min-width: 0;
}
.price-card.featured {
  border-color: var(--amber); background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.25);
}
.price-card.featured h*, .price-card.featured .price-name { color: var(--ink); }
.price-badge { font-family: var(--font-mono); font-size: 0.64rem; color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.price-name { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.price-desc { color: var(--muted); font-size: 0.76rem; line-height: 1.35; margin-bottom: 10px; min-height: 2.7em; }
.price-card.featured .price-desc { color: var(--ink-2); }
.price-amount { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 700; margin-bottom: 2px; line-height: 1.1; }
.price-amount small { display: block; font-size: 0.68rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.price-features { list-style: none; margin: 10px 0 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.price-features li { display: flex; gap: 7px; font-size: 0.76rem; line-height: 1.35; color: var(--ink-2); overflow-wrap: anywhere; }
.price-card.featured .price-features li { color: var(--ink-2); }
.price-features li::before { content: "→"; color: var(--amber); font-weight: 700; flex: none; }
.price-card .btn { width: 100%; margin-top: auto; }

/* Объяснение токенов под сеткой тарифов: редакционная врезка, не карточка */
.tokens-box {
  margin-top: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.9fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 34px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}
.tokens-head h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); margin-top: 10px; }
.tokens-body {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 0.95rem; line-height: 1.64; color: var(--ink-2);
}
.tokens-body b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .tokens-box { grid-template-columns: 1fr; }
  .tokens-head h3 { margin-top: 6px; }
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 100%; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.section-dark .faq-item { border-bottom-color: var(--border); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(1rem, 1.6vw, 1.14rem); min-height: var(--tap); color: var(--ink); font-family: var(--font-body); }
.section-dark .faq-q { color: var(--ink); }
.faq-q .plus { font-size: 1.5rem; color: var(--amber); transition: transform 0.2s ease; flex-shrink: 0; }
.section-dark .faq-q .plus { color: var(--amber); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 24px; color: var(--muted); font-size: 0.96rem; max-width: 100%; }
.section-dark .faq-a-inner { color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 420px; }

/* ---------------- CTA-полоса ---------------- */
.cta-band {
  background: radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.18), transparent 62%), var(--surface-2);
  border: 1px solid var(--amber-line);
  color: var(--ink); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); }

/* ---------------- Hero поверх фиксированной сцены ---------------- */
.hero-stage {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 140px) 0 clamp(56px, 7vw, 110px);
}
.hero-stage .container { position: relative; z-index: 1; }
/* Текст — левая колонка, центр и правый край оставляем сцене. */
.hero-inner { width: 100%; max-width: 680px; }
.hero-inner h1 { max-width: 100%; }
.hero-inner .lead { max-width: 100%; }
/* ---------------- Hero-изображение (сгенерированный радар) ---------------- */
.hero-media {
  margin: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 166, 35, 0.08);
}
.hero-media img {
  display: block; width: 100%; height: auto;
}
.hero-media-cap {
  font-family: var(--font-mono); font-size: .72rem; line-height: 1.5;
  color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.hero-inner h1 { margin: 22px 0 26px; text-wrap: balance; font-size: clamp(2.2rem, 5vw, 3.7rem); }
.hero-inner .lead { max-width: 100%; margin-bottom: 30px; }
.hero-inner .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-marquee { margin-top: 40px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-marquee .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee-track { overflow: hidden; flex: 1; min-width: 200px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-inner { display: inline-flex; gap: 34px; white-space: nowrap; animation: marquee 22s linear infinite; }
.hero-marquee .src { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.hero-marquee .src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Живое демо ---------------- */
.demo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  max-width: 520px; width: 100%;
}
.demo-bar { display: flex; align-items: center; gap: 10px; }
.demo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.demo-dot.on { background: var(--amber); box-shadow: 0 0 10px rgba(245, 166, 35, 0.7); }
.demo-url { flex: 1; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); background: var(--surface-2); border-radius: 8px; padding: 9px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-progress { height: 4px; background: var(--surface-2); border-radius: 100px; overflow: hidden; }
.demo-progress > i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 100px; animation: demo-fill 6s ease-in-out infinite; }
@keyframes demo-fill { 0% { width: 0; } 55% { width: 100%; } 100% { width: 100%; } }
.demo-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px; background: var(--surface-raised);
  opacity: 0; transform: translateY(10px); animation: demo-card-in 0.5s ease forwards;
}
.demo-card:nth-child(2) { animation-delay: .6s; }
.demo-card:nth-child(3) { animation-delay: 1.1s; }
.demo-card:nth-child(4) { animation-delay: 1.6s; }
@keyframes demo-card-in { to { opacity: 1; transform: translateY(0); } }
.demo-quote { font-size: .9rem; color: var(--ink); font-weight: 500; }
.demo-quote b { color: var(--ink); font-weight: 600; }

/* ---------------- Proof (результат) ---------------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.proof-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); border: 1px solid var(--border); }
/* Блок «Что вы получаете»: текст — слева, мокап отчёта — справа.
   В разметке первым идёт мокап, поэтому меняем порядок местами. */
.proof-grid > div:first-child { order: 2; }
.proof-grid > div:last-child { order: 1; }

/* Мокап шапки отчёта (HTML-версия реального экрана /app) */
.report-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
}
.rm-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.rm-score { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: .88; letter-spacing: -.04em; color: var(--amber); font-variant-numeric: tabular-nums; }
.rm-cap { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.rm-host-name { font-size: 1.06rem; font-weight: 500; }
.rm-facts { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.rm-facts b { color: var(--ink-2); font-weight: 600; }
.rm-tally { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.rm-tally b { color: var(--ink); font-weight: 600; }
.rm-rows { display: flex; flex-direction: column; }
.rm-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rm-row:last-child { border-bottom: 0; padding-bottom: 0; }
.rm-rail { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.rm-rail em { font-style: normal; font-weight: 600; }
.rm-rail .lvl-critical { color: #ff6b6b; }
.rm-rail .lvl-high { color: #ff922b; }
.rm-rail .lvl-medium { color: #f5a623; }
.rm-title { font-size: .88rem; font-weight: 500; line-height: 1.35; display: flex; flex-direction: column; gap: 3px; }
.rm-meta { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); font-weight: 400; }
@media (max-width: 560px) {
  .rm-top { grid-template-columns: 1fr; gap: 12px; }
  .rm-row { grid-template-columns: 54px minmax(0, 1fr); gap: 8px; }
}
.proof-list { display: flex; flex-direction: column; gap: 20px; }
.proof-item { display: flex; gap: 16px; align-items: flex-start; }
.proof-item .pi-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); line-height: 1; min-width: 1.4em; }
.proof-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.proof-item p { color: var(--muted); font-size: .93rem; }

/* ---------------- Секция с фоном-рамкой радара ---------------- */
.section-dark-bg {
  background-color: #08090b;
  color: var(--ink);
}
.section-dark-bg { position: relative; overflow: hidden; }
.section-dark-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(245,166,35,.05) 0 1px, transparent 1px 4px);
  pointer-events: none; z-index: 0;
}
.section-dark-bg > .container { position: relative; z-index: 2; }
.section-dark-bg h2, .section-dark-bg h3 { color: var(--ink); }
.section-dark-bg p, .section-dark-bg .step-body p { color: var(--ink-2); }
.section-dark-bg .step-row { border-bottom-color: var(--border); }
.section-dark-bg .step-num { color: var(--amber); }
.section-dark-bg .eyebrow { color: var(--amber); }
.section-dark-bg .eyebrow::before { background: var(--amber); }

/* ---------------- Контакты ---------------- */
.contacts-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.contacts-text h2 { margin: 16px 0 18px; }
.contacts-text .lead { max-width: 100%; }
.contacts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 4px;
}
.contacts-row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contacts-row:last-child { border-bottom: none; padding-bottom: 0; }
.contacts-row:first-child { padding-top: 0; }
.contacts-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.contacts-link {
  font-size: 1.02rem; font-weight: 500; color: var(--amber);
  overflow-wrap: anywhere;
}
.contacts-link:hover { color: var(--amber-hover); text-decoration: underline; }
.contacts-value { font-size: 0.94rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) {
  .contacts-wrap { grid-template-columns: 1fr; }
  .contacts-text .lead { max-width: 100%; }
}

/* ---------------- Футер ---------------- */
.footer { background: #08090b; color: var(--ink-2); padding: clamp(48px, 6vw, 72px) 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer .brand { color: var(--ink); margin-bottom: 16px; }
.footer p { font-size: 0.9rem; color: var(--muted); max-width: 300px; }
.footer h4 { color: var(--ink); font-size: 0.86rem; margin-bottom: 16px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: color 0.15s; min-height: 32px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted-2); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { overflow-wrap: anywhere; }
.footer-bottom a:hover { color: var(--amber); }

/* Информационная врезка (например, «сканер ничего не ломает») */
.analysis-box {
  border-left: 2px solid var(--amber);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--ink-2);
  max-width: 100%;
}
.analysis-box strong { color: var(--ink); }

/* ---------------- Утилиты / формы ---------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.hidden { display: none !important; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: var(--tap); padding: 12px 15px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft);
}
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 100px; padding: 4px; gap: 3px; flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 8px 18px; border-radius: 100px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: all 0.15s; }
.seg button.active { background: var(--surface-3); color: var(--amber); box-shadow: var(--shadow-soft); }

/* ---------------- Карточки сигналов ---------------- */
.signal-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.15s ease;
}
.signal-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: var(--border-strong); }
.signal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.signal-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.tag-intent { background: rgba(116, 192, 252, 0.12); color: #74c0fc; }
.tag-geo { background: var(--amber-soft); color: var(--amber); }
.tag-geo.none { background: rgba(239, 68, 68, 0.12); color: #ff6b6b; }
.tag-source { background: var(--surface-3); color: var(--ink); }
.tag-lead { background: var(--amber); color: #14171a; font-weight: 700; }
.tag-fresh { background: var(--surface-2); color: var(--ink-2); }
.signal-author { font-size: 0.82rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.signal-contact { display: flex; align-items: center; gap: 8px; }
.lead-contact { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--amber); background: var(--amber-soft); padding: 8px 14px; border-radius: 100px; }
.lead-contact:hover { background: var(--amber); color: #14171a; }
.signal-reason { font-size: 0.82rem; color: var(--muted); font-style: italic; border-left: 2px solid var(--amber); padding-left: 10px; }
.signal-quote { font-size: 1.02rem; color: var(--ink); line-height: 1.55; margin: 0; padding: 12px 16px; background: var(--surface-2); border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; font-weight: 500; }
.signal-quote::before { content: "«"; color: var(--amber); font-weight: 700; }
.signal-quote::after { content: "»"; color: var(--amber); font-weight: 700; }
.signal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.signal-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.signal-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.icon-btn { width: var(--tap); height: var(--tap); border-radius: 8px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; font-size: 1rem; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn.active-up { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.icon-btn.active-down { background: var(--red-soft); border-color: var(--red); color: #ff6b6b; }

/* ---------------- Прогресс / тосты ---------------- */
.progress-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 60px 20px; }
.radar-spinner { width: 76px; height: 76px; position: relative; }
.radar-spinner::before, .radar-spinner::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); animation: pulse-ring 1.8s ease-out infinite; }
.radar-spinner::after { animation-delay: 0.9s; }
@keyframes pulse-ring { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.progress-text { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink-2); text-align: center; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--surface-3); color: var(--ink); padding: 14px 26px; border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 0.9rem; z-index: 1000; opacity: 0; transition: all 0.3s ease;
  box-shadow: var(--shadow-lift); max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: var(--red); color: #fff; border-color: var(--red); }
.toast.success { background: #b8760a; color: #fff; border-color: var(--amber); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  /* На узких экранах — естественный порядок: текст сверху, мокап снизу. */
  .proof-grid > div:first-child { order: 1; }
  .proof-grid > div:last-child { order: 2; }
  .hero-inner h1 { max-width: 100%; }
  .hero-inner .lead { max-width: 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid img { order: -1; }
  .demo { max-width: 100%; }
  .price-card.featured { transform: none; }
  .feature-mosaic { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat.wide { grid-column: span 2; }
  .step-row { grid-template-columns: auto 1fr; }
  .step-row img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }

}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  /* Длинный бейдж «только с подтверждением домена» в списке проверок:
     переносим строку, чтобы не появлялся горизонтальный скролл. */
  .source-line { flex-wrap: wrap; gap: 8px; }
  /* Шапка остаётся в одну строку: навигация скрыта (<960px), помещаются
     логотип и две кнопки. Текст кнопок не переносится. */
  .header-inner { gap: 8px 10px; flex-wrap: nowrap; padding: 8px 0; }
  .header-actions { gap: 8px; flex-wrap: nowrap; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: 0.82rem; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand-logo { width: 28px; height: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-mosaic { grid-template-columns: 1fr; }
  .feat, .feat.wide { grid-column: span 1; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .ex-title { font-size: 1.02rem; }
  .ex-card { padding: 18px; }
}
@media (max-width: 420px) {
  /* На очень узких экранах шапка переносится в две строки:
     иначе логотип и две кнопки не помещаются и появляется горизонтальный скролл. */
  .header-inner { flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .radar-spinner::before, .radar-spinner::after { animation: none; }
}
/* ---------------- Утилиты вместо инлайн-стилей (CSP: без unsafe-inline) ---------------- */
.btn-block { width: 100%; }

/* demo-карточки на лендинге */
.demo-quote.sev-critical { color: #ff6b6b; font-weight: 500; }
.demo-quote.sev-high { color: #ff922b; font-weight: 500; }
.demo-quote.sev-medium { color: #f5a623; font-weight: 500; }
.demo-quote.q-mono { font-size: .78rem; color: var(--muted); font-family: var(--font-mono); }

/* лендинг: отступы секций */
.proof-title { margin: 14px 0 20px; }
.cta-lead { max-width: 100%; margin: 16px auto 28px; }
.checks-more { margin-top: 24px; }

/* /checks */
.section-top { padding-top: 48px; }
.lead-narrow { max-width: 860px; margin-top: 14px; }
.analysis-mid { margin: 24px 0; }
.sev-filter-flat { margin-top: 0; border-top: 0; }
.checks-list-top { margin-top: 8px; }

/* боковая навигация: «Выйти» */
.side-nav-logout { margin-top: 10px; }

/* /pricing */
.analysis-small { font-size: .88rem; }

/* экран результата оплаты */
.pay-result { margin-top: 24px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); border-left-width: 3px; background: var(--surface); max-width: 720px; }
.pay-result h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pay-result p { color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.pay-result .row-actions { margin-top: 14px; }
.pay-result.pay-pending { border-left-color: var(--amber); }
.pay-result.pay-success { border-left-color: var(--green); }
.pay-result.pay-failed { border-left-color: var(--red); }
.pay-result.pay-success h3 { color: var(--green); }
.pay-result.pay-failed h3 { color: #ff6b6b; }
.pay-mock { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.pay-mock-cap { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-bottom: 10px; }
.pay-hint { margin-top: 12px; font-size: .82rem; color: var(--muted); }

/* Блок ошибки скана (в /app) */
.scan-error { margin-top: 8px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); border-left: 3px solid var(--red); background: var(--surface); max-width: 720px; }
.scan-error h3 { font-size: 1.15rem; margin-bottom: 8px; color: #ff6b6b; }
.scan-error p { color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.scan-error .row-actions { margin-top: 14px; }
.scan-error .err-reason { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* Блок «Поверхность атаки» в отчёте */
.surface-box { margin: 20px 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.surface-box h3 { font-size: 1.02rem; margin-bottom: 10px; }
.surface-grid { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.surface-item { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); }
.surface-item b { color: var(--amber); font-size: 1rem; }
.search-card .seg button:disabled { opacity: .4; cursor: not-allowed; }

/* /verify */
.verify-card-top { margin-top: 24px; }
.verify-bottom { margin-top: 32px; }
.verify-h2 { font-size: 1.2rem; margin-bottom: 14px; }
.row-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.row-actions-tight { display: flex; gap: 12px; flex-wrap: wrap; }

/* /app */
.progress-hint { font-size: .82rem; }

/* auth-страницы (login/register) */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: #08090b; color: var(--ink-2); padding: clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border);
}
.auth-side .brand { color: var(--ink); }
.auth-side h2 { color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 16px; }
.auth-side p { color: var(--muted); font-size: .95rem; }
.auth-side ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.auth-side li { color: var(--ink-2); font-size: .95rem; display: flex; gap: 10px; }
.auth-side li::before { content: "✓"; color: var(--amber); font-weight: 700; }
.auth-side .radar-bg { position: absolute; inset: 0; opacity: .25; pointer-events: none; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 40px); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth-card .muted { margin-bottom: 28px; }
.auth-alt { margin-top: 22px; font-size: .9rem; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--amber); font-weight: 500; }
.auth-note { color: var(--muted-2); font-size: .8rem; font-family: var(--font-mono); }
.consent-row {
  display: flex; gap: 10px; align-items: flex-start; font-size: .85rem;
  color: var(--muted); margin-bottom: 18px; line-height: 1.4;
}
.consent-row input { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--amber); }
.consent-row a { color: var(--amber); }
.scan-rights-row {
  align-items: flex-start;
  margin: 4px 0 14px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.scan-rights-row a { color: var(--amber); }
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; min-height: auto; }
  .auth-side { display: none; }
}

/* legal (privacy) */
.legal { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
/* Unbounded — широкий шрифт: длинные слова («конфиденциальности») на узких
   экранах должны переноситься, иначе появляется горизонтальный скролл. */
.legal h1, .legal h2, .legal p, .legal li { overflow-wrap: break-word; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .85rem; margin-bottom: 32px; font-family: var(--font-mono); }
.legal h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--graphite-2); font-size: .95rem; line-height: 1.7; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--surface-2); padding: 2px 6px; border-radius: 4px;
}
.legal a { color: var(--amber); }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-size: .9rem; }

/* a11y: скрыто визуально, доступно скринридеру */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   ФИКСИРОВАННАЯ СЦЕНА (лендинг)
   Кадры разборки ноутбука живут под контентом: слой fixed,
   контент скроллится поверх. Все правила ниже скоупятся
   через `.stage ~ .page`, чтобы не задеть другие страницы.
   ============================================================ */
.stage {
  --stage-brightness: 1.55;
  --stage-saturate: 1.15;
  position: fixed;
  inset: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
  background: var(--background);
}
.stage__frame {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  /* Кадры тёмные — поднимаем яркость без перегенерации.
     Значение регулируется переменной --stage-brightness. */
  filter: brightness(var(--stage-brightness)) saturate(var(--stage-saturate));
}
/* Вуаль: гасит края кадра и держит контраст текста */
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(14, 16, 18, 0.45) 0%,
      rgba(14, 16, 18, 0) 18%,
      rgba(14, 16, 18, 0) 62%,
      rgba(14, 16, 18, 0.5) 100%),
    rgba(14, 16, 18, 0);
}

.page { position: relative; z-index: 1; }

/* Шапка чуть прозрачнее: сцена просвечивает сквозь blur */
.stage ~ .page .header { background: rgba(14, 16, 18, 0.86); }

/* Свои фоны секций убираем — под ними сцена */
.stage ~ .page .section-warm,
.stage ~ .page .section-dark,
.stage ~ .page .section-dark-bg { background: transparent; }
.stage ~ .page .section-dark-bg { overflow: visible; }
.stage ~ .page .section-dark-bg::after { display: none; }

/* «Стеклянная лента»: одна полупрозрачная полоса по центру экрана.
   Лежит между сценой (z-index 0) и контентом (.page, z-index 1).
   Края растворяются — по бокам сцена видна без затемнения, сквозь ленту —
   мягко. Так текст живёт в одной центральной колонне, а анимация — всегда. */
.stage-glass {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, 86vw);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(14, 16, 18, 0) 0%,
    rgba(14, 16, 18, 0.44) 13%,
    rgba(14, 16, 18, 0.62) 32%,
    rgba(14, 16, 18, 0.62) 68%,
    rgba(14, 16, 18, 0.44) 87%,
    rgba(14, 16, 18, 0) 100%);
}

/* Секции: на десктопе своих затемнений больше нет — читаемость держит лента */
.stage-section { position: relative; }
.stage-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}
.stage-section > .container { position: relative; z-index: 1; }

/* Тень держит текст читаемым поверх светлых участков сцены */
.stage ~ .page .stage-section h1,
.stage ~ .page .stage-section h2,
.stage ~ .page .stage-section h3,
.stage ~ .page .stage-section .lead,
.stage ~ .page .stage-section .eyebrow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 0 4px rgba(0, 0, 0, 0.55);
}

/* Одна центральная колонна: глаз всегда знает, куда смотреть */
.stage ~ .page .section-head {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.stage ~ .page .section-head.center { max-width: 880px; }
.stage ~ .page .steps,
.stage ~ .page .sources-list,
.stage ~ .page .faq-list { max-width: 860px; margin-left: auto; margin-right: auto; }
.stage ~ .page .checks-more { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.stage ~ .page .pricing-grid { max-width: 1080px; margin-left: auto; margin-right: auto; }
.stage ~ .page .tokens-box { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* Hero — по центру, ноутбук виден за лентой */
.stage ~ .page .hero-inner {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.stage ~ .page .hero-inner .hero-cta { justify-content: center; }

/* «Что вы получаете»: мокап и объяснение — друг под другом в колонне */
.stage ~ .page .proof-grid {
  grid-template-columns: 1fr;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(24px, 4vw, 40px);
}
.stage ~ .page .proof-grid > div:first-child { order: 0; }
.stage ~ .page .proof-grid > div:last-child { order: 0; }
.stage ~ .page .proof-grid > .reveal { text-align: center; }
.stage ~ .page .proof-list { text-align: left; }

/* Контакты — две колонки на десктопе */
.stage ~ .page .contacts-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(20px, 3vw, 32px);
}
.stage ~ .page .contacts-text { max-width: 100%; text-align: left; }
.stage ~ .page .contacts-card { text-align: left; }

/* Стеклянные панели: сцена просвечивает, текст читается */
.stage ~ .page .price-card,
.stage ~ .page .tokens-box,
.stage ~ .page .report-mock,
.stage ~ .page .contacts-card,
.stage ~ .page .cta-band {
  background: rgba(18, 21, 24, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stage ~ .page .price-card.featured { background: rgba(30, 25, 17, 0.56); }
.stage ~ .page .tokens-box { background: rgba(18, 21, 24, 0.46); }
.stage ~ .page .cta-band { max-width: 920px; margin-left: auto; margin-right: auto; }

/* Паузы: сцена во весь экран, только короткая подпись */
.stage-breath {
  position: relative;
  z-index: 1;
  min-height: clamp(180px, 38vh, 380px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 7vh;
  pointer-events: none;
}
.stage-breath span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(205, 210, 216, 0.55);
}

@media (max-width: 1120px) {
  /* Шапка не помещается на планшете в ландшафте — прячем навигацию */
  .stage ~ .page .nav { display: none; }
}

@media (max-width: 960px) {
  /* На планшете и телефоне скрим вертикальный: текст может занимать всю ширину.
     «Ленту» прячем — на узком экране она перекрыла бы всю сцену. */
  .stage-glass { display: none; }
  .stage-section::before,
  .stage-section--center::before,
  .hero-stage::before {
    background: linear-gradient(180deg,
      rgba(14, 16, 18, 0.92) 0%,
      rgba(14, 16, 18, 0.78) 55%,
      rgba(14, 16, 18, 0.62) 100%);
  }
  .stage ~ .page .section-head,
  .stage ~ .page .section-head.center,
  .stage ~ .page .steps,
  .stage ~ .page .sources-list,
  .stage ~ .page .faq-list,
  .stage ~ .page .proof-grid,
  .stage ~ .page .contacts-wrap,
  .stage ~ .page .contacts-text { max-width: 100%; }
  .stage ~ .page .contacts-wrap { grid-template-columns: 1fr; }
  .stage ~ .page .contacts-text { text-align: center; }
  .stage ~ .page .hero-inner { max-width: 100%; }
}

@media (max-width: 960px) {
  /* Портретный экран режет 16:9 — показываем кадр целиком */
  .stage__frame { object-fit: contain; }
  .stage ~ .page .price-card,
  .stage ~ .page .tokens-box,
  .stage ~ .page .report-mock,
  .stage ~ .page .contacts-card,
  .stage ~ .page .cta-band {
    background: rgba(18, 21, 24, 0.76);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .stage-breath { min-height: 30vh; padding-bottom: 5vh; }
}

/* Уведомление о технических cookie (152-ФЗ: информирование) */
.cookie-note {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #14171a;
  border: 1px solid #2a2f36;
  border-radius: 12px;
  color: #e7e9ec;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.cookie-note p { margin: 0; max-width: 62ch; }
.cookie-note a { color: #f5a623; text-decoration: underline; }
.cookie-note .btn { min-height: 44px; flex: 0 0 auto; }
@media (max-width: 600px) {
  .cookie-note { flex-direction: column; align-items: flex-start; }
}
