:root {
  --bg: #0d0a15;
  --bg-2: #151020;
  --line: rgba(255, 255, 255, 0.1);
  --ink: #ffffff;
  --muted: #a7a3b8;
  --red: #f2214a;
  --red-2: #ff4d6d;
  --sky: #cfe7f5;
  --radius: 22px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 85%);
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  left: 50%;
  bottom: -40vh;
  width: 140vw;
  height: 80vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(242, 33, 74, 0.22), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* шапка */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 14px;
  color: var(--muted);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 0 24px rgba(242, 33, 74, 0.55);
}
.brand-mark svg { width: 18px; height: 18px; }

/* типографика */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
}
.dot { width: 8px; height: 8px; border-radius: 9px; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.02em; line-height: 0.98; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(38px, 6.2vw, 84px); }
h2 { font-size: clamp(28px, 4.2vw, 50px); }
h3 { font-size: 20px; line-height: 1.15; }
.red { color: var(--red); }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 28px 0 40px; }
.hero .laptop { position: sticky; top: 40px; margin-top: 70px; }
.hero h1 .line { display: block; }
.hero h1 .hl { display: inline-block; background: var(--red); padding: 0 0.12em; transform: rotate(-1.5deg); box-shadow: 0 10px 40px rgba(242, 33, 74, 0.4); }
.hero-copy { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }

/* «ноутбук» с видео */
.laptop { position: relative; }
.laptop-screen {
  border-radius: 18px 18px 6px 6px;
  background: #050407;
  border: 10px solid #1b1824;
  border-bottom-width: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 120px rgba(242, 33, 74, 0.18);
}
.laptop-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.laptop-base {
  height: 16px; margin: 0 -6%; border-radius: 0 0 22px 22px;
  background: linear-gradient(#2a2633, #15121c);
}
.laptop-base::after {
  content: ""; display: block; width: 18%; height: 6px; margin: 0 auto;
  border-radius: 0 0 10px 10px; background: #0d0b12;
}
.sticker {
  position: absolute; right: -10px; top: -22px; transform: rotate(6deg);
  font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase;
  background: var(--sky); color: #0b0b12; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* форма */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.form { display: grid; gap: 14px; }
.form-title { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; color: var(--muted); }
.input {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: rgba(0, 0, 0, 0.35); border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 15px 16px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: #6f6a82; }
.input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(242, 33, 74, 0.18); }
.input.bad { border-color: #ff7a8f; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--display); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.01em;
  color: #fff; background: var(--red); border: 0; border-radius: 16px; padding: 18px 26px; cursor: pointer;
  text-decoration: none; box-shadow: 0 14px 40px rgba(242, 33, 74, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { background: var(--red-2); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.err { color: #ff8aa0; font-size: 14px; min-height: 1em; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

/* блоки */
section { padding: 56px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.feat { display: grid; gap: 12px; align-content: start; }
.feat-num { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: 0.12em; }
.feat p { margin: 0; color: var(--muted); }

.marquee { border-block: 1px solid var(--line); background: var(--red); overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); margin: 16px -20px; }
.marquee-track { display: inline-flex; gap: 36px; padding: 14px 0; animation: run 28s linear infinite; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 18px; }
.marquee-track span::after { content: "✦"; margin-left: 36px; opacity: 0.7; }
@keyframes run { to { transform: translateX(-50%); } }

/* инструкция */
.steps { display: grid; gap: 18px; margin-top: 30px; counter-reset: s; }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: start; }
.step-n {
  width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 30px; background: var(--red);
  box-shadow: 0 12px 36px rgba(242, 33, 74, 0.4);
}
.step-body { display: grid; gap: 12px; }
.step-body p { margin: 0; color: var(--muted); }
.step-body p b { color: var(--ink); }
.code {
  position: relative; font-family: var(--mono); font-size: 14.5px; line-height: 1.6;
  background: #07060b; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; padding-right: 110px;
  white-space: pre-wrap; word-break: break-word; color: #e9e6f3;
}
.code .hl { background: var(--red); color: #fff; padding: 0 4px; border-radius: 4px; }
.copy {
  position: absolute; top: 10px; right: 10px; font: 700 12px var(--body); color: var(--ink);
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer;
}
.copy:hover { background: rgba(255, 255, 255, 0.16); }
.copy.done { background: #2bb673; border-color: #2bb673; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { font: 700 14px var(--body); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.tab[aria-selected="true"] { color: #fff; background: rgba(242, 33, 74, 0.18); border-color: var(--red); }
.panel[hidden] { display: none; }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.dl small { color: var(--muted); }
.tip { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; color: var(--muted); }
.tip b { color: var(--ink); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); color: var(--red); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; }

/* появление при скролле */
.reveal { transform: translateY(18px); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
  .marquee-track, .dot { animation: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 8px; }
  .hero .laptop { order: -1; margin: 18px 6px 0; position: relative; top: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .hide-s { display: none; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step-n { width: 56px; height: 56px; font-size: 24px; border-radius: 16px; }
  .code { padding-right: 18px; padding-top: 52px; font-size: 13.5px; }
  .sticker { right: 6px; font-size: 12px; }
  section { padding: 40px 0; }
}
