/* ============================================================
   Матч&мяч — продуктовый лендинг /landing
   Единая дизайн-система страницы: токены → примитивы → секции.
   Файл автономен: со старым guest-landing-v57.css не пересекается,
   чтобы правка одного лендинга не задевала второй.
   ============================================================ */

/* ------------------------------ ТОКЕНЫ ------------------------------ */
:root {
  /* Поверхности: почти чёрный с зелёно-графитовым уклоном */
  --bg:        #070A08;
  --surface:   #0D120F;
  --elev:      #121914;
  --elev-2:    #18211A;

  /* Текст */
  --text:      #F3F5F2;
  --muted:     #98A69C;
  /* Светлее, чем просится по вкусу: на #121914 прежний #69766D давал 3.8:1,
     то есть мелкие подписи не дотягивали до AA. Здесь 4.6:1 — минимум,
     при котором подпись остаётся тихой, но читаемой. */
  --dim:       #778479;

  /* Линии: разделяют бордерами, а не тенями */
  --line:      rgba(243,245,242,.08);
  --line-2:    rgba(243,245,242,.14);
  --line-acc:  rgba(200,255,61,.22);

  /* Акцент — только CTA, активные состояния и ключевые цифры */
  --accent:    #C8FF3D;
  --accent-dk: #A8E01B;
  --accent-ink:#0A0F0B;
  --win:       #C8FF3D;
  --loss:      #E8654F;

  /* Радиусы: умеренные, без pill-формы */
  --r-card:  22px;
  --r-panel: 20px;
  --r-sm:    12px;
  --r-btn:   12px;

  /* Тени почти незаметны */
  --shadow:    0 24px 60px rgba(0,0,0,.34);
  --shadow-sm: 0 10px 28px rgba(0,0,0,.26);

  --wrap: 1240px;
  --gutter: 24px;
  --pad-y: clamp(76px, 9vw, 150px);
  --header-h: 80px;

  --ease: cubic-bezier(.22,.7,.3,1);
}

/* ------------------------------ БАЗА ------------------------------ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Якорь не должен уезжать под sticky-шапку */
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body.ace-lp {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ресет обёрнут в :where() — нулевая специфичность. Иначе селектор вида
   `.ace-lp ul` (0,1,1) перебивает отступы компонентов вроде `.hero-meta`
   (0,1,0), и заданный в секции margin молча не применяется. */
.ace-lp :where(a) { color: inherit; text-decoration: none; }
.ace-lp :where(img) { display: block; max-width: 100%; height: auto; }
.ace-lp :where(button) { font: inherit; color: inherit; }
.ace-lp :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
.ace-lp :where(ul, ol) { padding: 0; list-style: none; }
.ace-lp ::selection { background: var(--accent); color: var(--accent-ink); }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: var(--pad-y); position: relative; }

/* Полоса-подложка: чуть светлее фона, отделяет ключевые секции */
.band { background: linear-gradient(180deg, transparent, var(--surface) 12%, var(--surface) 88%, transparent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-btn);
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 16px; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.ico { flex: none; }

/* ------------------------------ ТИПОГРАФИКА ------------------------------ */
.ace-lp h1 {
  font-size: clamp(42px, 6.4vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.038em;
}

.ace-lp h2 {
  font-size: clamp(32px, 4.9vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.034em;
}

.ace-lp h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
}

.hl { color: var(--accent); }
.hl-quiet { color: var(--muted); }

.lead {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.68;
  color: var(--muted);
  max-width: 54ch;
  font-weight: 500;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,255,61,.12);
}
.eyebrow .num { color: var(--accent); letter-spacing: 0; font-size: 12px; }
.eyebrow.is-quiet { color: var(--muted); }

/* Подзаголовок всегда отбит от заголовка — в каких бы секциях он ни стоял. */
.ace-lp :is(h1, h2) + .lead { margin-top: 22px; }

.head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.head.is-center { margin-inline: auto; text-align: center; }
.head.is-center .lead { margin-inline: auto; }
.head .lead { margin-top: 20px; }

/* ------------------------------ КНОПКИ ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-weight: 700; font-size: 14.5px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), color .18s var(--ease);
}
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15.5px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #D6FF63; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--accent-dk); }

.btn-line { border-color: var(--line-2); background: rgba(243,245,242,.03); color: var(--text); }
.btn-line:hover { border-color: var(--line-acc); background: rgba(200,255,61,.05); transform: translateY(-1px); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(243,245,242,.05); }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  font-weight: 700; font-size: 14.5px; color: var(--accent);
}
.link-cta .ico { transition: transform .2s var(--ease); }
.link-cta:hover .ico { transform: translateX(4px); }

.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ------------------------------ ПРИМИТИВЫ ------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(243,245,242,.03);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.chip.is-on { border-color: var(--line-acc); background: rgba(200,255,61,.09); color: var(--accent); }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Честная пометка, а не бейдж. Рамка и фон делали из неё акцент, и страница
   начинала выглядеть как склад заглушек — поэтому только мелкий моноширинный
   текст в углу панели. */
.badge-demo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.ava {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid var(--line-2);
  color: var(--text);
  flex: none;
}
.ava.lg { width: 52px; height: 52px; font-size: 14px; }
.ava.sm { width: 34px; height: 34px; font-size: 11px; }
.ava[data-tone="a"] { background: linear-gradient(150deg, #26331F, #171E16); }
.ava[data-tone="b"] { background: linear-gradient(150deg, #1E2A33, #151B1E); }
.ava[data-tone="c"] { background: linear-gradient(150deg, #302A1E, #1D1A15); }
.ava[data-tone="d"] { background: linear-gradient(150deg, #2A2333, #1A171E); }

.delta { font-size: 12.5px; font-weight: 700; }
.delta.up, .mono.up { color: var(--accent); }

.ticks { display: grid; gap: 11px; margin-top: 26px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.ticks .ico { color: var(--accent); margin-top: 3px; }

/* UI-панель — базовая «оболочка интерфейса» для всех продуктовых мокапов */
.ui-panel {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ui-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(243,245,242,.02);
}
.ui-title {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.ui-title .ico { color: var(--accent); }

.ui-filters { display: flex; gap: 8px; padding: 16px 18px 6px; flex-wrap: wrap; }
.ui-filters.is-scroll {
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 14px;
}
.ui-filters.is-scroll::-webkit-scrollbar { display: none; }

/* ============================================================
   МЕДИА И КОМПОЗИЦИЯ
   Ассеты Матч&мяч — студийные снимки на светлом фоне. Гасить их до
   тёмных бессмысленно: на чёрной странице светлая плашка сама по себе
   работает как акцент, а тёмный UI поверх её края даёт нужный контраст.
   ============================================================ */

.plate {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20,24,21,.96), rgba(10,13,11,.96));
  box-shadow: 0 26px 72px rgba(0,0,0,.34);
}
.plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Лёгкая десатурация и контраст — чтобы фото читалось как часть Матч&мяч,
     а не как посторонний сток. Никаких цветных фильтров. */
  filter: saturate(.94) contrast(1.03);
}
/* Затемнение с того края, где ложится UI: иначе тёмная панель на светлом
   фоне выглядит наклейкой, а не частью кадра. */
.plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(205deg, rgba(7,10,8,0) 38%, rgba(7,10,8,.62) 100%);
}
.plate.is-flat::after { background: linear-gradient(180deg, rgba(7,10,8,0) 45%, rgba(7,10,8,.7) 100%); }

.plate-tag {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
}
.plate-tag .ico { color: var(--accent); }

/*
  Сцена: фото занимает основную площадь, UI выходит на его край и упирается
  в правую границу колонки. Наружу колонки ничего не торчит — иначе на
  1280px страница начинает ездить по горизонтали.
*/
.stage { position: relative; isolation: isolate; }
.stage-media { width: 88%; aspect-ratio: 16 / 10; }
.stage-ui {
  position: absolute; z-index: 2;
  right: 0; bottom: -7%;
  width: 64%;
}
.stage.is-left .stage-media { margin-left: auto; }
.stage.is-left .stage-ui { right: auto; left: 0; }
/*
  Сцена с портретом. Кадр квадратный, а карточка матча узкая и опущена ниже
  середины: при прежней раскладке она перекрывала лицо, и от «реального
  игрока» оставалось плечо. UI наезжает на корпус, лицо остаётся открытым.
*/
.cutout.stage-media { width: 100%; aspect-ratio: 4 / 3; }
.cutout img { width: min(78%, 340px); }
.cutout.is-photo img { width: min(90%, 380px); border-radius: 26px; }
.match-card.stage-ui { width: 66%; bottom: -11%; }

/* Портрет-вырез: у ассета прозрачный фон, поэтому рамка не нужна —
   он стоит прямо на странице, в мягком пятне света. */
.cutout {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 5 / 4;
}
.cutout::before {
  content: ""; position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(200,255,61,.13), transparent 62%);
  filter: blur(24px);
}
.cutout img {
  position: relative;
  width: min(78%, 340px);
  filter: saturate(.9) contrast(1.04) drop-shadow(0 26px 44px rgba(0,0,0,.55));
}

/* Аватар-фото: примерно треть профилей — с лицом, остальные инициалами. */
.ava.is-photo { overflow: hidden; background: #E9E6DF; padding: 0; }
.ava.is-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------ ШАПКА ------------------------------ */
/* z-index выше открытого меню: иначе оверлей накрывает логотип и кнопку
   закрытия, и выйти из меню становится нечем. */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(7,10,8,.82), rgba(7,10,8,0));
  border: 0;
  pointer-events: none;
}
.lp-header.is-menu-open { background: var(--bg); }
.lp-header.is-stuck { background: linear-gradient(180deg, rgba(7,10,8,.94), rgba(7,10,8,.18)); }

.lp-header-in {
  display: flex; align-items: center; gap: 22px;
  height: 64px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(243,245,242,.10);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(19,27,21,.78), rgba(8,12,9,.70));
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  box-shadow: 0 18px 52px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
  transition: height .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
  pointer-events: auto;
}
.lp-header.is-stuck .lp-header-in {
  height: 60px;
  background: linear-gradient(160deg, rgba(18,26,20,.90), rgba(8,12,9,.86));
  border-color: rgba(243,245,242,.14);
}

/* Высота подобрана под пропорцию нового локапа 5.15:1: при прежних 42px
   знак растягивался на 213px и вплотную подходил к меню и кнопкам. */
.lp-brand img { height: 28px; width: auto; }

.lp-nav { display: flex; gap: 4px; margin-left: auto; }
.lp-nav a {
  padding: 8px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.lp-nav a:hover { color: var(--text); background: rgba(243,245,242,.05); }

.lp-header-cta { display: flex; align-items: center; gap: 10px; }
.lp-header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 13.5px; }

.lp-burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(243,245,242,.03); cursor: pointer;
}
.lp-burger .burger-close { display: none; }
.lp-burger[aria-expanded="true"] .burger-open { display: none; }
.lp-burger[aria-expanded="true"] .burger-close { display: block; }

/* Мобильное меню — отдельный слой, а не выпадающий список поверх контента */
.lp-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(7,10,8,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: var(--header-h);
  overflow-y: auto;
  animation: menuIn .2s var(--ease);
}
.lp-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

.lp-menu-in {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: 20px 0 40px;
  display: grid; gap: 26px;
}
.lp-menu-nav { display: grid; gap: 2px; }
.lp-menu-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700; letter-spacing: -.02em;
}
.lp-menu-nav .ico { color: var(--accent); }
.lp-menu-cta { display: grid; gap: 10px; }

/* ------------------------------ HERO ------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(70px, 7vw, 112px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg-photo {
  position: absolute;
  inset: -7% -3% -8% 30%;
  width: 76%;
  height: 118%;
  object-fit: cover;
  object-position: 52% 56%;
  opacity: .23;
  filter: saturate(.62) contrast(1.14) brightness(.72);
  transform: scale(1.04);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 48% at 70% 31%, rgba(200,255,61,.10), transparent 67%),
    linear-gradient(90deg, rgba(7,10,8,1) 0%, rgba(7,10,8,.96) 34%, rgba(7,10,8,.57) 68%, rgba(7,10,8,.86) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-copy { max-width: 700px; }
.hero-lead { margin-top: 24px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.62; color: var(--muted); max-width: 54ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--dim);
}
.hero-meta .ico { color: var(--accent); opacity: .85; }

/* Мокап — главный визуальный вес первого экрана */
.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: 8% 6% 12%;
  background: radial-gradient(ellipse at 50% 45%, rgba(200,255,61,.11), transparent 66%);
  filter: blur(38px);
}
/*
  Мокап крупнее своей колонки и уходит правым краем за границу секции.
  Так первый экран читается как кадр с глубиной, а не как панель, аккуратно
  положенная в сетку. Обрезает .hero { overflow: hidden }.
*/
.hero-shot {
  position: relative;
  width: 118%; max-width: none;
  margin-left: -4%;
  filter: drop-shadow(0 46px 80px rgba(0,0,0,.62));
}

/* Мяч — акцент, а не иллюстрация: небольшой, наполовину за мокапом. */
/* Мяч уходит в нижний угол, карточка матча — выше: на одной высоте они
   накладывались и оба переставали читаться. */
.hero-ball {
  position: absolute;
  left: -5%; bottom: 2%;
  width: clamp(96px, 13%, 156px);
  z-index: 1;
  filter: saturate(.9) drop-shadow(0 18px 30px rgba(0,0,0,.5));
  animation: floaty 9s ease-in-out infinite;
  animation-delay: -1.8s;
}

/*
  Настоящее стекло, а не тёмная плашка. Прежние rgba(18,25,20,.82) были почти
  непрозрачными — blur под ними не читался, и карточки выглядели как обычные
  карточки. Здесь: светлый градиент низкой альфы, заметный blur, тонкая
  верхняя блик-кромка через inset-тень. Применяется только к floating-слою —
  основные поверхности страницы остаются плотными.
*/
.glass {
  /* Тонировка тёмная, а не белая: карточки ложатся и на чёрный фон, и на
     светлые участки мокапа — на белой подложке белое стекло съедало текст.
     Прозрачность остаётся заметной, размытие делает своё дело. */
  background: linear-gradient(158deg, rgba(22,30,24,.74), rgba(9,13,10,.62) 68%);
  border: 1px solid rgba(243,245,242,.16);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    0 24px 58px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.26);
}

.float {
  position: absolute; z-index: 2;
  border-radius: 16px;
  animation: floaty 7s ease-in-out infinite;
}

/* Крупная карточка профиля — второй по значимости объект сцены после мокапа. */
.float-profile {
  right: -4%; bottom: 6%;
  width: min(300px, 62%);
  padding: 16px;
  border-radius: 18px;
  animation-delay: -2.6s;
}
.fp-top { display: flex; align-items: center; gap: 10px; }
.fp-top .ava { width: 40px; height: 40px; }
.fp-id { flex: 1; min-width: 0; }
.fp-id b { display: block; font-size: 14px; font-weight: 700; }
.fp-id small { display: block; font-size: 11.5px; color: var(--dim); }
.fp-top .badge-demo { font-size: 8.5px; }

.fp-elo { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.float-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.float-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.float-row b { font-size: 38px; line-height: 1; color: var(--accent); }
.float-row .delta { font-size: 14px; }

.fp-spark { display: block; width: 100%; height: 52px; margin: 10px 0 4px; }
.fp-area { fill: rgba(200,255,61,.12); }
.fp-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.fp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding-top: 12px; border-top: 1px solid var(--line);
}
.fp-stats b { display: block; font-size: 16px; line-height: 1.2; }
.fp-stats small { display: block; font-size: 10px; color: var(--dim); margin-top: 2px; }

/* Карточка дуэли — левый нижний угол сцены, противовес карточке профиля. */
.float-duel {
  left: -8%; top: 13%;
  width: min(232px, 48%);
  padding: 14px 15px;
  animation-delay: -4.2s;
}
.fd-label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--dim); }
.fd-row { display: flex; align-items: center; gap: 9px; margin: 12px 0 11px; }
.fd-side { display: grid; justify-items: center; gap: 6px; flex: 1; min-width: 0; }
.fd-side .ava { width: 34px; height: 34px; font-size: 10.5px; }
.fd-side b { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.fd-vs { font-size: 10px; color: var(--accent); letter-spacing: .08em; }
.fd-venue {
  display: flex; align-items: center; gap: 6px;
  padding-top: 10px; border-top: 1px solid rgba(243,245,242,.1);
  font-size: 10.5px; color: var(--muted);
}

/* Строка доверия под CTA */
.hero-proof {
  display: flex; align-items: center; gap: 16px;
  margin-top: 26px;
}
.proof-avas { display: flex; }
.proof-avas i {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bg);
  background: var(--elev-2);
  font-size: 11px; font-weight: 700; font-style: normal; color: var(--muted);
  flex: none;
}
.proof-avas i + i { margin-left: -12px; }
.proof-avas img { width: 100%; height: 100%; object-fit: cover; }
.proof-avas i[data-tone="b"] { background: linear-gradient(150deg, #1E2A33, #151B1E); }
.proof-avas i[data-tone="c"] { background: linear-gradient(150deg, #302A1E, #1D1A15); }
.proof-avas i[data-tone="d"] { background: linear-gradient(150deg, #2A2333, #1A171E); }
.hero-proof p { font-size: 13px; line-height: 1.55; color: var(--muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ------------------------------ ИГРОВОЙ ЦИКЛ ------------------------------ */
.strip {
  position: relative;
  padding-block: clamp(28px, 3.2vw, 44px);
  border-block: 1px solid rgba(243,245,242,.08);
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(200,255,61,.045), transparent 70%),
    linear-gradient(180deg, #0A0F0C, #0C110E);
}
.strip::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: min(420px, 50vw); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(200,255,61,.62), transparent);
}
.journey-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  margin-bottom: 20px;
}
.journey-head span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.journey-head b {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.journey-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(243,245,242,.09);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(243,245,242,.018);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 106px;
  padding: 20px 22px;
}
.journey-list li + li { border-left: 1px solid rgba(243,245,242,.08); }
.journey-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  right: -11px;
  top: 50%;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(200,255,61,.18);
  border-radius: 999px;
  background: #0B100D;
  color: var(--accent);
  font: 600 11px/1 "IBM Plex Mono", monospace;
}
.journey-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(200,255,61,.18);
  background: rgba(200,255,61,.055);
  color: var(--accent);
  font-size: 11px;
}
.journey-list b {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}
.journey-list small {
  display: block;
  margin-top: 5px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.4;
}
.strip-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px 8px 0;
  border-top: 1px solid rgba(243,245,242,.06);
  text-align: center;
}
.strip-stats[hidden] { display: none; }
.strip-stats b { display: block; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; color: var(--text); }
.strip-stats small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--dim); }

/* ------------------------------ PRODUCT STORIES ------------------------------ */
.story {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.story.is-flip .story-copy { order: 2; }
.story.is-flip .story-ui { order: 1; }
.story-copy { max-width: 520px; }

/* Список игроков */
.plist { padding: 8px; display: grid; gap: 4px; }
.plist .prow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 13px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.plist .prow:hover { background: rgba(243,245,242,.035); border-color: var(--line); }

.pinfo { min-width: 0; }
.pinfo b { display: block; font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pinfo small {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--dim); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pinfo small .ico { opacity: .7; }

.pstat { text-align: right; }
.pstat b { display: block; font-size: 16px; color: var(--accent); line-height: 1.15; }
.pstat small { display: block; font-size: 11px; color: var(--dim); }

.pact {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--muted);
}
.plist .prow:hover .pact { border-color: var(--line-acc); color: var(--accent); }

.pfree { font-size: 11.5px; color: var(--dim); white-space: nowrap; }

.plist.is-rich .prow { grid-template-columns: auto minmax(0, 1fr) auto auto auto; padding: 13px 14px; }


.story-ui .ui-panel,
.stage .stage-ui {
  background: linear-gradient(158deg, rgba(22,30,24,.74), rgba(9,13,10,.62) 68%);
  border: 1px solid rgba(243,245,242,.16);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    0 24px 58px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.26);
}
.story-ui .ui-bar,
.story-ui .match-out,
.story-ui .match-foot,
.story-ui .mm-foot {
  background: rgba(243,245,242,.03);
}
.story-ui .pact,
.story-ui .pill-win,
.story-ui .btn-demo,
.story-ui .slot {
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

/* Карточка матча */
.match-card .duel {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
  padding: 26px 20px 22px;
}
.duel .side { display: grid; justify-items: center; gap: 7px; text-align: center; min-width: 0; }
.duel .side b { font-size: 14.5px; font-weight: 700; }
.duel .side small { font-size: 12px; color: var(--dim); }
.duel .side.is-win .ava { border-color: var(--line-acc); box-shadow: 0 0 0 3px rgba(200,255,61,.1); }
.duel .side.is-win b { color: var(--accent); }

.score { display: grid; gap: 5px; justify-items: center; }
.score-row { display: flex; gap: 14px; }
.score-row span { font-size: 26px; line-height: 1; }
.score-row .dim { color: var(--dim); }
.score-tag {
  margin-top: 5px; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}

.match-out {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: rgba(200,255,61,.035);
}
.pill-win {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 9px;
  background: rgba(200,255,61,.12); border: 1px solid var(--line-acc);
  font-size: 12.5px; font-weight: 700; color: var(--accent);
}
.elo-move { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; color: var(--muted); }
.elo-move .ico { color: var(--dim); }

.match-foot {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.match-foot span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--dim); }

/* KPI + мини-график */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kpi { padding: 18px 16px; background: var(--elev); }
.kpi small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.kpi b { display: block; margin-top: 6px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.1; }
.kpi:first-child b { color: var(--accent); }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; }
.form-row > small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.form-dots { display: flex; gap: 5px; }
.form-dots i {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; font-style: normal;
  line-height: 1;
}
.form-dots .w { background: rgba(200,255,61,.15); color: var(--accent); }
.form-dots .l { background: rgba(232,101,79,.14); color: var(--loss); }

.mini-chart { padding: 0 0 0; border-top: 1px solid var(--line); }
.mini-chart svg { width: 100%; height: 96px; display: block; }
.mc-area { fill: rgba(200,255,61,.09); }
.mc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* ------------------------------ КАК ЭТО РАБОТАЕТ ------------------------------ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  position: relative;
}
/* Линия корта, соединяющая шаги */
.steps::before {
  content: ""; position: absolute;
  left: 8%; right: 8%; top: 26px; height: 1px;
  background: linear-gradient(to right, transparent, var(--line-acc), transparent);
}
.step { position: relative; padding-top: 0; }
.step-n {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-acc);
  background: var(--bg);
  color: var(--accent); font-size: 14px;
  position: relative; z-index: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); max-width: 32ch; }

/* ============================================================
   ЛЕНТА ЭКРАНОВ ПРИЛОЖЕНИЯ
   Базовое состояние — обычный свайп-рельс. Режим «прибитой» секции
   включает JS классом .is-pinned, поэтому без скрипта секция остаётся
   рабочей, а не превращается в пустое место высотой в три экрана.
   ============================================================ */
/* Без overflow на секции: любой overflow у предка делает его контейнером
   прокрутки, и sticky внутри перестаёт прилипать к вьюпорту. Ленту обрезает
   .shots-rail, ему этого достаточно. */
.shots { position: relative; }

.shots-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  padding-block: 6px 10px;
}
.shots-rail::-webkit-scrollbar { display: none; }
.shots-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.shots-track {
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  width: max-content;
  will-change: transform;
}

.shot {
  scroll-snap-align: center;
  width: clamp(280px, 26vw, 380px);
  flex: none;
}

.shot-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(0,0,0,.58);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.shot-frame img {
  width: 100%;
  aspect-ratio: 573 / 1225;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* Низ кадра гасим — под ним лежит стеклянная плашка. */
.shot-frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 44%;
  background: linear-gradient(to top, rgba(6,9,7,.94) 12%, rgba(6,9,7,.55) 46%, transparent);
  pointer-events: none;
}
.shot:hover .shot-frame { transform: translateY(-8px); border-color: var(--line-acc); }

.shot-badge {
  position: absolute; z-index: 2;
  left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: 17px;
}
.shot-ic {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: rgba(200,255,61,.16);
  border: 1px solid var(--line-acc);
  color: var(--accent);
  flex: none;
}
.shot-txt { flex: 1; min-width: 0; }
.shot-txt b { display: block; font-size: 14.5px; font-weight: 700; }
.shot-txt small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.shot-n { font-size: 11px; color: var(--dim); }

.shots-foot {
  display: flex; align-items: center; gap: 18px;
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin: 26px auto 0;
}
.shots-hint {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.shots-hint .ico { color: var(--accent); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

.shots-progress {
  flex: 1;
  height: 2px; border-radius: 2px;
  background: rgba(243,245,242,.07);
  overflow: hidden;
}
.shots-progress i {
  display: block; height: 100%; width: 22%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  transition: transform .12s linear;
}
.shots-count { font-size: 12px; color: var(--dim); white-space: nowrap; }
.shots-count b { color: var(--accent); font-weight: 600; }

/* ---- Режим прибитой секции (включается скриптом на десктопе) ---- */
.shots.is-pinned .shots-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.shots.is-pinned .shots-rail {
  overflow: hidden;
  scroll-snap-type: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
/* Заголовок едет вместе со сценой — иначе на всё время залипания на экране
   остаются одни телефоны без объяснения, что это. В прибитом режиме он
   сжимается: экран приходится делить с лентой. */
.shots.is-pinned .shots-head {
  margin-bottom: clamp(20px, 3vh, 36px);
  max-width: 620px;
}
.shots.is-pinned .shots-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.shots.is-pinned .shots-head .lead { font-size: 14.5px; margin-top: 12px; }

/* В прибитом режиме карточка не может быть выше экрана. Соотношение кадра
   573/1225 ≈ 0.468, поэтому ширину ограничиваем через высоту вьюпорта. */
.shots.is-pinned .shot { width: min(clamp(280px, 26vw, 380px), 27vh); }
.shots.is-pinned .shots-track { transition: transform .09s linear; }
.shots.is-pinned .shots-foot { margin-top: 30px; }
.shots.is-pinned .shots-hint .ico { transform: rotate(90deg); animation: nudgeDown 2.4s ease-in-out infinite; }
@keyframes nudgeDown { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(5px); } }

/* ------------------------------ МАТЧМЕЙКИНГ ------------------------------ */
.mm {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.mm-copy { max-width: 500px; }

/* Панель каталога — главный объект секции: крупнее, с воздухом внутри строк
   и мягким свечением под ней, чтобы она читалась как окно продукта. */
.mm-ui { position: relative; }
.mm-ui::before {
  content: ""; position: absolute; inset: 12% 4% -6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(200,255,61,.09), transparent 68%);
  filter: blur(46px);
  pointer-events: none;
}
.mm-ui .ui-panel { position: relative; }
.mm-ui .prow { padding: 15px 16px; }
.mm-ui .ava { width: 44px; height: 44px; }
.mm-ui .pinfo b { font-size: 15.5px; }
.mm-ui .pstat b { font-size: 18px; }

.mm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--dim);
}
.mm-foot b { color: var(--muted); font-weight: 600; }
.mm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ------------------------------ РЕЙТИНГ ------------------------------ */
.dash {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
}
.dash-side { padding: 26px; border-right: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }

.dash-hero small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.dash-hero b { display: block; margin: 6px 0 4px; font-size: clamp(44px, 5vw, 58px); line-height: 1; color: var(--accent); }

.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.dash-kpis .kpi { padding: 14px; }
.dash-kpis .kpi b { font-size: 21px; color: var(--text); }
.dash-side .form-row { padding: 0; }

.goal { display: grid; gap: 9px; }
.goal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.goal-top span { display: inline-flex; align-items: center; gap: 8px; }
.goal-top .ico { color: var(--accent); }
.goal-top b { color: var(--text); font-size: 15px; }
.goal-bar { height: 6px; border-radius: 999px; background: rgba(243,245,242,.07); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dk), var(--accent)); transition: width 1.1s var(--ease); }
.is-on-screen .goal-bar i { width: var(--p); }
.goal > small { font-size: 11.5px; color: var(--dim); }

.dash-chart { margin: 0; padding: 22px 22px 12px; min-width: 0; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: rgba(243,245,242,.055); stroke-width: 1; }
.chart .goal-line { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 5; opacity: .45; }
.chart text { font-family: "IBM Plex Mono", monospace; font-size: 10px; fill: var(--dim); }
.chart .y-axis text { text-anchor: end; }
.chart .x-axis text { text-anchor: middle; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .pts circle { fill: var(--elev); stroke: var(--accent); stroke-width: 1.6; }
.chart .pt-now { fill: var(--accent); stroke: var(--elev); stroke-width: 3; }

/* Прорисовка линии при появлении секции */
.dash .chart .line, .dash .chart .area { opacity: 0; transition: opacity .4s var(--ease); }
.dash.is-on-screen .chart .area { opacity: 1; }
.dash.is-on-screen .chart .line {
  opacity: 1;
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  animation: drawLine 1.5s var(--ease) forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.dash.is-on-screen .chart .pts circle,
.dash.is-on-screen .chart .pt-now { animation: popIn .4s var(--ease) backwards; }
.dash.is-on-screen .chart .pts circle:nth-child(1) { animation-delay: .5s; }
.dash.is-on-screen .chart .pts circle:nth-child(2) { animation-delay: .65s; }
.dash.is-on-screen .chart .pts circle:nth-child(3) { animation-delay: .8s; }
.dash.is-on-screen .chart .pts circle:nth-child(4) { animation-delay: .95s; }
.dash.is-on-screen .chart .pts circle:nth-child(5) { animation-delay: 1.1s; }
.dash.is-on-screen .chart .pts circle:nth-child(6) { animation-delay: 1.25s; }
.dash.is-on-screen .chart .pt-now { animation-delay: 1.45s; }
@keyframes popIn { from { opacity: 0; transform: scale(.4); transform-origin: center; } }

/* ------------------------------ ТУРНИРЫ ------------------------------ */
/* Кубки сверху, сетка наезжает на нижнюю треть кадра. */
.tour-stage { position: relative; }
.tour-media { aspect-ratio: 24 / 7; }
.tour-stage .bracket-panel {
  position: relative; z-index: 2;
  width: 94%;
  margin: clamp(-130px, -9vw, -70px) auto 0;
}
.bracket-panel { background: var(--elev); }

.bracket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 2.4vw, 28px);
  align-items: center;
}
.round { display: grid; gap: 14px; align-content: center; }
.round-t {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 2px;
}

.tie {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.tie:hover { border-color: var(--line-2); }
.tie.is-final { border-color: var(--line-acc); }

.tp {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  padding: 10px 12px;
}
.tp + .tp { border-top: 1px solid var(--line); }
.tp i {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 9.5px; font-weight: 700; font-style: normal;
  background: rgba(243,245,242,.06); color: var(--muted);
}
.tp b { font-size: 13px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp em { font-size: 12.5px; font-style: normal; color: var(--dim); letter-spacing: .12em; }
.tp.is-win b { color: var(--text); font-weight: 700; }
.tp.is-win em { color: var(--accent); }
.tp.is-win i { background: rgba(200,255,61,.14); color: var(--accent); }

.champ {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px; padding: 13px 14px;
  border: 1px solid var(--line-acc); border-radius: var(--r-sm);
  background: rgba(200,255,61,.06);
}
.champ .ico { color: var(--accent); }
.champ b { display: block; font-size: 13.5px; }
.champ small { display: block; font-size: 11.5px; color: var(--dim); }

/* Сетка проявляется по раундам */
.bracket .round { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.is-on-screen .bracket .round { opacity: 1; transform: none; }
.is-on-screen .bracket .round:nth-child(2) { transition-delay: .16s; }
.is-on-screen .bracket .round:nth-child(3) { transition-delay: .32s; }

/* ------------------------------ ТРЕНЕРЫ ------------------------------ */
.coach-head { display: flex; align-items: center; gap: 14px; padding: 20px; }
.coach-id { min-width: 0; flex: 1; }
.coach-id b { display: block; font-size: 16px; font-weight: 700; }
.coach-id small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.coach-price { font-size: 18px; color: var(--accent); white-space: nowrap; }
.coach-price small { font-size: 11px; color: var(--dim); font-family: Manrope, sans-serif; font-weight: 600; }

.coach-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 20px 18px; }

.slots { padding: 16px 20px; border-top: 1px solid var(--line); }
.slots-t { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 11px; }
.slots-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(243,245,242,.03);
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 600;
  color: var(--muted);
}
.slot.is-busy { opacity: .38; text-decoration: line-through; }
.slot.is-on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.coach-foot { padding: 14px 20px; border-top: 1px solid var(--line); }

/* ------------------------------ ЛЕНТА ------------------------------ */
.act {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.act-copy { max-width: 540px; }

/* Портрет игрока и лента активности: лента наезжает на нижний край кадра. */
/* Одна колонка, которой РАЗРЕШЕНО быть уже своего содержимого.
   С grid-template-columns: auto трек берёт min-content, а он тут задан
   картинкой внутри .cutout (aspect-ratio + width: min(90%, 380px)) и
   доходит до 608px. Колонка оказывалась шире секции, и страница получала
   горизонтальную прокрутку на любой ширине экрана. */
.collage { display: grid; grid-template-columns: minmax(0, 1fr); }
.collage > * { min-width: 0; }
.collage-portrait {
  aspect-ratio: 16 / 10;
  margin-bottom: 4px;
}
.collage-portrait img { width: min(52%, 300px); }
.collage-feed {
  position: relative; z-index: 2;
  margin: -58px 3% 0;
}

.feed-list { padding: 8px; display: grid; gap: 2px; }
.feed-list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 13px;
  padding: 13px 12px; border-radius: var(--r-sm);
  transition: background .16s var(--ease);
}
.feed-list li:hover { background: rgba(243,245,242,.035); }
.fic {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(200,255,61,.09); color: var(--accent);
}
.feed-list b { display: block; font-size: 14px; font-weight: 700; }
.feed-list small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.feed-list time { font-size: 11.5px; color: var(--dim); white-space: nowrap; }

/* ------------------------------ PRO-БЛОКИ ------------------------------ */
.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }

.pro-card {
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pro-card:hover { border-color: var(--line-2); transform: translateY(-2px); }

.pro-tag {
  align-self: flex-start;
  padding: 5px 11px; border-radius: 8px;
  background: rgba(200,255,61,.1); border: 1px solid var(--line-acc);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.pro-card h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 14px; }
.pro-card > p { font-size: 14.5px; color: var(--muted); }

.pro-list { display: grid; gap: 12px; margin: 26px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pro-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.pro-list .ico { color: var(--accent); opacity: .8; }
.pro-card .btn { margin-top: auto; }

/* ------------------------------ PRIVATE ------------------------------ */
.private {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 68px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background:
    radial-gradient(ellipse at 88% 10%, rgba(200,255,61,.05), transparent 55%),
    linear-gradient(140deg, #10160F, #0A0E0B 65%);
  position: relative;
  overflow: hidden;
}
.private::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(243,245,242,.02) 1px, transparent 1px) 0 0/54px 54px,
    linear-gradient(to bottom, rgba(243,245,242,.02) 1px, transparent 1px) 0 0/54px 54px;
  mask-image: linear-gradient(115deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 62%);
}
.private-copy { position: relative; z-index: 1; }
.private-copy .btn { margin-top: 30px; }
.private-copy .eyebrow .ico { color: var(--muted); }

.private-list { position: relative; z-index: 1; display: grid; gap: 2px; }
.private-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(243,245,242,.02);
}
.private-list .ico { color: var(--muted); }
.private-list b { display: block; font-size: 14px; }
.private-list small { display: block; font-size: 12px; color: var(--dim); }

/* ------------------------------ ТАРИФЫ ------------------------------ */
.price-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  margin: 0 auto 36px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
}
.price-tabs { display: flex; width: max-content; margin-inline: auto; }
.price-tabs button {
  min-height: 40px; padding: 0 26px;
  border: 0; border-radius: 10px; background: transparent;
  font-size: 14px; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease);
}
.price-tabs button:hover { color: var(--text); }
.price-tabs button.is-on { background: var(--accent); color: var(--accent-ink); }

.price-pane[hidden] { display: none; }

.price-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; max-width: 800px; margin-inline: auto;
}
.price-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }

.price-card {
  display: flex; flex-direction: column;
  position: relative;
  padding: 28px 26px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.price-card.is-accent {
  border-color: var(--line-acc);
  background: linear-gradient(165deg, rgba(200,255,61,.055), var(--elev) 42%);
}
.price-badge {
  position: absolute; top: -11px; left: 26px;
  padding: 4px 11px; border-radius: 7px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.price-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
}
.price-card h3 { margin: 8px 0 18px; font-size: 21px; }
.price-val { display: flex; align-items: baseline; gap: 8px; }
.price-val b { font-size: clamp(34px, 3.4vw, 44px); line-height: 1; }
.price-val span { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-val.is-text { font-size: 27px; font-weight: 800; letter-spacing: -.03em; }
.price-note { display: block; margin-top: 8px; font-size: 12px; color: var(--dim); }

.price-specs { display: grid; gap: 11px; margin: 24px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-specs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.price-specs b { font-size: 13.5px; color: var(--text); text-align: right; }
.price-specs .num { color: var(--accent); }
.price-specs .is-off, .price-specs li.is-off b { color: var(--dim); }
.price-card .btn { margin-top: auto; }

/* Сравнение — свёрнуто по умолчанию, чтобы таблица не занимала экран */
.compare {
  max-width: 800px; margin: 26px auto 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface);
}
.is-three + .compare { max-width: 1080px; }
.compare summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--muted);
  list-style: none;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary:hover { color: var(--text); }
.compare summary .ico { color: var(--accent); transition: transform .22s var(--ease); }
.compare[open] summary { border-bottom: 1px solid var(--line); }
.compare[open] summary .ico { transform: rotate(45deg); }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.price-table th, .price-table td { padding: 13px 20px; text-align: left; font-size: 13.5px; }
.price-table thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: center; }
.price-table tbody th { font-weight: 600; color: var(--muted); }
.price-table tbody td { text-align: center; color: var(--text); font-weight: 600; }
.price-table tbody tr + tr th, .price-table tbody tr + tr td { border-top: 1px solid var(--line); }
.price-table td.y { color: var(--accent); }
.price-table td.n { color: var(--dim); }

/* ------------------------------ ГЕОГРАФИЯ ------------------------------ */
.geo {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.geo-copy { max-width: 520px; }
.geo-copy .btn { margin-top: 30px; }

.geo-map {
  position: relative;
  aspect-ratio: 600 / 420;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, #0F150F, #090C0A);
  overflow: hidden;
}
.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(243,245,242,.05); }
.map-grid .river { fill: none; stroke: rgba(200,255,61,.12); stroke-width: 2; }

.mpin {
  position: absolute;
  left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 9px;
  transform: translate(-50%, -50%);
}
.mpin i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,255,61,.16);
  flex: none;
}
.mpin b {
  background: linear-gradient(158deg, rgba(22,30,24,.74), rgba(9,13,10,.62) 68%);
  border: 1px solid rgba(243,245,242,.16);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  box-shadow: 0 10px 24px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.13);
  font-size: 11.5px; font-weight: 600; color: var(--text);
  padding: 6px 11px; border-radius: 9px;
  white-space: nowrap;
}
.mpin.is-more i { background: var(--dim); box-shadow: none; }

/* Пульс только у одной точки — иначе карта «мигает» целиком */
.mpin:first-of-type i { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,255,61,.34); }
  70%  { box-shadow: 0 0 0 14px rgba(200,255,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,255,61,0); }
}

/* ------------------------------ ФИНАЛЬНЫЙ CTA ------------------------------ */
.final {
  padding-block: clamp(84px, 11vw, 168px);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(200,255,61,.07), transparent 68%);
}
.final-in { max-width: 720px; margin-inline: auto; }
.final .lead { margin: 22px auto 0; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* ------------------------------ ПОДВАЛ ------------------------------ */
.lp-footer { padding: clamp(48px, 6vw, 76px) 0 34px; border-top: 1px solid var(--line); background: var(--surface); }

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.foot-brand img { height: 30px; width: auto; margin-bottom: 18px; opacity: .9; }
.foot-brand p { font-size: 13px; color: var(--dim); max-width: 32ch; line-height: 1.62; }

.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col b { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.foot-col a { font-size: 13.5px; color: var(--dim); transition: color .16s var(--ease); }
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px); padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--dim);
}

/* ------------------------------ ПОЯВЛЕНИЕ ------------------------------ */
/* Hero — при загрузке, остальное — при скролле */
.lp-in {
  opacity: 0;
  transform: translateY(16px);
  animation: inUp .7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 60ms);
}
@keyframes inUp { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-on-screen { opacity: 1; transform: none; }

/* Стаггер внутри списков и сеток */
.is-on-screen .plist li,
.is-on-screen .feed-list li { animation: rowIn .45s var(--ease) backwards; }
.is-on-screen .plist li:nth-child(1), .is-on-screen .feed-list li:nth-child(1) { animation-delay: .1s; }
.is-on-screen .plist li:nth-child(2), .is-on-screen .feed-list li:nth-child(2) { animation-delay: .17s; }
.is-on-screen .plist li:nth-child(3), .is-on-screen .feed-list li:nth-child(3) { animation-delay: .24s; }
.is-on-screen .plist li:nth-child(4), .is-on-screen .feed-list li:nth-child(4) { animation-delay: .31s; }
.is-on-screen .feed-list li:nth-child(5) { animation-delay: .38s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(9px); } }

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* --- Планшет / узкий десктоп --- */
@media (max-width: 1100px) {
  .lp-nav a { padding: 8px 10px; font-size: 13.5px; }
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .dash-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
  .float-profile { right: 0; width: min(272px, 56%); }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; --pad-y: clamp(72px, 10vw, 96px); }
  .lp-brand img { height: 24px; }

  /* Навигация уезжает в мобильное меню целиком */
  .lp-nav, .lp-header-cta { display: none; }
  .lp-burger { display: flex; }

  .hero { padding-top: 26px; padding-bottom: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero-copy { max-width: none; }
  .hero-lead { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  /* На узком экране кроп за край не нужен — мокап встаёт по центру целиком. */
  .hero-shot { width: 100%; max-width: 480px; margin-inline: auto; }

  /* minmax(0,·), а не 1fr: иначе колонка не может стать уже своего
     min-content, и длинная строка заголовка распирает сетку за вьюпорт. */
  .story, .story.is-flip, .mm, .act, .geo, .private {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .story.is-flip .story-copy { order: 0; }
  .story.is-flip .story-ui { order: 0; }
  .story-copy, .mm-copy, .act-copy, .geo-copy { max-width: none; }

  .pro-grid { grid-template-columns: 1fr; }

  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-chart { padding: 18px 14px 8px; }

  /*
    Композиции с наложением: фото становится полноценным медиа-блоком во всю
    ширину, UI уходит под него и лишь слегка наезжает отрицательным отступом.
    Абсолютное позиционирование здесь ломало бы viewport.
  */
  .stage-media { width: 100%; aspect-ratio: 16 / 10; }
  /* position: relative + z-index обязательны: без них фотография (inline-контент
     с filter) отрисовывается поверх фона следующей панели и съедает её шапку. */
  .stage-ui, .match-card.stage-ui {
    position: relative; z-index: 2;
    inset: auto;
    width: min(100%, 460px);
    margin: -40px auto 0;
  }
  .stage.is-left .stage-ui { left: auto; }
  .cutout.stage-media { aspect-ratio: 4 / 3; }

  .tour-media { aspect-ratio: 16 / 7; }
  .tour-stage .bracket-panel { width: 100%; margin-top: -46px; }

  .collage-portrait { aspect-ratio: 4 / 3; }
  .collage-feed { margin: -40px 0 0; }


  /* Сетка турнира — вертикально, раунд за раундом */
  .bracket { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .step-n { width: 44px; height: 44px; margin-bottom: 16px; }

  .strip-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
}

/* --- Мобильные --- */
@media (max-width: 700px) {
  :root { --pad-y: 76px; --header-h: 64px; }

  .ace-lp h1 { font-size: clamp(38px, 11.5vw, 52px); }
  .ace-lp h2 { font-size: clamp(28px, 8.4vw, 38px); }

  /* Переносы в заголовках расставлены под десктопную композицию. На узком
     экране такая строка не помещается и распирает страницу по горизонтали,
     поэтому здесь текст переносится сам, а вместо <br> подставляется пробел. */
  .ace-lp h1 br, .ace-lp h2 br { display: none; }
  .ace-lp h1 :is(.hl, .hl-quiet)::before,
  .ace-lp h2 :is(.hl, .hl-quiet)::before { content: " "; }

  .hero { padding-bottom: 44px; }
  .hero-grid { gap: 32px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 8px 16px; margin-top: 24px; padding-top: 20px; }
  .hero-meta li { font-size: 12px; }
  .hero-shot { max-width: 100%; }

  /* Карточка профиля перестаёт быть floating и встаёт под мокап:
     поверх экрана 375px она закрыла бы сам продукт. */
  .float-profile {
    position: static;
    width: 100%; max-width: 340px;
    margin: -24px auto 0;
    animation: none;
  }
  .float-row b { font-size: 32px; }
  .hero-ball { width: 82px; left: 0; bottom: 16%; }

  .stage-media { aspect-ratio: 4 / 3; }
  .stage-ui, .match-card.stage-ui { margin-top: -32px; }
  .collage-feed { margin-top: -30px; }


  /* Скриншоты не сжимаем до полоски: на телефоне экран приложения должен
     оставаться читаемым, поэтому карточка занимает большую часть вьюпорта. */
  .shot { width: min(72vw, 260px); }
  .shots-foot { margin-top: 20px; gap: 14px; }
  .shots-hint { font-size: 11px; }

  .strip { padding-block: 24px; }
  .strip-list { justify-content: flex-start; gap: 10px 18px; }
  .strip-list li { font-size: 12.5px; }

  .story, .mm, .act, .geo { gap: 28px; }
  .head { margin-bottom: 34px; }

  .mm-actions { flex-direction: column; gap: 10px; }
  .mm-actions .btn { width: 100%; }

  .ui-bar { padding: 12px 14px; }
  .ui-filters { padding: 13px 14px 4px; }
  .plist { padding: 6px; }
  .plist .prow { padding: 10px; gap: 10px; }

  /* Богатая строка каталога складывается в два ряда */
  .plist.is-rich .prow {
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 10px;
  }
  .plist.is-rich .pfree { grid-column: 2 / 3; font-size: 11px; }
  .plist.is-rich .btn { grid-column: 3 / 4; }

  .match-card .duel { padding: 20px 14px 18px; gap: 10px; }
  .score-row span { font-size: 21px; }
  .duel .side b { font-size: 13px; }
  .match-out { padding: 14px; }
  .elo-move { font-size: 15px; }

  .kpi { padding: 14px 12px; }

  .dash-side { padding: 20px; gap: 18px; }
  .dash-hero b { font-size: 42px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  /* График не сжимаем до нечитаемого — даём горизонтальную прокрутку */
  .dash-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dash-chart::-webkit-scrollbar { display: none; }
  .dash-chart .chart { min-width: 480px; }

  .bracket { padding: 14px; }
  .pro-card { padding: 24px 20px; }
  .private { padding: 26px 20px; }

  .price-tabs { width: 100%; }
  .price-tabs button { flex: 1; padding: 0 12px; }
  .price-grid, .price-grid.is-three { grid-template-columns: 1fr; gap: 14px; }
  .price-card { padding: 24px 20px; }

  .final-actions { flex-direction: column; }
  .final-actions .btn { width: 100%; }

  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .foot-bottom { justify-content: flex-start; gap: 6px; flex-direction: column; align-items: flex-start; }
}

/* --- Малые телефоны: 320–390px --- */
@media (max-width: 400px) {
  :root { --gutter: 16px; }

  .ace-lp h1 { font-size: 36px; letter-spacing: -.03em; }
  .ace-lp h2 { font-size: 27px; }
  .lead, .hero-lead { font-size: 14.5px; }

  .btn-lg { min-height: 50px; font-size: 14.5px; }

  .strip-list { gap: 9px 14px; }

  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .kpi b { font-size: 18px; }
  .dash-hero b { font-size: 38px; }
  .dash-kpis .kpi b { font-size: 18px; }

  .tp { padding: 9px 10px; gap: 8px; }
  .tp b { font-size: 12px; }

  .mpin b { font-size: 10px; padding: 4px 7px; }
  .geo-map { aspect-ratio: 4 / 3; }

  .float-profile { padding: 14px; }
  .float-row b { font-size: 28px; }
  .fp-stats b { font-size: 14px; }

  .coach-head { flex-wrap: wrap; gap: 12px; }
  .coach-price { font-size: 16px; }

  .price-table th, .price-table td { padding: 11px 14px; font-size: 12.5px; }
}

/* ------------------------------ REDUCED MOTION ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ace-lp *,
  .ace-lp *::before,
  .ace-lp *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .lp-in, .reveal { opacity: 1; transform: none; }
  .float { animation: none; }
  .goal-bar i { width: var(--p); }
  .dash .chart .line, .dash .chart .area { opacity: 1; }
  .bracket .round { opacity: 1; transform: none; }
}


/* v80.6 — landing polish */
.story-copy .lead { max-width: 48ch; }
.story-copy h2 { text-wrap: balance; }
.head.is-center { max-width: 820px; }
.head.is-center .lead { max-width: 66ch; }

/* На больших тёмных секциях не нужны лишние «карточки в карточках». */
.band::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: min(860px, 76vw); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(243,245,242,.08), transparent);
}


@media (max-width: 900px) {
  .journey-head { grid-template-columns: 1fr; gap: 6px; }
  .journey-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .journey-list li + li { border-left: 0; }
  .journey-list li:nth-child(even) { border-left: 1px solid rgba(243,245,242,.08); }
  .journey-list li:nth-child(n+3) { border-top: 1px solid rgba(243,245,242,.08); }
  .journey-list li::after { display: none !important; }
  .hero-bg-photo { inset: 12% -16% auto 38%; width: 88%; height: 72%; opacity: .16; }
}
@media (max-width: 560px) {
  .lp-header { padding-top: 6px; }
  .lp-header-in { height: 58px; border-radius: 15px; padding-left: 12px; }
  .lp-brand img { height: 22px; }
  .lp-header.is-stuck .lp-header-in { height: 56px; }
  .journey-list { grid-template-columns: 1fr; }
  .journey-list li:nth-child(even) { border-left: 0; }
  .journey-list li + li { border-top: 1px solid rgba(243,245,242,.08); }
  .journey-list li { min-height: 86px; padding: 16px; }
  .hero-bg-photo { inset: 22% -40% auto 34%; width: 118%; height: 56%; opacity: .13; }
}
