/* ════════════════════════════════════════════════════════════
   АСТРО · общие стили лендинга V2 (многостраничный)
   ════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   КАСТОМНЫЙ КУРСОР — буква «А» как стрелка-указатель
   ════════════════════════════════════════════════════════════ */

/* Системный курсор скрываем только когда JS активировал кастомный */
body.cursor-active,
body.cursor-active * { cursor: none !important; }

.cursor-arrow {
  position: fixed;
  top: 0; left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  opacity: 0;
  /* остриё буквы А = (0,0) → hot-spot совпадает с реальной позицией мыши */
  transform-origin: 0 0;
  transition: opacity 0.18s ease;
}
body.cursor-active .cursor-arrow { opacity: 1; }

/* SVG-буква А */
.cursor-arrow svg {
  display: block;
  width: 32px;
  height: 32px;
  overflow: visible;
}
.cursor-arrow__letter {
  font-family: 'Manrope', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  /* белая обводка для контраста на любом фоне */
  paint-order: stroke fill;
  stroke: var(--bg);
  stroke-width: 4px;
  stroke-linejoin: round;
  fill: var(--fg);
  transition: fill 0.2s ease, stroke 0.2s ease;
}

/* На тёмном фоне — инвертируем: кремовая буква, тёмная обводка */
.hero .cursor-arrow__letter,
.final .cursor-arrow__letter,
.section--dark .cursor-arrow__letter {
  fill: var(--bg);
  stroke: var(--fg);
}

/* Hover на интерактивных элементах — буква становится охрой + увеличивается */
body.cursor-hover .cursor-arrow__letter {
  fill: var(--accent);
  stroke: var(--bg);
}
.hero.cursor-hover-on .cursor-arrow__letter,
body.cursor-hover .hero ~ .cursor-arrow .cursor-arrow__letter,
body.cursor-hover.cursor-on-dark .cursor-arrow__letter {
  fill: var(--accent-light);
}

/* Скрытие при выходе мыши за окно */
body.cursor-out .cursor-arrow { opacity: 0 !important; }

/* Тач-устройства — кастомный курсор не показываем */
@media (hover: none), (pointer: coarse) {
  .cursor-arrow { display: none; }
  body.cursor-active,
  body.cursor-active * { cursor: auto !important; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { padding-left: 22px; }

/* ─── палитра АСТРО ─── */
:root {
  --bg:           #F1EFE8;       /* кремовый — основной фон */
  --bg-alt:       #EAE2D0;       /* подложка для блоков */
  --bg-white:     #FFFFFF;       /* белый — карточки */
  --fg:           #193C1B;       /* лес-зелёный — текст и брендовые плашки */
  --fg-light:     #C5D2C0;       /* светлый зелёный для текста на тёмной плашке */
  --accent:       #C57C28;       /* охра — выделения */
  --accent-light: #E8A04A;       /* светлая охра — для тёмных фонов */
  --muted:        #607A60;       /* приглушённый зелёный — служебный */
  --text:         #2A2A26;       /* основной текст */
  --line:         rgba(25, 60, 27, 0.12);
  --line-strong:  rgba(25, 60, 27, 0.22);
  --line-on-dark: rgba(241, 239, 232, 0.14);
}

/* ─── контейнер ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1280px; }

/* ════════════════════════════════════════════════════════════
   ШАПКА (общая на всех страницах)
   ════════════════════════════════════════════════════════════ */
.header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(241, 239, 232, 0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--fg);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.logo::before {
  content: '[';
  color: var(--accent);
  font-weight: 600;
  font-size: 26px;
  margin-right: 8px;
  position: relative;
  top: 1px;
}
.logo::after {
  content: ']';
  color: var(--accent);
  font-weight: 600;
  font-size: 26px;
  margin-left: 8px;
  position: relative;
  top: 1px;
}
.nav {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav > * + * {
  margin-left: 28px;
}
.nav__link {
  color: var(--fg);
  padding: 8px 0;
  position: relative;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--accent); }
.nav__link--active {
  color: var(--fg);
  font-weight: 600;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--accent);
}
.nav__cta {
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s ease;
  font-size: 14px;
}
.nav__cta:hover { background: #0F2912; color: var(--bg); }

/* мобильное меню */
.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--fg); position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--fg);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top:  6px; }

/* ════════════════════════════════════════════════════════════
   КНОПКИ
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { background: #0F2912; }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--accent {
  background: var(--accent);
  color: var(--bg);
}
.btn--accent:hover { background: #B06D1F; }
.btn--big {
  padding: 18px 32px;
  font-size: 16px;
}

/* ════════════════════════════════════════════════════════════
   СЕКЦИИ
   ════════════════════════════════════════════════════════════ */
.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--fg);
  color: var(--bg);
}
.section--dark .section__label { color: var(--accent-light); }
.section--dark .section__title { color: var(--bg); }
.section--dark .section__lead  { color: var(--fg-light); }

.section__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0 0 20px;
}
.section__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  max-width: 720px;
  margin: 0 0 40px;
}

/* ════════════════════════════════════════════════════════════
   HERO (главная страница)
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--fg);
  color: var(--bg);
  padding: 96px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-on-dark);
}
.hero::before {
  /* фоновая Excel-сетка субтильная */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(241, 239, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 239, 232, 0.04) 1px, transparent 1px);
  background-size: 80px 40px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
  z-index: 2;
}

/* ─── ПАДАЮЩИЕ EXCEL-ЯЧЕЙКИ (анимация 0–3.2с) ─── */
.hero__cells {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__cells .cell {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Стилизация под Excel-ячейку */
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 500;
  color: rgba(241, 239, 232, 0.55);
  background: rgba(241, 239, 232, 0.04);
  border: 1px solid rgba(241, 239, 232, 0.10);
  padding: 5px 10px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  /* Начальная позиция через CSS-переменные --tx/--ty (от центра) */
  transform: translate(var(--tx, 0), calc(var(--ty, 0) - 30px)) rotate(var(--rot, 0));
  opacity: 0;
  animation: cellFall 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes cellFall {
  /* 0–18%: появление, падение */
  0% {
    opacity: 0;
    transform: translate(var(--tx), calc(var(--ty) - 30px)) rotate(var(--rot));
  }
  18% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  }
  /* 18–75%: статичны на своих местах */
  75% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  }
  /* 75–100%: схлопываются к центру с fade и scale */
  100% {
    opacity: 0;
    transform: translate(0, 0) rotate(0) scale(0.35);
  }
}

/* ─── ВСПЫШКА-ЯДРО (0.55с в момент схлопывания, 2.85–3.4с) ─── */
.hero__flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 60px var(--accent), 0 0 120px var(--accent-light);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: flash 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.85s forwards;
  z-index: 1;
}
@keyframes flash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}

/* ─── КАСКАДНОЕ ПОЯВЛЕНИЕ TITLE/SUBTITLE/CTA (3.0–4.6с) ─── */
.hero__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 3.0s forwards;
}
.hero__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 10vw, 124px);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--bg);
  margin: 0 0 24px;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 3.15s forwards;
}
.hero__subtitle {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  color: var(--fg-light);
  margin: 0 0 48px;
  line-height: 1.4;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 3.6s forwards;
}
.hero__subtitle b {
  color: var(--bg);
  font-weight: 500;
}
.hero__cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 3.9s forwards;
}
.hero__cta-wrap > * + * { margin-top: 14px; }
.hero__cta-wrap .btn--primary {
  background: var(--accent);
  color: var(--bg);
  padding: 18px 36px;
  font-size: 17px;
}
.hero__cta-wrap .btn--primary:hover { background: #B06D1F; }
.hero__caption {
  font-size: 13px;
  color: var(--fg-light);
  letter-spacing: -0.005em;
}

@keyframes heroFadeUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── РАЗМЕРНАЯ ЛИНИЯ (4.4с — последняя в каскаде) ─── */
.hero__dim {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-light);
  opacity: 0;
  animation: heroFadeUp 0.7s ease 4.4s forwards;
}
.hero__dim > * + * { margin-left: 24px; }
.hero__dim-line {
  flex: 1;
  max-width: 280px;
  height: 1px;
  background: var(--fg-light);
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  animation: dimDraw 0.8s cubic-bezier(0.4, 0, 0.2, 1) 4.6s forwards;
}
.hero__dim-line:last-of-type { transform-origin: right; }
.hero__dim-line::before, .hero__dim-line::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 1px; height: 11px;
  background: var(--fg-light);
}
.hero__dim-line::before { left: 0; }
.hero__dim-line::after  { right: 0; }
.hero__dim-marker {
  color: var(--bg);
  font-weight: 700;
}
@keyframes dimDraw {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ─── SKIP-ANIMATION (повторный визит на главную в той же сессии) ─── */
.anim-skip .hero__cells,
.anim-skip .hero__flash { display: none; }
.anim-skip .hero__tag,
.anim-skip .hero__title,
.anim-skip .hero__subtitle,
.anim-skip .hero__cta-wrap,
.anim-skip .hero__dim,
.anim-skip .hero__dim-line {
  opacity: 1;
  transform: none;
  animation: none;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .hero__cells, .hero__flash { display: none; }
  .hero__tag, .hero__title, .hero__subtitle, .hero__cta-wrap, .hero__dim {
    opacity: 1;
    animation: none;
  }
  .hero__dim-line { transform: none; animation: none; }
}

/* ════════════════════════════════════════════════════════════
   БЛОК ПРЕВЬЮ СВОДКИ (на главной)
   ════════════════════════════════════════════════════════════ */
.preview {
  padding: 0 0 88px;
  background: var(--fg);
}
.preview__frame {
  max-width: 1120px;
  margin: -40px auto 0;
  padding: 0 24px;
}
.preview__window {
  background: var(--bg-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.45),
    0 8px 20px -6px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line-on-dark);
}
.preview__bar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #E8E5DD;
  border-bottom: 1px solid var(--line);
}
.preview__bar > * + * { margin-left: 8px; }
.preview__dot { width: 11px; height: 11px; border-radius: 50%; }
.preview__dot--r { background: #FF5F57; }
.preview__dot--y { background: #FEBC2E; }
.preview__dot--g { background: #28C840; }
.preview__bar-title {
  margin-left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #888;
}
.preview__caption {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-light);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── XLMOCK: рисованный Excel-mock ─── */
.xlmock__tabs {
  display: flex;
  background: #F7F5EE;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}
.xlmock__tab {
  padding: 10px 16px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  cursor: default;
  white-space: nowrap;
}
.xlmock__tab--on {
  background: var(--bg-white);
  color: var(--fg);
  font-weight: 600;
  border-top: 2px solid var(--accent);
  margin-top: -1px;
  padding-top: 9px;
}
.xlmock__tab--more {
  color: var(--accent);
  font-weight: 500;
}

.xlmock__body {
  padding: 0;
  background: var(--bg-white);
}

/* Шапка с title — тёмно-зелёная */
.xlmock__header {
  background: var(--fg);
  color: var(--bg);
  padding: 28px 32px 24px;
}
.xlmock__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--bg);
  margin-bottom: 10px;
}
.xlmock__sub {
  font-size: 12px;
  color: var(--fg-light);
  letter-spacing: 0.02em;
}

/* 4 карточки 2x2 */
.xlmock__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  /* fallback старые WebKit */
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
@supports (display: grid) {
  .xlmock__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.xlmock__card {
  flex: 1 1 50%;
  padding: 22px 32px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-white);
  border-left: 3px solid var(--accent);
  margin-left: -3px;
}
.xlmock__card:nth-child(2),
.xlmock__card:nth-child(4) { border-right: none; }
.xlmock__card:nth-child(3),
.xlmock__card:nth-child(4) { border-bottom: none; }
.xlmock__card-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.xlmock__card-v {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.035em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}
.xlmock__card-v--accent { color: var(--accent); }
.xlmock__card-s {
  font-size: 11px;
  color: var(--muted);
}

/* Локальные сметы с полосками */
.xlmock__section {
  padding: 24px 32px 28px;
}
.xlmock__section-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.xlmock__section-t {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.xlmock__legend {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.xlmock__legend > * + * { margin-left: 14px; }
.xlmock__legend-d {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 4px;
  vertical-align: baseline;
}
.xlmock__legend-d--w { background: var(--fg); }
.xlmock__legend-d--m { background: var(--accent); }
.xlmock__legend-d--t { background: var(--muted); }
.xlmock__hint {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 14px;
}

/* Строка локальной сметы */
.xlmock__row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}
.xlmock__row > * + * { margin-left: 14px; }
.xlmock__row-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  color: var(--accent);
  min-width: 60px;
}
.xlmock__row-name {
  font-weight: 600;
  color: var(--fg);
  flex: 1;
  min-width: 180px;
}
.xlmock__row-n {
  font-size: 11px;
  color: var(--muted);
  min-width: 50px;
  text-align: right;
}
.xlmock__row-bar {
  display: flex;
  width: 80px;
  height: 6px;
}
.xlmock__row-bar > i {
  display: block;
  height: 100%;
}
.xlmock__row-sum {
  font-weight: 700;
  color: var(--fg);
  min-width: 100px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.xlmock__more {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  text-align: right;
  margin-top: 12px;
}

/* ════════════════════════════════════════════════════════════
   КАРТОЧКИ — что делаем
   ════════════════════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* fallback для старых WebKit (например wkhtmltoimage) */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.cards > .card {
  flex: 1 1 calc(33.333% - 24px);
  margin: 0 12px 24px;
  min-width: 240px;
}
/* В современных браузерах с grid-display - переопределяет */
@supports (display: grid) {
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
  }
  .cards > .card { margin: 0; flex: none; min-width: 0; }
}
.card {
  background: var(--bg-white);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.card__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 14px;
}
.card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   ШАГИ — как работает
   ════════════════════════════════════════════════════════════ */
.steps {
  display: flex;
  border: 1px solid var(--line);
  background: var(--bg-white);
}
.step {
  flex: 1;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 20px;
}
.step__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 12px;
}
.step__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   ПРОГРАММЫ (поддерживаемые форматы)
   ════════════════════════════════════════════════════════════ */
.programs {
  background: var(--bg-white);
  padding: 36px 32px;
  border: 1px solid var(--line);
}
.programs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.programs__item {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
  position: relative;
  padding-right: 20px;
}
.programs__item:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 0;
  color: var(--accent);
}
.programs__formats {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.programs__formats b {
  color: var(--fg);
}
.programs__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.programs__note a { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   ТАРИФЫ
   ════════════════════════════════════════════════════════════ */
/* Toggle Помесячно/Годовая */
.billing-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.billing-toggle > * + * { margin-left: 18px; }
.billing-toggle__btns {
  display: inline-flex;
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
}
.billing-toggle__btn {
  padding: 8px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.18s ease;
}
.billing-toggle__btn--on {
  background: var(--fg);
  color: var(--bg);
}
.billing-toggle__gift {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(197, 124, 40, 0.10);
  border: 1px solid rgba(197, 124, 40, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.billing-toggle__gift--on {
  opacity: 1;
  transform: translateX(0);
}

.tariffs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.tariffs > .tariff {
  flex: 1 1 calc(33.333% - 24px);
  margin: 12px;
  min-width: 280px;
}
@supports (display: grid) {
  .tariffs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
  }
  .tariffs > .tariff { margin: 0; flex: none; min-width: 0; }
}

.tariff {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
}

/* Триал-плашка над тарифом */
.tariff__trial {
  position: absolute;
  top: -12px;
  left: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tariff__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.tariff__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 8px;
}
.tariff__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
  min-height: 38px;
}
.tariff--popular {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
}
.tariff--popular::before {
  content: 'ПОПУЛЯРНЫЙ';
  position: absolute;
  top: -12px; left: 24px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.tariff__price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 4px;
  line-height: 1;
}
.tariff__price--small {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.tariff__period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.tariff__bonus {
  display: inline-block;
  background: rgba(197, 124, 40, 0.10);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 8px 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  min-height: 22px;
}
.tariff__bonus--on { opacity: 1; }
.tariff__bonus--placeholder {
  visibility: hidden;
  opacity: 0;
}
.tariff__div {
  border: none;
  border-top: 1px solid var(--line);
  margin: 22px 0 22px;
}
.tariff__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.tariff__list > li + li { margin-top: 12px; }
.tariff__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.tariff__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   PAIN POINTS — Зачем это нужно
   ════════════════════════════════════════════════════════════ */
.pain {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.pain__col {
  flex: 1 1 calc(50% - 32px);
  margin: 16px;
  min-width: 280px;
}
@supports (display: grid) {
  .pain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 0;
  }
  .pain__col { margin: 0; flex: none; min-width: 0; }
}

.pain__col-h {
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.pain__col-i {
  margin-right: 10px;
  flex-shrink: 0;
}

.pain__item {
  background: var(--bg-white);
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  margin-bottom: 14px;
}
.pain__item-t {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.25;
}
.pain__item-x {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   О ПРОДУКТЕ (about)
   ════════════════════════════════════════════════════════════ */
.about {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
  align-items: flex-start;
}
.about__text { flex: 1 1 60%; margin: 20px; min-width: 320px; }
.about__author { flex: 1 1 30%; margin: 20px; min-width: 280px; }
@supports (display: grid) {
  .about {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    margin: 0;
    align-items: start;
  }
  .about__text, .about__author { margin: 0; flex: none; min-width: 0; }
}
.about__text p { font-size: 15px; line-height: 1.75; color: var(--text); margin: 0 0 18px; }
.about__skills-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}
.about__skills {
  list-style: none;
  margin: 0; padding: 0;
}
.about__skills li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}
.about__skills li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

.about__author-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 28px;
}
.about__author-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.about__author-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.about__author-bio {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
}
.about__stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
}
.about__stats > * + * { margin-left: 28px; }
.about__stat-v {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1;
}
.about__stat-l {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   МЕТОДЫ И НОРМАТИВНЫЕ БАЗЫ (таблица)
   ════════════════════════════════════════════════════════════ */
.methods {
  background: var(--bg-white);
  border: 1px solid var(--line);
  margin-top: 24px;
}
.methods__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.methods__row:last-child { border-bottom: none; }
.methods__row > * + * { margin-left: 24px; }
.methods__prog {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg);
  flex: 0 0 110px;
}
.methods__bases {
  font-size: 13px;
  color: var(--muted);
  flex: 0 0 240px;
  line-height: 1.5;
}
.methods__pills {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}
.methods__pills > * { margin: 4px 8px 4px 0; }
.methods__pill {
  display: inline-block;
  background: rgba(197, 124, 40, 0.10);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after {
  content: '−';
}
.faq__a {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.faq__a p { margin: 0 0 12px; }
.faq__a p:last-child { margin: 0; }

/* ════════════════════════════════════════════════════════════
   КОНТАКТЫ
   ════════════════════════════════════════════════════════════ */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.contacts__block h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 14px;
}
.contacts__block p { margin: 6px 0; font-size: 15px; }
.contacts__block a { color: var(--accent); }
.contacts__block dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  font-size: 14px;
  margin: 0;
}
.contacts__block dt {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}
.contacts__block dd { margin: 0; }

/* ════════════════════════════════════════════════════════════
   ФИНАЛЬНЫЙ CTA
   ════════════════════════════════════════════════════════════ */
.final {
  background: var(--fg);
  color: var(--bg);
  padding: 96px 0;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.final__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bg);
  margin: 0 0 20px;
}
.final__lead {
  font-size: 19px;
  color: var(--fg-light);
  margin: 0 0 40px;
}

/* ════════════════════════════════════════════════════════════
   ПОДВАЛ
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 8px;
}
.footer__brand::before {
  content: '[';
  color: var(--accent);
  font-weight: 600;
  font-size: 28px;
  margin-right: 8px;
  position: relative;
  top: 2px;
}
.footer__brand::after {
  content: ']';
  color: var(--accent);
  font-weight: 600;
  font-size: 28px;
  margin-left: 8px;
  position: relative;
  top: 2px;
}
.footer__tagline {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 320px;
}
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.footer ul a { color: var(--fg); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.footer__legal a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   АДАПТИВ
   ════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ════════════════════════════════════════════════════════════ */

/* ─── ПЛАНШЕТ И УЗКИЕ ЭКРАНЫ (≤ 900px) ─── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section__title { font-size: clamp(28px, 5vw, 38px); }
  .section__lead { font-size: 16px; margin-bottom: 32px; }
  
  /* Шапка — компактнее */
  .header { padding: 16px 0; }
  .nav > * + * { margin-left: 18px; }
  
  /* Сетки — в 1 колонку */
  .cards, .tariffs { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step { flex: none; border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  
  .pain { grid-template-columns: 1fr; gap: 16px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  
  /* Hero — компактнее */
  .hero { padding: 56px 0 48px; }
  .hero__dim { margin-top: 48px; flex-direction: column; }
  .hero__dim > * + * { margin-left: 0; margin-top: 12px; }
  .hero__dim-line { width: 80%; max-width: none; }
  
  /* xlmock — title меньше, карточки 2x1 → подзаголовок отдельной строкой */
  .preview { padding: 0 0 64px; }
  .preview__frame { margin-top: -28px; padding: 0 16px; }
  .xlmock__header { padding: 20px 20px 18px; }
  .xlmock__title { font-size: 17px; }
  .xlmock__sub { font-size: 11px; }
  .xlmock__card { padding: 16px 20px 14px; }
  .xlmock__card-v { font-size: 22px; }
  .xlmock__section { padding: 18px 20px 22px; }
  
  /* Локальные сметы — упрощаем */
  .xlmock__row { font-size: 11px; flex-wrap: wrap; }
  .xlmock__row-name { min-width: 140px; font-size: 11px; }
  .xlmock__row-bar { width: 50px; }
  .xlmock__row-sum { font-size: 11px; min-width: 80px; }
  
  /* Methods — стек колонок */
  .methods__row { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
  .methods__row > * + * { margin-left: 0; margin-top: 10px; }
  .methods__prog { font-size: 18px; flex: none; }
  .methods__bases { flex: none; font-size: 12px; }
  
  /* About — статистика рядом */
  .about__stats { flex-direction: row; flex-wrap: wrap; }
  .about__stats > * { margin-right: 24px; }
  
  /* Финал CTA — компактнее */
  .final { padding: 64px 0; }
  .final__title { font-size: clamp(36px, 7vw, 56px); }
  .final__lead { font-size: 16px; }
  
  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── ТЕЛЕФОН (≤ 600px) ─── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  
  /* Шапка — только лого + кнопка «Загрузить» */
  .header { padding: 14px 0; }
  .header__inner { gap: 12px; }
  .logo { font-size: 18px; }
  .logo::before, .logo::after { font-size: 22px; margin: 0 5px; top: 1px; }
  
  /* На телефоне в шапке скрываем все ссылки кроме CTA */
  .nav__link:not(.nav__cta) { display: none; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
  
  /* Hero — узко */
  .hero { padding: 48px 0 40px; }
  .hero__tag { font-size: 10px; margin-bottom: 20px; letter-spacing: 0.14em; }
  .hero__title { font-size: clamp(48px, 14vw, 80px); }
  .hero__subtitle { font-size: 16px; margin-bottom: 32px; }
  .hero__cta-wrap .btn--primary { padding: 14px 28px; font-size: 15px; width: 100%; max-width: 280px; justify-content: center; }
  
  /* Размерная линия на телефоне — скрываем (не вмещается красиво) */
  .hero__dim { display: none; }
  
  /* xlmock — ещё компактнее */
  .preview__frame { margin-top: -24px; padding: 0 12px; }
  .preview__bar { padding: 8px 10px; }
  .preview__bar-title { font-size: 10px; margin-left: 10px; }
  .xlmock__tabs { padding: 0 8px; font-size: 11px; }
  .xlmock__tab { padding: 8px 10px; }
  .xlmock__header { padding: 16px 16px 14px; }
  .xlmock__title { font-size: 14px; line-height: 1.3; }
  .xlmock__sub { font-size: 10px; }
  
  /* 4 карточки на телефоне — в 1 колонку */
  .xlmock__cards { grid-template-columns: 1fr; }
  .xlmock__card { padding: 14px 16px 12px; border-right: none !important; border-bottom: 1px solid var(--line); }
  .xlmock__card:last-child { border-bottom: none; }
  .xlmock__card-l { font-size: 9px; letter-spacing: 0.12em; }
  .xlmock__card-v { font-size: 22px; }
  .xlmock__card-s { font-size: 10px; }
  
  /* Локальные сметы — спрятать полоски, более простой формат */
  .xlmock__section { padding: 14px 16px 18px; }
  .xlmock__section-h { flex-direction: column; align-items: flex-start; }
  .xlmock__legend { display: none; }
  .xlmock__row { padding: 8px 0; font-size: 11px; }
  .xlmock__row-bar { display: none; }
  .xlmock__row-name { min-width: 0; flex: 1; font-size: 12px; }
  .xlmock__row-code { min-width: 50px; font-size: 10px; }
  .xlmock__row-n { display: none; }
  
  /* Карточки с краёв охрой — без отступа на тесном экране */
  .card { padding: 24px 20px; }
  .card__title { font-size: 19px; }
  
  /* Tariffs — компактнее */
  .billing-toggle { flex-direction: column; align-items: flex-start; }
  .billing-toggle > * + * { margin-left: 0; margin-top: 12px; }
  .tariff { padding: 32px 22px 28px; }
  .tariff__name { font-size: 22px; }
  .tariff__price { font-size: 30px; }
  .tariff__trial { font-size: 10px; padding: 5px 10px; left: 12px; right: 12px; }
  
  /* FAQ — компактнее */
  .faq__q { padding: 18px 20px; font-size: 15px; }
  .faq__a { padding: 0 20px 20px; font-size: 14px; }
  
  /* Pain points — карточки уже */
  .pain__item { padding: 18px 20px; }
  .pain__item-t { font-size: 16px; }
  .pain__item-x { font-size: 13px; }
  
  /* About */
  .about__author-card { padding: 22px; }
  .about__skills li { font-size: 13px; }
  
  /* Финал */
  .final { padding: 48px 0; }
  .final__title { font-size: clamp(32px, 9vw, 48px); }
  
  /* Footer — мельче */
  .footer { font-size: 13px; padding: 32px 0 20px; }
  .footer__brand { font-size: 20px; }
  .footer__brand::before, .footer__brand::after { font-size: 24px; }
}
/* ════════════════════════════════════════════════════════════
   ВОРОНКА ОБРАБОТКИ + ЛИЧНЫЙ КАБИНЕТ
   ════════════════════════════════════════════════════════════ */

/* ─── Упрощённая шапка для воронки/кабинета ─── */
.header--simple .nav__link:not(.nav__cta) {
  color: var(--muted);
}
.header--simple .nav__link:hover { color: var(--fg); }

/* ─── Узкий контейнер для центрированного контента ─── */
.app-section {
  padding: 56px 0 88px;
  min-height: 70vh;
}
.app-section__heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0 0 16px;
}
.app-section__sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 40px;
  line-height: 1.55;
  max-width: 600px;
}

/* ════════════════════════════════════════════════════════════
   UPLOAD — drag-and-drop зона
   ════════════════════════════════════════════════════════════ */
.upload {
  background: var(--bg-white);
  border: 2px dashed var(--line-strong);
  padding: 64px 32px;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
  display: block;
  position: relative;
}
.upload:hover,
.upload.is-dragover {
  border-color: var(--accent);
  background: rgba(197, 124, 40, 0.04);
}
.upload__icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  color: var(--accent);
}
.upload__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 10px;
}
.upload__hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.upload__hint b { color: var(--fg); font-weight: 600; }
.upload__btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  pointer-events: none; /* клик идёт на родительский label */
}
.upload__formats {
  margin-top: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.upload__formats > b {
  color: var(--accent);
  margin: 0 6px;
}

/* Параметры файла под dropzone */
.upload-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.upload-meta > * + * { margin-left: 24px; }
.upload-meta b { color: var(--fg); font-weight: 600; }

/* Информационные плашки под загрузкой */
.upload-notes {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.upload-notes > .note {
  flex: 1 1 280px;
  margin: 8px;
  padding: 18px 22px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.note__t {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.note__x {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   PROCESSING — прогресс-бар + этапы
   ════════════════════════════════════════════════════════════ */
.processing {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 40px 36px;
}
.processing__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.processing__file {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.processing__file-size {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Полоса прогресса */
.progress {
  height: 8px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  width: 0%;
  transition: width 0.5s ease;
}
.progress__fill::after {
  /* блик-анимация бегущая по полосе */
  content: '';
  position: absolute;
  inset: 0 0 0 -50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(241, 239, 232, 0.35) 50%,
    transparent 100%
  );
  animation: progressShimmer 1.6s ease-in-out infinite;
}
@keyframes progressShimmer {
  0%   { transform: translateX(0); }
  100% { transform: translateX(200%); }
}
.progress__row {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.progress__pct {
  color: var(--accent);
  font-weight: 700;
}

/* Этапы обработки */
.stages {
  list-style: none;
  margin: 0; padding: 0;
}
.stages li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.stages li:last-child { border-bottom: none; }
.stages li > * + * { margin-left: 14px; }
.stages li.is-done { color: var(--fg); }
.stages li.is-active { color: var(--fg); font-weight: 600; }

.stage__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  background: var(--bg-white);
}
.is-done .stage__icon {
  background: var(--fg);
  border-color: var(--fg);
}
.is-done .stage__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path d="M6 11l3.5 3.5L17 7" fill="none" stroke="%23F1EFE8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.is-active .stage__icon {
  border-color: var(--accent);
}
.is-active .stage__icon::after {
  /* спиннер */
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage__name { flex: 1; }
.stage__detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Сменяющиеся подсказки внизу — для длинных файлов */
.processing__hint {
  margin-top: 32px;
  padding: 18px 22px;
  background: rgba(197, 124, 40, 0.06);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  min-height: 60px;
  transition: opacity 0.4s ease;
}
.processing__hint b { color: var(--accent); font-style: normal; font-weight: 700; }

/* Кнопка отмены */
.processing__cancel {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.processing__cancel a { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   DONE — результат готов
   ════════════════════════════════════════════════════════════ */
.done {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 48px 40px;
  text-align: center;
}
.done__check {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.done__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 8px;
}
.done__sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 32px;
}
.done__sub b { color: var(--accent); font-weight: 700; }

/* Краткая сводка */
.done__metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px -16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.done__metric {
  flex: 1 1 140px;
  margin: 0 16px;
  padding: 8px 0;
}
.done__metric-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.done__metric-v {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1;
}
.done__metric-v--accent { color: var(--accent); }

.done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.done__actions > * + * { margin-left: 14px; }

/* ════════════════════════════════════════════════════════════
   ЛИЧНЫЙ КАБИНЕТ
   ════════════════════════════════════════════════════════════ */
.lk-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .lk-grid { grid-template-columns: 1fr; gap: 24px; }
}
.lk-side {
  position: sticky;
  top: 90px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 24px 0;
}
.lk-side__user {
  padding: 0 22px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.lk-side__user-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
  margin: 0 0 4px;
}
.lk-side__user-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lk-side__nav { list-style: none; margin: 0; padding: 0; }
.lk-side__nav a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.lk-side__nav a:hover { background: var(--bg-alt); color: var(--fg); }
.lk-side__nav .is-current a {
  color: var(--fg);
  font-weight: 700;
  border-left-color: var(--accent);
  background: rgba(197, 124, 40, 0.06);
}
.lk-side__nav-divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

/* Главная панель личного кабинета */
.lk-main { min-width: 0; }

/* Hero-карточка для нового разбора */
.lk-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 32px 32px;
  border: 1px solid var(--fg);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.lk-cta__text { flex: 1; min-width: 240px; padding-right: 24px; }
.lk-cta__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--bg);
  margin: 0 0 6px;
}
.lk-cta__sub { font-size: 14px; color: var(--fg-light); margin: 0; }

/* Статистика */
.lk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 600px) { .lk-stats { grid-template-columns: 1fr; } }
.lk-stat {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 22px 24px;
}
.lk-stat__l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.lk-stat__v {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1;
}
.lk-stat__v small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.lk-stat__bar {
  margin-top: 14px;
  height: 4px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.lk-stat__bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
}
.lk-stat__hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* Заголовок раздела личного кабинета */
.lk-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 18px;
}

/* Таблица разборов */
.lk-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border: 1px solid var(--line);
}
.lk-table th, .lk-table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.lk-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
}
.lk-table tr:last-child td { border-bottom: none; }
.lk-table tr:hover td { background: rgba(197, 124, 40, 0.03); }
.lk-table__file {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
}
.lk-table__sum {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  white-space: nowrap;
}
.lk-table__date {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  white-space: nowrap;
}
.lk-table__status {
  display: inline-block;
  padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lk-table__status--ok {
  background: rgba(96, 122, 96, 0.16);
  color: var(--fg);
}
.lk-table__status--warn {
  background: rgba(197, 124, 40, 0.14);
  color: var(--accent);
}
.lk-table__action a {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.lk-table__action a:hover { text-decoration: underline; }

/* Адаптив таблицы — на телефоне карточками */
@media (max-width: 600px) {
  .lk-table thead { display: none; }
  .lk-table, .lk-table tbody, .lk-table tr, .lk-table td { display: block; width: 100%; }
  .lk-table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
  .lk-table td { padding: 4px 18px; border: none; font-size: 13px; }
  .lk-table td::before {
    content: attr(data-label);
    display: inline-block;
    width: 110px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* Форма-карточка для настроек аккаунта */
.lk-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.lk-card__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lk-form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.lk-form-row:last-child { border-bottom: none; }
@media (max-width: 600px) {
  .lk-form-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}
.lk-form-row dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lk-form-row dd { margin: 0; color: var(--fg); }
.lk-form-row dd b { font-weight: 600; }

/* Бейдж тарифа */
.lk-tariff-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(197, 124, 40, 0.12);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lk-tariff-badge::before {
  content: '●';
  margin-right: 6px;
}

/* Действия в карточке */
.lk-card__actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
}
.lk-card__actions > * + * { margin-left: 12px; }
.lk-card__actions a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.lk-card__actions a:hover { text-decoration: underline; }
.lk-card__actions a.danger { color: #B0432B; }

/* ════════════════════════════════════════════════════════════
   ФОРМЫ AUTH (login / register / forgot)
   ════════════════════════════════════════════════════════════ */
.auth {
  max-width: 440px;
  margin: 0 auto;
}
.auth__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 10px;
}
.auth__sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.55;
}
.auth__sub a { color: var(--accent); font-weight: 600; }

.auth-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 36px 36px;
}
@media (max-width: 600px) {
  .auth-card { padding: 28px 22px; }
}

/* Триал-плашка над формой регистрации */
.auth-trial {
  background: var(--accent);
  color: var(--bg);
  padding: 14px 20px;
  margin: -36px -36px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
@media (max-width: 600px) {
  .auth-trial { margin: -28px -22px 22px; padding: 12px 16px; font-size: 12px; }
}

.field {
  margin-bottom: 18px;
}
.field__label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field__input:focus {
  border-color: var(--accent);
  background: var(--bg-white);
}
.field__hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
}
.checkbox-row input { margin-right: 10px; margin-top: 3px; flex-shrink: 0; }
.checkbox-row a { color: var(--accent); }

.auth__submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.18s ease;
}
.auth__submit:hover { background: #0F2A11; }
.auth__submit--accent {
  background: var(--accent);
}
.auth__submit--accent:hover { background: #B06D1F; }

.auth__divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.auth__divider::before,
.auth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth__divider::before { margin-right: 14px; }
.auth__divider::after  { margin-left: 14px; }

.auth__footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth__footer a {
  color: var(--accent);
  font-weight: 600;
}
.auth__forgot {
  text-align: right;
  margin: -8px 0 18px;
}
.auth__forgot a {
  font-size: 12px;
  color: var(--muted);
}
.auth__forgot a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   КОМАНДА (тариф Бизнес)
   ════════════════════════════════════════════════════════════ */
.team-quota {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.team-quota b {
  color: var(--accent);
  font-size: 14px;
  margin-right: 6px;
}

.team-list {
  background: var(--bg-white);
  border: 1px solid var(--line);
}
.team-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.team-row:last-child { border-bottom: none; }
@media (max-width: 600px) {
  .team-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
  }
  .team-row__role, .team-row__action {
    grid-column: 2;
    justify-self: start;
  }
}
.team-row__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
}
.team-row__avatar--accent { background: var(--accent); }
.team-row__info { min-width: 0; }
.team-row__name {
  font-weight: 600;
  color: var(--fg);
  font-size: 14px;
}
.team-row__email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.team-row__role {
  display: inline-block;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-row__role--owner {
  background: rgba(96, 122, 96, 0.16);
  color: var(--fg);
}
.team-row__role--member {
  background: var(--bg-alt);
  color: var(--muted);
}
.team-row__role--pending {
  background: rgba(197, 124, 40, 0.14);
  color: var(--accent);
}
.team-row__action a {
  font-size: 12px;
  color: var(--muted);
}
.team-row__action a:hover { color: var(--accent); }
.team-row__action a.danger { color: #B0432B; }

.team-invite {
  background: var(--bg-white);
  border: 1px dashed var(--line-strong);
  padding: 28px 26px;
  margin-top: 18px;
  text-align: center;
}
.team-invite__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
  margin: 0 0 6px;
}
.team-invite__sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}
.team-invite__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
.team-invite__form > .field__input { flex: 1; margin-right: 8px; }
@media (max-width: 600px) {
  .team-invite__form { flex-direction: column; }
  .team-invite__form > .field__input { margin: 0 0 8px 0; }
}


/* ════════════════════════════════════════════════════════════
   FIX: конфликт .lk-card__actions a с .btn--accent
   .lk-card__actions a объявляет color:var(--accent), что делает
   текст невидимым на оранжевом фоне .btn--accent. Возвращаем
   светлый цвет для кнопок-акцентов внутри блока действий.
   ════════════════════════════════════════════════════════════ */
.lk-card__actions a.btn--accent { color: var(--bg); }
.lk-card__actions a.btn--accent:hover { color: var(--bg); }

/* ════════════════════════════════════════════════════════════
   FLASH-сообщения (общий компонент, рендерится в base.html)
   ════════════════════════════════════════════════════════════ */
.flash-container {
  max-width: 720px;
  margin: 16px auto 0;
  padding: 0 24px;
}
.flash-container:empty { margin: 0; padding: 0; }
.flash {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 4px;
  border: 1px solid;
  font-size: 14px;
}
.flash--error   { background: #fbe9e9; border-color: #d04040; color: #a02020; }
.flash--warn    { background: #fdf6e3; border-color: #c49416; color: #7a5a00; }
.flash--success { background: #e9f7ea; border-color: #4a9a52; color: #245c2a; }
.flash--info, .flash--message { background: #eef2f6; border-color: #98a8b6; color: #3a4754; }
