/* Твой фон: стили сайта. Один файл, без сборщиков. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-tf.woff2") format("woff2-variations"), url("../fonts/unbounded-tf.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-tf.woff2") format("woff2-variations"), url("../fonts/manrope-tf.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #0e0c11;
  --bg-2: #131017;
  --surface: #18141d;
  --surface-2: #211b28;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f0ea;
  --text-2: #d3cad9;
  --muted: #a39aad;
  --amber: #ffb25c;
  --coral: #ff5e7a;
  --violet: #8f6bff;
  --grad: linear-gradient(135deg, var(--amber), var(--coral));
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 450 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.04; }
h2 { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.1; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 94, 122, 0.35); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.linklike:hover { text-decoration-color: currentColor; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #1a0f12; box-shadow: 0 8px 28px -10px rgba(255, 94, 122, 0.65); }
.btn--primary:hover { box-shadow: 0 12px 34px -10px rgba(255, 94, 122, 0.85); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
/* Узкий телефон: надпись на большой кнопке переносится, а не распирает страницу */
@media (max-width: 420px) { .btn--lg { padding-left: 18px; padding-right: 18px; white-space: normal; text-align: center; } }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(14, 12, 17, 0.72); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease, background-color 0.2s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); background: rgba(14, 12, 17, 0.88); }
.top__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 34px; width: auto; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.top__nav a:hover { color: var(--text); }
.top__cta, .top__login { flex: none; }
.logo + .top__login, .logo + .top__cta { margin-left: auto; }
.top__login + .top__cta { margin-left: -16px; } /* зазор шапки 28 px, у пары кнопок 12 */
@media (max-width: 900px) {
  .top__nav { display: none; }
  .top__login { margin-left: auto; }
}
@media (max-width: 420px) {
  .logo img { height: 28px; }
  .top__in { gap: 12px; }
  .top__cta { padding: 8px 14px; font-size: 13px; }
  .top__login { padding: 8px 12px; font-size: 13px; }
  .top__login + .top__cta { margin-left: -4px; }
}

/* Свечение фона */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; z-index: 0; }
.glow--a { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 94, 122, 0.55), transparent 65%); }
.glow--b { width: 560px; height: 560px; left: -220px; top: 220px; background: radial-gradient(circle, rgba(143, 107, 255, 0.45), transparent 65%); }
.glow--c { width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 178, 92, 0.32), transparent 65%); }

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(34px, 4.3vw, 55px); } /* 4 строки на 1280, кнопка в первом экране */
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 34em; }
.hero__price { margin: 26px 0 0; font-size: 18px; color: var(--text-2); }
.hero__price b { font-family: var(--f-display); font-size: 26px; color: var(--text); letter-spacing: -0.02em; }
.hero__price .sep { color: var(--muted); margin: 0 10px; }
.nowrap { white-space: nowrap; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero__proof { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(255, 178, 92, 0.35); }
.hero__proof:hover { color: var(--text); border-bottom-color: var(--text); }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; width: 100%; justify-self: center; }
}
@media (max-width: 520px) {
  .hero__btns .btn { width: 100%; }
  .hero__price .sep { display: none; }
  .hero__price .nowrap { display: block; }
  .hero__price .nowrap + .nowrap { margin-top: 2px; }
}

/* Макет плеера */
.deck {
  position: relative; padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(41, 33, 50, 0.92), rgba(22, 18, 27, 0.94));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.deck::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 178, 92, 0.5), transparent 40%, transparent 60%, rgba(255, 94, 122, 0.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.deck__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 94, 122, 0.6); animation: pulse 2s infinite; }
.deck__now { display: flex; gap: 16px; align-items: center; margin: 22px 0 18px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.deck__label { margin: 0 0 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.deck__title { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.deck__meta { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.deck__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.chip--on { color: #1a0f12; background: var(--grad); border-color: transparent; }
.deck__modes { display: flex; margin-top: 12px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.seg { flex: 1; text-align: center; padding: 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg--on { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.deck__actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.deck__play {
  width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #1a0f12; box-shadow: 0 10px 30px -8px rgba(255, 94, 122, 0.7); text-decoration: none;
}
.deck__play .ico { width: 24px; height: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line-2); }
.pill .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck__log { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; }
.deck__log p { display: flex; gap: 10px; margin: 6px 0 0; color: var(--text-2); }
.deck__log time { color: var(--muted); font-variant-numeric: tabular-nums; }
.deck__log span { margin-left: auto; color: var(--muted); }

/* Эквалайзер */
.eq { display: flex; align-items: flex-end; gap: 4px; height: 40px; flex: none; }
.eq i { display: block; width: 5px; height: 100%; border-radius: 3px; background: var(--grad); transform-origin: bottom; animation: eq 1.2s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -0.2s; }
.eq i:nth-child(2) { animation-delay: -0.7s; }
.eq i:nth-child(3) { animation-delay: -0.4s; }
.eq i:nth-child(4) { animation-delay: -1s; }
.eq i:nth-child(5) { animation-delay: -0.1s; }
.eq i:nth-child(6) { animation-delay: -0.6s; }
.eq i:nth-child(7) { animation-delay: -0.9s; }
.eq--big { height: 72px; gap: 6px; }
.eq--big i { width: 9px; }
.is-paused .eq i, .eq.is-paused i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 94, 122, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(255, 94, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 94, 122, 0); } }

/* Полоса фактов */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--f-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .fact { padding: 20px 14px; }
  .fact b { font-size: 20px; }
}

/* Секции */
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 + p { margin-top: 18px; color: var(--text-2); font-size: 18px; }

/* Подборка треков */
.music { background: radial-gradient(1200px 500px at 85% 0%, rgba(143, 107, 255, 0.08), transparent 60%); }
.tracks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.track {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s ease, background-color 0.2s ease;
}
.track:hover { border-color: var(--line-2); }
.track.is-playing { border-color: rgba(255, 178, 92, 0.45); background: linear-gradient(160deg, rgba(255, 178, 92, 0.08), rgba(255, 94, 122, 0.05)), var(--surface); }
.track__play {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #1a0f12; box-shadow: 0 8px 24px -10px rgba(255, 94, 122, 0.7); transition: transform 0.15s ease;
}
.track__play:hover { transform: scale(1.05); }
.track__play:disabled { cursor: default; background: rgba(255, 255, 255, 0.08); color: var(--muted); box-shadow: none; transform: none; }
.ico--pause { display: none; }
.is-playing .ico--play, .is-playing > .ico--play { display: none; }
.is-playing .ico--pause { display: block; }
.track__body { flex: 1; min-width: 0; }
.track__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.track__title { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.track__time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; flex: none; }
.track__meta { margin: 4px 0 6px; font-size: 13px; color: var(--amber); font-weight: 600; }
.track__about { margin: 0 0 12px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.track__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; cursor: pointer; }
.track__bar span { display: block; height: 100%; width: 0; background: var(--grad); }
.track--soon .track__meta { color: var(--muted); }
@media (max-width: 760px) { .tracks { grid-template-columns: minmax(0, 1fr); } }

.soon { display: flex; gap: clamp(20px, 4vw, 40px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.soon h3 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 10px; }
.soon p { color: var(--text-2); margin-bottom: 18px; }
@media (max-width: 600px) { .soon { flex-direction: column; align-items: flex-start; } }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; font-family: var(--f-display); font-weight: 700; color: #1a0f12; background: var(--grad); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; }
.need { margin-top: 18px; padding: 16px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Карточки возможностей */
.player { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.card__ico { width: 36px; height: 36px; margin-bottom: 18px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Журнал */
.journal__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.journal__text h2 { margin-bottom: 20px; }
.journal__text p { color: var(--text-2); }
.sheet { margin: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.sheet figcaption { padding: 12px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-weight: 600; }
.sheet__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 11px 18px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.sheet th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet .is-ad td { color: var(--amber); }
@media (max-width: 900px) { .journal__in { grid-template-columns: minmax(0, 1fr); } }

/* Претензии */
.claims { background: radial-gradient(900px 420px at 10% 10%, rgba(255, 94, 122, 0.07), transparent 60%); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.case p { color: var(--text-2); font-size: 16px; }
.case__who { color: var(--text) !important; font-weight: 700; font-size: 15px !important; text-transform: uppercase; letter-spacing: 0.05em; }
.case__sum { margin-top: auto !important; padding-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 21px !important; color: var(--text) !important; line-height: 1.25; }
.case__ref { margin-top: 10px; font-size: 13px; color: var(--muted); }
.case__ref, .case__ref a { text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.case__ref:hover, .case__ref a:hover { color: var(--text-2); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.duo__item { padding: 24px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.duo__item h3 { margin-bottom: 10px; }
.duo__item p { color: var(--text-2); font-size: 16px; }
.duo__item--warn { border-color: rgba(255, 178, 92, 0.3); }
@media (max-width: 900px) { .cases { grid-template-columns: minmax(0, 1fr); } .duo { grid-template-columns: minmax(0, 1fr); } }

/* Цена */
.price { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.price__text h2 { margin-bottom: 18px; }
.price__text p { color: var(--text-2); font-size: 18px; max-width: 30em; }
.plan { position: relative; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(165deg, #2a2131, #18141d 60%); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(255, 94, 122, 0.35); }
.plan__sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.plan__sum b { font-family: var(--f-display); font-size: 56px; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__sum span { color: var(--text-2); }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.plan__list li { position: relative; padding-left: 30px; color: var(--text-2); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan__terms { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .price__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .plan { padding: 26px 18px; } }

/* Кто делает */
.about__in { display: flex; gap: clamp(20px, 4vw, 40px); align-items: flex-start; max-width: 900px; }
.about__mark { width: 72px; height: 72px; flex: none; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.about h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.about p { color: var(--text-2); font-size: 18px; margin-bottom: 20px; }
@media (max-width: 600px) { .about__in { flex-direction: column; } }

/* Вопросы */
.faq { padding-top: clamp(32px, 5vw, 64px); }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--text), var(--text)) center/12px 2px no-repeat, linear-gradient(var(--text), var(--text)) center/2px 12px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 44px 22px 0; margin: 0; }
@media (max-width: 900px) { .faq__in { grid-template-columns: minmax(0, 1fr); } .faq details p { padding-right: 0; } }

/* Финальный экран */
.final { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0; text-align: center; border-top: 1px solid var(--line); }
.final__in { position: relative; z-index: 1; max-width: 760px; }
.final h2 { margin-bottom: 18px; }
.final p { color: var(--text-2); font-size: 18px; }
.final__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .final__btns .btn { width: 100%; } }

/* Подвал */
.foot { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0b0a0e; font-size: 14px; color: var(--muted); }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot__brand img { height: 31px; width: auto; margin-bottom: 14px; }
.foot__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot__links a { text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.foot__links a:hover, .foot a:hover { color: var(--text-2); }
.foot__copy { margin-top: 10px; }
@media (max-width: 860px) { .foot__in { grid-template-columns: minmax(0, 1fr); } }

/* Окно про cookie */
.cookie { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.cookie__in {
  max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 16px 18px;
  border-radius: var(--r); background: rgba(33, 27, 40, 0.96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; color: var(--text-2);
}
.cookie__in p { margin: 0; }
.cookie__btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) {
  .cookie { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .cookie__in { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; }
  .cookie__btns .btn { flex: 1; min-height: 38px; }
}

/* Юридические страницы и 404 */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.doc__in { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 26px; }
.doc h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 40px 0 14px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--amber); }
.doc__back { display: inline-flex; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-size: 15px; }
.doc__back:hover { color: var(--text); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { margin-bottom: 16px; }
.notfound p { color: var(--text-2); margin-bottom: 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .live i { animation: none; }
  .eq i { transform: scaleY(0.6); }
  .btn, .track__play, .faq summary::after { transition: none; }
}

/* Мини-плеер в первом экране: живые кнопки */
.deck button { font: inherit; cursor: pointer; }
.deck button.chip { line-height: inherit; }
.deck button.chip:hover:not(.chip--on) { color: var(--text); border-color: var(--line-2); }
.deck button.seg { border: 0; background: transparent; }
.deck button.seg--on { background: rgba(255, 255, 255, 0.1); }
.deck button.seg:disabled { cursor: default; opacity: 0.45; }
.deck button.pill { background: transparent; }
.deck button.pill:hover { color: var(--text); }
.deck button.pill[aria-pressed="true"] { color: var(--text); border-color: transparent; background: rgba(255, 94, 122, 0.18); }
.deck button.pill[data-like][aria-pressed="true"] .ico { fill: #ff5e7a; stroke: #ff5e7a; }
.deck button:focus-visible { outline: 2px solid #ffb25c; outline-offset: 2px; }
.deck__hint { min-height: 1.4em; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.track--removed { opacity: 0.55; }
@media (max-width: 360px) { .hero h1 { font-size: 30px; } }
@media (max-width: 1100px) { .hero__price .nowrap { white-space: normal; } }
.deck__actions { flex-wrap: wrap; }

/* Узкий телефон: в шапке только знак, чтобы поместилась кнопка «Попробовать бесплатно» */
@media (max-width: 400px) { .logo picture img { width: 34px; height: 34px; } }

/* ===== Живой сайт (25.10.2026): появление при прокрутке, живой мини-плеер, иконки-истории.
   Правила: design-to-motion (elayadesign/ai-design-skills, MIT). Тексты не анимируем,
   только карточки и картинки; всё запускается один раз при появлении, за экраном на паузе. */
:root { --e: cubic-bezier(0.16, 1, 0.3, 1); --e2: cubic-bezier(0.33, 1, 0.68, 1); --io: cubic-bezier(0.65, 0, 0.35, 1); }

/* Появление при прокрутке: чистый CSS, привязанный к положению блока на экране. Блок не может
   застрять невидимым; браузеры без этой функции просто показывают всё сразу. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .facts__grid .fact, .steps .step, .cards .card, .cases .case, .duo__item, .tracks .track, .plan,
    .sheet, .about__in, .faq__list details, .sec-head, .final__in {
      animation: rvIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    .sec-head, .faq__list details, .final__in { animation-name: rvUp; }
    .steps .step:nth-child(2), .cards .card:nth-child(3n + 2), .cases .case:nth-child(2), .facts__grid .fact:nth-child(2) { animation-range: entry 8% entry 78%; }
    .steps .step:nth-child(3), .cards .card:nth-child(3n), .cases .case:nth-child(3), .facts__grid .fact:nth-child(3) { animation-range: entry 16% entry 86%; }
    .facts__grid .fact:nth-child(4) { animation-range: entry 24% entry 94%; }
    .sheet tbody tr { animation: rvLeft linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
    .step .step__n { animation: rvPop linear both; animation-timeline: view(); animation-range: entry 30% entry 90%; }
  }
}
@keyframes rvIn { from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rvUp { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rvLeft { from { opacity: 0; transform: translateX(-12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rvPop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

/* Первый экран: содержимое мини-плеера загружается по очереди (чистый CSS, без мигания) */
.deck .ld { animation: ldIn 1.05s var(--e) both; animation-delay: var(--d, 0s); }
.deck .ld--pop { animation-name: ldPop; }
@keyframes ldIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ldPop { from { opacity: 0; transform: scale(0.86); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero__visual .deck { animation: cardIn 1.05s var(--e) 0.1s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(0.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Эквалайзер: в покое дышит тихо, во время музыки прыгает в такт (значения ставит скрипт) */
.deck .eq i { animation-duration: 2.4s; }
.deck .eq.is-live i { animation: none; transition: transform 0.08s linear; }
.deck__play { position: relative; }
.deck__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 178, 92, 0.55); animation: ring 2s var(--e2) infinite; }
.deck__play.is-playing::after, .deck.is-touched .deck__play::after { animation: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 178, 92, 0.5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(255, 178, 92, 0); } }
.deck__log p.is-new { animation: logIn 0.9s var(--e); }
@keyframes logIn { from { opacity: 0; transform: translateY(-8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.track.is-playing .track__bar span { box-shadow: 0 0 12px rgba(255, 178, 92, 0.6); }

/* Свечение фона медленно плывёт */
.glow--a { animation: drift 18s ease-in-out infinite alternate; }
.glow--b { animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(4%, 3%, 0) scale(1.08); } }

/* Карточки: мягкий свет идёт за курсором (только мышь) */
@media (hover: hover) and (pointer: fine) {
  .card, .step, .case, .track { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 178, 92, 0.09), transparent 60%); }
  .card, .case, .step { transition: border-color 0.3s, translate 0.4s var(--e); }
  .card:hover, .case:hover, .step:hover { border-color: rgba(255, 178, 92, 0.3); translate: 0 -3px; }
}

/* Иконки карточек рассказывают, что делает плеер. Играют, пока карточка на экране */
.card__ico * { transform-box: fill-box; transform-origin: center; }
.card.in .ico-radio .w1 { animation: wave 2.4s var(--e2) infinite; }
.card.in .ico-radio .w2 { animation: wave 2.4s var(--e2) 0.25s infinite; }
@keyframes wave { 0%, 100% { opacity: 1; } 40% { opacity: 0.15; } 70% { opacity: 1; } }
.card.in .ico-phone .scr { animation: screen 4s var(--io) infinite; }
.ico-phone .scr { stroke: none; fill: var(--amber); opacity: 0.35; }
@keyframes screen { 0%, 30% { opacity: 0.35; } 45%, 85% { opacity: 0; } 100% { opacity: 0.35; } }
.card.in .ico-loop .a1 { animation: slideR 3s var(--io) infinite; }
.card.in .ico-loop .a2 { animation: slideL 3s var(--io) 0.4s infinite; }
@keyframes slideR { 0%, 100% { transform: none; } 40% { transform: translateX(3px); } }
@keyframes slideL { 0%, 100% { transform: none; } 40% { transform: translateX(-3px); } }
.ico-log .l1, .ico-log .l2, .ico-log .l3, .ico-skip .x1, .ico-skip .x2 { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card.in .ico-log .l1 { animation: draw 4s var(--io) infinite; }
.card.in .ico-log .l2 { animation: draw 4s var(--io) 0.35s infinite; }
.card.in .ico-log .l3 { animation: draw 4s var(--io) 0.7s infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.card.in .ico-ad .w1 { animation: wave 1.8s var(--e2) infinite; }
.card.in .ico-ad .w2 { animation: wave 1.8s var(--e2) 0.2s infinite; }
.card.in .ico-skip .x1 { animation: draw 3.6s var(--io) infinite; }
.card.in .ico-skip .x2 { animation: draw 3.6s var(--io) 0.3s infinite; }
.is-off .card__ico *, .is-off.card .card__ico * { animation-play-state: paused !important; }

/* Журнал: строки приходят по одной, потом подсветка идёт по строкам, как курсор */
.sheet tbody tr td { transition: background-color 0.5s var(--e2); }
.sheet tbody tr.is-hot td { background-color: rgba(255, 178, 92, 0.08); }
.sheet tbody tr.is-ad.is-hot td { background-color: rgba(255, 178, 92, 0.16); }

@media (prefers-reduced-motion: reduce) {
  .deck .ld, .hero__visual .deck { animation: none !important; }
  .glow--a, .glow--b, .deck__play::after, .card__ico *, .deck__log p.is-new { animation: none !important; }
}
@media (max-width: 350px) { .top__cta { padding: 8px 10px; font-size: 12px; } .top__login { padding: 8px 10px; font-size: 12px; } .top__in { gap: 8px; } .top__login + .top__cta { margin-left: 0; } }
