/* =====================================================================
   landing.css — layout лендинга (изолирован от styles.css приложения)
   ---------------------------------------------------------------------
   Грузится ТОЛЬКО на странице лендинга, вместе с tokens.css.
   styles.css приложения сюда НЕ подключается → generic-классы (.card/.btn)
   не конфликтуют. Все значения — на токенах из tokens.css.

   Префикс всех классов — .lp- (landing page).
   Пути в url() резолвятся относительно этого файла (frontend/landing/).
   ===================================================================== */

/* ---- Reset (локальный, чтобы не тянуть глобальный из приложения) ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

body.lp {
  font-family: var(--font-family);
  color: var(--c-ink);
  background: var(--c-surface);
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Каркас: контентная колонка 1120 по центру кадра 1600 ---- */
/* overflow-x: clip (не hidden) — клипит горизонтальные блобы без скроллбара, но НЕ
   создаёт скролл-контейнер; иначе overflow-y поднимается до auto и ломает sticky фидбека */
.lp-page { width: 100%; overflow-x: clip; }
.lp-shell { max-width: var(--lp-content-w); margin: 0 auto; padding: 0 24px; }

/* Секция — самостоятельный блок (см. фундамент под A/B: секции автономны). */
.lp-section { width: 100%; }

/* ---- Переиспользуемые примитивы ---- */
/* Пилюля-лейбл (проблема/решение и т.п.) */
.lp-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.lp-pill--problem { background: var(--c-yellow-strong); }
.lp-pill--solution { background: var(--c-success-lp); }

/* Тёмный вариант кнопки (специфичность .lp-btn.lp-btn--dark, чтобы не зависеть
   от порядка объявления относительно базового .lp-btn) */
.lp-btn.lp-btn--dark { background: var(--c-ink); color: var(--c-surface); }

/* Карточка */
.lp-card {
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-card__texts { display: flex; flex-direction: column; gap: 16px; }
.lp-card__lead {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}
.lp-card__sub {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
}
.lp-card > .lp-btn { align-self: flex-start; }

/* =====================================================================
   СЕКЦИЯ 1 — Header + Hero + видео + логотипы  (Figma 228:798)
   ===================================================================== */
.lp-hero {
  padding-top: 144px;   /* очищаем фикс-навбар (top 32 + высота 48 + отступ до заголовка) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

/* ---- Навбар: фиксированная стеклянная пилюля по центру (без логотипа) ---- */
.lp-nav {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 48px;
  padding: 12px 32px;
  border-radius: 86px;
  background: rgba(204, 204, 204, 0.20);   /* #CCCCCC @ 20% — тинт */
  /* Стекло (Figma-эффект GLASS, radius 18) */
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 0 6px 24px rgba(49, 45, 33, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.lp-nav a {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  white-space: nowrap;
}

/* ---- Логотип: слева, НЕ фиксированный (уезжает при скролле), с «бегающими глазами» ---- */
.lp-logo-top {
  position: absolute;
  top: 32px;
  left: max(24px, calc((100% - var(--lp-content-w)) / 2));
  z-index: 90;
  height: 24px;
  color: var(--c-ink);
}
.lp-logo-top svg { height: 24px; width: auto; display: block; }

/* ---- Hero body ---- */
.lp-hero__body {
  width: 893px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.lp-hero__heads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lp-hero__title {
  margin: 0;
  font-size: 54px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  text-align: center;
}
.lp-hero__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
  text-align: center;
}

.lp-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Кнопка (жёлтая) — переиспользуемый примитив лендинга */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--c-yellow-strong);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  transition: filter .15s ease;
}
.lp-btn:hover { filter: brightness(0.96); }

/* Соц-пруф: аватары внахлёст + текст */
.lp-proof { display: flex; align-items: center; gap: 8px; }
.lp-proof__avatars { display: flex; }
.lp-proof__avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--c-bg);
  background: linear-gradient(135deg, #d9d9d9, #b7b7b7);
  margin-left: -8px;
}
.lp-proof__avatars span:first-child { margin-left: 0; }
/* Реальные фото (Figma hero) — круглый кроп; серый градиент выше остаётся фолбэком */
.lp-proof__avatars span:nth-child(1) { background: url(../assets/landing/avatar-hero-01.png) center/cover no-repeat; }
.lp-proof__avatars span:nth-child(2) { background: url(../assets/landing/avatar-hero-02.png) center/cover no-repeat; }
.lp-proof__avatars span:nth-child(3) { background: url(../assets/landing/avatar-hero-03.png) center/cover no-repeat; }
.lp-proof__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
}

/* ---- Видео + логотипы ---- */
.lp-hero__showcase {
  width: var(--lp-content-w);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.lp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 1120 / 600;
  border-radius: 32px;
  background: var(--c-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  cursor: pointer;
  overflow: hidden;
}
.lp-video__play {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-video__play::before {
  content: "";
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent var(--c-yellow-strong);
  margin-left: 4px;
}
.lp-video__caption {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.03em;
  color: var(--c-surface);
}

.lp-logos { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lp-logos__caption {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
  text-align: center;
}
.lp-logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
/* Плейсхолдер логотипов — текстом, пока нет экспортированного SVG-строя */
.lp-logos__row .lp-logo-ph {
  height: 30px;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-logo-mono);
}
/* Реальный строй логотипов (Figma 228:933): экспортируется вручную в logos-strip.svg.
   Появился файл → onload прячет плейсхолдеры и показывает картинку. */
.lp-logos__real { display: none; height: 30px; width: auto; max-width: 100%; }
.lp-logos__row.has-logos .lp-logo-ph { display: none; }
.lp-logos__row.has-logos .lp-logos__real { display: block; }

/* Серый акцент внутри текста (напр. скобки в карточке «Ментор» — Figma #8A8A8A) */
.lp-gray { color: #8A8A8A; }

/* =====================================================================
   СЕКЦИЯ 2 — Проблема / решение (2 карточки)  (Figma 229:118)
   ===================================================================== */
.lp-problem {
  margin-top: 160px;   /* межсекционный интервал стека (Frame 201) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.lp-problem__title {
  margin: 0;
  max-width: 600px;
  font-size: 40px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  text-align: center;
}
.lp-problem__cards {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: var(--lp-content-w);
  max-width: 100%;
}
.lp-card--problem {
  flex: 0 0 552px;
  border: 1px solid var(--c-border-lp);
  background: var(--c-surface);
}
.lp-card--solution {
  flex: 1 1 560px;
  background: var(--c-bg);
}

/* =====================================================================
   СЕКЦИЯ 3 — Отзывы + метрики  (Figma 228:1132)
   Правая часть — вертикальный marquee из карточек-отзывов с fade-масками.
   ===================================================================== */
.lp-reviews {
  margin-top: 160px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.lp-reviews__inner {
  width: var(--lp-content-w);
  max-width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Левая колонка */
.lp-reviews__left {
  flex: 0 0 504px;
  display: flex;
  flex-direction: column;
  gap: 200px;
}
.lp-reviews__head { display: flex; flex-direction: column; gap: 16px; }
.lp-reviews__title {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}
.lp-reviews__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
}
.lp-reviews__stats { display: flex; gap: 32px; }
.lp-stat { width: 175px; display: flex; flex-direction: column; gap: 8px; }
.lp-stat__num {
  font-size: 54px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}
/* «/10» — светло-серый, как в Figma (#CACACA); сам балл остаётся тёмным */
.lp-stat__unit { color: #CACACA; }
.lp-stat__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--c-muted-lp);
}

/* Правая колонка — окно marquee */
.lp-reviews__wall {
  position: relative;
  flex: 0 0 576px;
  height: 600px;
  overflow: hidden;
  display: flex;
  gap: 16px;
}
.lp-reviews__wall::before,
.lp-reviews__wall::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 64px;
  z-index: 2;
  pointer-events: none;
}
.lp-reviews__wall::before { top: 0; background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%); }
.lp-reviews__wall::after  { bottom: 0; background: linear-gradient(0deg, #FFFFFF 0%, rgba(255,255,255,0) 100%); }

.lp-reviews__col {
  display: flex;
  flex-direction: column;
  /* без gap! межкарточный отступ — в margin-bottom карточки (см. ниже), иначе
     translateY(-50%) на задвоенном контенте промахивается ровно на gap/2 → рывок */
  width: 280px;
  flex: 0 0 280px;
  will-change: transform;
}
.lp-reviews__col--up   { animation: lp-marq-up 16s linear infinite; }
.lp-reviews__col--down { animation: lp-marq-down 19s linear infinite; }
.lp-reviews__wall:hover .lp-reviews__col { animation-play-state: paused; }

@keyframes lp-marq-up   { from { transform: translateY(0); }      to { transform: translateY(-50%); } }
@keyframes lp-marq-down { from { transform: translateY(-50%); }   to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .lp-reviews__col { animation: none; }
}

/* Карточка отзыва */
.lp-testi {
  width: 280px;
  padding: 16px;
  border-radius: 16px;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;   /* межкарточный отступ здесь (не в gap колонки) → бесшовный цикл */
}
.lp-testi__head { display: flex; gap: 8px; align-items: flex-start; }
.lp-testi__avatar {
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  border: 2px solid var(--c-bg);
  background: linear-gradient(135deg, #d9d9d9, #b7b7b7);
}
/* Фото авторов отзывов (Figma 376:1480). Номер = порядок отзыва в дизайне;
   в левой колонке тот же набор идёт в обратном порядке. */
.lp-testi__avatar--01 { background: url(../assets/landing/avatar-testi-01.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--02 { background: url(../assets/landing/avatar-testi-02.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--03 { background: url(../assets/landing/avatar-testi-03.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--04 { background: url(../assets/landing/avatar-testi-04.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--05 { background: url(../assets/landing/avatar-testi-05.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--06 { background: url(../assets/landing/avatar-testi-06.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--07 { background: url(../assets/landing/avatar-testi-07.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--08 { background: url(../assets/landing/avatar-testi-08.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__avatar--09 { background: url(../assets/landing/avatar-testi-09.png) center/cover no-repeat, linear-gradient(135deg, #d9d9d9, #b7b7b7); }
.lp-testi__who { display: flex; flex-direction: column; }
.lp-testi__name {
  font-size: 14px; font-weight: 500; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-testi__role {
  font-size: 12px; font-weight: 500; line-height: 14px;
  letter-spacing: -0.02em; color: var(--c-ink); opacity: 0.5;
}
.lp-testi__quote {
  margin: 0;
  font-size: 14px; font-weight: 400; line-height: 20px;
  letter-spacing: -0.02em; color: var(--c-ink);
}

/* =====================================================================
   СЕКЦИЯ 4 — Под капотом (bento)  (Figma 231:1306)
   ===================================================================== */
.lp-bento-sec {
  margin-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.lp-bento-head {
  width: 640px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lp-bento-head__title {
  margin: 0;
  font-size: 40px; font-weight: 500; line-height: 44px;
  letter-spacing: -0.03em; color: var(--c-ink); text-align: center;
}
.lp-bento-head__sub {
  margin: 0;
  font-size: 16px; font-weight: 400; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-muted-lp); text-align: center;
}

/* Контейнер bento */
.lp-bento {
  width: var(--lp-content-w);
  max-width: 100%;
  padding: 12px;
  border-radius: 28px;
  background: var(--c-bg);
}
.lp-bento__row { display: flex; gap: 12px; align-items: stretch; }
.lp-bento__right { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.lp-bento__right-top { display: flex; gap: 12px; align-items: stretch; }
.lp-bento__left-col { display: flex; flex-direction: column; gap: 12px; flex: 1 1 372px; min-width: 0; }

/* Карточка bento */
.lp-bento-card {
  background: var(--c-surface);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);   /* Figma DROP_SHADOW r18 y4 @5% */
}
.lp-bento-card__title {
  margin: 0;
  font-size: 18px; font-weight: 500; line-height: 22px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-bento-card__sub {
  margin: 0;
  font-size: 14px; font-weight: 400; line-height: 20px;
  letter-spacing: -0.02em; color: var(--c-muted-lp);
}
.lp-bento-card__head { display: flex; flex-direction: column; gap: 4px; }

/* Чип (светлая пилюля внутри карточек) */
.lp-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--c-fill-lp);
  font-size: 12px; font-weight: 500; line-height: 18px;
  letter-spacing: -0.02em; color: var(--c-muted-lp);
}

/* Карточка 1 (левая, во всю высоту) */
.lp-bento-card--1 { flex: 0 0 400px; padding: 26px; gap: 14px; justify-content: space-between; }
.lp-bento-card--1 .lp-bento-card__top { display: flex; flex-direction: column; gap: 16px; }
.lp-bento-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
}
.lp-bento-card--1 .lp-bento-card__lead {
  margin: 0;
  font-size: 24px; font-weight: 500; line-height: 30px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-bento-card--1 .lp-bento-card__desc {
  margin: 0;
  font-size: 14px; font-weight: 400; line-height: 20px;
  letter-spacing: -0.02em; color: var(--c-muted-lp);
}
.lp-bento-card--1 .lp-bento-card__textblock { display: flex; flex-direction: column; gap: 8px; }
.lp-bento-chips { display: flex; flex-wrap: wrap; gap: 4px; }

/* Карточка 2 (Вопросы — от лидов и HR) */
.lp-bento-card--2 { padding: 24px; gap: 20px; min-height: 146px; }
.lp-bento-avatars { display: flex; }
.lp-bento-avatars span {
  width: 32px; height: 32px;
  border-radius: 60px;
  border: 2px solid var(--c-surface);
  margin-left: -12px;
}
.lp-bento-avatars span:first-child { margin-left: 0; }
/* Реальные бренд-иконки (Figma 231:1337) — круглые PNG внахлёст; цвет — фолбэк, если PNG не подхватился */
.lp-ava--green  { background: #26D971 url(../assets/landing/sber-mini.png)   center/cover no-repeat; }
.lp-ava--red    { background: #D92626 url(../assets/landing/yandex-mini.png) center/cover no-repeat; }
.lp-ava--y1     { background: #FFE200 url(../assets/landing/tbank-mini.png)  center/cover no-repeat; }
.lp-ava--y2     { background: #FFDD2D url(../assets/landing/raif-mini.png)   center/cover no-repeat; }
.lp-ava--blue   { background: #2247E6 url(../assets/landing/ozon-mini.png)   center/cover no-repeat; }

/* Карточка 3 (распознавание речи) */
.lp-bento-card--3 { padding: 24px; min-height: 230px; justify-content: space-between; }
.lp-stt-box {
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--c-fill-lp);
  display: flex; flex-direction: column;
}
.lp-stt-box__wrong,
.lp-stt-box__right {
  font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em;
}
.lp-stt-box__wrong { color: var(--c-muted-lp); text-decoration: line-through; }
.lp-stt-box__right { color: #00A3F6; }

/* Карточка 4 (оцениваем по системе) */
.lp-bento-card--4 { flex: 0 0 300px; padding: 24px; min-height: 388px; justify-content: space-between; }
.lp-level { display: flex; flex-direction: column; gap: 8px; }
.lp-level__track {
  height: 16px; border-radius: 40px; background: var(--c-fill-lp);
  position: relative; overflow: visible;   /* Figma: track не клипит (чтобы было видно свечение) */
}
.lp-level__fill {
  position: absolute; left: 0; right: auto; top: 0; width: 145px; height: 16px;   /* заливка слева, от «Intern» → 0..58% (Figma) */
  border-radius: 40px;
  background: linear-gradient(90deg, #7CE5FF, #07ACFF, #7CE5FF);
  background-size: 200% 100%;
  animation: lp-grad-flow 3s linear infinite;   /* поток градиента */
  box-shadow: 0 0 15px 2px rgba(17, 176, 255, 0.5);   /* свечение (Figma цветная тень #11B0FF@50%) */
}
.lp-level__labels {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em;
  color: var(--c-muted-lp);
}

/* Карточка 5 (выводы привязаны к словам) — широкая, горизонтальная */
.lp-bento-card--5 {
  flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px; min-height: 96px; gap: 10px;
}
.lp-bento-quote-chip {
  padding: 9px 12px; border-radius: 12px; background: var(--c-fill-lp);
  display: flex; flex-direction: column; gap: 2px;
}
.lp-bento-quote-chip span {
  font-size: 12px; line-height: 14px; letter-spacing: -0.02em; color: var(--c-muted-lp);
}
.lp-bento-quote-chip .is-quote { font-weight: 400; }
.lp-bento-quote-chip .is-meta  { font-weight: 500; }

/* =====================================================================
   СЕКЦИЯ 5 — Фидбэк  (Figma 255:469) — серая полоса
   Правая колонка = 4 растровых скриншота отчёта (экспорт в Task #2).
   ===================================================================== */
.lp-feedback {
  margin-top: 160px;
  background: var(--c-bg);
  padding: 160px 0;
  display: flex;
  justify-content: center;
}
.lp-feedback__inner {
  width: var(--lp-content-w);
  max-width: 100%;
  display: flex;
  gap: 100px;
  align-items: flex-start;
}
.lp-feedback__left {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: sticky;         /* залипает, пока прокручивается правая колонка со скринами */
  top: 120px;               /* ниже фикс-навбара */
  align-self: flex-start;   /* не растягиваться на всю высоту — иначе sticky не работает */
}
.lp-feedback__left .lp-btn { align-self: flex-start; }   /* кнопка hug, не на всю ширину */
.lp-feedback__head { display: flex; flex-direction: column; gap: 16px; }
.lp-feedback__title {
  margin: 0;
  font-size: 40px; font-weight: 500; line-height: 40px;
  letter-spacing: -0.03em; color: var(--c-ink);
}
.lp-feedback__desc {
  margin: 0;
  font-size: 16px; font-weight: 400; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-muted-lp);
}
.lp-feedback__right {
  flex: 0 0 600px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Слот скриншота: пока нет PNG — показывается подпись-плейсхолдер;
   как только файл появляется, <img> перекрывает подпись (авто-апгрейд на reload). */
.lp-fb-shot {
  position: relative;
  width: 100%;
  border-radius: 24px;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted-lp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.lp-fb-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   СЕКЦИЯ 6 — Сравнение (таблица)  (Figma 255:101)
   ===================================================================== */
.lp-compare {
  margin-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.lp-compare__title {
  margin: 0;
  max-width: 760px;
  font-size: 40px; font-weight: 500; line-height: 44px;
  letter-spacing: -0.03em; color: var(--c-ink); text-align: center;
}
.lp-compare__grid {
  width: var(--lp-content-w);
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px;
  border-radius: 16px;
  background: var(--c-bg);
}
.lp-cmp {
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.lp-cmp--label,
.lp-cmp--head { font-weight: 700; color: #141414; }
.lp-cmp--val  { font-weight: 400; color: var(--c-muted-lp); }
.lp-cmp--pp   { background: var(--c-ink); color: var(--c-surface); font-weight: 400; }
.lp-cmp--pphead img { height: 17px; width: auto; }

/* =====================================================================
   СЕКЦИЯ 7 — Прайсинг (3 тарифа)  (Figma 231:2214)
   ===================================================================== */
.lp-pricing {
  margin-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.lp-pricing__head {
  width: 760px; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lp-pricing__title {
  margin: 0;
  font-size: 40px; font-weight: 500; line-height: 44px;
  letter-spacing: -0.03em; color: var(--c-ink); text-align: center;
}
.lp-pricing__sub {
  margin: 0; max-width: 640px;
  font-size: 16px; font-weight: 400; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-muted-lp); text-align: center;
}
.lp-pricing__cards {
  width: var(--lp-content-w); max-width: 100%;
  display: flex; gap: 20px; align-items: stretch;
}

.lp-price-card {
  position: relative;
  flex: 1 1 360px; min-width: 0;
  padding: 32px; border-radius: 20px;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-lp);
}
.lp-price-card--hl { background: var(--c-bg); border-color: #ECECEC; }

.lp-price-card__top { display: flex; flex-direction: column; gap: 16px; }
.lp-price-card__head { display: flex; flex-direction: column; gap: 8px; }
.lp-price-card__name {
  margin: 0; font-size: 24px; font-weight: 500; line-height: 30px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-price-card__tagline {
  margin: 0; font-size: 14px; font-weight: 400; line-height: 20px;
  letter-spacing: -0.02em; color: var(--c-muted-lp);
}
.lp-price-card__divider { height: 1px; background: #EEEEEE; }
.lp-price-card--hl .lp-price-card__divider { background: #CFCFCF; }

.lp-price { display: flex; align-items: baseline; gap: 6px; }
.lp-price__num {
  font-size: 36px; font-weight: 500; line-height: 40px;
  letter-spacing: -0.03em; color: var(--c-ink);
}
.lp-price__per { font-size: 15px; font-weight: 400; letter-spacing: -0.02em; color: #8A8A8A; }

.lp-price-card__btn {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: -0.02em;
}
.lp-price-card__btn--dark   { background: var(--c-ink); color: var(--c-surface); }
.lp-price-card__btn--yellow { background: var(--c-yellow-strong); color: var(--c-ink); }
.lp-price-card__btn--muted  { background: var(--c-bg); color: var(--c-ink); }

.lp-price-incl { display: flex; flex-direction: column; gap: 12px; }
.lp-price-incl__label { font-size: 13px; font-weight: 500; letter-spacing: -0.02em; color: #8A8A8A; }
.lp-price-list { display: flex; flex-direction: column; gap: 12px; }
.lp-price-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em; color: #3A3A3A;
}
.lp-check {
  width: 20px; height: 20px; flex: 0 0 20px;
  border-radius: 6px; background: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-surface); font-size: 11px; font-weight: 500;
}
.lp-check--muted { background: #F0F0F0; color: var(--c-ink); }

.lp-price-note {
  padding: 9px 12px; border-radius: 10px;
  background: var(--c-bg); color: #3A3A3A;
  font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em;
}
.lp-price-card--hl .lp-price-note { background: var(--c-surface); }

.lp-price-badge {
  position: absolute; top: 32px; right: 32px;
  padding: 4px 12px; border-radius: 8px;
  background: var(--c-ink); color: var(--c-surface);
  font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: -0.02em;
}

/* =====================================================================
   СЕКЦИЯ 8 — FAQ  (Figma 231:2530)
   ===================================================================== */
.lp-faq {
  margin-top: 160px;
  display: flex;
  justify-content: center;
}
.lp-faq__inner {
  width: var(--lp-content-w);
  max-width: 100%;
  display: flex;
  gap: 100px;
  align-items: flex-start;
}
.lp-faq__left {
  flex: 0 0 401px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lp-faq__title {
  margin: 0;
  font-size: 40px; font-weight: 500; line-height: 44px;
  letter-spacing: -0.03em; color: var(--c-ink);
}
.lp-faq__desc { display: flex; flex-direction: column; gap: 24px; }
.lp-faq__desc p {
  margin: 0;
  font-size: 24px; font-weight: 400; line-height: 30px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-faq__list {
  flex: 1 1 619px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-faq-item {
  background: var(--c-bg);
  border-radius: 16px;
  padding: 24px;
}
.lp-faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 20px; font-weight: 500; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.lp-faq-item__q::-webkit-details-marker { display: none; }
.lp-faq-toggle {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-ink);
  position: relative;
}
/* горизонтальная черта — всегда; вертикальная — только когда закрыто (плюс/минус) */
.lp-faq-toggle::before,
.lp-faq-toggle::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  background: var(--c-surface);
}
.lp-faq-toggle::before { left: 7px; top: 11px; width: 10px; height: 2px; }
.lp-faq-toggle::after  { left: 11px; top: 7px; width: 2px; height: 10px;
  transition: transform .28s ease; transform-origin: center; }
/* плюс → минус: вертикальная черта плавно схлопывается (вместо резкого display:none) */
details.lp-faq-item[open] .lp-faq-toggle::after { transform: scaleY(0); }
.lp-faq-item__a { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }

/* Раскрытие/закрытие анимирует JS (WAAPI по height) — плавно в ОБЕ стороны, без рывка
   при закрытии (у ::details-content он и был). Без JS <details> открывается мгновенно.
   Автозакрытия нет (сняли name="faq") — открытых блоков может быть сколько угодно. */
.lp-faq-item { cursor: pointer; }
.lp-faq-item__a p {
  margin: 0;
  font-size: 16px; font-weight: 400; line-height: 24px;
  letter-spacing: -0.02em; color: var(--c-ink);
}
.lp-faq-more { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; color: var(--c-ink); }
.lp-faq__left .lp-btn { align-self: flex-start; }   /* кнопка hug, не на всю ширину */

/* Синяя ссылка-ник в телеграм (Figma #00A3F6) — в прайсинге и на тёмной FAQ-кнопке */
.lp-tg-link { color: #00A3F6; }

/* =====================================================================
   ПОДВАЛ — CTA-баннер (синий градиентный блоб) + футер  (Figma 231:1985)
   ===================================================================== */
.lp-footer {
  position: relative;
  overflow: hidden;
  height: 960px;
  margin-top: 0;
}
/* Синий эллиптический блоб (Figma 231:1982). Правила из макета:
   — начинается от низа и БОКОВЫХ границ (низ и бока уходят за кромку → overflow:hidden
     футера клипит их по СПЛОШНОЙ части эллипса, поэтому там край ЧЁТКИЙ);
   — видна и размыта только ВЕРХНЯЯ дуга (эллипс + Layer blur 161);
   — верхняя граница «дышит» аморфно с малой амплитудой (translate-анимация).
   Ширина тянется за вьюпортом (min 1738 как в Figma): запас по 240px с каждой стороны
   больше радиуса блюра (161) → на любых мониторах бока уходят за экран, без бокового
   размытого края (была именно эта проблема при фиксированной ширине). */
.lp-footer__glow {
  position: absolute;
  left: 50%;
  top: 283px;                                  /* верхняя дуга (апекс) — как в Figma */
  width: calc(100% + 380px);                   /* перекрытие ~190px с каждой стороны — БОЛЬШЕ радиуса
                                                  блюра (161px), чтобы размытая боковая кромка эллипса
                                                  ушла за экран (иначе она заходит ~90px внутрь и читается
                                                  как «белые пятна» по бокам). Тянется за вьюпортом. */
  height: 842px;                               /* низ уходит на 165px за кромку футера (960) */
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #94CBFF 42%,
    #56B5FC 58%,
    #34C1FE 81%,
    #198BFF 97%);
  filter: blur(161px);
  z-index: 0;
  will-change: transform;
  animation: lp-glow-drift 22s ease-in-out infinite alternate;
}
/* Аморфный дрейф верхней дуги. translate-only: тяжёлый blur кэшируется слоем и не
   пересчитывается каждый кадр (scale заставил бы пере-размывать). Малая амплитуда.
   Отключается в общем блоке prefers-reduced-motion (.lp-footer__glow{animation:none}). */
@keyframes lp-glow-drift {
  0%   { transform: translateX(-50%)   translateY(0);     }
  50%  { transform: translateX(-51%)   translateY(-14px); }
  100% { transform: translateX(-49.3%) translateY(8px);   }
}
/* Центральный CTA */
.lp-footer__cta {
  position: absolute;
  left: 0;
  right: 0;
  top: 237px;
  margin: 0 auto;           /* центрируем БЕЗ transform — иначе reveal (translateY) перезатирает центрирование */
  width: 640px;
  max-width: calc(100% - 48px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.lp-footer__title {
  margin: 0;
  font-size: 40px; font-weight: 500; line-height: 44px;
  letter-spacing: -0.03em; color: var(--c-ink); text-align: center;
}
.lp-footer__form { display: flex; gap: 7px; }
/* display:flex у класса перебивает UA-шный [hidden]{display:none} — гасим явно. */
.lp-footer__form[hidden] { display: none; }
/* Благодарность вместо формы: та же типографика, что у заголовков блока. */
.lp-footer__thanks {
  margin: 0;
  font-size: 24px; font-weight: 500; line-height: 30px;
  letter-spacing: -0.02em; color: var(--c-ink); text-align: center;
}
.lp-footer__input {
  width: 370px; max-width: 100%;
  height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: var(--c-surface);
  font-family: var(--font-family);
  font-size: 14px; letter-spacing: -0.02em;
  color: var(--c-ink);
  text-align: left;                 /* текст/плейсхолдер слева с отступом (padding 14px), не по центру */
}
.lp-footer__input::placeholder { color: #8E8E8E; }
.lp-footer__submit {
  height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--c-ink);
  color: var(--c-surface);
  font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: -0.02em;
  white-space: nowrap;
}
/* Нижняя строка: логотип слева, правовые ссылки справа */
.lp-footer__bottom {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  padding: 0 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-footer__logo img,
.lp-footer__logo svg { height: 24px; width: auto; display: block; }
.lp-footer__legal { display: flex; gap: 24px; }
.lp-footer__legal a {
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--c-surface);
}

/* =====================================================================
   Анимации и интеракции (системно)
   ===================================================================== */

/* ---- Ховеры: кнопки и интерактив (оттенки палитры + лёгкий подъём) ---- */
.lp-btn,
.lp-price-card__btn,
.lp-footer__submit {
  transition: background-color .18s ease, filter .18s ease, transform .18s ease;
}
.lp-btn:hover                     { filter: brightness(0.96); transform: translateY(-1px); }
.lp-btn.lp-btn--dark:hover        { background: #2E2E2E; filter: none; transform: translateY(-1px); }
.lp-price-card__btn--yellow:hover { filter: brightness(0.96); transform: translateY(-1px); }
.lp-price-card__btn--dark:hover   { background: #2E2E2E; transform: translateY(-1px); }
.lp-price-card__btn--muted:hover  { background: #E9E9E9; transform: translateY(-1px); }
.lp-footer__submit:hover          { background: #2E2E2E; transform: translateY(-1px); }

.lp-nav a       { transition: opacity .15s ease; }
.lp-nav a:hover { opacity: 0.55; }

/* Ховер — только у настоящих ссылок-ников (в прайсинге, в ответах FAQ).
   Ник внутри тёмной FAQ-кнопки — <span>, отдельного ховера иметь не должен: он часть кнопки. */
a.lp-tg-link       { transition: opacity .15s ease; }
a.lp-tg-link:hover { opacity: 0.75; text-decoration: underline; }

.lp-faq-more       { transition: opacity .15s ease; }
.lp-faq-more:hover { opacity: 0.6; }
.lp-faq-item__q       { transition: opacity .15s ease; }
.lp-faq-item__q:hover { opacity: 0.72; }

.lp-video__play               { transition: transform .25s ease, background-color .25s ease; }
.lp-video:hover .lp-video__play { transform: scale(1.08); background: rgba(255, 255, 255, 0.16); }

/* ---- Reveal при входе в вьюпорт (html.lp-anim ставит head-скрипт до отрисовки → без FOUC;
        .is-visible добавляет landing.js через IntersectionObserver) ---- */
.lp-anim :is(
  .lp-hero__heads, .lp-hero__cta, .lp-video, .lp-logos,
  .lp-problem__title, .lp-card,
  .lp-reviews__left,
  .lp-bento-head, .lp-bento,
  .lp-feedback__head, .lp-fb-shot,
  .lp-compare__title, .lp-compare__grid,
  .lp-pricing__head, .lp-price-card,
  .lp-faq__left, .lp-faq-item,
  .lp-footer__cta
) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.lp-anim :is(
  .lp-hero__heads, .lp-hero__cta, .lp-video, .lp-logos,
  .lp-problem__title, .lp-card,
  .lp-reviews__left,
  .lp-bento-head, .lp-bento,
  .lp-feedback__head, .lp-fb-shot,
  .lp-compare__title, .lp-compare__grid,
  .lp-pricing__head, .lp-price-card,
  .lp-faq__left, .lp-faq-item,
  .lp-footer__cta
).is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Микро: поток градиента в прогресс-баре «Оцениваем по системе» ---- */
@keyframes lp-grad-flow { from { background-position: 0 0; } to { background-position: -200% 0; } }

/* ---- Микро: галочки в тарифах «выскакивают», когда карточка появилась ---- */
.lp-anim .lp-price-card .lp-check {
  transform: scale(0);
  transition: transform .675s cubic-bezier(.34, 1.56, .64, 1);   /* ×1.5 медленнее (было .45s) */
}
.lp-anim .lp-price-card.is-visible .lp-check { transform: scale(1); }
.lp-price-list .lp-price-item:nth-child(1) .lp-check { transition-delay: .15s; }
.lp-price-list .lp-price-item:nth-child(2) .lp-check { transition-delay: .25s; }
.lp-price-list .lp-price-item:nth-child(3) .lp-check { transition-delay: .35s; }
.lp-price-list .lp-price-item:nth-child(4) .lp-check { transition-delay: .45s; }

/* ---- Микро: «глаза» в логотипе бегают вверх-вниз ---- */
.lp-eye { animation: lp-eyes 3.4s ease-in-out infinite; }
@keyframes lp-eyes {
  0%, 18%  { transform: translateY(0); }
  33%, 48% { transform: translateY(2.5px); }
  63%, 82% { transform: translateY(-2.5px); }
  100%     { transform: translateY(0); }
}

/* ---- prefers-reduced-motion: гасим движение (reveal показываем сразу) ---- */
@media (prefers-reduced-motion: reduce) {
  .lp-eye,
  .lp-level__fill,
  .lp-reviews__col--up,
  .lp-reviews__col--down,
  .lp-footer__glow { animation: none !important; }
  .lp-anim .lp-price-card .lp-check { transform: none; transition: none; }
  /* FAQ: иконка +/− без анимации (раскрытие уже мгновенное — JS учитывает reduce) */
  .lp-faq-toggle::after { transition: none; }
}

/* =====================================================================
   Плавающие оверлеи: куки-плашка (низ-слева) + нижний CTA-баннер (низ-центр).
   Вне .lp-page → overflow-x:clip не клипит. z-index ниже навбара (100).
   Показ/скрытие — классом .is-shown (JS): куки один раз, баннер реверсивно
   при доскролле до блока подписки.  (Figma 291:106 / 297:641)
   ===================================================================== */
.lp-cookies,
.lp-lastcta {
  position: fixed;
  z-index: 95;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .38s cubic-bezier(.22, .61, .36, 1);
}
.lp-cookies.is-shown,
.lp-lastcta.is-shown { opacity: 1; pointer-events: auto; }

/* Куки-плашка — низ-справа (Figma 297:648) */
.lp-cookies {
  right: 24px; bottom: 24px;
  gap: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #F3F3F3;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(16px);
  max-width: calc(100vw - 48px);
}
.lp-cookies.is-shown { transform: translateY(0); }
/* max-width: со ссылкой «Подробнее» текст переносится на вторую строку,
   а не растягивает плашку в ширину. */
.lp-cookies__text { display: flex; flex-direction: column; max-width: 320px; }
.lp-cookies__title { font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: -0.02em; color: #191919; }
.lp-cookies__sub   { font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em; color: #666666; }
.lp-cookies__link  { color: #666666; text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease; }
.lp-cookies__link:hover { color: #191919; }
.lp-cookies__ok {
  flex: 0 0 auto;
  align-self: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #191919;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: -0.02em;
  cursor: pointer;
  transition: background .15s ease;
}
.lp-cookies__ok:hover { background: #2E2E2E; }

/* Нижний CTA-баннер — низ-центр */
.lp-lastcta {
  align-items: center;              /* контент по горизонтальной оси (было flex-start → по верху) */
  left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(24px);
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  max-width: calc(100vw - 48px);
}
.lp-lastcta.is-shown { transform: translateX(-50%) translateY(0); }
.lp-lastcta__text { display: flex; flex-direction: column; }
.lp-lastcta__title { font-size: 17px; font-weight: 500; line-height: 22px; letter-spacing: -0.02em; color: #191919; }
.lp-lastcta__sub   { font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.02em; color: #666666; }
.lp-lastcta__btn {
  flex: 0 0 auto;
  align-self: center;
  padding: 12px 24px;
  border-radius: 8px;
  background: #191919;
  color: #FFFFFF;
  font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.lp-lastcta__btn:hover { background: #2E2E2E; }

@media (prefers-reduced-motion: reduce) {
  .lp-cookies, .lp-lastcta { transition: opacity .2s ease; }
  .lp-cookies, .lp-cookies.is-shown { transform: none; }
  .lp-lastcta, .lp-lastcta.is-shown { transform: translateX(-50%); }
}
