/* Палитра из DESIGN.md (как у Bocha Voice), только тёмная тема */
:root {
  --background: #121518;
  --sidebar: #0E1013;
  --surface: #1C2025;
  --ink: #F4F1EA;
  --secondary: #A8AEB6;
  --accent: #FF8A3D;
  --highlight: #FFB071;
  --tint: #3D2B20;
  --line: #363D46;
  --success: #7CD5A8;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }

a { color: var(--highlight); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 14px; border-radius: 8px;
  background: var(--accent); color: var(--background); font-weight: 600;
}
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); }

h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 18em;
}

h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }

p { margin: 0 0 14px; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(18, 21, 24, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(54, 61, 70, 0.6);
}
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 8px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--secondary); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* Переключатель языка: EN / RU, текущий язык светлее */
.lang { display: flex; gap: 2px; margin-left: -6px; }
.lang a { padding: 6px 7px; border-radius: 6px; color: var(--secondary); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--surface); }

.menu-note { margin: -14px 0 26px; font-size: 15px; }

/* Кнопки: радиус 10, основная залита акцентом, текст тёмный */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--background);
  font-weight: 650; font-size: 17px; letter-spacing: -0.005em;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover { background: var(--highlight); color: var(--background); }
.button:active { transform: translateY(1px); }
.button::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2v9.2M5 7.6l4 4 4-4M3 14.8h12' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2v9.2M5 7.6l4 4 4-4M3 14.8h12' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button[aria-disabled="true"] {
  background: var(--surface);
  color: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--line);
}
.button[aria-disabled="true"]::before { display: none; }
.button-small { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
.button-small::before { width: 15px; height: 15px; }

.link-arrow { color: var(--ink); text-decoration: none; font-weight: 600; }
.link-arrow::after { content: " ↓"; color: var(--accent); }
.link-arrow:hover { color: var(--highlight); }

.meta { margin: 14px 0 0; color: var(--secondary); font-size: 14px; }

/* Первый экран */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: end;
  min-height: min(760px, calc(100svh - 64px));
}
.hero-text { padding: 72px 0 80px; align-self: center; }

h1 {
  margin: 0 0 26px;
  font-size: clamp(46px, 6.6vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 800;
}
h1 span { display: block; color: var(--accent); }
/* По-русски слова длиннее: заголовок чуть мельче, чтобы остаться в две строки */
html[lang="ru"] h1 { font-size: clamp(40px, 5.2vw, 68px); }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink); max-width: 31em; margin-bottom: 30px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.early {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 34em;
  color: var(--secondary); font-size: 15px;
}
.early b { color: var(--highlight); font-weight: 600; }

.release { margin-top: 16px; color: var(--secondary); font-size: 14px; max-width: 34em; }
.release summary { cursor: pointer; color: var(--ink); }
.release p { margin: 10px 0 0; }
.hash code { display: block; margin-top: 4px; word-break: break-all; color: var(--ink); font: 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }

.hero-art { position: relative; align-self: end; width: 100%; max-width: 540px; margin-left: auto; }
.hero-photo { position: relative; width: 100%; height: auto; }

/* Знак Bocha Mic, увеличенный: диск за фото и волны по бокам, как в значке */
.waves { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.waves .disc { fill: var(--accent); }
.waves path { stroke-width: 2.6; }
.waves .w1 { stroke: var(--accent); animation: wave 2.8s ease-in-out infinite; }
.waves .w2 { stroke: var(--highlight); animation: wave 2.8s ease-in-out .35s infinite; }
@keyframes wave { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }

/* Секции */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section p { color: var(--secondary); }

/* Путь звука */
.chain {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px;
}
.chain::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 44px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.chain::after {
  content: ""; position: absolute; top: 40px; left: 12%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 138, 61, .18);
  animation: travel 3.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes travel {
  0% { left: 12%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 88%; opacity: 0; }
}
.chain-node {
  position: relative;
  padding: 0 22px 26px;
  text-align: center;
}
.chain-icon {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 88px; height: 88px; margin: 0 auto 22px;
  border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink);
}
.chain-icon svg { width: 40px; height: 40px; }
.chain-icon-app { background: var(--background); border-color: var(--highlight); box-shadow: 0 0 0 6px var(--background), 0 0 0 7px var(--tint); }
.chain-icon-app img { width: 64px; height: 64px; }
.chain-node p { margin: 0 auto; max-width: 21em; font-size: 16px; }
.chain-node-main h3 { color: var(--accent); }

/* Меню в строке меню */
.menu-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.menu-shot {
  position: relative;
  padding: 0 0 40px;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 138, 61, .22), transparent 60%),
    linear-gradient(160deg, #262B33, #15181C 70%);
  border: 1px solid var(--line);
  overflow: hidden;
  font: 13px/1 var(--font);
}
.menubar {
  display: flex; justify-content: space-between; align-items: center;
  height: 30px; padding: 0 14px;
  background: rgba(10, 12, 14, .55);
  color: var(--ink); font-size: 13px;
}
.menubar-left { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.menubar-left b { width: 12px; height: 14px; border-radius: 6px 6px 5px 5px / 7px 7px 6px 6px; background: var(--ink); }
.menubar-right { display: flex; align-items: center; gap: 12px; }
.menubar-mic { width: 18px; height: 18px; padding: 2px; box-sizing: content-box; border-radius: 5px; background: rgba(255, 255, 255, .22); color: #fff; }
.mic-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF9F0A; }
.menu {
  position: relative;
  width: min(300px, 86%);
  margin: 4px 0 0 auto; margin-right: 64px;
  padding: 5px;
  border-radius: 10px;
  background: rgba(44, 46, 51, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  color: #EDEDED;
}
.mi { position: relative; padding: 4px 10px 4px 26px; border-radius: 5px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi .check { position: absolute; left: 9px; font-size: 12px; }
.mi.off { color: rgba(237, 237, 237, .42); }
.mi.sub::after { content: "›"; position: absolute; right: 10px; top: 2px; font-size: 15px; color: rgba(237, 237, 237, .7); }
.mi.hot { background: #0A64D8; color: #fff; }
.mi kbd { position: absolute; right: 10px; font: inherit; color: rgba(237, 237, 237, .5); }
.menu hr { border: 0; height: 1px; margin: 5px 10px; background: rgba(255, 255, 255, .12); }

.points { margin: 0; }
.points dt { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 6px; }
.points dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 12px 2px 0; border-radius: 2px; background: var(--accent); }
.points dd { margin: 0 0 26px 20px; color: var(--secondary); }
.points dd:last-child { margin-bottom: 0; }

/* Установка */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.steps li {
  counter-increment: step;
  display: flex; flex-direction: column;
  padding: 22px;
  border-radius: 15px;
  background: var(--surface); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 18px;
  font: 800 44px/1 var(--display); letter-spacing: -0.04em; color: var(--accent);
}
.steps p { font-size: 15.5px; }
.mock { margin-top: auto; border-radius: 10px; background: #2A2D33; border: 1px solid rgba(255, 255, 255, .08); font: 12px/1.35 var(--font); color: #E6E6E6; }
.mock-title { display: block; padding: 10px 12px 6px; font-weight: 700; color: #fff; }

.mock-dmg { display: flex; align-items: center; justify-content: space-around; padding: 16px 10px 12px; }
.dmg-app, .dmg-folder { display: grid; justify-items: center; gap: 6px; }
.dmg-app img { border-radius: 11px; }
.dmg-folder svg { width: 52px; height: 52px; }
.dmg-arrow { flex: 1; max-width: 70px; height: 2px; margin: 0 6px 18px; background: var(--secondary); position: relative; }
.dmg-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--secondary); border-right: 0; }

.sec-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 8px 10px; padding: 9px 10px; border-radius: 7px; background: #33363D; }
.sec-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-row b { flex: none; padding: 3px 9px; border-radius: 5px; background: #55585F; color: #fff; font-weight: 500; box-shadow: 0 0 0 2px var(--accent); }

.mock-alert { display: grid; justify-items: center; gap: 6px; padding: 14px 12px 12px; text-align: center; }
.mock-alert img { border-radius: 9px; }
.mock-alert b { color: #fff; font-size: 12.5px; }
.mock-alert span { color: #BDBDBD; font-size: 11px; }
.alert-buttons { display: grid; width: 100%; gap: 6px; margin-top: 4px; }
.alert-buttons i { font-style: normal; padding: 5px; border-radius: 6px; background: #4A4D54; color: #fff; }
.alert-buttons i.default { background: #0A84FF; box-shadow: 0 0 0 2px var(--accent); }

.mock-select { padding-bottom: 6px; }
.sel-row { position: relative; display: block; margin: 0 6px; padding: 6px 10px 6px 26px; border-radius: 6px; }
.sel-row .check { position: absolute; left: 9px; }
.sel-on { background: #0A64D8; color: #fff; box-shadow: 0 0 0 2px var(--accent); }

/* Обновления и удаление */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.two h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 18px; }

/* Фото по нижнему краю секции, за ним диск акцентного цвета */
.photo-col { position: relative; align-self: end; }
.photo-col::before {
  content: ""; position: absolute; left: 50%; bottom: 18%; width: 88%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: var(--accent);
}
.photo-col img { position: relative; width: 100%; height: auto; }

/* Что дальше */
.section-next { padding-bottom: 0; background: linear-gradient(180deg, var(--background), var(--sidebar)); }
.next-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: end; }
.next-text { align-self: center; padding-bottom: 112px; }
.next-lead { font-size: 18px; max-width: 30em; }
.next-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.next-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.next-list b { display: block; font-size: 17px; }
.next-list span { display: block; color: var(--secondary); font-size: 15px; }

/* Вопросы */
.faq-text { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: 19px; font-weight: 650; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { margin: -4px 0 22px; max-width: 40em; }

/* Последний экран */
.final { border-top: 1px solid var(--line); background: var(--sidebar); overflow: hidden; }
.final-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: end; }
.final-text { align-self: center; padding: 96px 0; }
.final h2 { font-size: clamp(36px, 5vw, 64px); }

/* Подвал */
.bottom { border-top: 1px solid var(--line); color: var(--secondary); font-size: 14px; }
.bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 36px; }
.bottom-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.bottom-brand img { border-radius: 5px; }

/* Страница 404 */
.lost { padding: 120px 0; }
.lost p { color: var(--secondary); }

/* Меню 0.3.0: индикаторы In и Out в первой строке (LevelsMenuView) */
.levels { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 7px 4px; padding: 6px 14px 6px 22px; color: rgba(237, 237, 237, .5); font-size: 12px; }
.levels i { position: relative; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.levels i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--l) * 100%); border-radius: 4px; background: var(--accent); transform-origin: left; animation: level 1.4s ease-in-out infinite alternate; }
.levels span + i + span + i::after { animation-delay: -.6s; }
@keyframes level { from { transform: scaleX(.62); } to { transform: scaleX(1.08); } }

/* Окно Settings… → Sound (SettingsWindow.swift, SoundPage.swift в 0.3.0) */
.sound-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; margin-bottom: 44px; }
.sound-head h2 { margin: 0; }
.sound-head p { margin: 0; }
.settings-shot { position: relative; }
.settings-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(18, 21, 24, 0), var(--background)); pointer-events: none; }
.win {
  display: grid; grid-template-columns: 210px minmax(0, 1fr);
  max-height: 800px; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--background);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  font: 13px/1.35 var(--font); color: var(--ink);
}
.win-side { display: flex; flex-direction: column; gap: 3px; padding: 14px 12px; background: var(--sidebar); border-right: 1px solid var(--line); }
.win-lights { display: flex; gap: 8px; margin: 0 0 22px 4px; }
.win-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.win-lights i:nth-child(2) { background: #FEBC2E; }
.win-lights i:nth-child(3) { background: #28C840; }
.win-app { margin: 0 0 14px 8px; font-size: 18px; letter-spacing: -.4px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.side-item svg { width: 16px; height: 16px; color: var(--secondary); }
.side-item.on { background: var(--tint); color: var(--accent); }
.side-item.on svg { color: var(--accent); }
.win-ver { margin-top: auto; padding: 8px; color: var(--secondary); font-size: 11.5px; }
.win-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px 28px; }
.win-title b { display: block; font: 700 30px/1.1 var(--display); letter-spacing: -1px; }
.win-title span { color: var(--secondary); font-size: 13.5px; }
.w-card { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.w-row { display: flex; align-items: center; gap: 12px; }
.w-label { color: var(--secondary); }
.w-pop { display: inline-flex; align-items: center; gap: 18px; padding: 4px 10px; border-radius: 6px; background: #2A2F36; border: 1px solid var(--line); }
.w-pop::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--secondary); border-bottom: 1.5px solid var(--secondary); transform: translateY(-2px) rotate(45deg); }
.w-btn { padding: 4px 10px; border-radius: 8px; background: #2A2F36; border: 1px solid var(--line); font-size: 12px; }
.w-sp { flex: 1; }
.w-pop, .w-toggle { white-space: nowrap; }
.w-toggle { display: inline-flex; align-items: center; gap: 8px; }
.w-toggle svg { width: 15px; height: 15px; color: var(--secondary); }
.w-toggle i, .w-switch { position: relative; flex: none; width: 32px; height: 19px; border-radius: 10px; background: #3A4048; }
.w-toggle i::after, .w-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); }
.w-toggle.on i, .w-switch.on { background: var(--accent); }
.w-toggle.on i::after, .w-switch.on::after { left: 15px; }
.w-switch { width: 28px; height: 16px; }
.w-switch::after { width: 12px; height: 12px; }
.w-switch.on::after { left: 14px; }
.w-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.w-head b { font-size: 14px; }
.w-eq .eq { display: block; width: 100%; height: auto; }
.eq text { fill: var(--secondary); font: 10px var(--font); }
.eq-grid { stroke: rgba(54, 61, 70, .6); stroke-width: 1; }
.eq-zero { stroke: rgba(168, 174, 182, .45); stroke-width: 1.2; }
.eq-spec { fill: rgba(168, 174, 182, .14); transform-box: fill-box; transform-origin: bottom; animation: spec 1.8s ease-in-out infinite alternate; }
@keyframes spec { from { transform: scaleY(.9); } to { transform: scaleY(1.04); } }
.eq-fill { fill: rgba(255, 138, 61, .13); }
.eq-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; }
.eq-pt circle { fill: var(--accent); }
.eq-pt text { fill: var(--background); font: 700 10px var(--font); }
.eq-sel circle { fill: var(--highlight); }
.eq-off circle { fill: var(--surface); stroke: rgba(168, 174, 182, .6); stroke-width: 1.2; }
.eq-off text { fill: var(--secondary); }
.w-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-sub { display: block; margin-bottom: 8px; color: var(--secondary); font-size: 12px; }
.w-param { display: grid; grid-template-columns: 74px 1fr 64px; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; }
.w-param span { color: var(--secondary); }
.w-param i { position: relative; height: 4px; border-radius: 2px; background: #3A4048; }
.w-param i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 2px; background: var(--accent); }
.w-param i::after { content: ""; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.w-param b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.presets-title { margin: 30px 0 0; font-size: 17px; }
.next-list.presets { margin-top: 10px; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .lang { margin-left: auto; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding: 44px 0 8px; }
  .hero-art { width: min(440px, 92%); margin: 0 auto; }
  .section { padding: 80px 0; }
  .chain { grid-template-columns: 1fr; gap: 28px; }
  .chain::before { left: 50%; right: auto; top: 44px; bottom: 60px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px); }
  .chain::after { display: none; }
  .chain-node { padding-bottom: 0; }
  .chain-node p { background: var(--background); padding: 4px 0; }
  .chain-node h3 { display: table; margin: 0 auto 8px; padding: 0 10px; background: var(--background); }
  .menu-grid, .two, .next-grid, .final-grid { grid-template-columns: 1fr; gap: 44px; }
  .menu-shot { order: 2; }
  .menu { margin-right: auto; margin-left: auto; }
  .next-text { padding-bottom: 0; }
  .next-art, .final-art { width: min(380px, 80%); margin: 0 auto; }
  .next-art { order: 2; }
  .sound-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .win { grid-template-columns: 1fr; max-height: 620px; }
  .win-side, .w-btn, .w-mods .w-card + .w-card { display: none; }
  .win-main { padding: 18px 16px; }
  .w-mods { grid-template-columns: 1fr; }
  .w-row { flex-wrap: wrap; }
  .eq text { display: none; }
  .final-text { padding: 72px 0 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .next-list { grid-template-columns: 1fr; }
  .top-row { height: 58px; gap: 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .actions .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves path { animation: none; opacity: .8; }
  .levels i::after, .eq-spec { animation: none; }
  .chain::after { animation: none; display: none; }
  .button { transition: none; }
}
