/* ═══════════════════════════════════════════════════════════════════════
   ЗАРАБОТАЙ — информативный лендинг: чистый чёрный фон, один акцент —
   красный, стикеры с белой обводкой, маркер, пиксельные цифры, LED.
   Космос и 3D-букву клиент попросил убрать (12.10.2026) — читаемость
   важнее: основной текст белый, вторичный #C7C7C7, серый — только подписи.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #000;
  --fg: #fff;
  --text-2: #C7C7C7;        /* вторичный текст, 12,4:1 на #000 */
  --mute: #9A9A9A;          /* только мелкие подписи, 7,46:1 на #000 */
  --red: #E52230;           /* 4,60:1 на #000 — только крупные цифры и знаки */
  --red-hi: #F42E3F;
  --red-lo: #8A0A14;        /* только тени */
  --line: #2A2A2A;          /* декоративные рамки — не для кнопок и фокуса */
  --led: #FF1A1A;
  --led-bg: #0A0A0A;
  --bubble: #262626;
  --glow: 0 0 3px rgba(255,255,255,.35);
  --sticker: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff);
  --gut: 16px;
  --max: 1280px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 18px/1.6 Inter, Manrope, "Golos Text", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
@media (max-width: 760px) { body { font-size: 17px; } }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 16px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: var(--gut); top: 8px; z-index: 50;
  padding: 12px 18px; border-radius: 12px; background: #fff; color: #000; font-weight: 700;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ── шапка (не липкая — фокус ничем не перекрыт) ── */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px;
  flex-wrap: wrap; padding-block: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__z { width: 26px; height: 26px; color: var(--red); filter: drop-shadow(2px 2px 0 var(--red-lo)); image-rendering: pixelated; }
.brand__name { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.nav a, .foot__nav a {
  display: inline-flex; align-items: center; min-height: 32px;
  text-decoration: none; font-size: 16px; text-underline-offset: 4px;
}
.nav a:hover, .foot__nav a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .top { padding-block: 12px; gap: 4px 12px; }
  .nav { width: 100%; }
  .nav ul { gap: 4px 18px; }
  .nav a { font-size: 15px; }
}

/* ── кнопки ── */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  min-height: 56px; padding: 0 28px; border-radius: 12px;
  font: 700 18px/1.1 Inter, sans-serif; text-decoration: none; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: #000; border: 2px solid transparent; }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { color: #fff; border: 1px solid #fff; }
.btn--ghost:hover { background: #fff; color: #000; }

/* ═══ Первый экран: название, описание, цена и условия ═══ */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: center;
  padding-block: clamp(40px, 7vw, 104px) clamp(8px, 2vw, 24px);
}
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero__main { container-type: inline-size; display: grid; gap: 20px; justify-items: start; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); }
.hero__title {
  font-weight: 800; font-size: clamp(2.5rem, 14cqi, 6.25rem); line-height: .9; letter-spacing: -.035em;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.hero__lede { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.hero .btns { margin-top: 8px; }
@media (max-width: 760px) {
  .hero__lede { font-size: 18px; }
  .btns .btn { flex: 1 1 auto; }
}

.summary {
  position: relative; display: grid; gap: 12px; padding: 32px;
  background: #0B0B0B; border: 1px solid var(--line); border-radius: 16px; container-type: inline-size;
}
.summary__sticker { position: absolute; top: -24px; right: 22px; font-size: 48px; transform: rotate(10deg); }
.summary__cap { font-size: 17px; color: var(--text-2); }
.summary__sum { font-weight: 700; font-size: clamp(36px, 18cqi, 88px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; text-shadow: var(--glow); }
.summary__facts { display: grid; gap: 14px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.summary__facts dt { font-size: 15px; color: var(--mute); }
.summary__facts dd { font-size: 18px; font-weight: 600; line-height: 1.4; }
@media (max-width: 480px) { .summary { padding: 28px 20px 24px; } }

/* ═══ общие секции ═══ */
.section { padding-block: clamp(72px, 10vw, 140px) 0; }
.h2 {
  font-weight: 800; font-size: clamp(40px, 6.4vw, 84px); line-height: .95; letter-spacing: -.03em;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.lede { margin-top: 16px; font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.sticker { display: inline-block; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; filter: var(--sticker) drop-shadow(0 4px 6px rgba(0,0,0,.6)); line-height: 1; }

/* Цифры */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; margin-top: 40px; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.fact .sticker { font-size: 44px; transform: rotate(-8deg); margin-top: 10px; }
.fact:nth-child(2n) .sticker { transform: rotate(7deg); }
.fact__body { display: grid; gap: 6px; }
.fact__num { font-weight: 700; font-size: clamp(56px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; text-shadow: var(--glow); }
.fact__cap { font-size: 18px; line-height: 1.45; color: var(--text-2); }

/* Программа: карточки 1:1 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
  aspect-ratio: 1; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 8px;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: transparent;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s ease-out, border-color .2s;
}
.card:hover { border-color: #555; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__top small { font-size: 16px; color: var(--mute); }
.card__top b { font-size: 28px; font-weight: 700; text-shadow: var(--glow); letter-spacing: -.01em; }
.card__art { align-self: center; justify-self: center; width: 136px; height: 136px; max-width: none; }
@media (min-width: 1100px) { .card__art { width: 153px; height: 153px; } }
.card__bottom { display: grid; gap: 6px; }
.card__bottom p { color: var(--text-2); font-size: 17px; line-height: 1.5; }

/* Вопросы — вырезки из мессенджера */
.chat-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; margin-top: 48px; padding-inline: 8px; }
@media (max-width: 860px) { .chat-wall { grid-template-columns: 1fr; gap: 40px; } }
.qa {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: 18px 18px 22px; border: 3px solid #fff; border-radius: 20px; background: #0B0B0B;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
}
.qa:nth-child(2n) { margin-top: 36px; }
.qa__head { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); }
.bubble { max-width: 88%; padding: 12px 16px; font-size: 18px; line-height: 1.4; }
.bubble--in { justify-self: start; background: var(--bubble); color: #fff; font-weight: 600; border-radius: 18px 18px 18px 6px; }
.bubble--out { justify-self: end; background: #fff; color: #000; font-weight: 500; font-size: 17px; border-radius: 18px 18px 6px 18px; }
.bubble__meta { display: block; margin-top: 4px; text-align: right; font-size: 13px; font-weight: 600; color: #555; }
.note {
  position: absolute; font: 700 36px/1 Caveat, cursive; color: #fff; pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.8); white-space: nowrap;
}
.note svg { width: 54px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.note--a { right: -14px; top: -34px; transform: rotate(-12deg); }
.note--b { left: -10px; bottom: -30px; transform: rotate(-8deg); font-size: 44px; letter-spacing: -.1em; }
.note--c { right: 18px; bottom: -34px; transform: rotate(-16deg); font-size: 54px; }
@media (max-width: 480px) {
  .qa { transform: none; }
  .qa:nth-child(2n) { margin-top: 0; }
  .note--a { right: 4px; }
  .note--b { left: 6px; }
}

/* Как это работает */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.step__n { font: 400 32px/1 "Press Start 2P", monospace; color: var(--red); text-shadow: 3px 3px 0 var(--red-lo); }
.step p { color: var(--text-2); font-size: 18px; }

/* Стоимость и условия */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .price { grid-template-columns: minmax(0, 1fr); } }
.price__card { display: grid; gap: 12px; justify-items: start; padding: 32px; border: 1px solid var(--line); border-radius: 16px; container-type: inline-size; }
.price__cap { font-size: 18px; color: var(--text-2); }
.price__sum { font-weight: 700; font-size: clamp(40px, min(14vw, 6.6vw + 24px), 96px); font-size: clamp(36px, 16cqi, 96px); line-height: 1; letter-spacing: -.02em; text-shadow: var(--glow); white-space: nowrap; }
.price__card .btn { margin-top: 12px; }
.price__note { font-size: 15px; color: var(--text-2); }
.price__info { display: grid; gap: 20px; }
.price__info .h3 { margin-top: 12px; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
@media (max-width: 480px) { .terms { grid-template-columns: 1fr; } }
.terms dt, .req dt { font-size: 15px; color: var(--mute); }
.terms dd { font-size: 18px; font-weight: 600; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 18px; line-height: 1.5; }
.ticks li::before { content: "✓" / ""; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; font-size: 19px; }
.ticks--plain li { color: var(--text-2); }
.ticks--plain li::before { content: "—" / ""; color: var(--mute); }

/* Реквизиты */
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 32px; margin-top: 40px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 16px; }
.req dd { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.req__wide { grid-column: span 2; }
@media (max-width: 700px) { .req__wide { grid-column: auto; } }
.req a { display: inline-block; padding-block: 3px; text-underline-offset: 4px; }

/* Финальный призыв + LED-табло */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-bottom: clamp(72px, 10vw, 140px); }
@media (max-width: 900px) { .cta { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .price__card, .req { padding: 24px 20px; } }
.cta .btns { margin-top: 28px; }
.cta .lede a { overflow-wrap: anywhere; }
.led {
  display: grid; gap: 10px; justify-items: end; padding: 24px 28px; border-radius: 16px;
  background: var(--led-bg); border: 1px solid var(--line);
  font-family: Orbitron, "DSEG7 Classic", monospace; font-weight: 700; color: var(--led);
  text-shadow: 0 0 6px var(--led);
}
@media (max-width: 900px) { .led { justify-items: start; } }
.led__label { font-size: 22px; letter-spacing: .3em; }
.led__num { position: relative; font-size: clamp(48px, 7vw, 88px); line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* Страница документа (оферта) */
.doc { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.doc > * { max-width: 72ch; }
.doc__back a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--text-2); }
.doc__back a:hover { color: #fff; }
.doc__title { margin-top: 20px; font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.doc__lede { margin-top: 16px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.doc__date { margin-top: 8px; font-size: 15px; color: var(--mute); }
.doc__toc { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; }
.doc__toc-title { font-size: 15px; font-weight: 600; color: var(--mute); letter-spacing: .02em; }
.doc__toc ol { display: grid; gap: 4px; margin-top: 12px; }
.doc__toc a { display: inline-block; padding-block: 3px; font-size: 17px; }
.doc section { margin-top: 48px; scroll-margin-top: 16px; }
.doc h2 { font-size: 24px; font-weight: 700; line-height: 1.3; }
.doc__text { display: grid; gap: 12px; margin-top: 16px; color: var(--text-2); }
.doc__intro { margin-top: 28px; }
.doc__list { display: grid; gap: 8px; padding-left: 20px; }
.doc__list li { position: relative; padding-left: 16px; }
.doc__list li::before { content: "•" / ""; position: absolute; left: 0; color: var(--mute); }
.doc__list--dash li::before { content: "—" / ""; left: -6px; }
.doc__text a { overflow-wrap: anywhere; }
.req--doc { margin-top: 20px; }
@media (max-width: 480px) { .doc__toc { padding: 20px; } }

/* Подвал */
.foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 48px 40px; border-top: 1px solid var(--line); }
.foot__nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__nav a { color: #fff; }
.foot__small { font-size: 15px; color: #A8A8A8; max-width: 70ch; }

/* ── «Уменьшить движение» ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .btn--red, .btn--ghost { border: 2px solid ButtonText; }
}
