/* ============================================================
   VeritasAmor Create — дизайн-система
   Тёмный минимализм, синяя палитра, Montserrat
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --bg: #060C18;
  --bg-soft: #0A1424;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(124, 168, 255, 0.16);
  --line-strong: rgba(124, 168, 255, 0.32);
  --text: #E9F1FF;
  --muted: #93A6C4;
  --muted-2: #6B7F9E;
  --brand: #2F7BFF;
  --brand-2: #5AA9FF;
  --brand-3: #8FD3FF;
  --ok: #4ADE80;
  --warn: #FBBF24;
  --err: #F87171;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
  --shadow-brand: 0 24px 60px -30px rgba(47, 123, 255, 0.75);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 28px);

  --ease: cubic-bezier(.22, .68, .22, 1);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Мягкие синие свечения на фоне */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(47, 123, 255, .20), transparent 62%),
    radial-gradient(900px 520px at 96% 2%, rgba(143, 211, 255, .10), transparent 58%),
    radial-gradient(800px 600px at 60% 110%, rgba(47, 123, 255, .10), transparent 60%);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand-2); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-3); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::selection { background: rgba(47, 123, 255, .35); color: #fff; }

/* Отступ при переходах по якорям (под липкую шапку) */
[id] { scroll-margin-top: 92px; }

/* Инлайн-код */
code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .92em;
  padding: .12em .42em;
  border-radius: 6px;
  background: rgba(47, 123, 255, .15);
  color: #CFE6FF;
  border: 1px solid rgba(90, 169, 255, .18);
  white-space: nowrap;
}

/* ---------- Утилиты ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-3);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.h2 { font-size: clamp(27px, 3.5vw, 43px); line-height: 1.1; letter-spacing: -.022em; font-weight: 700; }
.h3 { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(15px, 1.35vw, 17.5px); margin-top: 16px; max-width: 62ch; }

.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head .h2 { margin-top: 16px; }

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { flex: none; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #3C86FF 0%, #1D5ED6 100%);
  box-shadow: 0 16px 34px -18px rgba(47, 123, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(47, 123, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover {
  color: #fff;
  border-color: rgba(143, 211, 255, .6);
  background: rgba(47, 123, 255, .12);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(6, 12, 24, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 17px;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 34px; height: 34px;
  flex: none;
  filter: drop-shadow(0 6px 16px rgba(47, 123, 255, .55));
}
.logo span { color: var(--brand-2); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1px;
  background: var(--brand-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-current { color: #fff; }
.nav a.is-current::after { transform: scaleX(1); background: var(--brand); }

.header-cta { margin-left: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 132px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: saturate(1.05) contrast(1.02);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 6%, rgba(6, 12, 24, .78) 40%, rgba(6, 12, 24, .30) 100%),
    linear-gradient(180deg, rgba(6, 12, 24, .45) 0%, transparent 32%, rgba(6, 12, 24, .94) 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 7.4vw, 82px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(112deg, #9BDCFF 0%, #4D97FF 45%, #2F7BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  line-height: 1.62;
  color: #B9CAE4;
  max-width: 590px;
}
.hero-sub b { color: #fff; font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 18, 33, .82);
}
.ip-box .ip-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-right: 4px;
}
.ip-box code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14.5px;
  color: #D6E9FF;
  letter-spacing: .01em;
}
.ip-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 123, 255, .16);
  border: 1px solid rgba(90, 169, 255, .32);
  color: #CFE6FF;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .25s var(--ease), border-color .25s;
}
.ip-copy:hover { background: rgba(47, 123, 255, .28); border-color: rgba(143, 211, 255, .6); }
.ip-copy.is-ok { color: #B6F5CE; background: rgba(74, 222, 128, .16); border-color: rgba(74, 222, 128, .38); }

/* Полоска показателей */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}
.hero-stats .stat {
  padding: 18px 20px;
  background: rgba(8, 16, 30, .82);
}
.stat-value {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.stat-label {
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
  flex: none;
}
.dot--ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); animation: pulse 2.6s infinite; }
.dot--off { background: var(--err); box-shadow: 0 0 0 4px rgba(248, 113, 113, .14); }
.dot--wait { background: var(--warn); box-shadow: 0 0 0 4px rgba(251, 191, 36, .14); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, .06); }
}

/* ---------- Сетки карточек ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018));
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 169, 255, .45);
  background: linear-gradient(180deg, rgba(47, 123, 255, .11), rgba(255, 255, 255, .02));
}
.card .h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--brand-3);
  background: linear-gradient(150deg, rgba(47, 123, 255, .28), rgba(47, 123, 255, .06));
  border: 1px solid rgba(90, 169, 255, .28);
}
.icon-tile svg { width: 22px; height: 22px; }

/* ---------- Блок «ядро сборки» ---------- */
.core {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 320px at 84% 12%, rgba(47, 123, 255, .20), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  overflow: hidden;
}
.core-copy { order: 1; }
.core-visual { order: 2; position: relative; }

.core-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.core-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #C6D6EE;
}
.core-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-2); }

.blueprint {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  border: 1px solid rgba(124, 168, 255, .22);
  background:
    linear-gradient(180deg, rgba(12, 26, 48, .95), rgba(7, 14, 27, .95));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
}
.blueprint svg { width: 100%; height: 100%; }
.blueprint figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(147, 166, 196, .8);
}

/* ---------- Карточки модов ---------- */
.mods-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.mod-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.mod-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 169, 255, .5);
  box-shadow: 0 30px 60px -40px rgba(47, 123, 255, .9);
}
.mod-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0A1526;
}
.mod-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
  filter: saturate(.95);
}
.mod-card:hover .mod-media img { transform: scale(1.055); filter: saturate(1.1); }
.mod-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 12, 24, .72) 100%);
  pointer-events: none;
}
.mod-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mod-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-3);
}
.mod-title { margin-top: 9px; font-size: 18.5px; font-weight: 700; letter-spacing: -.015em; }
.mod-text { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: rgba(90, 169, 255, .42); }
.plan--featured {
  border-color: rgba(90, 169, 255, .55);
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(47, 123, 255, .26), transparent 65%),
    linear-gradient(180deg, rgba(47, 123, 255, .12), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow-brand);
}
.plan-badge {
  position: absolute;
  top: -11px; left: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #04121F;
  background: linear-gradient(120deg, #9BDCFF, #5AA9FF);
}
.plan-name { font-size: 15px; font-weight: 600; color: #D8E7FB; letter-spacing: .01em; }
.plan-price {
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.plan-price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.plan .btn { margin-top: 20px; }

.plans-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(47, 123, 255, .07);
  font-size: 14px;
  color: #C3D5EE;
}
.plans-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand-3); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .03); }
.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brand-3);
}
.step h3 { margin-top: 12px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Онлайн ---------- */
.status-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 280px at 8% 0%, rgba(47, 123, 255, .22), transparent 62%),
    rgba(9, 18, 33, .78);
}
.status-line { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); }
.status-big {
  margin-top: 14px;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.status-big span { color: var(--muted-2); font-size: .48em; font-weight: 600; letter-spacing: 0; }
.status-meta { display: grid; gap: 10px; margin-top: 20px; }
.status-meta div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding-bottom: 10px; border-bottom: 1px dashed rgba(124, 168, 255, .16); }
.status-meta dt { color: var(--muted-2); }
.status-meta dd { margin: 0; color: #D5E5FA; font-weight: 600; }

/* ---------- Аккордеон ---------- */
.acc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .028);
  margin-bottom: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.acc[open] { border-color: rgba(90, 169, 255, .38); background: rgba(47, 123, 255, .07); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--brand-2);
  transition: transform .3s var(--ease);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 22px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.acc-body p + p { margin-top: 10px; }
.acc-body ul { margin: 8px 0 0; padding-left: 20px; }
.acc-body li { margin-top: 6px; }

/* ---------- Документы (правила, политика) ---------- */
.doc-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
}
.toc-title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.toc ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 2px; }
.toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid transparent;
}
.toc a:hover { color: #fff; background: rgba(255, 255, 255, .05); border-left-color: var(--brand-2); }

.prose { max-width: 74ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: clamp(40px, 5vw, 58px);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.2;
  letter-spacing: -.02em;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; font-size: 17px; font-weight: 700; letter-spacing: -.005em; }
.prose p, .prose li { color: #B7C8E1; font-size: 15px; line-height: 1.72; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 9px; }
.prose li::marker { color: var(--brand-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(90, 169, 255, .5); }

.rule-list { counter-reset: rule; list-style: none; padding: 0; }
.rule-list > li {
  position: relative;
  padding: 0 0 0 46px;
  margin-top: 22px;
}
.rule-list > li::before {
  counter-increment: rule;
  content: counter(rule);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(90, 169, 255, .3);
  background: rgba(47, 123, 255, .12);
  color: var(--brand-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.rule-list b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.rule-list span { display: block; margin-top: 4px; color: #AFC2DC; font-size: 14.5px; line-height: 1.65; }

.note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 14px;
  background: rgba(47, 123, 255, .08);
  font-size: 14.5px;
  color: #C6D7EF;
}
.note b { color: #fff; }

.doc-meta { color: var(--muted-2); font-size: 13px; margin-top: 10px; }

/* ---------- Переадресация на магазин ---------- */
.redirect-card {
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(47, 123, 255, .24), transparent 62%),
    rgba(9, 18, 33, .8);
  text-align: center;
}
.redirect-spinner {
  width: 54px; height: 54px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 2px solid rgba(124, 168, 255, .22);
  border-top-color: var(--brand-2);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.redirect-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }

/* ---------- Подвал ---------- */
.footer {
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 20, .6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 13.5px; line-height: 1.65; max-width: 34ch; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.footer-col a { color: #AFC2DC; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(124, 168, 255, .1);
  color: var(--muted-2);
  font-size: 12.5px;
}
.footer-bottom .disclaimer { max-width: 62ch; line-height: 1.6; }

/* ---------- Появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .grid--3, .mods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .header-inner { height: 64px; }

  .nav.is-open {
    display: flex;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 16, 30, .96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 14px; font-size: 15px; }
  .nav.is-open a::after { display: none; }
  .nav.is-open .btn { margin-top: 8px; }

  .core { grid-template-columns: 1fr; }
  .core-copy { order: 2; }
  .core-visual { order: 1; }
  .blueprint { aspect-ratio: 16 / 10; }

  .status-card { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-left-width: 1px; border-radius: 999px; padding: 7px 13px; font-size: 12.5px; }
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-col:last-child { grid-column: span 2; }
  .ip-box { width: 100%; justify-content: space-between; }
  .ip-box code { font-size: 13px; }
}

@media (max-width: 560px) {
  .mods-grid, .grid--3, .plans { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .status-meta div { font-size: 13px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .1em; gap: 8px; }
  .eyebrow::before { width: 16px; }
}

/* ---------- Доступность: меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Печать ---------- */
@media print {
  body { background: #fff; color: #111; }
  .header, .footer, .hero-bg, .btn, .toc { display: none !important; }
  .prose p, .prose li, .prose h2 { color: #111; }
}

