:root {
  --bg: #161514;
  --card: #1D1C1A;
  --card-2: #262422;
  --line: #34312E;
  --ink: #F3EFEA;
  --ink-2: #A29C95;
  --accent: #F26B21;
  --accent-hi: #FF8440;
  --on-accent: #140A04;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: clamp(16px, 1.8vw, 26px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #4A443E var(--bg); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 16px; }

/* Типографика: широкий жирный гротеск, оранжевые акценты, моноширинные подписи */
h1 { font: 900 clamp(2.25rem, 6.4vw, 6rem)/.98 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
h2 { font: 700 clamp(1.5rem, 3.4vw, 3rem)/1.04 var(--display); letter-spacing: -.035em; }
h3 { font: 700 1.125rem/1.2 var(--display); letter-spacing: -.02em; }
em { font-style: normal; color: var(--accent); }
.lead { max-width: 54ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 300; color: #D2CCC5; }
.eyebrow, .course small, .path span, .formats span, .course__n, .filters button, .note { font-family: var(--mono); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: .9375rem; text-align: center; transition: translate .4s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; transition: translate .4s var(--ease); }
.btn:hover { translate: 0 -3px; }
.btn:active { translate: 0; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 18px 40px -18px rgba(242, 107, 33, .9); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--accent:hover svg { translate: 3px -3px; }
.btn--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost svg { fill: currentColor; stroke: none; }
.btn--dark { background: var(--on-accent); color: #fff; }
.btn--s { min-height: 44px; padding: 0 18px; font-size: .875rem; border-radius: 12px; }
.btn--l { min-height: 62px; padding: 0 30px; font-size: 1rem; border-radius: 18px; }
.btn--full { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(22, 21, 20, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; font: 900 1.375rem/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.brand i { width: 8px; height: 8px; margin-left: 3px; border-radius: 50%; background: var(--accent); }
.top__nav { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: .9375rem; color: var(--ink-2); transition: color .2s, background-color .2s; }
.top__nav a:hover { color: var(--ink); background: var(--card-2); }

/* Первый экран: оранжевое зарево и вертикальная штриховка-эквалайзер */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(36px, 6vw, 88px) 0; background: radial-gradient(900px 560px at 82% 6%, rgba(242, 107, 33, .42), transparent 68%), radial-gradient(600px 400px at 0 100%, rgba(242, 107, 33, .16), transparent 70%); }
.hero__in { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vw, 30px); padding-bottom: clamp(150px, 20vw, 260px); }
.eq { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: clamp(130px, 18vw, 240px); display: flex; align-items: flex-end; gap: clamp(3px, .5vw, 8px); padding-inline: var(--gutter); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 7px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.eq i { flex: 1; height: 30%; border-radius: 6px 6px 0 0; background: var(--accent); transform-origin: bottom; animation: eq 1.8s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: 1.2s; height: 62%; }
.eq i:nth-child(4n+1) { animation-duration: 2.4s; height: 44%; }
.eq i:nth-child(5n+2) { animation-duration: 1.5s; height: 84%; }
.eq i:nth-child(7n) { animation-duration: 2s; height: 22%; }
@keyframes eq { from { scale: 1 .35; } to { scale: 1 1; } }
.is-sounding .eq i { animation-duration: .28s; }
.usp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%; margin-top: clamp(8px, 2vw, 24px); border-top: 1px solid var(--line); }
.usp li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 0 0; }
.usp li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.usp b { font: 700 clamp(1.25rem, 2.2vw, 2rem)/1 var(--display); letter-spacing: -.04em; }
.usp span { font-size: .875rem; color: var(--ink-2); }

.tape { overflow: hidden; background: var(--accent); color: var(--on-accent); padding-block: 14px; }
.tape div { display: flex; gap: 36px; width: max-content; animation: run 40s linear infinite; }
.tape span { font: 900 clamp(1rem, 2vw, 1.5rem)/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.tape span::after { content: '●'; margin-left: 36px; font-size: .5em; vertical-align: middle; }
@keyframes run { to { transform: translateX(-50%); } }

/* Секции */
.sec { padding-block: clamp(56px, 8vw, 120px); }
.sec--panel { background: #100F0E; border-block: 1px solid var(--line); }
section[id] { scroll-margin-top: calc(72px + 20px - clamp(56px, 8vw, 120px)); }
.head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 16px clamp(24px, 5vw, 72px); margin-bottom: clamp(24px, 3.6vw, 48px); }
.head p { font-size: .9375rem; color: var(--ink-2); max-width: 48ch; }

/* Направления */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink-2); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.courses > li { animation: rise .5s var(--ease) backwards; }
.course { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 250px; padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: translate .45s var(--ease), border-color .25s, background-color .25s; }
.course::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 7px); opacity: .5; transition: height .35s var(--ease); pointer-events: none; }
.course:hover { translate: 0 -6px; border-color: #5A534C; }
.course.is-playing { border-color: var(--accent); background: #251A12; }
.course.is-playing::after { height: 44%; animation: pulse .28s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .22; } }
.course__n { font-size: .75rem; color: var(--accent); }
.course h3 { font-size: clamp(1.0625rem, 1.5vw, 1.375rem); }
.course p { flex: 1; font-size: .875rem; color: var(--ink-2); }
.course small { position: absolute; right: 18px; top: 20px; font-size: .625rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.course__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listen { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 4px; border-radius: 999px; background: var(--card-2); font-size: .8125rem; font-weight: 600; transition: background-color .2s, color .2s; }
.listen i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.listen svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.listen:hover { background: var(--accent); color: var(--on-accent); }
.listen:hover i { background: var(--on-accent); color: var(--accent); }
.course__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.course__go svg { width: 15px; height: 15px; }
.course__go:hover { color: var(--accent); }
.courses__cta a { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 250px; padding: 20px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); transition: translate .45s var(--ease), background-color .2s; }
.courses__cta a:hover { translate: 0 -6px; background: var(--accent-hi); }
.courses__cta b { font: 700 clamp(1.0625rem, 1.5vw, 1.375rem)/1.15 var(--display); letter-spacing: -.02em; }
.courses__cta span { flex: 1; font-size: .875rem; font-weight: 500; }
.courses__cta svg { width: 28px; height: 28px; align-self: flex-end; stroke-width: 2.4; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Как учим */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.formats li { display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.formats span { margin-bottom: auto; font-size: .75rem; color: var(--accent); }
.formats p { font-size: .9375rem; color: var(--ink-2); }
.formats .is-accent { background: linear-gradient(160deg, #FF8A45, var(--accent) 45%, #A93C06); border-color: transparent; color: var(--on-accent); }
.formats .is-accent span, .formats .is-accent p { color: rgba(20, 10, 4, .82); }

/* Путь */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.path li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 8px 0; }
.path li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.path li::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.path li + li::before { left: 22px; }
.path span { font-size: .6875rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.path h3 { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); }
.path p { font-size: .9375rem; color: var(--ink-2); }

/* Цены */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plans li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.price { font: 700 clamp(1.75rem, 2.8vw, 2.5rem)/1 var(--display); letter-spacing: -.04em; }
.plans li > p:not(.price) { flex: 1; font-size: .9375rem; color: var(--ink-2); }
.plans .is-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plans .is-accent > p:not(.price) { color: rgba(20, 10, 4, .8); font-weight: 500; }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.faq .head { display: block; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; color: var(--ink-2); transition: rotate .4s var(--ease), color .2s; }
details[open] summary { color: var(--accent); }
details[open] summary svg { rotate: 45deg; color: var(--accent); }
details p { padding: 0 0 24px; max-width: 64ch; color: var(--ink-2); }

/* Запись */
.final { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--bg) 0%, #4A1C04 62%, var(--accent) 130%); }
.final__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.final__copy { display: flex; flex-direction: column; gap: 20px; }
.final h2 { font-size: clamp(1.75rem, 4.2vw, 3.75rem); text-transform: uppercase; }
.form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: rgba(22, 21, 20, .86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.line { display: flex; flex-direction: column; gap: 8px; font: 500 .6875rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.line input, .line select { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: 400 1rem/1 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); caret-color: var(--accent); transition: border-color .2s; }
.line :is(input, select):focus { outline: none; border-color: var(--accent); }
.line [aria-invalid="true"] { border-color: #FF8A7A; }
.line em { font: 500 .8125rem/1.4 var(--text); letter-spacing: 0; text-transform: none; color: #FFB3A6; }
.note { font-size: .6875rem; color: var(--ink-2); }
.form__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 24px; }
.form__done svg { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--accent); color: var(--on-accent); stroke-width: 3; }

.foot { background: #100F0E; border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px 36px; font-size: .875rem; color: var(--ink-2); }
.foot .brand { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise .9s var(--ease) backwards; }
  .hero__in > :nth-child(2) { animation-delay: .08s; } .hero__in > :nth-child(3) { animation-delay: .16s; } .hero__in > :nth-child(4) { animation-delay: .24s; } .hero__in > :nth-child(5) { animation-delay: .32s; }
}
@media (max-width: 1100px) {
  .courses, .formats, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path li:nth-child(3) { padding-left: 0; border-left: 0; }
  .path li:nth-child(3)::before { left: 0; }
  .path li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .top__nav { display: none; }
  .head, .faq, .final__grid { grid-template-columns: 1fr; }
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp li:nth-child(3) { padding-left: 0; border-left: 0; }
  .usp li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}
@media (max-width: 560px) {
  .courses, .formats, .plans, .path { grid-template-columns: 1fr; }
  .course, .courses__cta a, .formats li { min-height: 0; }
  .path li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .path li + li::before { left: 0; }
  .row .btn { flex: 1 1 100%; }
  .eq i:nth-child(n+15) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
