/* Aboba Team — корпоративный лендинг.
   Акцент задаётся одной переменной --a, всё остальное от неё производно. */

:root {
  --a: #C0FF4D;

  --bg: #08090A;
  --panel: rgba(255, 255, 255, .02);
  --fg: #EDEEF0;
  --soft: #B7BCC4;
  --muted: #8A8F98;
  --dim: #6B7078;
  --faint: #5E636B;
  --logo-row: #4E535B;

  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .09);
  --line-3: rgba(255, 255, 255, .1);

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none }
a:hover { color: var(--a) }
svg { display: block }

::selection { background: var(--a); color: var(--bg) }

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

/* Липкая шапка перекрывает якорь, если не отодвинуть цель скролла. */
section[id] { scroll-margin-top: 84px }

@keyframes ab-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes ab-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in oklab, var(--a) 45%, transparent) }
  70% { opacity: .7; box-shadow: 0 0 0 7px transparent }
}
@keyframes ab-blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes ab-arrow { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(4px) } }

/* ── Слои страницы ─────────────────────────────────────────────── */

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
}

.grid-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
}

[data-grid="off"] .grid-layer { opacity: 0 }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 80;
  background: var(--a);
  transition: width .08s linear;
}

.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  width: 1100px;
  height: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--a) 13%, transparent), transparent);
  filter: blur(20px);
}

/* ── Каркас секций ─────────────────────────────────────────────── */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) var(--gutter);
}

.section--products { padding: clamp(72px, 9vw, 120px) var(--gutter) }

.bordered { border-top: 1px solid var(--line) }

.band {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head__note {
  margin: 0;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--a);
}

.h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 600;
}

.u-mw20 { max-width: 20ch }
.u-mw22 { max-width: 22ch }
.u-mw24 { max-width: 24ch }
.u-mw34 { max-width: 34ch }
.u-nowrap { white-space: nowrap }

/* ── Шапка ─────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .3s;
}

.header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--a);
  border-radius: 7px;
  display: grid;
  place-items: center;
  transition: transform .3s;
}

a.logo:hover { color: inherit }
a.logo:hover .logo__mark { transform: rotate(45deg) }

.logo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
}

.logo__text {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.logo--sm .logo__mark { width: 22px; height: 22px; border-radius: 6px }
.logo--sm .logo__dot { width: 7px; height: 7px }
.logo--sm .logo__text { font-size: 15px }

.header__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.nav a { transition: color .18s }
.nav a:hover { color: var(--fg) }

/* Бургер: на десктопе не нужен, показывается только в мобильной раскладке. */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-3);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.burger:hover { border-color: rgba(255, 255, 255, .28) }

.burger__box {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
}

/* Средняя полоска — сам элемент, крайние — псевдоэлементы. */
.burger__line,
.burger__line::before,
.burger__line::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .18s;
}

.burger__line { top: 5.25px }
.burger__line::before { content: ""; top: -5.25px }
.burger__line::after { content: ""; top: 5.25px }

[data-menu-open] .burger__line { transform: rotate(45deg) }
[data-menu-open] .burger__line::before { transform: translateY(5.25px) rotate(-90deg) }
[data-menu-open] .burger__line::after { opacity: 0 }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: center;
  transition: transform .18s, filter .18s, box-shadow .25s, border-color .18s, background .18s;
}

.btn--primary { background: var(--a); color: var(--bg) }
.btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); color: var(--bg) }

.btn--lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px color-mix(in oklab, var(--a) 70%, transparent);
}

.btn--lift-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -16px color-mix(in oklab, var(--a) 70%, transparent);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--fg);
  font-weight: 500;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .04);
  color: var(--fg);
  filter: none;
  transform: none;
}

.btn--sm { flex: none; padding: 9px 17px; border-radius: 8px; font-size: 13.5px }
.btn--md { flex: none; padding: 12px 22px; font-size: 14.5px }
.btn--lg { padding: 13px 24px; font-size: 15px }
.btn--xl { padding: 14px 26px; font-size: 15px }

.btn--ghost.btn--lg { padding: 13px 22px }
.btn--ghost.btn--xl { padding: 14px 24px }

.btn__meta {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--dim);
}

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

.hero {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(76px, 11vw, 150px) var(--gutter) clamp(48px, 6vw, 76px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 8px;
  border: 1px solid var(--line-3);
  border-radius: 100px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--a);
  animation: ab-pulse 2.4s ease-out infinite;
}

.dot--fast { animation-duration: 2s }
.dot--slow { animation-duration: 2.6s }

.hero__title {
  margin: 26px 0 0;
  max-width: 17ch;
  font-size: clamp(42px, 7.2vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 600;
  text-wrap: balance;
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions {
  margin: 38px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__note {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

/* ── Строка статуса ────────────────────────────────────────────── */

.statusbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.statusbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 11px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}

.statusbar__live {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.statusbar__meta { flex: none }

.ticker {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .35s;
}

.caret {
  color: var(--a);
  animation: ab-blink 1.1s step-end infinite;
}

/* ── Метрики ───────────────────────────────────────────────────── */

.stats { border-bottom: 1px solid var(--line) }

.stats__grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.stat {
  padding: 38px 28px;
  border-right: 1px solid var(--line);
}

.stat:first-child { padding-left: 0 }
.stat:last-child { padding-right: 0; border-right: 0 }

.stat__num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.stat__num--accent { color: var(--a) }

.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg);
}

.stat__note {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

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

.marquee {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

[data-marquee="off"] .marquee { display: none }

.marquee__label {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ab-marquee 38s linear infinite;
}

.marquee__row {
  display: flex;
  align-items: center;
  gap: 54px;
  padding-right: 54px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--logo-row);
  white-space: nowrap;
}

/* ── Карточки продуктов ────────────────────────────────────────── */

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color .25s, background .25s, transform .25s;
}

.card:hover {
  border-color: color-mix(in oklab, var(--a) 45%, transparent);
  background: rgba(255, 255, 255, .045);
  transform: translateY(-4px);
  color: var(--fg);
}

/* Подсветка под курсором: координаты приходят из main.js. */
.card__spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
              color-mix(in oklab, var(--a) 13%, transparent), transparent 72%);
}

.card > *:not(.card__spot) { position: relative; z-index: 1 }

.card__icon { color: var(--a) }

.card__title {
  margin-top: 20px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.card__text {
  margin-top: 9px;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.card__meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}

.card__arrow {
  color: var(--a);
  animation: ab-arrow 2.6s ease-in-out infinite;
}

.card:nth-child(2) .card__arrow { animation-delay: .2s }
.card:nth-child(3) .card__arrow { animation-delay: .4s }
.card:nth-child(4) .card__arrow { animation-delay: .6s }

/* ── Роадмап ───────────────────────────────────────────────────── */

.roadmap {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roadmap__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(180px, 1.4fr) auto;
  gap: 20px 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.roadmap__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08) }

.roadmap__name {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.roadmap__desc {
  margin-top: 5px;
  font-size: 13px;
  color: var(--dim);
}

.track {
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.track__fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--a);
  transition: width 1.4s var(--ease);
}

.roadmap__status {
  min-width: 96px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

/* ── Инвесторам ────────────────────────────────────────────────── */

.inv-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--panel);
}

.chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.chart__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

.chart__delta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--a);
}

.chart__bars {
  margin-top: 28px;
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 1.4vw, 14px);
}

.chart__col {
  flex: 1;
  height: 0;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, .13);
  transition: height 1s var(--ease);
}

.chart__col:nth-child(2) { transition-delay: .07s }
.chart__col:nth-child(3) { transition-delay: .14s }
.chart__col:nth-child(4) { transition-delay: .21s }
.chart__col:nth-child(5) { transition-delay: .28s }
.chart__col:nth-child(6) { transition-delay: .35s }
.chart__col:nth-child(7) { transition-delay: .42s }

.chart__col--hi { background: rgba(255, 255, 255, .2) }

.chart__col--accent {
  background: var(--a);
  transition-duration: 1.1s;
  transition-delay: .5s;
}

.chart__axis {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.chart__axis--accent { color: var(--a) }

.kpi {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.kpi__cell {
  padding: 24px;
  background: #0A0B0C;
}

.kpi__val {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.kpi__val--accent { color: var(--a) }

.kpi__label {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.kpi__note {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.deck {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--panel);
  font-size: 14px;
  color: var(--muted);
}

.tag {
  padding: 4px 9px;
  border: 1px solid color-mix(in oklab, var(--a) 40%, transparent);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--a);
}

.deck__text { flex: 1; min-width: 200px }

.deck__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: gap .2s;
}

.deck__link:hover { gap: 12px; color: var(--fg) }
.deck__arrow { color: var(--a) }

/* ── Отзывы ────────────────────────────────────────────────────── */

.quotes {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 16px;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color .25s, transform .25s, background .25s;
}

.quote:hover {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .035);
  transform: translateY(-3px);
}

.quote__mark {
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
  color: var(--a);
}

.quote blockquote {
  margin: 14px 0 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.quote__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.quote__name { display: block; font-size: 14px; font-weight: 500 }
.quote__role { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim) }

/* ── Карьера ───────────────────────────────────────────────────── */

.careers__lead {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.vacancy {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid var(--line-3);
  border-radius: 16px;
  background: #0C0D0F;
  transition: border-color .25s;
}

.vacancy:hover { border-color: color-mix(in oklab, var(--a) 32%, transparent) }

.vacancy__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vacancy__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -.025em;
}

.chips {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.chip {
  padding: 4px 10px;
  border: 1px solid var(--line-3);
  border-radius: 100px;
}

.rule {
  margin: 28px 0;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}

.vacancy__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.col-title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--soft);
}

.list li { display: flex; gap: 11px }
.list li::before { content: "—"; flex: none; color: var(--a) }

/* ── Финальный призыв ──────────────────────────────────────────── */

.cta {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 130% at 50% 120%, color-mix(in oklab, var(--a) 14%, transparent), transparent);
}

.cta__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 116px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 600;
}

.cta__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.cta__actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta__note {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

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

.footer { border-top: 1px solid var(--line) }

.footer__grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer__about {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--faint);
}

.footer__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__links a { transition: color .18s }

.footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}

.footer__legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

/* ── Модалка заявки ────────────────────────────────────────────── */

.modal {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #0C0D0F;
  color: var(--fg);
}

.modal::backdrop {
  background: rgba(4, 5, 6, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal[open] { animation: ab-modal-in .28s var(--ease) }

@keyframes ab-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.98) }
  to { opacity: 1; transform: none }
}

.modal__card {
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s, border-color .18s;
}

.modal__close:hover { color: var(--fg); border-color: rgba(255, 255, 255, .28) }

.modal__title {
  margin: 12px 0 0;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 600;
}

.modal__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.field { display: block; margin-top: 18px }

.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--muted);
}

.field__opt { color: var(--faint) }

.field__input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-3);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .18s, background .18s;
}

.field__input::placeholder { color: var(--faint) }

.field__input:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--a) 55%, transparent);
  background: rgba(255, 255, 255, .05);
}

.field__input--area { resize: vertical; min-height: 76px; line-height: 1.5 }

.field__input[aria-invalid="true"] { border-color: #FF6B6B }

/* Ловушка для ботов: убрана из потока, но не display:none — иначе часть ботов её пропустит. */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal__error {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 107, 107, .4);
  border-radius: 9px;
  background: rgba(255, 107, 107, .08);
  font-size: 13.5px;
  line-height: 1.5;
  color: #FFB4B4;
}

.modal__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.modal__actions .btn { border: 0; font-family: inherit; cursor: pointer }
.modal__actions .btn[disabled] { opacity: .6; cursor: default }

.modal__hint {
  flex: 1;
  min-width: 160px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

/* Экран успеха подменяет содержимое формы. */
.modal__done {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.modal__done-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--a);
  border-radius: 50%;
  color: var(--a);
}

@media (max-width: 520px) {
  .modal__card, .modal__done { padding: 24px 20px }
  .modal__actions .btn { width: 100% }
  .modal__hint { min-width: 0 }
}

/* ── Появление при скролле ─────────────────────────────────────── */
/* Класс .anim ставится инлайн-скриптом в <head>: без JS контент виден сразу. */

.anim [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  will-change: opacity, transform;
}

.anim [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Адаптив ───────────────────────────────────────────────────── */

@media (max-width: 720px) {
  /* Шапка в одну строку: логотип + бургер. Меню выезжает под ними. */
  .header__inner {
    padding: 12px var(--gutter);
    flex-wrap: nowrap;
    gap: 12px;
  }

  .burger { display: block; flex: none }

  .header__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 4px;
    padding: 0 var(--gutter);
    /* Непрозрачный: сквозь полупрозрачный фон просвечивал заголовок hero. */
    background: #0B0C0E;
    border-bottom: 1px solid transparent;
    /* Схлопнуто по умолчанию: grid-rows 0fr → 1fr анимируется, в отличие от height:auto. */
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .3s var(--ease), opacity .2s, visibility .3s, border-color .3s;
  }

  .header__menu > * { min-height: 0; overflow: hidden }

  [data-menu-open] .header__menu {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    border-bottom-color: var(--line);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
    padding: 6px 0;
  }

  .nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
  }

  .header__menu .btn--sm {
    margin: 14px 0 20px;
    padding: 13px 18px;
    font-size: 14.5px;
  }
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: 1fr }

  .stat {
    padding: 28px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .stat:first-child { border-top: 0 }
  .stat:last-child { padding-right: 0 }

  .roadmap__row { grid-template-columns: 1fr; gap: 14px }
  .roadmap__status { text-align: left; min-width: 0 }

  .vacancy { padding: 24px }
  .panel { padding: 22px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }

  .marquee__track,
  .dot,
  .caret,
  .card__arrow { animation: none }

  .track__fill,
  .chart__col,
  .ticker,
  .progress { transition: none }
}
