/* ═══════════════════════════════════════════════════════════
   SoundCloud Desktop — лендинг
   Автор разметки/стилей: сгенерировано под проект @wassupfromlondon
   Mobile-first. Тёмная тема по умолчанию, светлая — по data-theme.
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Токены ────────────────────────────────────────────── */
:root {
  /* Бренд */
  --brand:        #ff5500;
  --brand-hi:     #ff6a1a;
  --brand-lo:     #e04a00;
  --brand-soft:   rgba(255, 85, 0, .14);
  --brand-line:   rgba(255, 85, 0, .32);
  --brand-glow:   rgba(255, 85, 0, .45);

  /* Поверхности (тёмная тема) */
  --bg:           #0b0b0d;
  --bg-2:         #101012;
  --surface:      #151519;
  --surface-2:    #1b1b21;
  --surface-3:    #212128;
  --line:         rgba(255, 255, 255, .08);
  --line-2:       rgba(255, 255, 255, .13);

  /* Текст */
  --text:         #f4f4f6;
  --text-2:       #b9b9c4;
  --muted:        #8b8b98;

  /* Тени */
  --sh-1: 0 1px 2px rgba(0,0,0,.35);
  --sh-2: 0 8px 24px -8px rgba(0,0,0,.55);
  --sh-3: 0 24px 60px -18px rgba(0,0,0,.7);
  --sh-4: 0 48px 120px -32px rgba(0,0,0,.85);

  /* Геометрия */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Ритм */
  --shell: 1200px;
  --pad:   20px;
  --sec-y: 76px;

  --nav-h: 62px;

  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);
  --t-fast:    .18s var(--ease);
  --t:         .34s var(--ease);
  --t-slow:    .7s var(--ease);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="light"] {
  --bg:        #f6f6f8;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f2f2f5;
  --surface-3: #e9e9ee;
  --line:      rgba(12, 12, 18, .09);
  --line-2:    rgba(12, 12, 18, .14);

  --text:      #131317;
  --text-2:    #46464f;
  --muted:     #6a6a76;

  --brand-soft: rgba(255, 85, 0, .10);
  --brand-line: rgba(255, 85, 0, .28);
  --brand-glow: rgba(255, 85, 0, .30);

  --sh-1: 0 1px 2px rgba(16,16,26,.06);
  --sh-2: 0 8px 24px -10px rgba(16,16,26,.16);
  --sh-3: 0 24px 56px -20px rgba(16,16,26,.20);
  --sh-4: 0 44px 110px -36px rgba(16,16,26,.28);
}

/* Мокапы приложения всегда остаются тёмными — это скриншоты продукта */
.win, .mini, .float {
  --w-bg:    #0f1014;
  --w-bg-2:  #15161c;
  --w-card:  #1a1c23;
  --w-card2: #21232c;
  --w-line:  rgba(255,255,255,.07);
  --w-text:  #eceef4;
  --w-mute:  #8b8f9e;
}

/* ── 2. База ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;   /* запасной вариант для старых движков */
  overflow-x: clip;     /* не ломает position: sticky, в отличие от hidden */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  transition: background-color .45s var(--ease), color .45s var(--ease);
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.12; letter-spacing: -.022em; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
b, strong { font-weight: 620; color: var(--text); }

a { color: inherit; text-decoration: none; }
a:not([class]) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brand-line);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
a:not([class]):hover { color: var(--brand-hi); text-decoration-color: currentColor; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand); color: #fff; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t);
}
.skip-link:focus-visible { transform: translateY(0); }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.shell--narrow { max-width: 860px; }

/* ── 3. Фоновая атмосфера ─────────────────────────────────── */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb--1 {
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  top: -22vw; right: -16vw;
  background: radial-gradient(circle, rgba(255,85,0,.42), transparent 66%);
  animation: drift1 26s var(--ease-io) infinite alternate;
}
.orb--2 {
  width: 52vw; height: 52vw; max-width: 620px; max-height: 620px;
  top: 42vh; left: -20vw;
  background: radial-gradient(circle, rgba(255,120,40,.22), transparent 68%);
  animation: drift2 32s var(--ease-io) infinite alternate;
}
.orb--3 {
  width: 46vw; height: 46vw; max-width: 540px; max-height: 540px;
  bottom: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(255,85,0,.16), transparent 70%);
  animation: drift1 38s var(--ease-io) infinite alternate-reverse;
}
[data-theme="light"] .orb { opacity: .42; }

@keyframes drift1 { to { transform: translate3d(-7%, 9%, 0) scale(1.14); } }
@keyframes drift2 { to { transform: translate3d(9%, -7%, 0) scale(1.1); } }

.grid-veil {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
  opacity: .55;
}

.grain {
  position: absolute; inset: -50%;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] .grain { opacity: .05; mix-blend-mode: multiply; }

/* ── 4. Кнопки ────────────────────────────────────────────── */
.btn {
  --btn-py: 13px; --btn-px: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 12px;
  font-weight: 590; font-size: 15px; letter-spacing: -.01em; line-height: 1.2;
  white-space: nowrap;
  position: relative; isolation: isolate;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ic { width: 18px; height: 18px; }
.btn span { display: inline-flex; flex-direction: column; align-items: flex-start; }
.btn span i { font-style: normal; font-size: 11.5px; font-weight: 450; opacity: .68; letter-spacing: 0; }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-hi), var(--brand));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 6px 18px -6px var(--brand-glow);
}
.btn--primary:hover { background: linear-gradient(180deg, #ff7a30, var(--brand-hi)); box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 12px 30px -8px var(--brand-glow); transform: translateY(-1px); }

.btn--glow::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: radial-gradient(60% 120% at 50% 100%, var(--brand-glow), transparent 70%);
  filter: blur(14px); opacity: .85;
  transition: opacity var(--t);
}
.btn--glow:hover::after { opacity: 1; }

.btn--ghost {
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: var(--sh-1);
}
.btn--ghost:hover { background: var(--surface-3); border-color: var(--brand-line); transform: translateY(-1px); }

.btn--sm  { --btn-py: 9px;  --btn-px: 15px; font-size: 14px; border-radius: 10px; }
.btn--xs  { --btn-py: 7px;  --btn-px: 13px; font-size: 13px; border-radius: 9px; }
.btn--lg  { --btn-py: 15px; --btn-px: 26px; font-size: 16px; border-radius: 14px; }

.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { color: var(--text); background: var(--surface-3); border-color: var(--line-2); }

/* ── 5. Навигация ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(0,0,0,.9); }

.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.nav__progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand-lo), var(--brand), var(--brand-hi));
  box-shadow: 0 0 12px var(--brand-glow);
  transform-origin: left;
}

.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 14px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: -.02em; color: var(--text); }
.brand__mark {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--brand-soft), transparent 70%), var(--surface-2);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  box-shadow: 0 4px 14px -6px var(--brand-glow);
  transition: transform var(--t), box-shadow var(--t);
}
.brand:hover .brand__mark { transform: translateY(-1px) rotate(-6deg); box-shadow: 0 8px 22px -8px var(--brand-glow); }
.brand__mark .ic { width: 21px; height: 21px; stroke: none; }
.brand__text { font-weight: 450; color: var(--text-2); }
.brand__text b { font-weight: 660; color: var(--text); }
.brand--lg { font-size: 17px; }
.brand--lg .brand__mark { width: 38px; height: 38px; border-radius: 11px; }
.brand--lg .brand__mark .ic { width: 25px; height: 25px; }

.nav__links { display: none; position: relative; margin-inline: auto; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1;
  text-decoration: none;
  padding: 8px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 480; color: var(--muted);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); font-weight: 560; }
.nav__pill {
  position: absolute; z-index: 0; left: 0; top: 50%;
  height: 34px; width: 0; border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transform: translateY(-50%);
  opacity: 0;
  transition: transform .42s var(--ease), width .42s var(--ease), opacity .3s var(--ease);
}
.nav__pill.is-on { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__cta { display: none; }

#themeToggle .ic--moon { display: none; }
[data-theme="light"] #themeToggle .ic--sun { display: none; }
[data-theme="light"] #themeToggle .ic--moon { display: block; }

.nav__burger { flex-direction: column; gap: 5px; }
.nav__burger span {
  display: block; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor;
  transition: transform var(--t), opacity var(--t-fast);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.4px) rotate(-45deg); }

/* Мобильное меню */
@media (max-width: 899px) {
  .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    padding: 12px var(--pad) 20px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links a { padding: 13px 12px; font-size: 16px; border-radius: 11px; }
  .nav__links a.is-active { background: var(--surface-2); color: var(--brand); }
  .nav__pill { display: none; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* ── 6. Общее для секций ──────────────────────────────────── */
.sec { position: relative; z-index: 1; padding-block: var(--sec-y); }
.sec__head { max-width: 660px; margin-bottom: 40px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__title { font-size: clamp(28px, 6vw, 46px); letter-spacing: -.032em; text-wrap: balance; }
.sec__lead { margin-top: 14px; font-size: clamp(15px, 3.4vw, 17.5px); color: var(--muted); line-height: 1.65; }
.sec__lead b { color: var(--text-2); font-weight: 560; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px 6px 10px;
  border-radius: 100px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-size: 12.5px; font-weight: 570; letter-spacing: .01em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--brand-glow); }
  70%  { box-shadow: 0 0 0 7px rgba(255,85,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,85,0,0); }
}

.grad {
  background: linear-gradient(100deg, var(--brand-hi) 0%, var(--brand) 42%, color-mix(in srgb, var(--brand) 55%, var(--text)) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Анимации появления */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 0; }
.hero__inner { display: grid; gap: 44px; }

.hero__copy { min-width: 0; }

.hero__title {
  font-size: clamp(33px, 8.2vw, 60px);
  letter-spacing: -.038em; line-height: 1.05;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 20px; max-width: 30em; text-wrap: pretty;
  font-size: clamp(15.5px, 3.8vw, 18.5px); line-height: 1.62; color: var(--muted);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta .btn { flex: 1 1 200px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px;
  font-size: 13.5px; color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .ic { width: 15px; height: 15px; stroke-width: 2.4; color: var(--brand); }

/* ── 8. 3D-СЦЕНА ──────────────────────────────────────────── */
.stage {
  position: relative;
  min-width: 0;
  perspective: 1700px;
  perspective-origin: 50% 42%;
  padding: 10px 0 24px;
}

.stage__depth {
  position: relative;
  transform-style: preserve-3d;
  /* значения подставляет landing.js; статичные — приятный дефолт без JS */
  --rx: 12deg; --ry: -13deg; --rz: 1.5deg; --tz: 0px; --sc: 1;
  transform:
    rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz))
    translateZ(var(--tz)) scale(var(--sc));
  will-change: transform;
}

.stage__glow {
  position: absolute; left: 50%; top: 52%;
  width: 96%; height: 78%;
  transform: translate3d(-50%, -50%, -140px);
  background: radial-gradient(ellipse at center, var(--brand-glow), rgba(255,85,0,.10) 46%, transparent 72%);
  filter: blur(48px);
  opacity: .9;
  border-radius: 50%;
}
.stage__ring {
  position: absolute; left: 50%; top: 50%;
  width: 118%; aspect-ratio: 1; max-width: 780px;
  transform: translate3d(-50%, -50%, -90px) rotateX(72deg);
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  opacity: .45;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

/* ── 9. Мокап окна приложения ─────────────────────────────── */
.win {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--w-bg);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    var(--sh-4),
    0 2px 0 rgba(255,255,255,.06) inset;
  color: var(--w-text);
  font-size: 11px;
  user-select: none;
}
.win--hero { transform: translateZ(0); }

.win__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 22%, transparent 46%);
  mix-blend-mode: screen;
}

/* Титлбар */
.win__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #16171d, #111218);
  border-bottom: 1px solid var(--w-line);
}
.win__brand { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 11.5px; letter-spacing: -.01em; white-space: nowrap; }
.win__brand .ic { width: 17px; height: 17px; color: var(--brand); stroke: none; }
.win__search {
  flex: 1 1 auto; max-width: 46%; margin-inline: auto;
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #1c1e26;
  border: 1px solid rgba(255,255,255,.06);
  color: var(--w-mute); font-size: 10.5px;
}
.win__search .ic { width: 13px; height: 13px; }
.win__ctl { display: flex; align-items: center; gap: 12px; color: var(--w-mute); }
.win__ctl .ic { width: 14px; height: 14px; }
.win__ctl .ic--x:hover { color: #ff5a5a; }

.win__body { display: flex; min-height: 0; }

/* Левый рейл */
.rail {
  flex: none; width: 46px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 0;
  background: #0d0e12;
  border-right: 1px solid var(--w-line);
}
.rail__i {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; color: var(--w-mute);
  transition: background var(--t-fast), color var(--t-fast);
}
.rail__i .ic { width: 16px; height: 16px; }
.rail__i.is-active { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-line); }
.rail__ava {
  margin-top: auto; width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 200deg, #ff8a3d, #ff5500, #b23a00, #ff8a3d);
  box-shadow: 0 0 0 2px rgba(255,255,255,.10);
}
.rail--sm { width: 38px; }
.rail--sm .rail__i { width: 26px; height: 26px; }
.rail--sm .rail__i .ic { width: 14px; height: 14px; }

/* Контент */
.pane { flex: 1 1 auto; min-width: 0; padding: 14px 14px 16px; background: var(--w-bg); position: relative; }
.pane__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pane__title { font-size: 17px; font-weight: 660; letter-spacing: -.028em; }
.pane__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.pane__subt { font-size: 11.5px; font-weight: 600; }
.pane__note { margin-top: 5px; font-size: 10.5px; color: var(--w-mute); }
.pane__btns { display: flex; gap: 7px; margin-top: 11px; }
.pane__stats { margin-top: 10px; font-size: 9.5px; color: var(--w-mute); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 7px;
  background: var(--w-card2); border: 1px solid rgba(255,255,255,.06);
  font-size: 10px; font-weight: 550; color: var(--w-text); white-space: nowrap;
}
.chip .ic { width: 12px; height: 12px; }
.chip--brand { background: linear-gradient(180deg, var(--brand-hi), var(--brand)); border-color: transparent; color: #fff; box-shadow: 0 4px 12px -5px var(--brand-glow); }
.chip--icon { padding: 5px; }

/* Сетка карточек треков */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 11px; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { margin: 0; padding: 7px; border-radius: 9px; background: var(--w-card); border: 1px solid rgba(255,255,255,.05); }
.tile figcaption { display: block; margin-top: 7px; }
.tile b { display: block; font-size: 9.5px; font-weight: 600; line-height: 1.3; color: var(--w-text);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile i { display: block; margin-top: 3px; font-style: normal; font-size: 8.5px; color: var(--w-mute); }

/* Обложки-градиенты (абстрактный «арт») */
.art { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; position: relative; overflow: hidden; }
.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,255,255,.16), transparent 46%); }
.art--a { background: linear-gradient(150deg, #ff8a3d, #ff5500 45%, #6b1f00); }
.art--b { background: linear-gradient(150deg, #4a6cf7, #1b2a6b 60%, #0d1230); }
.art--c { background: linear-gradient(150deg, #ff6a9e, #b3245c 55%, #3d0c22); }
.art--d { background: linear-gradient(150deg, #2fd27a, #0f6b3d 58%, #06301b); }
.art--e { background: linear-gradient(150deg, #8e7bff, #4527a0 55%, #1a0f3d); }
.art--f { background: linear-gradient(150deg, #ffd24a, #d18b00 55%, #4a2f00); }
.art--g { background: linear-gradient(150deg, #57e3e3, #0f7a8a 58%, #04303a); }
.art--h { background: linear-gradient(150deg, #b0b6c4, #4d5464 55%, #1c1f27); }
.art--i { background: linear-gradient(150deg, #ff7a45, #a32b00 55%, #2e0d00); }
.art--j { background: linear-gradient(150deg, #6ea8ff, #2b4f9e 55%, #101a33); }
.art--k { background: linear-gradient(150deg, #e0e6f5, #8c93a8 52%, #3a3f4d); }
.art--l { background: linear-gradient(150deg, #ff4d6d, #7a1030 55%, #2a0512); }
.art--sm { width: 30px; height: 30px; aspect-ratio: auto; border-radius: 6px; flex: none; }
.art--xs { width: 22px; height: 22px; aspect-ratio: auto; border-radius: 4px; flex: none; }

/* Нижний плеер */
.player {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  background: linear-gradient(180deg, #121319, #0c0d11);
  border-top: 1px solid var(--w-line);
}
.player__now { display: flex; align-items: center; gap: 9px; width: 24%; min-width: 0; }
.player__txt { min-width: 0; }
.player__txt b { display: block; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__txt i { display: block; font-style: normal; font-size: 9.5px; color: var(--w-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__like { color: var(--brand); }
.player__like .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.player__mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.player__keys { display: flex; align-items: center; gap: 12px; color: var(--w-text); }
.player__keys .ic { width: 14px; height: 14px; }
.player__play {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--brand-hi), var(--brand)); color: #fff;
  box-shadow: 0 4px 14px -4px var(--brand-glow);
}
.player__play .ic { width: 13px; height: 13px; }
.player__bar { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 8.5px; color: var(--w-mute); }
.player__bar i { font-style: normal; flex: none; }
.player__right { display: flex; align-items: center; gap: 10px; width: 24%; justify-content: flex-end; color: var(--w-mute); }
.player__right .ic { width: 14px; height: 14px; }
.player__right .ic--on { color: var(--brand); }
.player--sm .player__now { width: 30%; }
.player--sm .player__right { width: 20%; }

.track { position: relative; flex: 1 1 auto; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.track b { position: absolute; inset: 0 auto 0 0; width: var(--p, 40%); border-radius: 3px; background: linear-gradient(90deg, var(--brand-lo), var(--brand-hi)); }
.track--dots { height: 4px; background: rgba(255,255,255,.10); }
.vol { position: relative; width: 42px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); }
.vol b { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 3px; background: var(--brand); }

/* Эквалайзер внутри мокапа */
.eqchart {
  position: relative; margin-top: 12px; padding: 14px 12px 22px 34px;
  border-radius: 10px; background: var(--w-card); border: 1px solid rgba(255,255,255,.05);
}
.eqchart svg { width: 100%; height: 96px; display: block; overflow: visible; }
.eqchart__grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.eqchart__fill { fill: url(#none); fill: rgba(255,85,0,.14); stroke: none; }
.eqchart__line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--brand-glow)); }
.eqchart__dots circle { fill: #14151b; stroke: var(--brand); stroke-width: 2; }
.eqchart__y { position: absolute; left: 8px; font-size: 8px; color: var(--w-mute); }
.eqchart__y--t { top: 12px; }
.eqchart__y--m { top: 50%; transform: translateY(-50%); }
.eqchart__y--b { bottom: 26px; }
.eqchart__x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 8px; color: var(--w-mute); }

.eqblock { margin-top: 9px; padding: 10px 12px; border-radius: 10px; background: var(--w-card); border: 1px solid rgba(255,255,255,.05); }
.eqblock__t { font-size: 10px; font-weight: 620; margin-bottom: 8px; }
.eqblock__row, .eqblock--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eqblock--row b, .eqblock__row b { font-size: 10.5px; font-weight: 620; }
.eqslider { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 9px; color: var(--w-mute); }
.eqslider > span:first-child { width: 68px; flex: none; }
.eqslider i { font-style: normal; width: 40px; text-align: right; flex: none; }

.toggle { width: 28px; height: 16px; border-radius: 100px; background: rgba(255,255,255,.14); position: relative; flex: none; transition: background var(--t-fast); }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform var(--t); }
.toggle.is-on { background: var(--brand); }
.toggle.is-on::after { transform: translateX(12px); }

/* Чипы-пресеты */
.chips { display: flex; gap: 5px; margin-top: 10px; flex-wrap: nowrap; overflow: hidden; }
.chips--wrap { flex-wrap: wrap; }
.chips span {
  padding: 4px 8px; border-radius: 6px; font-size: 9px; font-weight: 550;
  background: var(--w-card2); border: 1px solid rgba(255,255,255,.06); color: var(--w-mute); white-space: nowrap;
}
.chips .is-on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); }

/* Темы */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.theme { display: block; text-align: center; }
.theme i { display: block; height: 46px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); font-style: normal; display: grid; place-items: center; font-size: 15px; color: var(--w-mute); }
.theme em { display: block; margin-top: 5px; font-style: normal; font-size: 8.5px; color: var(--w-mute); }
.theme--dark i     { background: linear-gradient(150deg, #23252d, #0e0f13); }
.theme--light i    { background: linear-gradient(150deg, #ffffff, #d9dae0); }
.theme--midnight i { background: linear-gradient(150deg, #1b2a5e, #060a1c); }
.theme--orange i   { background: linear-gradient(150deg, #ff7a30, #7a2600); }
.theme--custom i   { background: repeating-linear-gradient(45deg, #1a1c23 0 6px, #22242d 6px 12px); }
.theme.is-on i     { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft), 0 6px 16px -6px var(--brand-glow); }
.theme.is-on em    { color: var(--brand); font-weight: 620; }

.dots { display: flex; gap: 7px; }
.dots span { width: 17px; height: 17px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255,255,255,.14); }
.dots .is-on { box-shadow: 0 0 0 2px var(--w-card), 0 0 0 3.5px var(--c); }

/* Списки треков */
.rows { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.rows li { display: flex; align-items: center; gap: 9px; padding: 5px 7px; border-radius: 7px; }
.rows li:nth-child(odd) { background: rgba(255,255,255,.025); }
.rows i { font-style: normal; width: 12px; flex: none; font-size: 9px; color: var(--w-mute); text-align: center; }
.rows__t { min-width: 0; flex: 1 1 auto; }
.rows__t b { display: block; font-size: 10px; font-weight: 580; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows__t em { display: block; font-style: normal; font-size: 8.5px; color: var(--w-mute); }
.rows u { text-decoration: none; font-size: 8.5px; color: var(--w-mute); flex: none; }

/* Поповеры */
.popover {
  position: absolute; left: 14px; bottom: 14px; width: 190px; z-index: 3;
  padding: 11px; border-radius: 11px;
  background: rgba(22,24,31,.97);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--sh-3);
  backdrop-filter: blur(10px);
}
.popover--ai { left: auto; right: 12px; top: 44px; bottom: auto; width: 200px; }
.popover__user { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--w-line); }
.popover__user b { display: block; font-size: 10px; font-weight: 620; }
.popover__user i { display: block; font-style: normal; font-size: 8.5px; color: var(--brand); }
.popover__menu { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--w-line); }
.popover__menu span { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 6px; font-size: 10px; color: var(--w-text); }
.popover__menu .ic { width: 13px; height: 13px; color: var(--w-mute); }
.popover__menu .is-on { background: var(--brand-soft); color: var(--brand); }
.popover__menu .is-on .ic { color: var(--brand); }
.popover__lang { display: flex; align-items: center; gap: 5px; padding-top: 9px; flex-wrap: wrap; }
.popover__lang em { width: 100%; font-style: normal; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; color: var(--w-mute); margin-bottom: 4px; }
.popover__lang span { padding: 4px 9px; border-radius: 6px; font-size: 9.5px; background: var(--w-card2); border: 1px solid rgba(255,255,255,.06); color: var(--w-mute); }
.popover__lang .is-on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); font-weight: 600; }
.popover__head { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 620; margin-bottom: 9px; }
.popover__head .ic { width: 12px; height: 12px; color: var(--w-mute); }
.popover__lbl { display: block; font-style: normal; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; color: var(--w-mute); margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 4px; border-radius: 8px; font-size: 9.5px; background: var(--w-card2); border: 1px solid rgba(255,255,255,.06); color: var(--w-mute); }
.seg .ic { width: 12px; height: 12px; }
.seg .is-on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); font-weight: 600; }
.popover__row { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 9px; padding: 9px; border-radius: 8px; background: var(--w-card2); }
.popover__row b { display: block; font-size: 9.5px; font-weight: 620; }
.popover__row i { display: block; font-style: normal; font-size: 8px; color: var(--w-mute); line-height: 1.35; }
.popover__row--col { flex-direction: column; align-items: stretch; gap: 8px; }
.popover__mrow { display: flex; align-items: center; justify-content: space-between; }
.popover__mrow em { font-style: normal; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; color: var(--w-mute); }
.popover__mrow b { font-size: 9.5px; color: var(--brand); }

/* ── 10. Парящие 3D-карточки ──────────────────────────────── */
.float {
  position: absolute;
  border-radius: var(--r);
  background: rgba(20, 21, 27, .92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--sh-3), 0 1px 0 rgba(255,255,255,.08) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--w-text);
  padding: 12px;
  will-change: transform;
}

.float--eq {
  width: 200px;
  left: -4%; bottom: -6%;
  transform: translate3d(0, 0, 90px);
}
.float__head { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 620; }
.float__head .ic { width: 14px; height: 14px; color: var(--brand); }
.float__head i { margin-left: auto; font-style: normal; font-size: 9px; color: var(--brand); background: var(--brand-soft); padding: 2px 7px; border-radius: 5px; }
.float__foot { display: flex; justify-content: space-between; margin-top: 7px; font-size: 8px; color: var(--w-mute); }

.eqmini { display: flex; align-items: flex-end; gap: 4px; height: 52px; margin-top: 10px; }
.eqmini__b {
  flex: 1; border-radius: 3px 3px 1px 1px;
  height: var(--h);
  background: linear-gradient(180deg, var(--brand-hi), rgba(255,85,0,.28));
  box-shadow: 0 0 8px -2px var(--brand-glow);
}

.float--mini {
  width: 232px; padding: 10px;
  right: -5%; top: 10%;
  transform: translate3d(0, 0, 130px);
}
.float__tag {
  position: absolute; top: -9px; right: 12px;
  padding: 2px 8px; border-radius: 5px;
  background: var(--brand); color: #fff;
  font-size: 8.5px; font-weight: 650; letter-spacing: .02em;
  box-shadow: 0 4px 12px -4px var(--brand-glow);
}
.mini { display: flex; align-items: center; gap: 9px; }
.mini__txt { min-width: 0; flex: 1 1 auto; }
.mini__txt b { display: block; font-size: 10px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__txt i { display: block; font-style: normal; font-size: 8.5px; color: var(--w-mute); }
.mini__keys { display: flex; align-items: center; gap: 8px; color: var(--w-text); }
.mini__keys .ic { width: 13px; height: 13px; }
.mini__keys .ic--brand { color: var(--brand); width: 15px; height: 15px; }
.mini__bar { display: block; margin-top: 8px; height: 2.5px; border-radius: 3px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.mini__bar b { position: absolute; inset: 0 auto 0 0; width: 44%; background: var(--brand); border-radius: 3px; }

.float--badge {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  left: 8%; top: -5%;
  transform: translate3d(0, 0, 60px);
}
.float--badge .ic { width: 18px; height: 18px; color: var(--brand); }
.float--badge b { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: -.01em; }
.float--badge i { display: block; font-style: normal; font-size: 8.5px; color: var(--w-mute); }

/* На узких экранах парящие карточки мешают — прячем часть */
@media (max-width: 767px) {
  .float--badge { display: none; }
  .float--eq { width: 150px; left: -3%; bottom: -8%; }
  .float--mini { width: 176px; right: -3%; top: 6%; }
  .stage__ring { display: none; }
}

/* ── 11. Бегущая строка ───────────────────────────────────── */
.ticker {
  position: relative; z-index: 1;
  margin-top: 54px;
  padding-block: 15px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker__set { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.ticker__set span { font-size: 13px; font-weight: 520; color: var(--muted); white-space: nowrap; letter-spacing: .01em; }
.ticker__set em { font-style: normal; color: var(--brand); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker__row { animation-play-state: paused; }

/* ── 12. Карточки возможностей ────────────────────────────── */
.cards { display: grid; gap: 14px; }

.card {
  position: relative; isolation: isolate;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .16s var(--ease), border-color var(--t), box-shadow var(--t);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), var(--brand-soft), transparent 68%);
  opacity: 0; transition: opacity var(--t);
}
.card:hover { border-color: var(--brand-line); box-shadow: var(--sh-3); }
.card:hover::before { opacity: 1; }

.card__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--brand-soft), transparent), var(--surface-2);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  box-shadow: 0 6px 18px -10px var(--brand-glow);
  transition: transform .5s var(--ease);
}
.card:hover .card__ic { transform: translateZ(26px) scale(1.06) rotate(-4deg); }
.card__ic .ic { width: 22px; height: 22px; }

.card h3 { font-size: 19px; letter-spacing: -.026em; }
.card p { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.card p b { color: var(--text-2); font-weight: 570; }
.card--flat { padding: 20px; }
.card--flat h3 { font-size: 17px; }

/* Визуализатор */
.viz { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 20px; }
.viz span {
  flex: 1; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--brand-hi), rgba(255,85,0,.18));
  height: 18%;
  transform-origin: bottom;
  animation: bounce 1.35s var(--ease-io) infinite alternate;
  animation-delay: var(--d);
}
/* Потолок у каждой полосы свой — иначе спектр выглядит сплошным блоком */
.viz span:nth-child(6n+1) { --mh: 58%; }
.viz span:nth-child(6n+2) { --mh: 92%; }
.viz span:nth-child(6n+3) { --mh: 72%; }
.viz span:nth-child(6n+4) { --mh: 100%; }
.viz span:nth-child(6n+5) { --mh: 46%; }
.viz span:nth-child(6n)   { --mh: 80%; }
@keyframes bounce { to { height: var(--mh, 100%); } }

.swatches { display: flex; gap: 8px; margin-top: 18px; }
.sw {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 15px; color: var(--muted); font-weight: 400;
}
.sw--dark     { background: linear-gradient(150deg, #24262e, #0d0e12); }
.sw--light    { background: linear-gradient(150deg, #ffffff, #d6d7dd); }
.sw--midnight { background: linear-gradient(150deg, #1c2c62, #06091b); }
.sw--orange   { background: linear-gradient(150deg, #ff7a30, #7a2600); }
.sw--custom   { background: repeating-linear-gradient(45deg, var(--surface-2) 0 6px, var(--surface-3) 6px 12px); }
.sw.is-on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }

.card .chips { margin-top: 18px; flex-wrap: wrap; }
.card .chips span {
  background: var(--surface-2); border-color: var(--line);
  color: var(--muted); font-size: 12px; padding: 5px 11px; border-radius: 8px;
}
.card .chips .is-on { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); }

@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card--wide {
    grid-column: span 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "ic viz" "hd viz" "tx viz";
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: 0 44px;
    padding: 30px;
  }
  .card--wide .card__ic { grid-area: ic; }
  .card--wide h3       { grid-area: hd; font-size: 22px; }
  .card--wide p        { grid-area: tx; max-width: 42ch; }
  .card--wide .viz     { grid-area: viz; align-self: center; height: 100%; min-height: 132px; margin-top: 0; }
  /* Ряды: 6 / 2+2+2 / 3+3 / 3+3 — без пустых ячеек */
  .cards > .card:nth-of-type(5),
  .cards > .card:nth-of-type(6) { grid-column: span 3; }
  .card--flat { grid-column: span 3; }
}

/* Секция «Как это работает» — лёгкая подложка, чтобы разбить ритм полос */
.sec--how {
  background:
    radial-gradient(90% 60% at 50% 0%, var(--brand-soft), transparent 60%),
    color-mix(in srgb, var(--surface) 42%, transparent);
  border-block: 1px solid var(--line);
}

/* ── 13. Шаги ─────────────────────────────────────────────── */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-3px); border-color: var(--brand-line); }
.step__n {
  position: absolute; top: 14px; right: 20px;
  font-size: 54px; font-weight: 720; letter-spacing: -.05em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-2);
  opacity: .9;
}
.step__ic {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--brand-soft), transparent), var(--surface-2);
  border: 1px solid var(--brand-line);
  color: var(--brand);
}
.step__ic .ic { width: 22px; height: 22px; }
.step h3 { font-size: 19px; letter-spacing: -.026em; }
.step p { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps::before {
    content: ""; grid-column: 1 / -1; height: 0;
  }
}

/* ── 14. Галерея скриншотов ───────────────────────────────── */
.gallery {
  display: grid; gap: 26px;
  width: 100%; max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  perspective: 1900px;
}

.shot { margin: 0; display: grid; grid-template-rows: 1fr auto; }
.shot__frame {
  position: relative;
  display: flex;
  border-radius: var(--r-lg);
  padding: 10px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  transform-style: preserve-3d;
  --sry: 0deg; --srx: 0deg;
  transform: rotateY(var(--sry)) rotateX(var(--srx));
  transition: box-shadow var(--t), border-color var(--t);
  will-change: transform;
}
.shot:hover .shot__frame { border-color: var(--brand-line); box-shadow: var(--sh-4); }
.win--sm .rail__ava { width: 22px; height: 22px; }
.shot__frame .win { font-size: 10px; flex: 1 1 auto; display: flex; flex-direction: column; }
.shot__frame .win__body { flex: 1 1 auto; }

.shot__overlay {
  position: absolute; right: 22px; bottom: 74px; width: 216px; z-index: 4;
  padding: 10px;
  border-radius: 12px;
  background: rgba(20,21,27,.96);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--sh-3);
  transform: translateZ(60px);
  color: var(--w-text);
}

.shot figcaption { margin-top: 16px; padding-inline: 4px; }
.shot figcaption h3 { font-size: 16.5px; font-weight: 620; letter-spacing: -.02em; }
.shot figcaption span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.55; color: var(--muted); }

@media (max-width: 560px) {
  .shot__overlay { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles--4 { grid-template-columns: repeat(3, 1fr); }
  .win__search { display: none; }
  .win__brand span { font-size: 10px; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 34px 28px; }
}

/* ── 15. Блок скачивания ──────────────────────────────────── */
.download { position: relative; z-index: 1; padding-block: 20px var(--sec-y); }
.download__inner {
  position: relative; overflow: hidden;
  max-width: var(--shell); margin-inline: auto;
  padding: 40px 26px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 50% -20%, var(--brand-soft), transparent 62%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--brand-line);
  box-shadow: var(--sh-3);
  text-align: center;
}
.download__inner::after {
  content: ""; position: absolute; left: 50%; bottom: -70%; width: 90%; aspect-ratio: 2/1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--brand-glow), transparent 66%);
  filter: blur(50px); opacity: .55; pointer-events: none;
}
.download__copy h2 { font-size: clamp(24px, 5.6vw, 38px); letter-spacing: -.032em; }
.download__copy p { margin-top: 12px; font-size: clamp(14.5px, 3.4vw, 17px); color: var(--muted); max-width: 46ch; margin-inline: auto; }
.download__btns { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.download__note { position: relative; z-index: 1; margin-top: 22px; font-size: 13px; color: var(--muted); }

/* Кнопка без готовой сборки: остаётся на месте, но не притворяется ссылкой */
.btn.is-pending { opacity: .58; cursor: not-allowed; box-shadow: none; }
.btn.is-pending:hover { transform: none; }

@media (min-width: 700px) { .download__inner { padding: 56px 40px; } }

/* ── 16. Соглашение ───────────────────────────────────────── */
.sec--terms { scroll-margin-top: calc(var(--nav-h) + 20px); }

.terms-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.terms-bar__date { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.terms-bar__date .ic { width: 16px; height: 16px; color: var(--brand); }

.terms { display: flex; flex-direction: column; gap: 10px; }

.term {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.term[open] { border-color: var(--brand-line); box-shadow: var(--sh-2); }
.term summary {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600; font-size: 16px; letter-spacing: -.015em;
  transition: background var(--t-fast);
}
.term summary::-webkit-details-marker { display: none; }
.term summary:hover { background: var(--surface-2); }
.term__n {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 8px; font-size: 12.5px; font-weight: 650;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand);
}
.term__h { flex: 1 1 auto; }
.term__chev { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t); }
.term[open] .term__chev { transform: rotate(180deg); color: var(--brand); }

.term__body { padding: 0 18px 18px 58px; }
.term__body p { font-size: 14.8px; line-height: 1.68; color: var(--muted); }
.term__body p + p { margin-top: 11px; }
.term__body b { color: var(--text-2); font-weight: 600; }

@media (max-width: 520px) {
  .term summary { padding: 15px 15px; gap: 11px; font-size: 15px; }
  .term__body { padding: 0 15px 16px 15px; }
}

.terms-foot {
  margin-top: 22px; padding: 18px 20px;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  font-size: 13.5px; color: var(--muted);
  display: grid; gap: 7px;
}
.terms-foot b { color: var(--text-2); }
.terms-foot__hint { opacity: .8; }

/* ── 17. FAQ ──────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.qa {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.qa.is-open { border-color: var(--brand-line); box-shadow: var(--sh-2); }
.qa h3 { margin: 0; font-weight: inherit; }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; text-align: left;
  font-size: 16.5px; font-weight: 590; letter-spacing: -.018em; color: var(--text);
  transition: background var(--t-fast), color var(--t-fast);
}
.qa__q:hover { background: var(--surface-2); }
.qa.is-open .qa__q { color: var(--brand); }
.qa__chev { width: 19px; height: 19px; flex: none; color: var(--muted); transition: transform var(--t), color var(--t); }
.qa.is-open .qa__chev { transform: rotate(180deg); color: var(--brand); }

.qa__a { padding: 0 20px 18px; }
.qa__a p { font-size: 14.8px; line-height: 1.68; color: var(--muted); }
.qa__a p + p { margin-top: 10px; }
.qa__a[hidden] { display: none; }
.qa__a.is-animating { overflow: hidden; }

@media (max-width: 520px) {
  .qa__q { padding: 16px; font-size: 15.5px; }
  .qa__a { padding: 0 16px 16px; }
}

/* ── 18. Футер ────────────────────────────────────────────── */
.foot {
  position: relative; z-index: 1;
  margin-top: 20px;
  padding-block: 52px 26px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
}
.foot__top { display: grid; gap: 36px; }
.foot__brand p { margin-top: 14px; font-size: 14px; line-height: 1.62; color: var(--muted); max-width: 40ch; }
.foot__author { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 540; color: var(--text-2);
}
.pill .ic { width: 14px; height: 14px; }

.foot__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
.foot__nav h4 { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.foot__nav a { display: block; text-decoration: none; padding: 4px 0; font-size: 14px; color: var(--muted); transition: color var(--t-fast), transform var(--t-fast); }
.foot__nav a:hover { color: var(--brand); transform: translateX(2px); }

.foot__disclaimer {
  display: flex; gap: 12px;
  margin-top: 40px; padding: 18px 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.8px; line-height: 1.62; color: var(--muted);
}
.foot__disclaimer .ic { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 1px; }
.foot__disclaimer b { color: var(--text-2); }

.foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.8px; color: var(--muted);
}

@media (min-width: 760px) {
  .foot__top { grid-template-columns: 1.15fr 1.5fr; gap: 48px; }
  .foot__nav { grid-template-columns: repeat(3, 1fr); }
}

/* ── 19. Адаптив: крупные экраны ──────────────────────────── */
@media (min-width: 768px) {
  :root { --pad: 32px; --sec-y: 100px; }
}
@media (min-width: 1024px) {
  :root { --sec-y: 124px; --nav-h: 68px; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 48px; }
  .sec__head { margin-bottom: 52px; }
}
@media (min-width: 1280px) {
  :root { --shell: 1240px; }
  .hero__inner { gap: 60px; }
  .stage { margin-right: -40px; }
}

/* ── 20. Уважение к prefers-reduced-motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .stage__depth { transform: none !important; }
  .float { position: static; width: auto !important; margin-top: 12px; transform: none !important; }
  .float--badge { display: flex; }
  .shot__frame { transform: none !important; }
  .ticker__row { animation: none; }
  .viz span, .eqmini__b { animation: none; }
}

[data-motion="reduced"] .stage__depth { transform: none !important; }
[data-motion="reduced"] .reveal { opacity: 1; transform: none; }

/* ── 21. Печать ───────────────────────────────────────────── */
@media print {
  .nav, .atmosphere, .stage, .ticker, .gallery, .download__btns { display: none !important; }
  body { background: #fff; color: #000; }
  .term__body { display: block !important; }
}
