:root {
  --bg: #0b0a08;
  --card: #16130f;
  --card2: #1d1914;
  --line: rgba(255, 236, 200, 0.09);
  --ink: #f4ece0;
  --muted: #b3a998;
  --faint: #7d7466;
  --gold: #d9a848;
  --gold2: #f1d79b;
  --ok: #7fc98b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Manrope, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold2); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.gold {
  background: linear-gradient(100deg, #fbe8bd, #d9a848 55%, #a8732a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.label { font: 600 12px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 10, 8, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.logo svg { width: 24px; height: 24px; margin-right: 10px; }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
nav.links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(100deg, #f6dfa8, #d9a848 60%, #b07a2c); color: #1a1408; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(217, 168, 72, .45); color: var(--gold2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

.hero { position: relative; padding: 88px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 0 auto; height: 620px; background: radial-gradient(ellipse at 50% 20%, rgba(217, 168, 72, .16), transparent 62%); pointer-events: none; }
.hero h1 { position: relative; margin: 18px auto 0; max-width: 860px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.hero p.sub { position: relative; margin: 22px auto 0; max-width: 680px; color: var(--muted); font-size: 18.5px; }
.hero .cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .note { position: relative; margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.shot { position: relative; margin: 56px auto 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 120px rgba(217, 168, 72, .12), 0 10px 40px rgba(0, 0, 0, .6); }

section { padding: 84px 0; }
section h2 { margin: 12px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; line-height: 1.1; }
section p.lead { margin: 14px 0 0; color: var(--muted); max-width: 640px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(217, 168, 72, .4); color: var(--gold2); font-weight: 700; font-size: 14px; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; margin-top: 64px; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature h3 { margin: 10px 0 0; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.feature li { position: relative; padding-left: 24px; margin: 8px 0; }
.feature li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.feature .pic { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.plan.best { border-color: rgba(217, 168, 72, .6); background: linear-gradient(180deg, rgba(217, 168, 72, .09), var(--card) 40%); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--gold); color: #1a1408; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin-top: 14px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--faint); }
.plan .credits { color: var(--gold2); font-weight: 700; margin-top: 4px; }
.plan ul { margin: 18px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; flex: 1; }
.plan li { padding-left: 22px; position: relative; margin: 7px 0; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { justify-content: center; }
.extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.extra div { flex: 1 1 300px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--muted); font-size: 14.5px; }
.extra b { color: var(--ink); }

.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.download { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(217, 168, 72, .14), transparent 70%); border-top: 1px solid var(--line); }
.download .os { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.download .os .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .req { flex-basis: 100%; }

.doc { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -.02em; line-height: 1.15; }
.doc h2 { font-size: 20px; margin-top: 34px; }
.doc p, .doc li { color: var(--muted); }
.fill { color: var(--gold2); background: rgba(217, 168, 72, .12); padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  nav.links { display: none; }
  .steps, .plans { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .text { order: 0; }
}
@media (max-width: 560px) {
  .steps, .plans { grid-template-columns: 1fr; }
  header.top .btn { display: none; }
  .hero { padding-top: 56px; }
  section { padding: 60px 0; }
}

/* ── v2: по мотивам примера ───────────────────────── */
.hero2 { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero2::before { content: ''; position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(ellipse at 70% 20%, rgba(217, 168, 72, .17), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero2 h1 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.hero2 .sub { margin: 20px 0 0; color: var(--muted); font-size: 18px; max-width: 540px; }
.hero2 .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero2 .note { margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 12.5px; font-weight: 700; color: var(--gold2); border: 1px solid rgba(217, 168, 72, .35); background: rgba(217, 168, 72, .07); border-radius: 99px; padding: 4px 11px; }

.mock { position: relative; }
.mock-win { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #0e0c0a; box-shadow: 0 30px 100px rgba(217, 168, 72, .13), 0 12px 40px rgba(0, 0, 0, .6); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a332a; }
.mock-bar span { margin-left: 8px; }
.pipe-card { position: absolute; left: -28px; bottom: -34px; width: min(420px, 90%); background: rgba(22, 19, 15, .96); border: 1px solid rgba(217, 168, 72, .4); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 50px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.pipe-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.pipe-top span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe-top b { color: var(--gold2); font-family: 'JetBrains Mono', monospace; }
.pipe-track { height: 6px; border-radius: 99px; background: #2a241c; margin: 10px 0; overflow: hidden; }
.pipe-fill { height: 100%; width: 0; background: linear-gradient(90deg, #f6dfa8, #d9a848); border-radius: inherit; animation: pipe 7s linear infinite; }
@keyframes pipe { 0% { width: 0 } 86% { width: 100% } 100% { width: 100% } }
.pipe-steps { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; font-size: 11.5px; color: var(--faint); }
.pipe-steps li { animation: lit 7s linear infinite; }
.pipe-steps li:nth-child(1) { animation-delay: 0s } .pipe-steps li:nth-child(2) { animation-delay: 1s } .pipe-steps li:nth-child(3) { animation-delay: 2s }
.pipe-steps li:nth-child(4) { animation-delay: 3s } .pipe-steps li:nth-child(5) { animation-delay: 4s } .pipe-steps li:nth-child(6) { animation-delay: 5s }
@keyframes lit { 0%, 10% { color: var(--gold2) } 14%, 100% { color: var(--faint) } }

.strip { border-block: 1px solid var(--line); background: #100e0b; padding: 18px 0; overflow-x: auto; }
.strip .wrap { display: flex; gap: 14px; align-items: center; justify-content: center; white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--muted); }
.strip em { color: var(--faint); font-style: normal; }

.stats-sec { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { text-align: center; padding: 22px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.stats b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--gold2); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

.reality { padding-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span { border: 1px solid var(--line); background: var(--card2); border-radius: 99px; padding: 10px 18px; font-weight: 600; color: var(--ink); }

.steps.three { grid-template-columns: repeat(3, 1fr); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.tool.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; background: linear-gradient(120deg, rgba(217, 168, 72, .08), var(--card) 50%); border-color: rgba(217, 168, 72, .3); }
.tool.big img { border-radius: 12px; border: 1px solid var(--line); }
.tool.big h3 { font-size: 26px; line-height: 1.15; }
.tool .num { font: 600 13px/1 'JetBrains Mono', monospace; color: var(--gold); }
.tool h3 { margin: 12px 0 8px; font-size: 19px; }
.tool p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: t 4; }
.tool-list li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.tool-list li::before { content: counter(t, decimal-leading-zero); grid-row: span 2; font: 600 13px/1.6 'JetBrains Mono', monospace; color: var(--gold); }
.tool-list b { font-size: 15.5px; }
.tool-list span { color: var(--muted); font-size: 14px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.tabs button.on { color: #1a1408; background: var(--gold); border-color: var(--gold); }
#screens .shot { margin-top: 22px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.compare .col { border-radius: 18px; padding: 26px; border: 1px solid var(--line); background: var(--card); }
.compare .good { border-color: rgba(217, 168, 72, .45); background: linear-gradient(180deg, rgba(217, 168, 72, .09), var(--card) 60%); }
.compare h3 { margin: 0 0 14px; font-size: 20px; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { padding: 9px 0 9px 26px; position: relative; color: var(--muted); border-top: 1px solid var(--line); }
.compare .bad li::before { content: '✕'; position: absolute; left: 2px; color: #c96f5f; }
.compare .good li::before { content: '✓'; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.compare li:last-child { color: var(--ink); font-weight: 700; }

.ask { margin: 56px auto 0; max-width: 520px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.ask h3 { margin: 0; font-size: 20px; }
.ask p { margin: 6px 0 16px; color: var(--muted); }

.float-cta { display: none; }

@media (max-width: 900px) {
  .hero-grid, .tool.big, .compare { grid-template-columns: 1fr; }
  .pipe-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr; }
  .steps.three { grid-template-columns: 1fr; }
  .strip .wrap { justify-content: flex-start; }
  .float-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20; text-align: center; padding: 14px; border-radius: 14px; font-weight: 800; color: #1a1408; text-decoration: none; background: linear-gradient(100deg, #f6dfa8, #d9a848 60%, #b07a2c); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
  footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .pipe-fill { animation: none; width: 100%; }
  .pipe-steps li { animation: none; color: var(--gold2); }
}

.phone { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #3a2f1c, #0d0b08 40%, #2a2216); box-shadow: 0 40px 120px rgba(217, 168, 72, .22), 0 12px 40px rgba(0, 0, 0, .7); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; background: #000; }
.phone .sound { position: absolute; right: 20px; bottom: 20px; font: 600 13px Manrope, sans-serif; color: #f6f1e7; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 12px; cursor: pointer; backdrop-filter: blur(6px); }
