/* Music Visualizer — сайт. Гамма программы: тёмно-зелёный + салатовый #c9f06b. Шрифты Inter Tight + Space Mono. */
@font-face { font-family: 'Inter Tight'; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter Tight'; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199; }
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url(/fonts/inter-tight-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url(/fonts/inter-tight-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199; }
@font-face { font-family: 'Inter Tight'; font-weight: 700; font-display: swap; src: url(/fonts/inter-tight-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter Tight'; font-weight: 700; font-display: swap; src: url(/fonts/inter-tight-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2190-2199; }
@font-face { font-family: 'Space Mono'; font-weight: 400; font-display: swap; src: url(/fonts/space-mono-latin-400-normal.woff2) format('woff2'); }

:root { --bg: #070a06; --panel: #0e120c; --line: #1f271a; --line2: #2f3a28; --text: #f1f3ee; --mute: #9aa392; --acc: #c9f06b; --acc2: #d9fa86; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }   /* ничего не должно расширять страницу вбок */
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 'Inter Tight', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--acc); text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

/* «таблетки»-кнопки со стрелкой */
.pill { display: inline-flex; align-items: center; gap: 12px; background: var(--acc); color: #0b0f08; font-weight: 600; padding: 10px 14px 10px 22px; border-radius: 999px; border: 1.5px solid var(--acc); transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.pill i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .2s; }
.pill:hover { background: var(--acc2); transform: translateY(-1px); box-shadow: 0 10px 34px rgba(201,240,107,.28); }
.pill:hover i { transform: rotate(45deg); }
.pill.big { padding: 15px 18px 15px 30px; font-size: 17px; }
.pill.out { background: transparent; color: var(--acc); }
.pill.out:hover { background: rgba(201,240,107,.1); box-shadow: none; }
.pill.ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.pill.ghost:hover { border-color: var(--acc); background: rgba(201,240,107,.08); box-shadow: none; }
.pill.dark { background: #0b0f08; color: var(--acc); border-color: #0b0f08; }
.pill.dark:hover { background: #18200f; box-shadow: none; }
.pill.dark.ghost { background: transparent; color: #0b0f08; border-color: rgba(11,15,8,.35); }

/* шапка */
.top { position: fixed; inset: 0 0 auto; z-index: 20; background: linear-gradient(180deg, rgba(7,10,6,.85), rgba(7,10,6,0)); }
.top.solid { background: rgba(7,10,6,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo b { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { color: #d6dad1; font-size: 15px; }
.nav a:hover { color: var(--acc); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; padding: 0; position: relative; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 13px; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; content: ''; }
.burger i { top: 21px; } .burger i::before { left: 0; top: -5px; } .burger i::after { left: 0; top: 5px; }
.top.open .burger i { background: transparent; } .top.open .burger i::before { transform: translateY(5px) rotate(45deg); } .top.open .burger i::after { transform: translateY(-5px) rotate(-45deg); }

/* первый экран: заголовок, лента тем на цилиндре, кнопки */
.hero { position: relative; padding: 118px 0 70px; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 55% 45% at 50% 52%, rgba(201,240,107,.09), transparent 70%), radial-gradient(ellipse 80% 60% at 50% 0%, #10170c, var(--bg) 70%); }
.hero-head { position: relative; z-index: 2; }
.kicker { display: inline-block; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
h1 { font-size: clamp(44px, 7.2vw, 94px); line-height: .98; letter-spacing: -.035em; margin: 0; font-weight: 700; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--acc); }
.strip { position: relative; height: clamp(320px, 40vw, 560px); margin: 20px 0 16px; }
#strip { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s; }
#strip.grab { cursor: grabbing; }
.strip.gl #strip { opacity: 1; }
.strip.gl .strip-fallback { display: none; }
.strip-fallback { position: absolute; inset: 0; display: flex; gap: 18px; justify-content: center; align-items: center; }
.strip-fallback img { height: 86%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; opacity: .9; }
.strip-fallback img:first-child, .strip-fallback img:last-child { opacity: .35; }
.hero-foot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #c3c9bd; max-width: 620px; margin: 0 0 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* секции */
section[id] { scroll-margin-top: 66px; }   /* переход по меню: заголовок не прячется под шапкой */
.sec { padding: 110px 0; position: relative; }
h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.035em; line-height: 1; margin: 0 0 22px; font-weight: 700; }
.sub { color: var(--mute); font-size: 18px; max-width: 640px; margin: 0 0 44px; }
.small { color: var(--mute); font-size: 14px; margin-top: 26px; text-align: center; }
.more { color: var(--mute); margin-top: 28px; text-align: center; }

/* о программе */
.big-text { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.28; letter-spacing: -.015em; color: #d9ddd4; max-width: 900px; margin: 0 0 42px; font-weight: 500; }
.big-text b { color: var(--text); font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 16px; }
.tags li { background: var(--acc); color: #0b0f08; font-weight: 600; font-size: 16px; padding: 12px 22px 12px 18px; border-radius: 999px; transition: transform .2s; }
.tags li::before { content: '+'; font-weight: 500; margin-right: 12px; font-size: 18px; }
.tags li:hover { transform: translateY(-2px) rotate(-1deg); }

/* возможности: салатовые карточки на сетке */
.grid-bg::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(201,240,107,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,240,107,.06) 1px, transparent 1px); background-size: 46px 46px; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
.grid-bg > .wrap { position: relative; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { position: relative; display: flex; align-items: center; gap: 18px; background: var(--acc); color: #0b0f08; border-radius: 22px; padding: 30px 60px 30px 30px; min-height: 190px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(201,240,107,.18); }
.card div { flex: 1; }
.card b { display: block; font-size: 21px; letter-spacing: -.01em; margin-bottom: 8px; }
.card span { font-size: 15px; color: #26301c; display: block; max-width: 300px; }
.card svg { width: 150px; flex: none; }
.card .arr { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 20px; transition: transform .2s; }
.card:hover .arr { transform: translateY(-50%) rotate(45deg); }

/* карусель тем */
.car { position: relative; height: clamp(360px, 46vw, 520px); perspective: 1400px; display: flex; justify-content: center; outline: none; touch-action: pan-y; overflow: hidden; padding: 0 0 40px; box-sizing: content-box; }
.car-item { position: absolute; top: 0; height: 100%; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; cursor: pointer; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .5s; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; }
.car-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.car-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201,240,107,.18), transparent 18%, transparent 82%, rgba(201,240,107,.18)); opacity: .9; transition: opacity .4s; }
.car-item.cur { border-color: rgba(201,240,107,.45); cursor: default; }
.car-item.cur::after { opacity: 0; }
.car-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line2); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; transition: border-color .15s, background .15s; flex: none; }
.round:hover { border-color: var(--acc); background: rgba(201,240,107,.08); color: var(--acc); }
.car-cap { text-align: center; }
.car-cap b { display: block; font-size: 22px; letter-spacing: -.01em; }
.car-cap span { color: var(--mute); }

/* шаги */
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.steps li::before { content: '0' counter(s); display: block; font-family: 'Space Mono', monospace; color: var(--acc); font-size: 34px; margin-bottom: 16px; }
.steps b { display: block; font-size: 20px; margin-bottom: 8px; }
.steps span { color: var(--mute); }

/* цены */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; }
.plan .pn { display: block; color: var(--mute); margin-bottom: 14px; }
.plan b { display: block; font-size: 38px; letter-spacing: -.02em; word-spacing: .1em; font-weight: 700; }
.plan em { display: block; font-style: normal; color: var(--mute); font-size: 14px; margin-top: 8px; }
.plan.best { background: var(--acc); border-color: var(--acc); color: #0b0f08; }
.plan.best .pn, .plan.best em { color: #26301c; }
.plan .tag { position: absolute; top: 16px; right: 16px; background: #0b0f08; color: var(--acc); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* вопросы */
details { border-bottom: 1px solid var(--line2); }
summary { cursor: pointer; list-style: none; padding: 24px 0; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: #0b0f08; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 24px; color: #c4cabd; max-width: 680px; }

/* финальный призыв */
.final { background: var(--acc); color: #0b0f08; border-radius: 30px; padding: 64px 40px; text-align: center; margin: 40px 0 20px; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,15,8,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,15,8,.07) 1px, transparent 1px); background-size: 40px 40px; }
.final > * { position: relative; }
.final h2 { margin-bottom: 14px; }
.final p { font-size: 18px; max-width: 560px; margin: 0 auto 30px; color: #26301c; }

/* подвал */
.foot { padding: 34px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--mute); font-size: 14px; }
.foot nav a:hover { color: var(--acc); }
.copy { color: var(--mute); font-size: 13px; margin-left: auto; }

/* документы (оферта, политика) */
.doc { padding: 130px 0 60px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 52px); text-transform: none; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: #d2d7cb; }
.doc .meta { color: var(--mute); }

/* планшет и телефон */
@media (max-width: 980px) {
  .top-in { gap: 12px; }
  .burger { display: block; order: 3; }
  .pill.out { margin-left: auto; }
  .nav { position: absolute; top: 74px; left: 12px; right: 12px; flex-direction: column; gap: 0; margin: 0; padding: 8px; background: rgba(14,18,12,.97); border: 1px solid var(--line2); border-radius: 18px; backdrop-filter: blur(14px);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .nav a:active, .nav a:hover { background: rgba(201,240,107,.08); }
  .top.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .top.open { background: rgba(7,10,6,.92); }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .top-in { height: 64px; }
  .nav { top: 64px; }
  .logo { font-size: 15px; gap: 8px; } .logo img { width: 26px; height: 26px; }
  .top-in { gap: 8px; }
  .pill.out { padding: 8px 14px; font-size: 14px; gap: 6px; } .pill.out i { display: none; }
  .burger { width: 40px; height: 40px; } .burger i, .burger i::before, .burger i::after { left: 11px; } .burger i { top: 19px; } .burger i::before, .burger i::after { left: 0; }
  .sec { padding: 46px 0; }
  h2 { font-size: 36px; margin-bottom: 14px; }
  .sub { font-size: 16px; margin-bottom: 26px; }
  /* первый экран */
  .hero { padding: 92px 0 40px; }
  .kicker { font-size: 10.5px; letter-spacing: .28em; margin-bottom: 14px; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .strip { height: 360px; margin: 10px 0 6px; }
  .strip-fallback img { height: 80%; }
  .strip-fallback img:nth-child(n+3) { display: none; }
  .lead { font-size: 16px; margin-bottom: 22px; }
  .cta { flex-direction: column; width: 100%; gap: 10px; }
  .pill.big { justify-content: space-between; padding: 13px 14px 13px 24px; font-size: 16px; }
  /* о программе: «таблетки» плотнее */
  .big-text { font-size: 20px; margin-bottom: 26px; }
  .tags { gap: 8px; }
  .tags li { font-size: 13px; padding: 8px 13px 8px 11px; }
  .tags li::before { margin-right: 7px; font-size: 15px; }
  /* возможности: иллюстрация справа внизу, карточка ниже */
  .cards { gap: 12px; }
  .card { display: block; padding: 22px 22px 20px; min-height: 0; border-radius: 18px; }
  .card b { font-size: 19px; padding-right: 30px; }
  .card span { font-size: 14px; max-width: none; padding-right: 92px; min-height: 64px; }
  .card svg { position: absolute; right: 14px; bottom: 14px; width: 86px; }
  .card .arr { top: 22px; right: 20px; transform: none; }
  .card:hover .arr { transform: rotate(45deg); }
  /* темы */
  .car { height: 330px; }
  .car-bar { margin-top: 18px; }
  .round { width: 46px; height: 46px; }
  .car-cap b { font-size: 18px; } .car-cap span { font-size: 14px; }
  .more { font-size: 14px; margin-top: 18px; }
  /* как начать: номер рядом с заголовком */
  .steps { gap: 10px; }
  .steps li { padding: 18px 20px; border-radius: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .steps li::before { font-size: 22px; margin: 0; grid-row: span 2; }
  .steps b { font-size: 17px; margin-bottom: 4px; }
  .steps span { font-size: 14px; }
  /* цены: сетка 2×2 */
  .plans { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plan { padding: 18px 16px; border-radius: 18px; }
  .plan .pn { font-size: 14px; margin-bottom: 8px; }
  .plan b { font-size: 26px; }
  .plan em { font-size: 12px; }
  .plan .tag { position: static; display: inline-block; margin-bottom: 8px; font-size: 11px; }
  .small { font-size: 13px; }
  /* вопросы */
  summary { font-size: 16px; padding: 18px 0; }
  summary::after { width: 30px; height: 30px; font-size: 18px; }
  details p { font-size: 15px; }
  .final { padding: 40px 20px; border-radius: 22px; margin-top: 10px; }
  .final p { font-size: 16px; }
  .foot nav { gap: 14px 18px; }
  .copy { margin-left: 0; }
}
@media (max-width: 360px) {
  .plans { grid-template-columns: 1fr; }
  .pill.out { display: none; }
}
