/* Лендинг TASPA. Цвета, шрифт и радиусы — токены платформы (/taspa/taspa-tokens.css):
 * светлая и тёмная тема общие с taspa.net. Hero — «ситуационный центр»: тёмно-синий
 * в обеих темах, живая консоль ИИ. Сначала телефон (375px), шире — колонки.
 * Анимации — transform/opacity, идут только на экране. Системное «меньше движения»
 * их намеренно не выключает: в Windows оно часто стоит ради скорости (и по RDP),
 * и лендинг выглядел бы мёртвым. */

:root {
  --lp-max: 1200px;
  --lp-gutter: 20px;
  --lp-section: 64px;
  --lp-vk: #5181b8;
  --lp-ig: #e1306c;
  --lp-tt: #111111;
  /* hero и полосы: фирменный тёмно-синий в обеих темах */
  --ops-bg: #0e1f38;
  --ops-bg-2: #142a4d;
  --ops-line: rgba(165, 201, 239, 0.16);
  --ops-text: #eef3fa;
  --ops-text-2: #b8c8dc;
  --ops-text-3: #8aa0bb;
  --ops-beam: #7cc4ff;
  /* уровни угрозы на тёмном (hero) */
  --hv-red: #ff6b6b;
  --hv-orange: #ffa94d;
  --hv-yellow: #ffd43b;
  --hv-clean: #51cf66;
  /* уровни угрозы на светлом/тёмном фоне секций */
  --mv-red: #d64545;
  --mv-orange: #e8892b;
  --mv-yellow: #d4a514;
  --mv-clean: #1f9d55;
}
:root[data-theme="dark"] {
  --lp-tt: #f1f3f5;
  --ops-bg: #0a1628;
  --ops-bg-2: #0f2038;
  --mv-red: #ff8787;
  --mv-orange: #ffa94d;
  --mv-yellow: #ffd43b;
  --mv-clean: #69db7c;
}
@media (min-width: 960px) {
  :root { --lp-gutter: 32px; --lp-section: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tp-bg);
  color: var(--tp-text);
  font: 400 16px/1.6 var(--tp-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--tp-primary); }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: var(--tp-icon-stroke, 1.7);
  stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; border-radius: var(--tp-radius);
  background: var(--tp-primary); color: var(--tp-on-primary); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: var(--tp-focus); }

/* ── шапка ── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--tp-panel) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--tp-line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tp-primary); border-radius: var(--tp-radius); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font: 800 20px/1 var(--tp-font); letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-bg); }
.seg button {
  min-width: 42px; height: 30px; padding: 0 8px; border: 0; border-radius: 4px;
  background: transparent; color: var(--tp-text-2); font: 700 12px/1 var(--tp-font); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--tp-primary); color: var(--tp-on-primary); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--tp-line); border-radius: var(--tp-radius);
  background: var(--tp-panel); color: var(--tp-text-2); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--tp-primary); border-color: var(--tp-line-2); }
.login-link {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px;
  border-radius: var(--tp-radius); color: var(--tp-text-2); font-weight: 600; font-size: 14px; text-decoration: none;
}
.login-link:hover { color: var(--tp-primary); background: var(--tp-primary-soft); }
.login-link span { display: none; }
@media (min-width: 720px) { .login-link span { display: inline; } }
/* кнопка SCAN в шапке — к форме проверки */
.nav-scan {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border-radius: var(--tp-radius); background: var(--tp-primary); color: var(--tp-on-primary);
  font: 800 13px/1 var(--tp-font); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.nav-scan:hover { background: var(--tp-primary-hover); }
.nav-scan .i { width: 17px; height: 17px; }
/* телефон: кнопки шапки — под палец; места на всё не хватает, от бренда остаётся эмблема */
@media (max-width: 599px) {
  .seg button { min-width: 38px; height: 34px; }
  .icon-btn { width: 40px; height: 40px; }
  .login-link { height: 40px; }
  .nav-scan { height: 40px; padding: 0 10px; }
  .brand-name { display: none; }
}

/* ── кнопки и ссылки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--tp-radius-card);
  font: 700 16px/1.2 var(--tp-font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--tp-primary); color: var(--tp-on-primary); }
.btn-primary:hover { background: var(--tp-primary-hover); }
.btn-primary[disabled] { opacity: .75; cursor: progress; }
.btn-light { background: #ffffff; color: #1a365d; }
.btn-light:hover { background: #e6eef8; }
.btn-ghost-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.34); }
.btn-ghost-light:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(2px); }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tp-text-2); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--tp-primary); }
button.text-link { padding: 0; border: 0; background: none; font: 600 15px/1.4 var(--tp-font); cursor: pointer; }
button.text-link .i { width: 18px; height: 18px; }

.eyebrow { margin-bottom: 12px; color: var(--tp-primary); font: 700 13px/1.3 var(--tp-font); letter-spacing: .08em; text-transform: uppercase; }
.lead { color: var(--tp-text-2); font-size: 17px; line-height: 1.6; }

.net { display: inline-flex; align-items: center; gap: 6px; color: var(--tp-text); font-weight: 600; }
.net .i { width: 16px; height: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-vk { background: var(--lp-vk); }
.dot-ig { background: var(--lp-ig); }
.dot-tt { background: var(--lp-tt); }

/* ── 1. hero «ситуационный центр» ── */
.hero-ops {
  position: relative; overflow: hidden; isolation: isolate;
  /* мягкое свечение за консолью: на телефоне она внизу, на десктопе справа */
  background: radial-gradient(520px 420px at 50% 82%, rgba(124, 196, 255, 0.12), transparent 70%), var(--ops-bg);
  color: var(--ops-text);
  padding: 36px 0 44px;
}
@media (min-width: 1200px) {
  .hero-ops { background: radial-gradient(640px 480px at 74% 50%, rgba(124, 196, 255, 0.13), transparent 70%), var(--ops-bg); }
}
/* Фактура: мелкая сетка точек, к низу гаснет. */
.hero-ops::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(165, 201, 239, 0.16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-ops-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow-light { color: #a5c9ef; }
.hero-ops h1 { max-width: 15em; font: 800 clamp(28px, 6.4vw, 44px)/1.12 var(--tp-font); letter-spacing: -0.02em; text-wrap: balance; color: #fff; }
.lead-light { margin-top: 16px; max-width: 600px; color: var(--ops-text-2); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ops-text-3); font-size: 14px; }
.hero-note .i { width: 16px; height: 16px; color: #a5c9ef; }
@media (min-width: 960px) {
  .hero-ops { padding: 76px 0 92px; }
  .lead-light { font-size: 18px; }
}
/* Две колонки — только когда консоли хватает ширины; уже — консоль под текстом. */
@media (min-width: 1200px) {
  .hero-ops-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; }
  .hero-actions .btn-lg { padding: 0 22px; }
}
@media (min-width: 600px) and (max-width: 1199px) { .console { max-width: 680px; } }

/* Консоль ИИ */
.console {
  --lane-head: 26px;
  --track-h: 236px;
  position: relative;
  border: 1px solid var(--ops-line); border-radius: 16px;
  background: color-mix(in srgb, var(--ops-bg-2) 82%, transparent);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
@media (min-width: 600px) { .console { --track-h: 300px; } }
.console-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--ops-line); font: 600 13px/1 var(--tp-font-mono); color: var(--ops-text-2);
}
.console-dots { display: inline-flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.console-title { display: inline-flex; align-items: center; gap: 8px; color: var(--ops-text); }
.console-title .i { width: 16px; height: 16px; color: var(--ops-beam); }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ops-text-3); text-transform: lowercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hv-clean); box-shadow: 0 0 0 0 rgba(81, 207, 102, 0.6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(81, 207, 102, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(81, 207, 102, 0); } }

.console-body { display: grid; gap: 12px; padding: 12px; }
@media (min-width: 600px) { .console-body { grid-template-columns: minmax(0, 1fr) 150px; } }
.lanes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lane-head { display: flex; align-items: center; gap: 6px; height: var(--lane-head); font: 600 12px/1 var(--tp-font); color: var(--ops-text-2); }
.console .dot-tt, .geo .dot-tt { background: #f1f3f5; }
.lh-one, .lh-all { display: inline-flex; align-items: center; gap: 6px; }
.lh-all { display: none; gap: 4px; }
.lh-all .dot:nth-child(3) { margin-right: 4px; }
.lane-track {
  position: relative; height: var(--track-h); overflow: hidden;
  border-radius: 10px; background: rgba(255, 255, 255, 0.025);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.post {
  position: absolute; left: 4px; right: 4px; top: 0;
  padding: 8px 7px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.055);
  will-change: transform;
  transition: border-color .35s, box-shadow .35s, background-color .35s;
}
.post-top { display: flex; align-items: center; gap: 6px; }
.post .ava { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); flex: none; }
.post .ln { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.post .ln + .ln { margin-top: 5px; }
.post-top .ln { flex: 1; }
.post-body { margin-top: 7px; }
.post-media {
  position: relative; height: 38px; margin-top: 7px; border-radius: 6px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 6px, rgba(255, 255, 255, 0.02) 6px 12px);
}
.post-media .i { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; color: rgba(255, 255, 255, 0.55); }
/* Две строки под итог анализа зарезервированы заранее: карточка не растёт на луче. */
.post-tags { display: grid; gap: 4px; justify-items: start; margin-top: 7px; }
.ptag, .vchip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 17px; padding: 0 5px; border-radius: 999px;
  font: 600 10px/1 var(--tp-font-mono); white-space: nowrap; overflow: hidden;
  animation: pop .3s ease-out both;
}
.ptag > span, .vchip > span { overflow: hidden; text-overflow: ellipsis; }
.ptag .i { width: 11px; height: 11px; }
.ptag { color: var(--ops-text-2); background: rgba(124, 196, 255, 0.12); }
.vchip { color: #0b1626; font: 700 10px/1 var(--tp-font); }
.ptag.sk, .vchip.sk { width: 60%; background: rgba(255, 255, 255, 0.06); animation: none; }
.vchip.sk { width: 76%; }
.post-net { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--ops-text-2); font: 600 10px/1 var(--tp-font-mono); white-space: nowrap; }
.post-net .dot { width: 6px; height: 6px; }
.post[data-v="red"] { border-color: var(--hv-red); box-shadow: 0 0 22px -8px var(--hv-red); background: rgba(255, 107, 107, 0.08); }
.post[data-v="orange"] { border-color: var(--hv-orange); box-shadow: 0 0 22px -8px var(--hv-orange); background: rgba(255, 169, 77, 0.07); }
.post[data-v="yellow"] { border-color: var(--hv-yellow); box-shadow: 0 0 22px -10px var(--hv-yellow); }
.post[data-v="clean"] { border-color: rgba(81, 207, 102, 0.45); }
.vchip.red { background: var(--hv-red); }
.vchip.orange { background: var(--hv-orange); }
.vchip.yellow { background: var(--hv-yellow); }
.vchip.clean { background: var(--hv-clean); }
.post.flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(124, 196, 255, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(124, 196, 255, 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

.beam {
  position: absolute; left: -6px; right: -6px; z-index: 2; pointer-events: none;
  top: calc(var(--lane-head) + var(--track-h) * 0.46);
  height: 2px; border-radius: 2px;
  background: var(--ops-beam);
  box-shadow: 0 0 12px 2px rgba(124, 196, 255, 0.55);
  animation: beam-pulse 2.4s ease-in-out infinite;
}
.beam::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 44px;
  background: linear-gradient(to top, rgba(124, 196, 255, 0.16), transparent);
}
/* по лучу бежит блик — сканер работает */
.beam::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent) no-repeat;
  background-size: 22% 100%;
  animation: beam-run 2.6s ease-in-out infinite;
}
@keyframes beam-run { from { background-position: -30% 0; } to { background-position: 130% 0; } }
.beam-tag {
  position: absolute; left: 8px; top: -11px; padding: 3px 7px; border-radius: 999px;
  background: var(--ops-beam); color: #062038; font: 800 10px/1.2 var(--tp-font-mono); letter-spacing: .06em;
}
@keyframes beam-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }

.queue {
  display: flex; flex-direction: column; gap: 10px; padding: 10px;
  border: 1px solid var(--ops-line); border-radius: 10px; background: rgba(0, 0, 0, 0.14);
}
.queue-head { display: flex; align-items: center; gap: 6px; color: var(--ops-text-2); font: 600 11px/1.3 var(--tp-font); text-transform: uppercase; letter-spacing: .05em; }
.queue-head .i { width: 15px; height: 15px; color: var(--ops-beam); }
.queue-list { list-style: none; display: grid; gap: 6px; align-content: start; min-height: 64px; }
.queue-list li {
  display: grid; grid-template-columns: 7px minmax(0, 1fr); align-items: center; column-gap: 8px; row-gap: 3px;
  padding: 6px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.05);
  animation: slide-in .35s ease-out both;
}
.queue-list li .dot { width: 7px; height: 7px; grid-row: span 2; }
.q-net { color: var(--ops-text); font: 600 11px/1.2 var(--tp-font-mono); }
.q-v { font: 700 11px/1.2 var(--tp-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.queue-doc {
  margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  border: 1px dashed rgba(165, 201, 239, 0.35); color: var(--ops-text-2); font: 700 12px/1.2 var(--tp-font);
}
.queue-doc .i { width: 16px; height: 16px; color: #a5c9ef; }
.queue-doc.stamped { animation: stamp .7s ease-out; border-style: solid; border-color: var(--hv-clean); color: #fff; }
@keyframes stamp { 0% { transform: scale(1); } 35% { transform: scale(1.06); } 100% { transform: scale(1); } }
/* Телефон: одна общая лента (соцсеть — меткой на карточке), очередь эксперту справа. */
@media (max-width: 599px) {
  .console { --track-h: 290px; }
  .console-body { grid-template-columns: minmax(0, 1fr) 116px; gap: 10px; padding: 10px; }
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .lane + .lane { display: none; }
  .lh-one { display: none; }
  .lh-all { display: inline-flex; }
  .queue { gap: 8px; padding: 8px; }
  .queue-head { font-size: 10px; }
  .queue-list li { column-gap: 6px; padding: 5px 6px; }
  .queue-list li:nth-child(n+4) { display: none; }
  .q-net, .q-v { font-size: 10px; }
  .queue-doc { padding: 7px 8px; font-size: 11px; }
}

/* ── 2. доверие ── */
.trust { background: var(--ops-bg-2); color: var(--ops-text); border-top: 1px solid var(--ops-line); }
.trust-row { display: grid; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.trust-label { color: var(--ops-text-3); font: 700 13px/1.3 var(--tp-font); letter-spacing: .08em; text-transform: uppercase; }
.trust-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.trust-logos img { height: 48px; width: auto; }
.trust-org { display: flex; align-items: center; gap: 12px; max-width: 280px; font-weight: 600; font-size: 14px; line-height: 1.3; }
@media (min-width: 960px) {
  .trust-row { grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
  .trust-logos { justify-content: flex-end; }
}

/* ── секции ── */
.section { padding: var(--lp-section) 0; scroll-margin-top: 64px; }
.section-alt { background: var(--tp-panel); border-top: 1px solid var(--tp-line); border-bottom: 1px solid var(--tp-line); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, .scan-copy h2, .contact-copy h2 { font: 800 clamp(26px, 5.2vw, 40px)/1.16 var(--tp-font); letter-spacing: -0.015em; }
.card { padding: 22px 20px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg); background: var(--tp-panel); }
.card-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--tp-radius-card);
  background: var(--tp-primary-soft); color: var(--tp-primary);
}
.card-icon .i { width: 22px; height: 22px; }

/* ── 3. конвейер ── */
.pipeline { position: relative; --p: 0; padding-left: 44px; }
.pipe-track { position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--tp-line-2); }
.pipe-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); border-radius: 2px; background: var(--tp-primary); }
.pipe-packet {
  position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 14px; height: 14px; border-radius: 50%;
  background: var(--tp-primary); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--tp-primary) 18%, transparent);
}
.pipe-steps { list-style: none; display: grid; gap: 22px; }
.pipe-step {
  position: relative; padding: 20px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg);
  background: var(--tp-panel); transition: border-color .4s, box-shadow .4s;
}
.pipe-step.is-on { border-color: color-mix(in srgb, var(--tp-primary) 45%, var(--tp-line)); box-shadow: var(--tp-shadow-pop); }
.pipe-num {
  position: absolute; left: -44px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; border: 2px solid var(--tp-line-2); background: var(--tp-bg); color: var(--tp-text-3);
  font: 800 12px/1 var(--tp-font-mono); transition: background-color .3s, color .3s, border-color .3s;
}
.pipe-step.is-on .pipe-num { background: var(--tp-primary); border-color: var(--tp-primary); color: var(--tp-on-primary); }
.pipe-tag { margin-top: 12px; color: var(--tp-primary); font: 700 12px/1.3 var(--tp-font); letter-spacing: .06em; text-transform: uppercase; }
.pipe-step h3 { margin-top: 4px; font: 800 19px/1.3 var(--tp-font); }
.pipe-step p:last-child { margin-top: 8px; color: var(--tp-text-2); }
@media (max-width: 959px) {
  .pipe-steps { gap: 16px; }
  .pipe-step { padding: 16px 16px 18px; }
  .pipe-viz { height: 48px; }
  .pipe-step h3 { font-size: 18px; }
}
@media (min-width: 960px) {
  .pipeline { padding-left: 0; padding-top: 56px; }
  /* от центра первого номера до центра последнего: колонки (100% − 3×20px) / 4 */
  .pipe-track { left: calc((100% - 60px) / 8); right: calc((100% - 60px) / 8); top: 16px; bottom: auto; width: auto; height: 2px; }
  .pipe-fill { width: calc(var(--p) * 100%); height: 100%; }
  .pipe-packet { left: calc(var(--p) * 100%); top: 50%; }
  .pipe-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .pipe-num { left: 50%; top: -56px; transform: translateX(-50%); }
}

/* мини-анимации шагов */
.pipe-viz { position: relative; height: 56px; display: flex; align-items: center; }
.viz-collect .hub {
  position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-left: 8px;
  border-radius: 12px; background: var(--tp-primary-soft); color: var(--tp-primary);
}
.viz-collect .orbit { position: absolute; left: 8px; top: 8px; width: 40px; height: 40px; animation: orbit 6s linear infinite; }
.viz-collect .o { position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tp-panel); }
.viz-collect .o-vk { background: var(--lp-vk); left: -12px; top: 15px; }
.viz-collect .o-ig { background: var(--lp-ig); left: 36px; top: -10px; }
.viz-collect .o-tt { background: var(--lp-tt); left: 34px; top: 38px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.viz-analyze .eq { display: flex; align-items: center; gap: 4px; height: 40px; }
.viz-analyze .eq i { width: 5px; height: 100%; border-radius: 3px; background: var(--tp-primary); transform-origin: center; animation: eq 1.2s ease-in-out infinite; }
.viz-analyze .eq i:nth-child(2) { animation-delay: -.2s; } .viz-analyze .eq i:nth-child(3) { animation-delay: -.5s; }
.viz-analyze .eq i:nth-child(4) { animation-delay: -.1s; } .viz-analyze .eq i:nth-child(5) { animation-delay: -.7s; }
.viz-analyze .eq i:nth-child(6) { animation-delay: -.35s; } .viz-analyze .eq i:nth-child(7) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.viz-review .stamp { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tp-success-bg); color: var(--tp-success); }
.viz-review .ring { position: absolute; left: 0; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--tp-success); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.viz-doc .sheet { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tp-primary-soft); color: var(--tp-primary); }
.viz-doc .ticks { display: flex; gap: 6px; margin-left: 12px; }
.viz-doc .ticks i { width: 22px; height: 6px; border-radius: 3px; background: var(--tp-line-2); animation: tick 3.6s ease-in-out infinite; }
.viz-doc .ticks i:nth-child(2) { animation-delay: .6s; } .viz-doc .ticks i:nth-child(3) { animation-delay: 1.2s; }
@keyframes tick { 0%, 15% { background: var(--tp-line-2); } 25%, 85% { background: var(--tp-success); } 100% { background: var(--tp-line-2); } }

/* ── 4. модули ── */
.tour { display: grid; gap: 56px; }
.tour-row { display: grid; gap: 26px; align-items: center; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.tour-chips .net { padding: 4px 10px; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-bg); font-size: 13px; }
.tour-copy h3 { font: 800 clamp(22px, 4vw, 30px)/1.2 var(--tp-font); }
.tour-copy > p { margin-top: 12px; color: var(--tp-text-2); font-size: 17px; }
.ticks-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks-list li { position: relative; padding-left: 28px; font-weight: 600; }
.ticks-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tp-success-bg) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167c6b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .ticks-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2379c6b4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (min-width: 960px) {
  .tour { gap: 88px; }
  .tour-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
  .tour-row.reverse .tour-copy { order: 2; }
}

.mock {
  position: relative; padding: 20px; border: 1px solid var(--tp-line); border-radius: 18px;
  background: var(--tp-bg); box-shadow: var(--tp-shadow-pop); overflow: hidden;
}
.mock .bar { display: block; height: 7px; width: var(--w, 60%); border-radius: 4px; background: var(--tp-line-2); }
/* Пока блок не на экране — анимации стоят. */
.tour-row:not(.is-live) .mock *, .tour-row:not(.is-live) .mock *::before { animation-play-state: paused !important; }

/* соцсети: созвездие источников и аудитории */
.constellation { display: block; width: 100%; height: auto; }
.constellation line { stroke: var(--tp-line-2); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: link-draw 8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes link-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 22% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.constellation .people circle { fill: var(--tp-text-3); transform-box: fill-box; transform-origin: center; animation: twinkle 8s ease-in-out infinite; animation-delay: var(--d); }
.constellation .people circle.shared { fill: var(--tp-primary); }
@keyframes twinkle { 0%, 12% { transform: scale(0); } 22%, 82% { transform: scale(1); } 100% { transform: scale(1); opacity: 0; } }
.constellation .src { stroke: var(--tp-bg); stroke-width: 4; }
.constellation .src-vk { fill: var(--lp-vk); } .constellation .src-ig { fill: var(--lp-ig); } .constellation .src-tt { fill: var(--lp-tt); }
.constellation text { font: 800 10px/1 var(--tp-font); fill: #fff; text-anchor: middle; }
:root[data-theme="dark"] .constellation text:last-of-type { fill: #111; }
.mini-bars { display: grid; gap: 8px; margin-top: 12px; }
.mb { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; color: var(--tp-text-2); font-size: 13px; font-weight: 600; }
.mb i { display: block; height: 8px; border-radius: 4px; background: var(--tp-primary); transform-origin: left; transform: scaleX(var(--w)); animation: bar-grow 8s ease-in-out infinite; }
.mb:nth-child(2) i { animation-delay: .4s; background: var(--tp-info); } .mb:nth-child(3) i { animation-delay: .8s; background: var(--tp-success); }
@keyframes bar-grow { 0%, 10% { transform: scaleX(.08); } 35%, 88% { transform: scaleX(var(--w)); } 100% { transform: scaleX(.08); } }

/* ИИ-мониторинг: карточка материала */
.mat-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mat-head .bar { margin-left: 6px; }
.mat-media {
  position: relative; display: flex; align-items: center; justify-content: center; height: 104px; margin-top: 14px;
  border-radius: 12px; background: #0e1f38; overflow: hidden;
}
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: rgba(124, 196, 255, 0.75); transform: scaleY(.3); animation: eq 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; }
.mat-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--ops-beam); box-shadow: 0 0 14px 3px rgba(124, 196, 255, 0.5); animation: sweep 3s ease-in-out infinite; }
@keyframes sweep { 0% { left: 0; } 50% { left: calc(100% - 2px); } 100% { left: 0; } }
.mat-play { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; }
.mat-play .i { width: 13px; height: 13px; }
.mat-mods { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.m { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--tp-panel); color: var(--tp-text-3); font-size: 14px; font-weight: 600; animation: mod-on 9s ease-in-out infinite; }
.m .i { width: 16px; height: 16px; }
.m .ok { margin-left: auto; color: var(--tp-success); opacity: 0; animation: ok-on 9s ease-in-out infinite; }
.m2, .m2 .ok { animation-delay: 1.1s; } .m3, .m3 .ok { animation-delay: 2.2s; }
@keyframes mod-on { 0%, 10% { color: var(--tp-text-3); } 18%, 92% { color: var(--tp-text); } 100% { color: var(--tp-text-3); } }
@keyframes ok-on { 0%, 14% { opacity: 0; transform: scale(.6); } 20%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mat-gauge { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 16px; }
.g { height: 8px; border-radius: 4px; }
.g-y { background: var(--mv-yellow); } .g-o { background: var(--mv-orange); } .g-r { background: var(--mv-red); }
.needle { position: absolute; top: -5px; left: 2%; width: 4px; height: 18px; border-radius: 2px; background: var(--tp-text); animation: needle 9s ease-in-out infinite; }
@keyframes needle { 0%, 34% { left: 2%; } 50%, 92% { left: 50%; } 100% { left: 2%; } }
.mat-verdict { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; min-height: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 700 13px/1.2 var(--tp-font); }
.chip .i { width: 15px; height: 15px; }
.chip-ai { background: color-mix(in srgb, var(--mv-orange) 18%, transparent); color: var(--mv-orange); opacity: 0; animation: chip-in 9s ease-in-out infinite; }
.chip-expert { background: var(--tp-success-bg); color: var(--tp-success); opacity: 0; animation: chip-in2 9s ease-in-out infinite; }
@keyframes chip-in { 0%, 52% { opacity: 0; transform: translateY(6px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chip-in2 { 0%, 66% { opacity: 0; transform: scale(.7); } 72%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* справки: документ и этапы согласования */
.doc-sheet { position: relative; padding: 18px; border: 1px solid var(--tp-line); border-radius: 12px; background: var(--tp-panel); }
.doc-title { display: flex; align-items: center; gap: 8px; }
.doc-title .i { color: var(--tp-primary); }
.doc-title .bar { margin-left: auto; }
.doc-lines { display: grid; gap: 8px; margin-top: 16px; }
.doc-attach { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-right: 64px; }
.att { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--tp-primary-soft); color: var(--tp-primary); font-size: 13px; font-weight: 700; opacity: 0; animation: att-in 10s ease-in-out infinite; }
.att .i { width: 15px; height: 15px; }
.a2 { animation-delay: .5s; } .a3 { animation-delay: 1s; background: var(--tp-success-bg); color: var(--tp-success); }
@keyframes att-in { 0%, 8% { opacity: 0; transform: translateY(8px); } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.doc-stamp {
  position: absolute; right: 16px; bottom: 14px; display: grid; place-items: center; width: 54px; height: 54px;
  border: 3px solid var(--tp-success); border-radius: 50%; color: var(--tp-success); opacity: 0;
  animation: stamp-in 10s ease-in-out infinite;
}
.doc-stamp .i { width: 26px; height: 26px; }
@keyframes stamp-in { 0%, 74% { opacity: 0; transform: rotate(-12deg) scale(1.8); } 78%, 94% { opacity: 1; transform: rotate(-12deg) scale(1); } 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
.stages { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.stages::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--tp-line-2); }
.st { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--tp-text-2); }
.st i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tp-line-2); background: var(--tp-bg); animation: st-on 10s ease-in-out infinite; }
.st2 i { animation-delay: 1.2s; } .st3 i { animation-delay: 2.4s; } .st4 i { animation-name: st-done; animation-delay: 3.6s; }
@keyframes st-on { 0%, 22% { background: var(--tp-bg); border-color: var(--tp-line-2); } 28%, 92% { background: var(--tp-primary); border-color: var(--tp-primary); } 100% { background: var(--tp-bg); } }
@keyframes st-done { 0%, 22% { background: var(--tp-bg); border-color: var(--tp-line-2); } 28%, 92% { background: var(--tp-success); border-color: var(--tp-success); } 100% { background: var(--tp-bg); } }

/* телефон: модули — вкладки и пролистывание вбок, макет над текстом */
.tour-tabs { display: none; }
@media (max-width: 759px) {
  .tour-tabs { display: flex; gap: 8px; margin: -14px calc(-1 * var(--lp-gutter)) 16px; padding: 0 var(--lp-gutter); overflow-x: auto; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tabs button {
    flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 13px;
    border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-bg); color: var(--tp-text-2);
    font: 700 14px/1 var(--tp-font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
  }
  .tour-tabs button[aria-selected="true"] { background: var(--tp-primary); border-color: var(--tp-primary); color: var(--tp-on-primary); }
  .tour {
    position: relative; display: flex; gap: 14px; margin: 0 calc(-1 * var(--lp-gutter)); padding: 4px var(--lp-gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--lp-gutter); overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .tour::-webkit-scrollbar { display: none; }
  .tour-row { flex: 0 0 calc(100% - 28px); align-content: start; gap: 18px; scroll-snap-align: start; }
  .tour-row .mock { order: -1; padding: 16px; }
  .tour-copy > p { font-size: 16px; }
}

/* ── 5. карта: тёмная полоса, как hero ── */
.geo {
  position: relative; overflow: hidden; isolation: isolate; scroll-margin-top: 64px;
  padding: var(--lp-section) 0; background: var(--ops-bg); color: var(--ops-text);
}
.geo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(165, 201, 239, 0.13) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 35% 60%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 35% 60%, #000 25%, transparent 75%);
}
.geo .section-head h2 { color: #fff; }
.geo-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .geo-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; } }

.geo-map { position: relative; margin: 0; }
.kz-map { display: block; width: 100%; height: auto; overflow: visible; }
.kz-regions path {
  fill: rgba(165, 201, 239, 0.07); stroke: rgba(165, 201, 239, 0.34); stroke-width: 1; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; transition: fill .45s, stroke .45s;
}
.kz-regions path.on { fill: rgba(124, 196, 255, 0.24); stroke: var(--ops-beam); }
.kz-radar-edge { fill: none; stroke: var(--ops-beam); stroke-width: 1.5; opacity: .75; vector-effect: non-scaling-stroke; }
.kz-link { fill: none; stroke: var(--ops-beam); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .85; vector-effect: non-scaling-stroke; animation: link-flow 1.1s linear infinite; }
@keyframes link-flow { to { stroke-dashoffset: -18; } }
.kz-link-dot { fill: #fff; }
/* появление: регионы с запада на восток, потом города */
.reveal-on .geo-map:not(.is-in) .kz-regions path, .reveal-on .geo-map:not(.is-in) .geo-pin { opacity: 0; }
.geo-map.is-in .kz-regions path { animation: region-in .7s ease-out backwards; animation-delay: calc(var(--i) * 45ms + 200ms); }
@keyframes region-in { from { opacity: 0; fill: rgba(124, 196, 255, 0.45); } }
.geo-map.is-in .geo-pin { animation: pin-in .55s cubic-bezier(.2, .9, .3, 1.35) 1.15s backwards; }
.geo-map.is-in .geo-pin + .geo-pin { animation-delay: 1.3s; }
@keyframes pin-in { from { opacity: 0; transform: translateY(-16px) scale(.5); } }

.geo-pin {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.geo-pin-dot {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--ops-beam); box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.25), 0 0 18px 4px rgba(124, 196, 255, 0.55);
  transition: transform .25s;
}
.geo-pin-dot::before, .geo-pin-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ops-beam);
  animation: pin-ring 2.4s ease-out infinite;
}
.geo-pin-dot::after { animation-delay: 1.2s; }
@keyframes pin-ring { from { transform: scale(1); opacity: .85; } to { transform: scale(3.4); opacity: 0; } }
.geo-pin-label {
  position: absolute; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--ops-line); background: rgba(10, 22, 40, 0.88); color: #fff;
  font: 700 13px/1 var(--tp-font); white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s;
}
.geo-pin[data-side="right"] .geo-pin-label { left: 34px; }
.geo-pin[data-side="left"] .geo-pin-label { right: 34px; }
.geo-pin[aria-pressed="true"] .geo-pin-dot { transform: scale(1.3); }
.geo-pin[aria-pressed="true"] .geo-pin-label { border-color: var(--ops-beam); background: var(--ops-beam); color: #062038; }
.geo-pin:focus-visible { box-shadow: none; }
.geo-pin:focus-visible .geo-pin-label { box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.6); }
.geo-hint { margin-top: 12px; color: var(--ops-text-3); font-size: 13px; text-align: center; }

.geo-panel { padding: 18px; border: 1px solid var(--ops-line); border-radius: var(--tp-radius-lg); background: rgba(255, 255, 255, 0.035); }
@media (min-width: 960px) { .geo-panel { padding: 24px; } }
.geo-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--ops-line); border-radius: 12px; background: rgba(0, 0, 0, 0.2); }
.geo-tabs button {
  flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent;
  color: var(--ops-text-2); font: 700 14px/1 var(--tp-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer; transition: background-color .2s, color .2s;
}
.geo-tabs button:hover { color: #fff; }
.geo-tabs button[aria-pressed="true"] { background: var(--ops-beam); color: #062038; }
.geo-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.geo-table th, .geo-table td { padding: 12px 4px; border-bottom: 1px solid var(--ops-line); text-align: right; }
.geo-table th:first-child { padding-left: 0; text-align: left; }
.geo-table td:last-child { padding-right: 0; }
.geo-table thead th { padding-top: 6px; color: var(--ops-text-3); font: 700 11px/1.3 var(--tp-font); letter-spacing: .05em; text-transform: uppercase; vertical-align: bottom; }
.geo-table tbody th { color: var(--ops-text); font: 700 15px/1.2 var(--tp-font); white-space: nowrap; }
.geo-table tbody th .dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.geo-table td { color: #fff; font: 800 clamp(18px, 2.3vw, 24px)/1.1 var(--tp-font); }
.geo-table tfoot th, .geo-table tfoot td { padding-top: 14px; border-bottom: 0; }
.geo-table tfoot th { color: var(--ops-text-2); font: 700 12px/1.2 var(--tp-font); letter-spacing: .06em; text-transform: uppercase; }
.geo-table tfoot td { color: var(--ops-beam); }
.geo-note, .geo-asof { margin-top: 10px; color: var(--ops-text-3); font-size: 13px; }
.geo-asof { margin-top: 2px; }

/* призыв для организаций под картой */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 44px; padding: 22px 20px; border: 1px solid var(--ops-line); border-radius: var(--tp-radius-lg);
  background: rgba(255, 255, 255, 0.04);
}
.cta-band p { color: #fff; font: 800 clamp(20px, 3.4vw, 26px)/1.25 var(--tp-font); }
.cta-band .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .cta-band .btn { flex: 0 0 auto; } }
@media (min-width: 960px) { .cta-band { margin-top: 64px; padding: 28px 32px; } }

/* ── 6. SCAN: на телефоне форма сразу после текста, легенда — под ней ── */
.scan-grid { display: grid; gap: 24px; grid-template-areas: "copy" "form" "legend"; }
.scan-copy { grid-area: copy; }
.scan-grid .scan-card { grid-area: form; }
.scan-grid .legend { grid-area: legend; margin-top: 0; }
.scan-copy .lead { margin-top: 14px; }
@media (min-width: 960px) {
  .scan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); grid-template-areas: "copy form" "legend form"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 24px; }
  .scan-grid .scan-card { align-self: center; }
}
.points { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.points .i { color: var(--tp-success); }
.legend { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--tp-line); }
.legend-title { color: var(--tp-text-2); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lg { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.lg .i { width: 16px; height: 16px; }
.lg-safe { background: var(--tp-success-bg); color: var(--tp-success); }
.lg-info { background: var(--tp-info-bg); color: var(--tp-info); }
.lg-risk { background: var(--tp-danger-bg); color: var(--tp-danger); }

.scan-card {
  padding: 18px 16px 16px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg);
  background: var(--tp-panel); box-shadow: var(--tp-shadow-pop); scroll-margin-top: 84px;
}
@media (min-width: 960px) { .scan-card { padding: 30px 30px 26px; } }
.scan-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.scan-card-head h2, .scan-card-head h3 { font: 800 20px/1.2 var(--tp-font); }
@media (min-width: 960px) { .scan-card-head { margin-bottom: 18px; } .scan-card-head h2, .scan-card-head h3 { font-size: 22px; } }
.scan-card-icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--tp-radius-card); background: var(--tp-primary-soft); color: var(--tp-primary); }
.scan-card-icon .i { width: 22px; height: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.input-wrap { position: relative; }
.input-wrap > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tp-text-3); pointer-events: none; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--tp-line-2); border-radius: var(--tp-radius-card);
  background: var(--tp-bg); color: var(--tp-text); font: 400 16px/1.4 var(--tp-font);
  transition: border-color .15s, background-color .15s;
}
.input-wrap input { padding-left: 44px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--tp-text-3); transition: opacity .17s; }
.field input:focus, .field textarea:focus { border-color: var(--tp-primary); background: var(--tp-panel); outline: none; box-shadow: var(--tp-focus); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--tp-danger); }
.field input.placeholder-fade::placeholder { opacity: 0; }
.field-error { margin-top: 6px; color: var(--tp-danger); font-size: 14px; }
.field-error:empty { display: none; }
.field-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; color: var(--tp-text-2); font-size: 13px; }
@media (min-width: 400px) { .field-hint { font-size: 14px; gap: 6px 12px; } }
.form-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--tp-text-2); font-size: 14px; }
.form-note .i { width: 16px; height: 16px; color: var(--tp-text-3); }

.scan-result {
  margin-top: 18px; padding: 18px 16px;
  border: 1px solid var(--tp-line); border-left: 4px solid var(--tp-info); border-radius: var(--tp-radius-card);
  background: var(--tp-bg); animation: rise .25s ease-out;
}
.scan-result.is-safe { border-left-color: var(--tp-success); background: var(--tp-success-bg); }
.scan-result.is-info { border-left-color: var(--tp-info); background: var(--tp-info-bg); }
.scan-result.is-risk { border-left-color: var(--tp-danger); background: var(--tp-danger-bg); }
.scan-result.is-neutral { border-left-color: var(--tp-text-3); }
.result-head { display: flex; align-items: flex-start; gap: 12px; }
.result-head .i { width: 26px; height: 26px; margin-top: 1px; }
.is-safe .result-head .i { color: var(--tp-success); }
.is-info .result-head .i { color: var(--tp-info); }
.is-risk .result-head .i { color: var(--tp-danger); }
.is-neutral .result-head .i { color: var(--tp-text-2); }
.result-title { font: 800 18px/1.3 var(--tp-font); }
.result-desc { margin-top: 8px; color: var(--tp-text-2); font-size: 15px; }
.result-list-title { margin-top: 14px; font-weight: 700; font-size: 15px; }
.result-list { margin-top: 8px; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; }
.result-list li::marker { color: var(--tp-text-3); font-weight: 700; }
.result-warning { display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: var(--tp-radius); background: var(--tp-panel); color: var(--tp-text); font-size: 14px; }
.result-warning .i { color: var(--tp-danger); width: 18px; height: 18px; margin-top: 2px; }
.result-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.steps-live { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.steps-live li { display: flex; align-items: center; gap: 10px; color: var(--tp-text-2); font-size: 15px; animation: rise .2s ease-out; }
.steps-live li .i { width: 18px; height: 18px; }
.steps-live li.done { color: var(--tp-text); }
.steps-live li.done .i { color: var(--tp-success); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ── 6. вопросы ── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--tp-line); border-radius: var(--tp-radius-card); background: var(--tp-bg); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; font: 700 17px/1.35 var(--tp-font);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--tp-text-3); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 18px 18px; color: var(--tp-text-2); }

/* ── 7. заявка ── */
.contact-grid { display: grid; gap: 32px; }
.contact-copy .lead { margin-top: 16px; }
.contacts { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.contacts li { display: flex; gap: 14px; }
.contacts-label { color: var(--tp-text-2); font-size: 14px; font-weight: 600; }
.contacts a { color: var(--tp-text); font-weight: 600; text-decoration: none; }
.contacts a:hover { color: var(--tp-primary); }
.contact-form { padding: 24px 20px; background: var(--tp-panel); box-shadow: var(--tp-shadow-pop); }
.form-status { margin-top: 12px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--tp-success); }
.form-status.is-err { color: var(--tp-danger); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
  .contact-form { padding: 30px; }
}

/* ── 8. финальный призыв ── */
.final { position: relative; overflow: hidden; background: var(--ops-bg); color: var(--ops-text); }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(165, 201, 239, 0.14) 1px, transparent 1.3px); background-size: 22px 22px;
}
.final-row { position: relative; display: grid; gap: 20px; padding-top: 52px; padding-bottom: 52px; }
.final h2 { font: 800 clamp(24px, 4.6vw, 36px)/1.2 var(--tp-font); color: #fff; }
.final p { margin-top: 8px; color: var(--ops-text-2); }
@media (min-width: 760px) { .final-row { grid-template-columns: 1fr auto; align-items: center; } }

/* ── подвал ── */
.site-footer { background: var(--tp-panel-2); border-top: 1px solid var(--tp-line); color: var(--tp-text-2); font-size: 15px; }
.footer-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.footer-brand p { margin-top: 12px; max-width: 340px; }
.footer-brand .brand img { width: 36px; height: 36px; }
.footer-head { margin-bottom: 10px; color: var(--tp-text); font-weight: 700; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; gap: 4px; color: var(--tp-text-2); text-decoration: none; }
.footer-social a:hover { color: var(--tp-primary); }
.footer-social .i { width: 15px; height: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--tp-line); font-size: 14px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ── кнопка проверки внизу экрана (телефон) ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--lp-gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--tp-panel) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--tp-line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-shown { transform: none; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ── появление при прокрутке: landing.js ставит .reveal-on на <html> и .is-in на блок ── */
.reveal-on [data-reveal] {
  opacity: 0;
  transition: opacity .75s cubic-bezier(.2, .65, .25, 1), transform .75s cubic-bezier(.2, .65, .25, 1);
  transition-delay: var(--d, 0ms);
}
.reveal-on [data-reveal=""] { transform: translateY(26px); }
.reveal-on [data-reveal="left"] { transform: translateX(-36px); }
.reveal-on [data-reveal="right"] { transform: translateX(36px); }
.reveal-on [data-reveal="zoom"] { transform: scale(.93); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
/* у шагов конвейера свои переходы рамки и тени — не терять их */
.reveal-on .pipe-step[data-reveal] {
  transition: opacity .75s cubic-bezier(.2, .65, .25, 1), transform .75s cubic-bezier(.2, .65, .25, 1), border-color .4s, box-shadow .4s;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s;
}
@media (max-width: 599px) {
  .reveal-on [data-reveal="left"] { transform: translateX(-18px); }
  .reveal-on [data-reveal="right"] { transform: translateX(18px); }
}

/* ── страница свободного доступа /check/<slug> (светлый hero с формой) ── */
.hero { padding: 20px 0 40px; background: var(--tp-panel); border-bottom: 1px solid var(--tp-line); }
.hero-grid { display: grid; gap: 18px; grid-template-areas: "head" "form" "extra"; }
.hero-head { grid-area: head; }
.hero .scan-card { grid-area: form; }
.hero-extra { grid-area: extra; }
.hero h1 { font: 800 clamp(25px, 6.6vw, 42px)/1.15 var(--tp-font); letter-spacing: -0.015em; text-wrap: balance; }
.hero .lead { margin-top: 12px; max-width: 580px; font-size: 16px; }
.hero .points { margin-top: 4px; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "head form" "extra form"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 28px; }
  .hero-head { align-self: end; }
  .hero .scan-card { align-self: center; }
  .hero .lead { margin-top: 18px; font-size: 18px; }
}
.check-page .hero { min-height: calc(100vh - 64px); display: flex; align-items: center; }
.check-more { margin-top: 24px; }
