/* Outrun Media — стили сайта */

:root {
  --bg: #08080b;
  --bg-2: #0d0d12;
  --surface: #131319;
  --surface-2: #1a1a22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f1ec;
  --muted: #a09ea8;
  --dim: #6f6d79;
  --accent: #ff5a2c;
  --accent-2: #ff2d6f;
  --accent-soft: rgba(255, 90, 44, 0.14);
  --radius: 20px;
  --container: 1240px;
  --header-h: 72px;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #0b0b0f; font-weight: 600; }
.skip:focus { left: 12px; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.grad { background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 90, 44, 0.04); } }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #0b0b0f; box-shadow: 0 12px 32px -12px rgba(255, 90, 44, 0.7); }
.btn--primary:hover { transform: translateY(-1px); background: #ff6a40; box-shadow: 0 16px 40px -12px rgba(255, 90, 44, 0.85); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Шапка ---------- */

.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.header.is-scrolled, .header.is-open { background: rgba(8, 8, 11, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: flex; align-items: center; flex: none; color: var(--text); }

/* Логотип «Импульс»: шлейфы вылетают слева, полукольцо докручивается, затем проявляется слово.
   Раз в несколько секунд шлейфы коротко «вытягиваются»; при наведении — тоже (см. main.js) */
.om-logo { display: block; width: auto; height: 24px; overflow: visible; }
.om-trail, .om-ring, .om-word { transform-box: fill-box; }
.om-trail { transform-origin: right center; }
.om-ring { transform-origin: left center; }
.om-trail:nth-child(2) { --i: 1; }
.om-trail:nth-child(3) { --i: 2; }
.om-trail:nth-child(4) { --i: 3; }
.om-trail:nth-child(5) { --i: 4; }

.js .om-trail { animation: om-idle 9s ease-in-out calc(4s + var(--i, 0) * 0.05s) infinite; }
.js:not(.om-seen) .om-trail {
  animation:
    om-trail 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + var(--i, 0) * 0.07s) both,
    om-idle 9s ease-in-out calc(4s + var(--i, 0) * 0.05s) infinite;
}
.js:not(.om-seen) .om-ring { animation: om-ring 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js:not(.om-seen) .om-word { animation: om-word 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s both; }

@keyframes om-ring { from { transform: rotate(-200deg); opacity: 0; } }
@keyframes om-trail { from { transform: scaleX(0); opacity: 0; } }
@keyframes om-word { from { transform: translateX(-24px); opacity: 0; } }
@keyframes om-idle { 0%, 90%, 100% { transform: none; } 94% { transform: scaleX(1.35); } }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a { padding: 7px 10px; border-radius: 999px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--dim); transition: color 0.2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: rgba(255, 255, 255, 0.09); color: var(--text); }

.burger { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__inner { gap: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px;
    background: rgba(8, 8, 11, 0.97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__cta { display: inline-flex; margin-top: 20px; }
  .header__actions { margin-left: auto; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header__cta { display: none; }
  .om-logo { height: 21px; }
}

/* ---------- Первый экран ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + 80px); }
.hero::before {
  content: ''; position: absolute; z-index: -2; inset: -10% -10% auto; height: 80%;
  background:
    radial-gradient(45% 55% at 78% 38%, rgba(255, 45, 111, 0.13), transparent 70%),
    radial-gradient(40% 50% at 12% 8%, rgba(255, 90, 44, 0.09), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 64px; align-items: center; padding-bottom: 140px; }
/* Размер подобран так, чтобы самая длинная строка («Процент — твой.») не переносилась */
.hero__title { margin: 28px 0 26px; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.04; }
.hero__lead { max-width: 580px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero__note svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts b { display: block; font: 600 30px/1 var(--font-display); letter-spacing: -0.02em; }
.hero__facts span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Уходящая к горизонту сетка */
.horizon {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 42%;
  overflow: hidden; pointer-events: none; perspective: 360px; perspective-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), #000 30%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), #000 30%);
}
.horizon::before {
  content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 70%, transparent);
  box-shadow: 0 0 60px 10px rgba(255, 70, 70, 0.28);
}
.horizon__plane {
  position: absolute; top: 0; left: -75%; right: -75%; height: 100%;
  background-image:
    linear-gradient(rgba(255, 90, 44, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 44, 0.36) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotateX(62deg); transform-origin: 50% 0;
  animation: drive 3s linear infinite;
}
@keyframes drive { to { background-position: 0 64px; } }

/* Пример расчёта выплаты */
.calc {
  position: relative; padding: 28px;
  border: 1px solid var(--line-2); border-radius: 24px;
  background: linear-gradient(180deg, rgba(28, 28, 37, 0.88), rgba(15, 15, 21, 0.9));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.calc::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 44, 0.8), transparent);
}
.calc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.calc__head .mono { color: var(--muted); }
.tag { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font: 500 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, 0.25); }
.levels button { padding: 10px 6px; border: 0; border-radius: 10px; background: none; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.levels button:hover { color: var(--text); }
.levels button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.09); color: var(--text); }

.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.calc__row span { color: var(--muted); }
.calc__row b { font: 500 15px/1.2 var(--font-mono); white-space: nowrap; }
.calc__row--profit b { color: var(--text); }
.calc__total { margin-top: 22px; }
.calc__total .mono { color: var(--dim); font-size: 11px; }
.calc__big { margin-top: 10px; font: 600 clamp(40px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -0.03em; }
.split { display: flex; height: 8px; margin: 20px 0 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.split i { display: block; width: 35%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.split__legend { display: flex; justify-content: space-between; font: 400 11px/1.3 var(--font-mono); color: var(--dim); }
.calc__payout { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--muted); }
.calc__payout b { font: 500 15px/1.2 var(--font-mono); color: var(--text); white-space: nowrap; }
.calc__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--dim); }

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 110px; }
  .hero__title { font-size: min(8.4vw, 64px); }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .hero__facts b { font-size: 24px; white-space: nowrap; }
  .calc { padding: 22px 18px; }
}

/* ---------- Бегущая строка ---------- */

.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track ul { display: flex; flex: none; }
.marquee__track li { display: flex; align-items: center; gap: 48px; padding-right: 48px; font: 500 13px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__track li::after { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */

.section { position: relative; padding: 120px 0; }
.section--alt { border-block: 1px solid var(--line); background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section__head--stack { grid-template-columns: 1fr; max-width: 820px; }
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(27px, 3.4vw, 46px); line-height: 1.1; }
.section__lead { max-width: 560px; font-size: 17px; color: var(--muted); }
.section__lead + .section__lead { margin-top: 14px; }
.section__more { margin-top: 40px; }

.grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .section__head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Карточки */
.card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), rgba(19, 19, 25, 0.4)); transition: border-color 0.3s; }
.card:hover { border-color: var(--line-2); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card__num { font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; color: var(--accent); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.25; }
.card p { font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .card { padding: 26px 22px; } }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num { font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; color: var(--dim); }
.step h3 { margin: 20px 0 10px; font-size: 20px; }
.step p { font-size: 15px; color: var(--muted); }
.step .tag { display: inline-block; margin-top: 18px; }
.step--accent .step__num { color: var(--accent); }
.step--accent .tag { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* Уровни */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tier--hot { border-color: rgba(255, 90, 44, 0.5); background: linear-gradient(180deg, rgba(255, 90, 44, 0.1), var(--surface) 45%); box-shadow: 0 30px 60px -40px rgba(255, 90, 44, 0.6); }
.tier__name { font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tier__pct { margin: 24px 0 8px; font: 600 54px/1 var(--font-display); letter-spacing: -0.03em; }
.tier__sub { min-height: 42px; font-size: 14px; color: var(--muted); }
.tier__list { display: grid; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.tier__next { margin-top: auto; padding-top: 24px; font: 400 12px/1.5 var(--font-mono); color: var(--dim); }
.bullets li { position: relative; padding-left: 18px; color: var(--muted); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); }
.bullets b { color: var(--text); font-weight: 600; }
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } .tier__sub { min-height: 0; } }

/* Блок «текст + иллюстрация» */
.split-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.checks { display: grid; gap: 22px; margin-top: 36px; }
.checks li { display: flex; gap: 16px; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.checks b { display: block; margin-bottom: 4px; font-weight: 600; }
.checks span { font-size: 15px; color: var(--muted); }
.checks--no svg { color: var(--dim); }
@media (max-width: 960px) { .split-block { grid-template-columns: 1fr; gap: 48px; } }

/* Пример переписки */
.chat { padding: 20px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--surface); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); }
.chat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent); color: #0b0b0f; font: 600 13px/1 var(--font-display); }
.chat__title b { display: block; font-size: 15px; }
.chat__title span { font-size: 12px; color: var(--dim); }
.chat__body { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); font-size: 14px; line-height: 1.5; }
.msg--me { align-self: flex-end; border: 1px solid rgba(255, 90, 44, 0.25); border-radius: 16px 16px 4px 16px; background: rgba(255, 90, 44, 0.13); }
.msg time { display: block; margin-top: 6px; font: 400 10px/1 var(--font-mono); color: var(--dim); text-align: right; }
.chat__note { margin-top: 16px; font: 400 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); text-align: center; }

/* Вертикали */
.vert { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vert__num { font: 500 12px/1 var(--font-mono); color: var(--accent); }
.vert h3 { margin-top: 28px; font-size: 26px; }
.vert__kind { margin-top: 8px; font: 500 11px/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.vert p { margin: 22px 0 28px; font-size: 15px; color: var(--muted); }
.vert dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.vert dt { font: 500 10px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.vert dd { margin: 8px 0 0; font-size: 14px; }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 24px; padding: 26px 0; list-style: none; font: 600 18px/1.35 var(--font-body); cursor: pointer; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary::after {
  content: ''; flex: none; width: 14px; height: 14px; margin-left: auto;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__n { flex: none; width: 28px; font: 500 12px/1 var(--font-mono); color: var(--dim); }
.faq__a { max-width: 820px; padding: 0 40px 28px 52px; color: var(--muted); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: 12px; }
.faq__a ul { display: grid; gap: 8px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group__title { margin-bottom: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 640px) {
  .faq summary { gap: 14px; padding: 22px 0; font-size: 16px; }
  .faq__a { padding: 0 0 24px 42px; }
}

/* Призыв к действию */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center;
  padding: 72px; overflow: hidden;
  border: 1px solid rgba(255, 90, 44, 0.32); border-radius: 32px;
  background:
    radial-gradient(70% 110% at 100% 0%, rgba(255, 45, 111, 0.16), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(255, 90, 44, 0.14), transparent 60%),
    var(--surface);
}
.cta .section__lead { margin-top: 20px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.cta__meta b { display: block; margin-bottom: 4px; font: 500 10px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.bot { padding: 24px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(8, 8, 11, 0.6); }
.bot__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bot ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: q; }
.bot li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; counter-increment: q; }
.bot li:last-child { border-bottom: 0; }
.bot li::before { content: counter(q, decimal-leading-zero); flex: none; padding-top: 2px; font: 500 11px/1.4 var(--font-mono); color: var(--accent); }
@media (max-width: 960px) { .cta { grid-template-columns: 1fr; gap: 40px; padding: 48px 28px; border-radius: 26px; } }
@media (max-width: 560px) { .cta { padding: 40px 20px; } .cta__actions .btn { width: 100%; } }

/* ---------- Внутренние страницы ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 80px; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ''; position: absolute; z-index: -1; inset: -30% -10% auto; height: 130%;
  background: radial-gradient(40% 50% at 85% 30%, rgba(255, 45, 111, 0.11), transparent 70%), radial-gradient(35% 45% at 10% 0%, rgba(255, 90, 44, 0.09), transparent 70%);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { max-width: 920px; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.08; }
.page-hero__lead { max-width: 700px; margin-top: 24px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.page-hero .hero__actions { margin-top: 32px; }
.page-hero--doc { padding-bottom: 56px; }
.page-hero--doc h1 { font-size: clamp(28px, 3.6vw, 46px); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.stats div { padding: 24px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 600 clamp(22px, 2.4vw, 32px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Вакансии */
.vacancy { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 56px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vacancy + .vacancy { margin-top: 16px; }
.vacancy__side h2 { margin: 18px 0 14px; font-size: clamp(22px, 2.2vw, 28px); }
.vacancy__side p { font-size: 15px; color: var(--muted); }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.vacancy__tags .tag:first-child { background: var(--accent-soft); color: var(--accent); }
.vacancy__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.vacancy__body h3 { margin-bottom: 16px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.vacancy__body .bullets { display: grid; gap: 10px; font-size: 14px; }
@media (max-width: 1100px) { .vacancy__body { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .vacancy { grid-template-columns: 1fr; gap: 32px; padding: 30px 22px; } }
@media (max-width: 640px) { .vacancy__body { grid-template-columns: 1fr; gap: 26px; } }

/* Документы */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 72px 0 120px; }
.doc__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 12px; font-size: 14px; }
.doc__toc b { margin-bottom: 4px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.doc__toc a { color: var(--muted); transition: color 0.2s; }
.doc__toc a:hover { color: var(--text); }
.prose { max-width: 780px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(20px, 2vw, 26px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font: 700 17px/1.4 var(--font-body); letter-spacing: 0; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; list-style: revert; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 90, 44, 0.6); text-underline-offset: 3px; }
.prose .note { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line-2); border-left: 2px solid var(--accent); border-radius: 12px; background: var(--surface); }
.prose .note p { color: var(--text); }
.prose table { width: 100%; min-width: 600px; margin: 20px 0; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.prose th { font: 500 11px/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.prose td:first-child { color: var(--text); }
.prose .table-wrap { overflow-x: auto; }
.doc__meta { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 0 88px; }
  .doc__toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
}

/* Список документов */
.doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-link { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, transform 0.3s; }
.doc-link:hover { border-color: rgba(255, 90, 44, 0.45); transform: translateY(-2px); }
.doc-link b { font: 600 18px/1.3 var(--font-display); }
.doc-link span { font-size: 15px; color: var(--muted); }
.doc-link i { margin-top: auto; padding-top: 8px; font: normal 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .doc-list { grid-template-columns: 1fr; } }

/* 404 */
.not-found { display: grid; place-items: center; min-height: 80vh; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; }
.not-found b { display: block; font: 700 clamp(80px, 18vw, 200px)/1 var(--font-display); letter-spacing: -0.04em; }
.not-found p { max-width: 460px; margin: 16px auto 32px; color: var(--muted); }

/* ---------- Подвал ---------- */

.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer__brand .om-logo { height: 30px; }
.footer__brand p { max-width: 340px; margin: 24px 0 24px; font-size: 14px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h2 { margin-bottom: 6px; font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.footer__col a, .footer__muted { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__muted { color: var(--dim); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Появление при прокрутке ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
