/* «Живьём» — перезапись нейросетевых треков. Чёрный и жёлтый, крупный гротеск; пока включена версия «Нейросеть», акцент — холодный белый,
   на версии «Живьём» страница теплеет в жёлтый. */
:root {
  --bg: #0A0A0A;
  --panel: #131313;
  --card: #1A1A1A;
  --line: #2C2C2C;
  --ink: #F5F5F0;
  --ink-2: #A9A9A1;
  --yellow: #FFD400;
  --on-yellow: #0A0A0A;
  --hot: var(--ink);                     /* акцент текущей версии */
  --display: 'Unbounded', system-ui, sans-serif;
  --font: 'Onest', system-ui, sans-serif;
  --r: 22px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
body[data-mode="live"] { --hot: var(--yellow); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
em { font-style: normal; }
::selection { background: var(--yellow); color: var(--on-yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); font-weight: 700; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

h1, h2 { font-family: var(--display); font-weight: 800; text-wrap: balance; letter-spacing: -.02em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5.2vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.08; }
h2 em { color: var(--yellow); }
h3 { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
h1 mark { background: var(--hot); color: var(--bg); padding: 0 .14em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color .5s var(--ease); }
.lead { max-width: 52ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--yellow); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--yellow); background: var(--yellow); color: var(--on-yellow); font-weight: 700; font-size: 1rem; transition: transform .25s var(--ease), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: #FFE04D; border-color: #FFE04D; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .9375rem; }
.btn--wide { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px max(var(--gut), calc((100% - var(--wrap)) / 2)); background: rgba(10, 10, 10, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; }
.logo svg { width: 40px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.top__nav { display: flex; gap: 2px; margin-left: auto; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.top__nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.top__nav a:hover { color: var(--ink); background: var(--card); }

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 88px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.2vw, 28px); }

/* Пульт «до и после» */
.deck { display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.deck__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.deck__tag { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.switch button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink-2); transition: background-color .3s var(--ease), color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.switch button[data-mode="live"][aria-pressed="true"] { background: var(--yellow); color: var(--on-yellow); }
.deck__wave { display: block; width: 100%; height: clamp(150px, 20vw, 220px); border-radius: 16px; background: var(--bg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 100% 25%, 12.5% 100%; }
.deck__bar { height: 4px; border-radius: 2px; background: var(--line); --p: 0%; background-image: linear-gradient(var(--hot), var(--hot)); background-repeat: no-repeat; background-size: var(--p) 100%; transition: background-size .12s linear; }
.deck__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.deck__foot p { font-size: .9375rem; color: var(--ink-2); min-height: 2.9em; display: flex; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 8px; border-radius: 999px; background: var(--hot); color: var(--bg); font-weight: 700; transition: background-color .5s var(--ease), transform .2s; }
.play:hover { transform: translateY(-2px); }
.play i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); }
.play i::before { content: ''; width: 0; height: 0; margin-left: 3px; border-left: 12px solid var(--hot); border-top: 8px solid transparent; border-bottom: 8px solid transparent; transition: border-color .5s; }
.play[aria-pressed="true"] i::before { width: 12px; height: 14px; margin: 0; border: 0; border-left: 4px solid var(--hot); border-right: 4px solid var(--hot); }
.deck__note { font-size: .8125rem; color: #7D7D76; line-height: 1.5; }

/* Секции */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec--panel { background: var(--panel); border-block: 1px solid var(--line); }
.head { display: grid; gap: 16px; max-width: 820px; margin-bottom: clamp(28px, 4vw, 52px); }
.head > p:last-child:not(.eyebrow) { color: var(--ink-2); max-width: 58ch; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cards li { display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.cards b { font-family: var(--display); font-size: .8125rem; color: var(--yellow); letter-spacing: .06em; }
.cards p, .band p, .gets p, .steps p { font-size: .9688rem; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { display: grid; align-content: start; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.steps span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font-family: var(--display); font-weight: 800; }
.steps li:last-child { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.steps li:last-child span { background: var(--on-yellow); color: var(--yellow); }
.steps li:last-child p { color: var(--on-yellow); }

.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.band li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.band li:hover { border-color: var(--yellow); background: var(--panel); }
.band li:last-child { grid-column: span 2; background: var(--card); }

/* Калькулятор */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.packs button { display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); text-align: left; transition: border-color .2s, transform .25s var(--ease); }
.packs button:hover { border-color: var(--yellow); transform: translateY(-2px); }
.packs b { font-family: var(--display); font-size: 1rem; }
.packs span { font-size: .875rem; color: var(--ink-2); }
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 12px; align-items: start; }
.calc fieldset { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
legend { float: left; width: 100%; margin-bottom: 14px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; clear: both; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.checks span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.checks i { font-style: normal; font-weight: 500; font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.checks label:hover span { border-color: var(--ink-2); }
.checks input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.checks input:checked + span i { color: var(--on-yellow); }
.checks input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.range label { font-weight: 600; }
.range output { font-family: var(--display); font-weight: 700; color: var(--yellow); }
.range input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --fill: 33%; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--yellow) var(--fill), var(--line) var(--fill)); }
.range input::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.range input::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--yellow); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--yellow); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--yellow); }
.tick { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 0; accent-color: #FFD400; }
.total { position: sticky; top: 92px; display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.total__sum { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.total dl { display: grid; border-top: 1px solid var(--line); }
.total dl div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.total dt { color: var(--ink-2); }
.total dd { font-weight: 500; }

.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gets li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--r); border-top: 4px solid var(--yellow); background: var(--card); }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq .head { margin: 0; }
.faq__list { display: grid; gap: 8px; }
details { border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
details[open] { border-color: var(--yellow); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--yellow); font-size: 1.25rem; transition: rotate .3s var(--ease); }
details[open] summary::after { rotate: 45deg; background: var(--yellow); color: var(--on-yellow); }
details p { padding: 0 20px 20px; max-width: 64ch; color: var(--ink-2); }

/* Заявка */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.order__copy { display: grid; gap: 18px; }
.form { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; }
.form label span { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.form input, .form textarea { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 1rem; }
.form textarea { padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form input[readonly] { color: var(--ink-2); font-size: .9375rem; }
.form [aria-invalid="true"] { border-color: #FF6B5A; }
.form em { color: #FF8A7A; font-size: .875rem; }
.hint { font-size: .875rem; color: var(--ink-2); }
.sent { padding: 14px 16px; border-radius: 14px; background: var(--card); font-size: .9375rem; }
.sent a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 26px 40px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }

@media (max-width: 1040px) {
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero, .calc, .faq, .order { grid-template-columns: minmax(0, 1fr); }
  .cards, .gets, .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: 1 / -1; }
  .total { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .gets, .band, .steps, .packs, .checks { grid-template-columns: minmax(0, 1fr); }
  .band li:last-child { grid-column: auto; }
  .row .btn { width: 100%; }
  .deck__foot { grid-template-columns: minmax(0, 1fr); }
  .play { justify-content: flex-start; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }
