/*
 * Оформление сайта LotRadar.
 *
 * ЦВЕТА ИЗ БРЕНДБУКА («Упаковка проекта / 2. Цвета»). Зелёный, янтарный
 * и красный значат вердикт: БРАТЬ, НА ГРАНИЦЕ, НЕ БРАТЬ. Для украшения
 * они не используются нигде: если хочется выделить, берите синий.
 *
 * ШРИФТЫ. Заголовки Montserrat (свои файлы, без сторонних сервисов),
 * текст системным шрифтом: он и в самом продукте системный.
 *
 * БЕЗ ВСТРОЕННЫХ СТИЛЕЙ В РАЗМЕТКЕ. Политика безопасности содержимого
 * (vercel.json) запрещает атрибут style. Ширины полос графика задаются
 * атрибутами SVG, а не style.
 *
 * Мобильные стили основные, широкие экраны добавляются медиазапросами.
 */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Montserrat-SemiBold.woff2') format('woff2'), url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Montserrat-Bold.woff2') format('woff2'), url('/fonts/Montserrat-Bold.ttf') format('truetype');
}

:root {
  --bg: #0a0b0e;
  --surface: #101216;
  --surface-2: #14171d;
  --line: #1e2129;
  --line-strong: #2b303a;
  --text: #f2f4f8;
  --text-2: #cfd3dd;
  --dim: #8d95a8;
  --faint: #626b7e;
  --blue: #4f7cf7;
  --blue-btn: #3c66df;
  --blue-hover: #2c4fbb;
  --blue-text: #7aa1ff;
  --blue-soft: rgba(79, 124, 247, 0.12);
  /* Только вердикты. */
  --take: #2ea043;
  --take-text: #3fb950;
  --edge: #d29922;
  --edge-text: #e3b341;
  --skip: #da3633;
  --skip-text: #f85149;

  --head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  --radius: 16px;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: rgba(79, 124, 247, 0.35); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--blue-btn); color: #fff; text-decoration: none;
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 860px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ------------------------------------------------------------ типографика */

h1, h2 {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem); line-height: 1.14; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -0.005em; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-text);
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  line-height: 1.6; color: var(--dim); margin: 16px 0 0;
  text-wrap: pretty;
}
.lead strong { color: var(--text); font-weight: 600; }
.note { color: var(--dim); font-size: 14px; margin: 22px 0 0; max-width: 780px; }

/* --------------------------------------------------------------- кнопки */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font: 600 15px/1.2 var(--body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--blue-btn); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 24px -10px rgba(60, 102, 223, 0.7);
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: #3d4452; background: rgba(255, 255, 255, 0.05); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta.is-center, .hero .cta { justify-content: center; }
@media (max-width: 479px) { .cta .btn { flex: 1 1 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-text); font-weight: 600; text-decoration: none;
}
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.15s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------------------------------------------------------------- шапка */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 14, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled, .nav-open .site-header { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; text-decoration: none; flex: none; }
.brand img { height: 26px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 500;
}
.main-nav ul a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-extra { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 36px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line-strong); color: var(--text-2);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none;
}
.lang-switch:hover { border-color: #3d4452; color: var(--text); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* Без скрипта меню на телефоне просто строка ссылок под логотипом. */
@media (max-width: 959px) {
  .no-js .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; }
  .js .main-nav {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--bg); padding: 16px 20px 32px; overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .js.nav-open .main-nav { display: block; }
  /* backdrop-filter делает шапку containing block для position: fixed,
     и раскрытое меню получало высоту шапки. Пока меню открыто, фильтр снят. */
  .js.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .js.nav-open body { overflow: hidden; }
  .js .main-nav ul { flex-direction: column; gap: 0; }
  .js .main-nav ul a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .js .nav-extra { display: block; margin-top: 24px; }
  .js .nav-extra .btn { width: 100%; padding: 14px; }
}
@media (max-width: 519px) { .header-cta { display: none; } }
@media (min-width: 960px) {
  .header-in { flex-wrap: nowrap; }
  .main-nav { margin-left: 28px; }
  .nav-toggle, .nav-toggle:not([hidden]) { display: none; }
}

/* ----------------------------------------------------------- первый экран
   Что это, видно сразу: метка «расширение для Chrome», заголовок, три
   числа, которые появятся под лотом, и сцена справа, где они появляются. */

.hero { position: relative; overflow: hidden; padding: 28px 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242, 244, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 248, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%);
}
.hero-aurora {
  position: absolute; left: 50%; top: -260px; width: 1200px; height: 760px; transform: translateX(-30%);
  background:
    radial-gradient(closest-side, rgba(79, 124, 247, 0.28), transparent 70%),
    radial-gradient(closest-side at 75% 60%, rgba(122, 161, 255, 0.14), transparent 70%);
  filter: blur(10px);
}
/* Луч радара: знак бренда, медленный и почти незаметный. */
.radar {
  position: absolute; right: -260px; top: -260px; width: 820px; height: 820px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(79, 124, 247, 0) 0deg, rgba(79, 124, 247, 0) 300deg, rgba(79, 124, 247, 0.16) 352deg, rgba(122, 161, 255, 0.35) 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 40%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0 40%, transparent 70%);
  opacity: 0.7;
}
.radar::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 79px, rgba(242, 244, 248, 0.05) 80px 81px);
}

.hero-layout { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1100px) { .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding-top: 28px; } }

.hero-in { position: relative; text-align: left; max-width: 640px; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.kicker .i { width: 17px; height: 17px; color: var(--blue-text); }

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c3d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(100deg, #7aa1ff 0%, #4f7cf7 40%, #a4c0ff 70%, #4f7cf7 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 600px; margin: 22px 0 0; font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.24rem); }

.three { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .three { grid-template-columns: repeat(3, 1fr); } }
.three li {
  position: relative; padding: 14px 14px 13px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.three-n { display: block; font: 700 11px var(--head); letter-spacing: 0.12em; color: var(--blue-text); margin-bottom: 6px; }
.three b { display: block; font: 700 15.5px/1.25 var(--head); color: var(--text); letter-spacing: -0.01em; }
.three li > span:last-child { display: block; color: var(--dim); font-size: 13px; line-height: 1.45; margin-top: 4px; }

.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid rgba(79, 124, 247, 0.35); background: rgba(79, 124, 247, 0.08);
  color: var(--text-2); font-size: 14px; text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.announce:hover { border-color: rgba(122, 161, 255, 0.7); background: rgba(79, 124, 247, 0.14); }
.announce .i { width: 15px; height: 15px; color: var(--blue-text); }
.announce-tag { background: var(--blue-btn); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.hero-note {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: 14px;
}
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 16px; height: 16px; color: var(--blue-text); }
.hero .cta { justify-content: flex-start; margin-top: 30px; }
.hero-note { justify-content: flex-start; }
.announce { margin: 26px 0 0; }

.hero-stage { position: relative; min-width: 0; }
.glow {
  position: absolute; left: 4%; right: 4%; top: 6%; bottom: 6%;
  background: radial-gradient(ellipse at center, rgba(79, 124, 247, 0.32), rgba(79, 124, 247, 0) 70%);
  filter: blur(30px); pointer-events: none; z-index: -1;
}

/* ------------------------------------------------------------- сцена */

.stage { margin: 0; }
.stage-frame {
  position: relative; border-radius: 18px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #11141a, #0c0e12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 50px 120px -40px rgba(0, 0, 0, 0.95), 0 30px 80px -50px rgba(60, 102, 223, 0.6);
}
.stage-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(122, 161, 255, 0.55), rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.02) 70%, rgba(122, 161, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.stage-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font: 700 10.5px var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-text);
}
.stage-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(79, 124, 247, 0.6); }
.stage-body { position: relative; padding: 12px; background: #0d0f13; }
@media (min-width: 768px) { .stage-body { padding: 16px; } }
.srows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.srow { border: 1px solid #232936; border-radius: 10px; overflow: hidden; background: #131821; }
.srow-lot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.sthumb { width: 54px; height: 40px; border-radius: 6px; flex: none; display: grid; place-items: center; background: #1d2430; color: #4a5366; }
.sthumb .i { width: 24px; height: 24px; }
.srow-meta { min-width: 0; display: flex; flex-direction: column; }
.srow-meta b { font-size: 13.5px; color: #e4e9f1; font-weight: 600; letter-spacing: 0.01em; }
.srow-meta span { font-size: 11.5px; color: #8b93a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow-bid { margin-left: auto; text-align: right; flex: none; }
.srow-bid b { display: block; font-size: 15px; color: #eef2f8; font-variant-numeric: tabular-nums; }
.srow-bid span { font-size: 10.5px; color: #8b93a3; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 479px) { .sthumb { display: none; } }

.sverdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1b212b; border-top: 1px solid #232936; }
.sv { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 9px; background: #0f1319; min-width: 0; }
.sv::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.sv.take::before { background: var(--take); }
.sv.edge::before { background: var(--edge); }
.sv.skip::before { background: var(--skip); }
.sv-name { font-size: 11px; color: #aeb7c5; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-word { font: 800 10.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; }
.sv.take .sv-word { color: var(--take-text); }
.sv.edge .sv-word { color: var(--edge-text); }
.sv.skip .sv-word { color: var(--skip-text); }
.sv-val { font-size: 11px; color: #7d8696; white-space: nowrap; }
.sv-val i { font-style: normal; }
.sv-val b { color: #e8edf5; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

@media (max-width: 559px) {
  .sv { padding: 7px 8px 8px; }
  .sv-val { display: flex; flex-direction: column; line-height: 1.25; }
  .sv-val b { font-size: 12.5px; }
  .srow-meta span { white-space: normal; }
  .three li { padding: 11px 13px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
  .three-n { margin: 0; }
  .three li > span:last-child { grid-column: 2; }
}
.srow.is-pending { border-style: dashed; background: transparent; }
.skel { display: block; height: 10px; width: 150px; border-radius: 4px; background: linear-gradient(90deg, #1b212b, #262e3b, #1b212b); background-size: 200% 100%; }
.skel.short { width: 90px; margin-top: 7px; }
.pending { margin: 0; padding: 9px 12px 11px; border-top: 1px dashed #232936; color: #8b93a3; font-size: 12px; display: flex; align-items: center; gap: 9px; }
.spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(122, 161, 255, 0.25); border-top-color: var(--blue-text); }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; z-index: 2; opacity: 0;
  background: linear-gradient(180deg, rgba(79, 124, 247, 0), rgba(79, 124, 247, 0.12) 70%, rgba(122, 161, 255, 0.55) 99%, rgba(122, 161, 255, 0));
}

.ssum {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 10px; background: #12161e; border: 1px solid #232936; font-size: 12px; color: #9aa3b2;
}
.ssum-brand { font: 800 10px var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-text); }
.ssum-total b { color: #e8edf5; }
.ssum-pill { padding: 3px 9px; border-radius: 6px; font-weight: 600; border: 1px solid; }
.ssum-pill.take { color: var(--take-text); border-color: rgba(46, 160, 67, 0.45); background: rgba(46, 160, 67, 0.12); }
.ssum-pill.edge { color: var(--edge-text); border-color: rgba(210, 153, 34, 0.45); background: rgba(210, 153, 34, 0.12); }
.ssum-pill.skip { color: var(--skip-text); border-color: rgba(218, 54, 51, 0.45); background: rgba(218, 54, 51, 0.12); }
.stage-caption { color: var(--dim); font-size: 13px; margin: 14px 0 0; text-align: center; }

/* ------------------------------------------------------- бегущая строка */

.marquee { position: relative; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.marquee-track {
  display: flex; width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track ul { list-style: none; margin: 0; padding: 0; display: flex; }
.marquee-track li {
  padding: 0 34px; font: 700 clamp(1.15rem, 1rem + 0.8vw, 1.6rem) var(--head); letter-spacing: -0.01em;
  color: #c2cad8; white-space: nowrap; position: relative;
}
.marquee-track li::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0.7; transform: translateY(-50%); }
.no-js .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
.no-js .marquee-track ul + ul { display: none; }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px;
  margin: 48px 0 8px; position: relative; z-index: 1;
}
.facts div { display: flex; flex-direction: column-reverse; padding-left: 18px; border-left: 1px solid var(--line-strong); }
.facts dd {
  margin: 0; font: 700 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--head); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9aa6bb); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts dt { color: var(--dim); font-size: 14px; margin-top: 8px; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.showcase { border-top: 0; }
.hcall.is-over { color: #ff7b72; }

/* ------------------------------------------------- дорогие мелочи */

.btn-shine { position: relative; overflow: hidden; background: linear-gradient(180deg, #4a74ef, #3358d0); }
.btn-shine::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-20deg); pointer-events: none;
}
.btn-shine:hover { background: linear-gradient(180deg, #3f69e6, #2c4fbb); }

/* Подсветка карточек под курсором: координаты ставит скрипт через
   CSS-переменные (CSSOM, а не атрибут style, так что политика не мешает). */
.spot { position: relative; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(122, 161, 255, 0.12), transparent 45%);
  transition: opacity 0.3s;
}
.spot:hover::before { opacity: 1; }
.feature, .plan, .ai-card { background: linear-gradient(180deg, #12151b, #0f1115); }

/* Появление при прокрутке. Без скрипта всё видно сразу: класс прячет
   только тогда, когда есть кому его снять. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bars .bar-fill { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .bars.is-in .bar-fill { transform: scaleX(1); }

/* ================================================================
   ВОСПРОИЗВЕДЕНИЕ БЕЙДЖА.
   Разметка и цвета повторяют настоящий бейдж расширения
   (apps/extension/src/content/badges.ts). Человек, установивший
   расширение, увидит ровно это.
   ================================================================ */

.demo { margin: 0; }
.demo-frame {
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: #0f1115; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-align: left;
}
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0c0e12; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2b303b; }
.demo-url {
  margin-left: 10px; font: 12.5px/1 var(--mono); color: var(--dim);
  background: #14171d; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-body { padding: 12px; background: #0d0f13; }
@media (min-width: 768px) { .demo-body { padding: 20px; } }

.lotrow {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 14px; border: 1px solid #232936; border-bottom: 0;
  border-radius: 8px 8px 0 0; background: #151a23; font-size: 13px;
}
.lotrow .thumb {
  width: 72px; height: 52px; border-radius: 5px; flex: none;
  background: #232a36; display: grid; place-items: center; color: #4a5366;
}
.lotrow .thumb .i { width: 30px; height: 30px; }
.lotrow .t { font-weight: 600; color: #dfe5ee; font-size: 14px; }
.lotrow .m { color: #8b93a3; font-size: 12px; margin-top: 2px; }
.lotrow .bid { margin-left: auto; text-align: right; flex: none; }
.lotrow .bid b { display: block; font-size: 16px; color: #e8eef7; }
.lotrow .bid span { font-size: 11px; color: #8b93a3; }
@media (max-width: 559px) {
  .lotrow { flex-wrap: wrap; }
  .lotrow .thumb { display: none; }
}

.badge {
  font: 400 11px/1.35 var(--body);
  display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 0 0 8px 8px;
  background: #0d1117; color: #adbac7;
  border: 1px solid #2a3441; border-left: 4px solid var(--take);
}
.badge .bhead {
  display: flex; flex-direction: column; gap: 3px;
  flex: 1 1 100%; padding: 0 0 8px; border-bottom: 1px solid #21262d;
}
@media (min-width: 900px) {
  .badge .bhead { flex: 0 0 168px; padding: 0 10px 0 0; border-bottom: 0; border-right: 1px solid #21262d; }
}
.badge .brand-mini { font-size: 9px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #7d8794; }
.badge .site { font-size: 10px; color: #8b949e; }
.badge .site b { color: #c9d1d9; font-weight: 600; }
.badge .hammer { display: flex; align-items: baseline; gap: 5px; }
.badge .hl { font-size: 9px; text-transform: uppercase; color: #8b949e; }
.badge .hv { font-size: 12px; font-weight: 700; color: #d2a8ff; }
.badge .hr { font-size: 10px; color: #8b949e; }
.badge .hcall { font-size: 10px; font-weight: 600; color: #56d364; }

.badge .reg { flex: 1 1 220px; min-width: 0; border-radius: 5px; overflow: hidden; border: 1px solid #21262d; }
.badge .reg-head {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 4px 7px; font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.03em; color: #fff;
}
.badge .take .reg-head { background: #1a7f37; }
.badge .edge .reg-head { background: #9e6a03; }
.badge .skip .reg-head { background: #b62324; }
.badge .reg-body { padding: 6px 7px; }
.badge .ceiling { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.badge .cl { font-size: 9px; text-transform: uppercase; color: #8b949e; }
.badge .cv { font-size: 15px; font-weight: 800; }
.badge .take .cv { color: #56d364; }
.badge .edge .cv { color: #e3b341; }
.badge .skip .cv { color: #ff7b72; }
.badge .why { color: #8b949e; display: block; font-size: 10px; margin: 3px 0; }
.badge .spend { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 4px 0; font-size: 10px; }
.badge .spend i { font-style: normal; color: #8b949e; }
.badge .spend em { font-style: normal; color: #adbac7; }
.badge .line { display: flex; justify-content: space-between; gap: 6px; color: #8b949e; }
.badge .line b { font-weight: 400; color: #adbac7; }
.badge .market b { color: #79c0ff; font-weight: 600; }
.badge .total b { font-weight: 700; color: #e8eef7; }
.badge .profit-good b { color: #56d364; }
.badge .profit-bad b { color: #ff7b72; }

.demo figcaption { margin-top: 20px; text-align: center; }
.legend {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  color: var(--dim); font-size: 14px;
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.demo-caption { color: var(--dim); font-size: 13.5px; margin: 12px auto 0; max-width: 720px; }

/* Вердикт: единственное место, где живут зелёный, янтарный и красный. */
.vpill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 6px; border: 1px solid; white-space: nowrap; line-height: 1.4;
}
.vpill.take { color: var(--take-text); border-color: rgba(46, 160, 67, 0.45); background: rgba(46, 160, 67, 0.12); }
.vpill.edge { color: var(--edge-text); border-color: rgba(210, 153, 34, 0.45); background: rgba(210, 153, 34, 0.12); }
.vpill.skip { color: var(--skip-text); border-color: rgba(218, 54, 51, 0.45); background: rgba(218, 54, 51, 0.12); }

/* --------------------------------------------------------------- секции */

.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section.is-tight { padding: 60px 0; }
.section.is-plain { border-top: 0; padding-top: 24px; }
@media (min-width: 768px) {
  .section { padding: 108px 0; }
  .section.is-tight { padding: 76px 0; }
}
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ------------------------------------------------ разброс растаможки */

.spread { margin: 0; }
.bars { list-style: none; margin: 0; padding: 0; }
.bar-row {
  display: grid; grid-template-columns: 96px 1fr 78px; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.bar-row:last-child { border-bottom: 0; }
.bar { width: 100%; height: 10px; border-radius: 3px; overflow: hidden; }
.bar-bg { fill: #171a21; }
.bar-fill { fill: var(--blue); opacity: 0.5; }
.bar-row.is-max .bar-fill { opacity: 1; }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (min-width: 640px) {
  .bar-row { grid-template-columns: 140px 1fr 104px; gap: 18px; font-size: 15px; }
  .bar { height: 12px; }
}

.stats {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 44px;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats > div { background: var(--surface); padding: 26px 24px; }
.stats .v { font: 700 clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem)/1.1 var(--head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 0; }
.stats .v.good { color: var(--take-text); }
.stats .v.bad { color: var(--skip-text); }
.stats .k { color: var(--dim); font-size: 14.5px; margin: 10px 0 0; }

/* ------------------------------------------------------------ таблицы */

.scroller { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
thead th { color: var(--dim); font-weight: 500; font-size: 13px; border-bottom-color: var(--line-strong); white-space: nowrap; }
tbody th { font-weight: 500; color: var(--text); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; }
table.calc { min-width: 720px; font-size: 15px; }
table.calc tbody tr:hover { background: rgba(255, 255, 255, 0.015); }

table.compare { min-width: 640px; font-size: 15px; }
table.compare td, table.compare thead th:not(:first-child) { text-align: center; }
table.compare thead th:not(:first-child) { font: 700 16px var(--head); color: var(--text); }
table.compare .is-featured { background: rgba(79, 124, 247, 0.06); }
table.compare thead th.is-featured { color: var(--blue-text); }
table.compare .i-yes { width: 18px; height: 18px; color: var(--blue-text); margin: 0 auto; }
table.compare .dash { color: var(--faint); font-weight: 700; }
table.compare .price-row th, table.compare .price-row td { font-weight: 600; color: var(--text); }
table.compare .price-row:first-of-type th, table.compare tr.price-row th { border-top: 1px solid var(--line-strong); }

table.doc-table { min-width: 560px; font-size: 14.5px; }
table.doc-table td { color: var(--text-2); }

/* ----------------------------------------------------------- возможности */

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: var(--line-strong); }
.feature h3 { margin: 18px 0 8px; font-size: 17px; }
.feature p { color: var(--dim); font-size: 15px; margin: 0; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-text);
  border: 1px solid rgba(79, 124, 247, 0.2);
}
.feature-icon .i { width: 21px; height: 21px; }

/* ------------------------------------------------------------ AI-проверка */

.ai-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .ai-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.ai-copy .section-head { margin-bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.checklist li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.checklist .i { width: 18px; height: 18px; color: var(--blue-text); flex: none; margin-top: 3px; }
.callout {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; color: var(--dim); font-size: 15px; margin: 0 0 20px;
}
.callout strong { color: var(--text); font-weight: 600; }

.ai-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.ai-card-head { display: flex; gap: 12px; align-items: center; }
.ai-card-title { font-weight: 600; margin: 0; }
.ai-card-sub { color: var(--dim); font-size: 13px; margin: 0; }
.ai-declared { color: var(--dim); font-size: 13px; margin: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.ai-match { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-text); font-weight: 600; }
.ai-match .i { width: 14px; height: 14px; }
.zones { list-style: none; margin: 0; padding: 0; }
.zone { border-top: 1px solid var(--line); padding: 13px 0; }
.zone-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zone-top b { font-weight: 600; font-size: 14.5px; }
.sev {
  font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  background: #1a1e26; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap;
}
.sev.is-unknown { background: transparent; border-style: dashed; color: var(--dim); }
.zone p { color: var(--dim); font-size: 14px; margin: 4px 0 0; }
.photo-ref {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 12.5px; color: var(--blue-text); background: var(--blue-soft);
  border-radius: 6px; padding: 2px 8px;
}
.photo-ref .i { width: 14px; height: 14px; }
.confidence {
  display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.confidence b { color: var(--text); font-weight: 600; }
.meter { flex: 1; height: 6px; border-radius: 3px; background: #1a1e26; overflow: hidden; }
.meter span { display: block; width: 55%; height: 100%; background: var(--blue); border-radius: 3px; }
.ai-card figcaption { color: var(--dim); font-size: 12.5px; margin-top: 12px; }

/* ------------------------------------------------------- что меняется */

.outcomes {
  list-style: none; margin: 0; padding: 0; counter-reset: o;
  display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.outcomes li { counter-increment: o; border-top: 2px solid var(--line-strong); padding-top: 18px; }
.outcomes li::before {
  content: counter(o, decimal-leading-zero);
  display: block; font: 700 14px var(--head); color: var(--blue-text); margin-bottom: 12px;
}
.outcomes h3 { margin-bottom: 8px; }
.outcomes p { color: var(--dim); font-size: 15px; margin: 0; }

/* ---------------------------------------------------- строки-определения */

.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; font-size: 17px; }
.rows dd { margin: 0; color: var(--dim); font-size: 15.5px; }
.rows strong { color: var(--text); font-weight: 600; }
@media (min-width: 860px) { .rows > div { grid-template-columns: 280px 1fr; gap: 40px; padding: 26px 0; } }

/* ------------------------------------------------------------------ цены */

.pricing { display: flex; flex-direction: column; }
.pricing[data-period='monthly'] .py, .pricing[data-period='annual'] .pm { display: none; }

.period {
  align-self: center; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
}
.period[hidden] { display: none; }
.period-btn {
  background: transparent; border: 0; color: var(--dim); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font: 600 14px var(--body);
  transition: background-color 0.15s, color 0.15s;
}
.period-btn:hover { color: var(--text); }
.period-btn[aria-pressed='true'] { background: var(--blue-btn); color: #fff; }
.period-save { font-size: 12px; color: var(--blue-text); margin-left: 4px; font-weight: 600; }
.period-btn[aria-pressed='true'] .period-save { color: rgba(255, 255, 255, 0.85); }

.trial-strip {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px dashed rgba(79, 124, 247, 0.45); background: rgba(79, 124, 247, 0.06);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 28px;
}
.trial-strip .i { width: 22px; height: 22px; color: var(--blue-text); flex: none; margin-top: 1px; }
.trial-strip p { margin: 0; color: var(--dim); }
.trial-strip strong { color: var(--text); }

.plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
}
.plan.is-featured {
  background: #11151d; border-color: rgba(79, 124, 247, 0.6);
  box-shadow: 0 0 0 1px rgba(79, 124, 247, 0.35), 0 30px 70px -36px rgba(60, 102, 223, 0.7);
}
.plan-flag {
  position: absolute; top: -12px; left: 28px; margin: 0;
  background: var(--blue-btn); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
}
.plan-name { font: 700 22px var(--head); letter-spacing: -0.01em; }
.plan-tag { color: var(--dim); font-size: 14.5px; margin: 6px 0 22px; }
.plan-price { margin: 0; display: flex; align-items: baseline; }
.plan-price b { font: 700 clamp(2.4rem, 2rem + 1.2vw, 2.9rem)/1 var(--head); letter-spacing: -0.03em; }
.plan-price span span { color: var(--dim); font-size: 16px; margin-left: 4px; }
.plan-alt { color: var(--dim); font-size: 13.5px; margin: 10px 0 22px; min-height: 1.6em; }
.plan-note { text-align: center; color: var(--dim); font-size: 12.5px; margin: 10px 0 22px; }
.plan-features { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-features li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.plan-features .i { width: 18px; height: 18px; flex: none; color: var(--blue-text); margin-top: 3px; }

.pricing-extras { margin-top: 28px; display: grid; gap: 18px; }
.pack {
  display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.pack > .i { width: 24px; height: 24px; color: var(--blue-text); flex: none; }
.pack > div { flex: 1 1 260px; }
.pack h3 { margin-bottom: 2px; }
.pack p { margin: 0; color: var(--dim); font-size: 14.5px; }
.pay-notes { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px 32px; }
@media (min-width: 768px) { .pay-notes { grid-template-columns: 1fr 1fr; } }
.pay-notes li { position: relative; padding-left: 18px; color: var(--dim); font-size: 14.5px; }
.pay-notes li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pay-notes strong { color: var(--text); font-weight: 600; }
.fine { color: var(--dim); font-size: 13.5px; margin: 0; }
.fine a, .note a, .pay-notes a { color: var(--blue-text); text-underline-offset: 3px; }

/* --------------------------------------------------------------- установка */

.install { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .install { grid-template-columns: 360px 1fr; gap: 64px; } }
.get { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 26px; }
@media (min-width: 900px) { .get { position: sticky; top: calc(var(--header-h) + 24px); } }
.get .size { color: var(--dim); font-size: 13.5px; margin: 12px 0 0; }
.get .size a { color: var(--blue-text); }
.soon { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14.5px; }
.soon b { color: var(--text); font-weight: 600; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; margin: 0 0 26px; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font: 600 14px var(--head); color: var(--text); background: var(--surface);
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--dim); font-size: 15px; margin: 0; }

/* ------------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; }
.faq-item summary:hover h3 { color: #fff; }
.faq-icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 1px;
  background: var(--dim); transition: transform 0.2s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 40px 22px 0; color: var(--dim); font-size: 15.5px; }
.faq-a p { margin: 0; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-a a { color: var(--blue-text); text-underline-offset: 3px; }

/* ------------------------------------------------------------ финал
   Слева призыв и три шага, справа бирка настоящего лота со штампом. */

.final-section { position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 96px; }
.final-glow {
  position: absolute; right: -10%; top: 50%; width: 900px; height: 700px; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(218, 54, 51, 0.10), rgba(79, 124, 247, 0.10) 45%, transparent 75%);
  pointer-events: none;
}
.final { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .final { grid-template-columns: 1.15fr 0.85fr; gap: 72px; } }

.final-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-text);
}
.final-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.final h2 {
  margin: 0; max-width: 640px;
  font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c3d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final h2 .accent {
  display: block;
  background: linear-gradient(100deg, #7aa1ff 0%, #4f7cf7 40%, #a4c0ff 70%, #4f7cf7 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.final-steps {
  list-style: none; counter-reset: fs; display: grid; gap: 0; margin: 32px 0 0; padding: 0; max-width: 620px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .final-steps { grid-template-columns: repeat(3, 1fr); } }
.final-steps li {
  counter-increment: fs; position: relative; padding: 16px 16px 16px 0;
  color: var(--text-2); font-size: 14.5px; font-weight: 600; line-height: 1.35;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .final-steps li { border-bottom: 0; } .final-steps li + li { padding-left: 16px; border-left: 1px solid var(--line); } }
.final-steps li::before {
  content: counter(fs, decimal-leading-zero); display: block; margin-bottom: 6px;
  font: 600 12px var(--mono); color: var(--faint); letter-spacing: 0.04em;
}
.final-lead { margin: 22px 0 0; max-width: 560px; color: var(--dim); font-size: 15.5px; }
.final .cta { margin-top: 28px; }

/* Бирка: вырезы по бокам, дырка под верёвку, штамп поверх цифр. */
.final-tag { margin: 0; justify-self: center; width: 100%; max-width: 420px; }
.ticket-wrap {
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.75)) drop-shadow(0 20px 60px rgba(79, 124, 247, 0.28));
  transform: rotate(-3deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.final-tag:hover .ticket-wrap { transform: rotate(-1deg) translateY(-4px); }
.ticket {
  position: relative; padding: 30px; border-radius: 18px;
  background: linear-gradient(180deg, #1a1d25 0%, #121419 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-mask:
    radial-gradient(circle 13px at 0 calc(100% - 88px), transparent 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - 88px), transparent 12.5px, #000 13px),
    radial-gradient(circle 7px at calc(100% - 30px) 26px, transparent 6.5px, #000 7px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 13px at 0 calc(100% - 88px), transparent 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - 88px), transparent 12.5px, #000 13px),
    radial-gradient(circle 7px at calc(100% - 30px) 26px, transparent 6.5px, #000 7px);
  mask-composite: intersect;
}
.tk-kicker { margin: 0; font: 600 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tk-title { margin: 12px 0 4px; font: 700 22px/1.2 var(--head); letter-spacing: -0.01em; color: var(--text); }
.tk-meta { margin: 0; color: var(--dim); font-size: 13px; }
.tk-rows { margin: 22px 0 0; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, 0.16); }
.tk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
.tk-row + .tk-row { border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.tk-row dt { color: var(--dim); font-size: 13.5px; }
.tk-row dd { margin: 0; font: 700 20px var(--head); letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.tk-row:first-child dd { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(248, 81, 73, 0.7); text-decoration-thickness: 2px; }
.tk-row.is-hammer dd { color: #ff7b72; font-size: 26px; }
.tk-row.is-ceiling dd { color: var(--take-text); }

.tk-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 6px 0 0; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--faint); font: 600 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.tk-stamp {
  display: inline-block; margin-right: 6px;
  padding: 6px 16px 5px; border: 3px solid currentColor; border-radius: 10px;
  font: 800 28px/1 var(--head); letter-spacing: 0.12em;
  color: rgba(248, 81, 73, 0.95);
  transform: rotate(-9deg);
  box-shadow: 0 0 0 1px rgba(248, 81, 73, 0.2), 0 0 36px -8px rgba(248, 81, 73, 0.55);
}
.final-tag figcaption { margin: 26px 8px 0; color: var(--faint); font-size: 13px; text-align: center; }
@media (max-width: 479px) {
  .ticket { padding: 26px 22px 24px; }
  .ticket-wrap { transform: rotate(-1.5deg); }
  .tk-stamp { font-size: 24px; }
}

/* ------------------------------------------------------------- подвал
   Не список ссылок, а последний экран: бренд, установка с настоящей
   версией архива, ссылки, связь и большой знак, который проявляется
   при прокрутке. */

.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 40px; padding: 72px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0b0e 0%, #0b0d12 55%, #0d1018 100%);
}
.footer-glow {
  position: absolute; left: 50%; bottom: -320px; width: 1100px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(79, 124, 247, 0.22), transparent 70%);
  pointer-events: none; z-index: -1;
}

.footer-top { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr 460px; gap: 64px; } }
.footer-brand .brand img { height: 32px; }
.footer-tagline {
  margin: 22px 0 0; max-width: 460px;
  font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.25 var(--head); letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #aeb8ca); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-disclaimer { color: var(--faint); font-size: 13px; max-width: 420px; margin: 16px 0 0; }

.footer-card {
  position: relative; padding: 26px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 40px 90px -50px rgba(60, 102, 223, 0.7);
}
.footer-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(122, 161, 255, 0.6), rgba(255, 255, 255, 0.04) 40%, rgba(122, 161, 255, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.fc-kicker { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--dim); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--take); box-shadow: 0 0 0 0 rgba(46, 160, 67, 0.6); flex: none; }
.fc-title { margin: 14px 0 6px; font: 700 21px/1.25 var(--head); letter-spacing: -0.015em; color: var(--text); }
.fc-text { margin: 0; color: var(--dim); font-size: 14.5px; }
.fc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }

.footer-cols {
  display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .footer-cols { grid-template-columns: 1fr 1.15fr 1.4fr 0.9fr; } }
.site-footer h2 { font: 600 12px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer nav a, .footer-contact a {
  color: var(--text-2); text-decoration: none; font-size: 14.5px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.2s, background-size 0.3s;
}
.site-footer nav a:hover, .footer-contact a:hover { color: #fff; background-size: 100% 1px; }
.footer-contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-contact { grid-column: auto; } }
.footer-contact p { color: var(--dim); font-size: 14.5px; margin: 0 0 12px; max-width: 300px; }
.lang-pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.lang-pill {
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--dim); background: none !important;
}
.lang-pill:hover { color: var(--text); }
.lang-pill.is-current { background: var(--blue-btn) !important; color: #fff; }

/* Большой знак внизу: дуги радара и название, свет снизу. */
.footer-mark { position: relative; margin-top: 40px; height: clamp(110px, 21vw, 300px); pointer-events: none; overflow: hidden; }
.fm-word {
  position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%);
  font: 700 clamp(84px, 20vw, 300px)/1 var(--head); letter-spacing: -0.06em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(242, 244, 248, 0.16) 0%, rgba(242, 244, 248, 0.02) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fm-word span {
  background: linear-gradient(180deg, rgba(122, 161, 255, 0.5) 0%, rgba(79, 124, 247, 0.04) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-arcs { position: absolute; right: 4%; bottom: -30%; width: clamp(220px, 34vw, 520px); height: auto; opacity: 0.55; transform: scaleY(-1); }

.footer-bottom {
  position: relative; display: flex; flex-wrap: wrap; gap: 6px 28px;
  padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint); font-size: 12.5px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--text-2); }

/* ----------------------------------------------------- страницы-шапки */

.page-hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.page-hero .hero-arcs {
  position: absolute; top: 0; right: 0; z-index: 0;
  width: min(620px, 80vw); height: auto;
  transform: scaleY(-1); pointer-events: none; opacity: 0.9;
}
.page-hero .wrap { position: relative; z-index: 1; }
@media (min-width: 768px) { .page-hero { padding: 80px 0 96px; } }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
.is-404 { min-height: 62vh; display: flex; align-items: center; }
.is-404 .note { margin: 32px auto 0; }
.is-404 .note a { color: var(--blue-text); }

/* -------------------------------------------------------- документы */

.legal { padding: 48px 0 88px; }
.legal-head { max-width: 820px; margin-bottom: 36px; }
.legal-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); line-height: 1.1; }
.updated { color: var(--dim); font-size: 14px; margin: 16px 0 0; }

.legal-grid { display: grid; gap: 32px; }
@media (min-width: 1020px) { .legal-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; } }
.legal-aside { align-self: start; }
@media (min-width: 1020px) {
  .legal-aside {
    position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  }
}
.doc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-nav a {
  display: block; padding: 7px 12px; border-radius: 8px; text-decoration: none;
  color: var(--dim); font-size: 14px; border: 1px solid var(--line);
}
.doc-nav a:hover { color: var(--text); border-color: var(--line-strong); }
.doc-nav a[aria-current='page'] { color: var(--text); background: var(--surface-2); border-color: rgba(79, 124, 247, 0.5); }
@media (min-width: 1020px) {
  .doc-nav ul { flex-direction: column; gap: 2px; }
  .doc-nav a { border: 0; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; }
  .doc-nav a[aria-current='page'] { border-left-color: var(--blue); }
}
.toc { display: none; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 1020px) { .toc { display: block; } }
.toc-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 4px 0; color: var(--dim); font-size: 13.5px; text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--text); }

.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem); font-weight: 600; letter-spacing: -0.015em; margin: 48px 0 14px; }
.prose section:first-of-type h2, .prose .summary + section h2 { margin-top: 40px; }
.prose h3 { margin: 28px 0 6px; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue-text); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--faint); }
.prose .scroller { margin: 16px 0 18px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.prose .summary h2 { margin: 0 0 12px; font-size: 18px; }
.summary ul { list-style: none; padding: 0; margin: 0; }
.summary li { display: flex; gap: 10px; margin: 8px 0; }
.summary .i { width: 18px; height: 18px; color: var(--blue-text); flex: none; margin-top: 5px; }

.requisites { margin: 16px 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.requisites > div { display: grid; border-bottom: 1px solid var(--line); }
.requisites > div:last-child { border-bottom: 0; }
.requisites dt { padding: 12px 16px 2px; color: var(--dim); font-size: 13.5px; }
.requisites dd { margin: 0; padding: 0 16px 12px; color: var(--text); }
@media (min-width: 640px) {
  .requisites > div { grid-template-columns: 240px 1fr; }
  .requisites dt { padding: 12px 16px; background: var(--surface); }
  .requisites dd { padding: 12px 16px; }
}
/* Незаполненное поле видно сразу: метка нарочно не похожа на текст. */
.ph {
  font: 500 0.9em var(--mono); color: var(--blue-text);
  background: rgba(122, 161, 255, 0.1); border: 1px dashed rgba(122, 161, 255, 0.55);
  border-radius: 4px; padding: 1px 6px;
}

/* ---------------------------------------------------------- движение */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-in > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: 0.06s; }
  .hero-in > :nth-child(3) { animation-delay: 0.14s; }
  .hero-in > :nth-child(4) { animation-delay: 0.22s; }
  .hero-in > :nth-child(5) { animation-delay: 0.3s; }
  .hero-in > :nth-child(6) { animation-delay: 0.36s; }
  .hero-in > :nth-child(7) { animation-delay: 0.42s; }
  .hero-stage { animation: rise-stage 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  .hero h1 .accent, .final h2 .accent { animation: sheen 6s ease-in-out 1.2s infinite; }
  .js .final.reveal .tk-stamp { opacity: 0; }
  .js .final.is-in .tk-stamp { animation: stamp 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) 0.9s both; }
  .radar { animation: sweep 9s linear infinite; }
  .hero-aurora { animation: drift 14s ease-in-out infinite alternate; }
  .stage-live span { animation: ping 2s ease-out infinite; }
  .fc-dot { animation: ping-green 2.2s ease-out infinite; }
  .spinner { animation: spin 0.9s linear infinite; }
  .skel { animation: skel 1.4s ease-in-out infinite; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .btn-shine::after { animation: shine 4.5s ease-in-out 2s infinite; }
  .feature:hover, .plan:hover { transform: translateY(-3px); }
  .feature, .plan { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.35s; }
  .plan:hover { box-shadow: 0 30px 70px -40px rgba(60, 102, 223, 0.55); }

  /* Сцена: скрипт показывает полосы по очереди. Без скрипта они видны. */
  .js .stage .sv { opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .stage .sv.is-on { opacity: 1; transform: none; }
  .js .stage .ssum { opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .stage .ssum.is-on { opacity: 1; transform: none; }
  .js .stage .sv.is-on::before { animation: bar-in 0.6s ease both; }
  .js .stage.is-scanning .scan { animation: scan 2.6s cubic-bezier(0.45, 0, 0.3, 1) both; }
}

@keyframes stamp { 0% { opacity: 0; transform: rotate(-20deg) scale(1.9); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-stage { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-30%) translateY(0); } to { transform: translateX(-24%) translateY(30px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79, 124, 247, 0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(79, 124, 247, 0); } }
@keyframes ping-green { 0% { box-shadow: 0 0 0 0 rgba(46, 160, 67, 0.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(46, 160, 67, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scan { 0% { opacity: 0; transform: translateY(-90px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--scan-to, 300px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .legal-aside, .hero-bg, .glow, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
