/* Витрина margin.brushmaster.ru — вариант «Затмение» из стенда концепций
   (landing_lab, концепция 11), перенесённый на Jinja без сборщика.

   Отличие от приложения: страница не про интерфейс, а про кадры. Отсюда
   чёрный фон вместо тёмно-синего, гротеск вместо моноширинного, прописные
   с разрядкой, полноэкранный арт и отсутствие скруглений. Стили приложения
   (style.css) грузятся раньше, поэтому body переопределяем целиком.

   Цвета — те же, что в дашборде: голубой #38bdf8, бирюзовый #22d3ee,
   сиреневый #c084fc, розовый WB #e879f9. Литералами, а не переменными
   темы: витрина не должна менять вид вслед за палитрой приложения. */

body.ln {
  background: #02050c;
  background-image: none;
  color: #cbd5e1;
  font: 15px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Цвет ссылкам здесь не назначаем: `body.ln a` перебило бы по весу классы
   вроде .ln-btn--primary, и белая кнопка получила бы серую надпись. */
body.ln a { text-decoration: none; }

.ln-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.ln-main { position: relative; }

.is-cyan   { color: #22d3ee; }
.is-sky    { color: #38bdf8; }
.is-violet { color: #c084fc; }
.is-pink   { color: #e879f9; }

/* ─── Киноприёмы ────────────────────────────────────────────────────
   Полосы сверху и снизу, затемнение по краям и зерно поверх арта —
   ими кадр отличается от «картинки на фоне блока».

   Полосы держим на псевдоэлементах, а виньетку и зерно — отдельными
   слоями в разметке: у одного элемента ::before и ::after всего по одному,
   и три эффекта на одной секции затирали бы друг друга. */
.ln-cinema::before, .ln-cinema::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46px;
  background: #02050c; z-index: 30; pointer-events: none;
}
.ln-cinema::before { top: 0; }
.ln-cinema::after { bottom: 0; }

.ln-vig {
  position: absolute; inset: 0; z-index: 25; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(2, 5, 12, .85) 100%);
}

.ln-grain {
  position: absolute; inset: 0; z-index: 24; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ─── Меню ──────────────────────────────────────────────────────────
   mix-blend-difference: одно меню поверх и светлого арта, и чёрного фона —
   инвертируется само, отдельная тёмная тема шапке не нужна. */
.ln-nav {
  position: fixed; inset: 0 0 auto; z-index: 80;
  mix-blend-mode: difference;
}
.ln-nav__in {
  max-width: 1400px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; gap: 32px;
}
.ln-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 900; letter-spacing: .34em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
}
.ln-logo__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22d3ee; box-shadow: 0 0 10px #22d3ee;
}
.ln-nav__links { margin-left: auto; display: flex; gap: 32px; }
.ln-nav__links a {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); transition: color .2s;
}
.ln-nav__links a:hover { color: #fff; }
.ln-nav__cta {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #fff;
}
@media (max-width: 900px) { .ln-nav__links { display: none; } .ln-nav__cta { margin-left: auto; } }

/* ─── Первый экран ─────────────────────────────────────────────────── */
.ln-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.ln-hero__art { position: absolute; inset: 0; will-change: transform; }
.ln-hero__art img,
.ln-board__art img,
.ln-stock__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-hero__art img { transform: scale(1.1); }
.ln-hero__glow {
  position: absolute; left: 50%; top: 46%; width: 62vh; height: 62vh;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 211, 238, .35), transparent 62%);
  animation: ln-breathe 7s ease-in-out infinite;
}
@keyframes ln-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.ln-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(2, 5, 12, .7), transparent 45%, #02050c);
}
.ln-hero__in { position: absolute; inset: auto 0 14vh; z-index: 20; will-change: transform; }
.ln-hero__hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 31;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .4);
}

.ln-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: rgba(34, 211, 238, .8);
}
.ln-eyebrow i { display: block; width: 48px; height: 1px; background: rgba(34, 211, 238, .6); }

.ln-h1 {
  max-width: 16ch; margin: 0;
  font-size: clamp(42px, 8.5vw, 132px); font-weight: 900; line-height: .86;
  letter-spacing: -.03em; text-transform: uppercase; color: #fff;
}
/* Блик по слову «съедает»: градиент едет по тексту, а не по фону блока. */
.ln-sheen {
  background: linear-gradient(100deg, #fff 20%, #22d3ee 40%, #c084fc 55%, #fff 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ln-sheen 4.5s ease-in-out infinite;
}
@keyframes ln-sheen { 0% { background-position: -180% 0; } 60%, 100% { background-position: 220% 0; } }

.ln-hero__row {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 32px;
}
.ln-hero__sub { max-width: 460px; margin: 0; color: rgba(203, 213, 225, .8); }
.ln-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.ln-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border: 1px solid rgba(255, 255, 255, .25);
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; transition: background .2s, color .2s, border-color .2s;
}
.ln-btn--primary { background: #fff; border-color: #fff; color: #02050c; }
.ln-btn--primary:hover { background: #22d3ee; border-color: #22d3ee; color: #02050c; }
.ln-btn--ghost { border-color: transparent; padding-left: 0; letter-spacing: .22em; font-weight: 600; }
.ln-btn--ghost:hover { color: #22d3ee; }
.ln-btn--lg { padding: 20px 40px; }
.ln-btn--wide { justify-content: center; margin-top: 30px; width: 100%; }
.ln-play {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-size: 10px;
}

/* ─── Секции и заголовки ───────────────────────────────────────────── */
.ln-sec { position: relative; padding: 100px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ln-kicker {
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: rgba(34, 211, 238, .8);
}
.ln-h2 {
  max-width: 18ch; margin: 20px 0 0;
  font-size: clamp(30px, 4.4vw, 62px); font-weight: 900; line-height: .9;
  letter-spacing: -.02em; text-transform: uppercase; color: #fff;
}
.ln-h2--sm { font-size: clamp(28px, 3.8vw, 52px); }
.ln-lead { max-width: 620px; margin: 24px 0 0; color: rgba(203, 213, 225, .75); }
.ln-lead--mid { margin-left: auto; margin-right: auto; text-align: center; }

/* ─── Блок расчёта ─────────────────────────────────────────────────── */
.ln-board { overflow: hidden; }
.ln-board__art { position: absolute; inset: 0; opacity: .2; will-change: transform; }
.ln-board__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #02050c, rgba(2, 5, 12, .88) 45%, #02050c);
}
.ln-board__in { position: relative; }

.ln-kpis {
  margin-top: 48px; display: grid; gap: 1px; background: rgba(255, 255, 255, .08);
  grid-template-columns: repeat(4, 1fr);
}
.ln-kpi { background: #02050c; padding: 28px 24px; }
.ln-kpi__l {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .35);
}
.ln-kpi__v {
  margin-top: 12px; font-size: clamp(26px, 2.1vw, 34px); font-weight: 900;
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}

/* Карточки внутри блока стоят вплотную, разделены волосяной линией фона —
   так же, как таблицы в приложении, но без рамок и скруглений. */
.ln-grid { margin-top: 1px; display: grid; gap: 1px; background: rgba(255, 255, 255, .08); }
.ln-grid--board { grid-template-columns: 1.32fr .68fr; }
.ln-grid--2 { grid-template-columns: 1fr 1fr; }
.ln-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* min-width: 0 — иначе на узком экране длинная строка расшифровки распирает
   колонку сетки, и карточка вылезает за край секции. */
.ln-card { background: #02050c; padding: 28px; min-width: 0; }
.ln-card__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px;
}
.ln-card__t {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .4);
}
/* Тумблер прячет неактивный вариант атрибутом hidden, а у половины этих
   элементов свой display — flex у легенды, grid у сеток. Браузерное правило
   [hidden]{display:none} слабее любого класса, поэтому усиливаем его здесь
   один раз на всю витрину: иначе на карточке видны обе легенды сразу. */
[hidden] { display: none !important; }

.ln-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
/* Легенда переключаемых карточек стоит отдельной строкой под шапкой: в самой
   шапке её место занял тумблер, а вдвоём они на ноутбучной ширине не влезают. */
.ln-card__head + .ln-legend { margin-top: 14px; }
/* Приглушённый вариант значения. Селектор двойной намеренно: одиночный
   .is-dim проигрывает по порядку следования правилам вроде .ln-sku__p,
   и цифры привычного режима оставались фирменно-голубыми. */
.is-dim,
.ln-sku__p.is-dim { color: rgba(148, 178, 214, .55); }

/* Шапка над сеткой товаров: тумблер слева, объяснение под ним. */
.ln-skus__bar { margin-top: 40px; }
.ln-skus__bar .ln-blind { max-width: 760px; }
.ln-skus__bar + .ln-skus { margin-top: 28px; }

.ln-chart { position: relative; height: 250px; margin-top: 24px; }
.ln-chart--tall { height: 340px; }

.ln-steps { margin: 24px 0 0; padding: 0; list-style: none; }
.ln-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; }
.ln-steps__n {
  width: 22px; flex: none; padding-top: 2px;
  font-size: 11px; color: rgba(255, 255, 255, .25); font-variant-numeric: tabular-nums;
}
.ln-steps li i { flex: none; width: 1px; height: 24px; margin-top: 3px; background: currentColor; }
.ln-steps__b { flex: 1; min-width: 0; }
.ln-steps__b b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.ln-steps__b em { display: block; font-style: normal; font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, .35); }
.ln-steps__v { flex: none; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ─── Тумблер «как обычно / как у нас» ─────────────────────────────────
   Главный приём витрины. Человек уже видел свой кабинет и десяток сервисов,
   и слова «мы считаем глубже» для него пустые. Поэтому один и тот же месяц
   показывается дважды: сначала так, как он привык, — и тогда видно, что
   половины расчёта в этой картинке просто нет.

   Режим «обычно» не карикатура: там честно нарисовано то, что действительно
   отдают другие. Разница делается не враньём, а составом данных, и цветом:
   привычный вид обесцвечен, наш — в полной палитре. */
.ln-flip {
  display: inline-flex;
  align-items: stretch;
  /* Колонки блоков — флексы с растяжкой по ширине; без этого тумблер
     разъезжался во всю строку и переставал читаться как переключатель. */
  align-self: flex-start;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .14);
}
.ln-flip__b {
  padding: 7px 14px;
  font: inherit;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: rgba(255, 255, 255, .45);
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.ln-flip__b + .ln-flip__b { border-left: 1px solid rgba(255, 255, 255, .14); }
.ln-flip__b:hover { color: #fff; }
.ln-flip__b.is-on { color: #02050c; background: #22d3ee; }
/* «Как обычно» включён — подсветка серая: включённым состоянием фирменного
   цвета нельзя награждать чужую картинку. */
.ln-flip__b.is-on[data-mode="usual"] { color: #02050c; background: rgba(255, 255, 255, .62); }

/* Привычный режим гасит оценку: список кампаний остаётся, но без светофора и
   без цветного ДРР. Знание «эта кампания плохая» — результат расчёта, которого
   в привычной картинке нет, и раздавать его бесплатно нельзя. */
.is-usual .ln-camp__s { background: rgba(148, 178, 214, .35) !important; }
.is-usual .ln-camp__d { color: rgba(148, 178, 214, .6) !important; }
/* То же в таблице: в привычном виде расход на рекламу — просто число, а
   убыточная строка ничем не отличается от прочих. Она и не может отличаться:
   чтобы узнать про минус, нужна себестоимость, которой в этом виде нет. */
.is-usual .ln-table .is-out { color: rgba(148, 178, 214, .55) !important; }
.is-usual .ln-table tr.is-loss td { background: transparent !important; }

/* Строка «чего в этой картинке нет» — появляется только в привычном режиме.
   Не восклицание и не красный: перечень, который читатель проверит сам. */
.ln-blind {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(232, 121, 249, .5);
  font-size: 12.5px; line-height: 1.55;
  color: rgba(255, 255, 255, .5);
}
.ln-blind b { color: rgba(255, 255, 255, .8); font-weight: 600; }

/* ─── Экономика по товарам ─────────────────────────────────────────────
   Таблица продаёт числом колонок, поэтому ужимать её нельзя — она уезжает
   вбок внутри своей коробки. Горизонтальная прокрутка здесь не дефект
   вёрстки, а часть сообщения: столько данных в строке. */
.ln-tablewrap {
  margin-top: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.ln-table {
  /* max-content, а не 100%: колонок шестнадцать, и при растяжении на ширину
     карточки они ужимаются до обрезанных заголовков — «КОМИССИ», «ВОЗВРАТЬ».
     Пусть таблица будет шире коробки и уедет в прокрутку. */
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ln-table th {
  padding: 0 0 12px 22px;
  text-align: right;
  vertical-align: bottom;
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  /* Липкую шапку таблицы витрине навязывает общий style.css приложения — там
     она нужна длинным спискам. Здесь она наезжала на первую строку. */
  position: static !important;
}
.ln-table td {
  padding: 13px 0 13px 22px;
  text-align: right;
  vertical-align: middle;
  color: rgba(226, 240, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.ln-table tr:last-child td { border-bottom: 0; }
.ln-table__name { text-align: left !important; padding-left: 0 !important; min-width: 230px; }
.ln-table__name b { display: block; font-size: 13px; font-weight: 600; color: #fff; }
/* Артикул под названием — как в сервисе: по нему товар ищут в кабинете,
   и без него строка не привязана ни к чему. */
.ln-table__name span { font-size: 10.5px; color: rgba(255, 255, 255, .3); }
/* Две последние колонки приколоты к правому краю. Ради них таблицу и
   открывают: середина пусть уезжает в прокрутку, но «сколько осталось» и
   «окупилось ли» должны быть на экране всегда — иначе главный ответ витрины
   виден только тем, кто догадался прокрутить вбок. */
.ln-table th:nth-last-child(2),
.ln-table td:nth-last-child(2),
.ln-table th:last-child,
.ln-table td:last-child {
  position: sticky !important;
  /* top из липкой шапки приложения (style.css) здесь достаётся уже sticky
     ячейке и опускает заголовок на высоту меню — прямо на первую строку.
     Гасим: прилипаем только вбок. */
  top: auto !important;
  background: #02050c;
}
.ln-table th:nth-last-child(2),
.ln-table td:nth-last-child(2) {
  right: 86px;
  box-shadow: -14px 0 14px -14px rgba(0, 0, 0, .95);
}
.ln-table th:last-child,
.ln-table td:last-child { right: 0; }
/* Подложка убыточной строки должна доезжать и до приколотых ячеек, иначе
   полоса обрывается ровно там, где смотрят. */
.ln-table tr.is-loss td:nth-last-child(2),
.ln-table tr.is-loss td:last-child { background: #0a0810; }

.ln-table .is-out { color: rgba(232, 121, 249, .75); }
.ln-table .is-sky { color: #38bdf8; }
.ln-table__net { color: #22d3ee; font-weight: 700; }
.ln-table__net.is-bad { color: #fb7185; }
.ln-roi {
  display: inline-block; padding: 3px 9px;
  font-weight: 700; color: #22d3ee;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .3);
}
.ln-roi.is-bad { color: #fb7185; background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .35); }
/* Убыточная строка подсвечена всей полосой: искать красное число глазами в
   таблице из шестнадцати колонок — работа, а не чтение. */
.ln-table tr.is-loss td { background: rgba(251, 113, 133, .05); }

/* ─── Кольцо прибыли и окупаемость ─────────────────────────────────────
   Три карточки идут в ряд, но кольцу нужно вдвое больше места: у него внутри
   ещё и список из восьми строк. */
.ln-grid--items { grid-template-columns: 1.5fr 1fr 1fr; }
.ln-donut { margin-top: 26px; display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: center; }
.ln-donut__c { position: relative; height: 190px; }
.ln-donut__mid {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; text-align: center;
}
.ln-donut__mid b { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
/* Подпись внутри кольца — короткая и узкая: длинная строка упирается в
   сегменты и читается как часть графика. */
.ln-donut__mid span {
  margin-top: 4px; max-width: 96px;
  font-size: 8.5px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.ln-mixlist { margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.ln-mixlist li {
  display: grid; grid-template-columns: 10px 1fr auto 42px;
  align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 12.5px; color: rgba(226, 240, 255, .78);
}
.ln-mixlist i { width: 8px; height: 8px; border-radius: 50%; }
/* Цвета сегментов кольца повторены здесь вручную: список рисует разметка,
   кольцо — Chart.js, и общего источника у них нет. Меняете палитру в
   landing.js — поправьте и тут, иначе подписи начнут врать. */
.ln-mixlist .is-a { background: #22d3ee; } .ln-mixlist .is-b { background: #38bdf8; }
.ln-mixlist .is-c { background: #818cf8; } .ln-mixlist .is-d { background: #c084fc; }
.ln-mixlist .is-e { background: #e879f9; } .ln-mixlist .is-f { background: #f472b6; }
.ln-mixlist .is-g { background: #fb7185; } .ln-mixlist .is-h { background: rgba(251, 113, 133, .35); }
.ln-mixlist b { font-weight: 700; color: #fff; }
.ln-mixlist em { font-style: normal; text-align: right; color: rgba(255, 255, 255, .35); }
.ln-mixlist li:last-child b, .ln-mixlist li:last-child em { color: #fb7185; }

.ln-roigrid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ln-roicard { padding: 16px 14px; border: 1px solid rgba(34, 211, 238, .22); background: rgba(34, 211, 238, .04); }
.ln-roicard.is-bad { border-color: rgba(251, 113, 133, .3); background: rgba(251, 113, 133, .05); }
.ln-roicard__v { font-size: 24px; font-weight: 900; letter-spacing: -.02em; color: #22d3ee; font-variant-numeric: tabular-nums; }
.ln-roicard.is-bad .ln-roicard__v { color: #fb7185; }
.ln-roicard__n { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #fff; }
.ln-roicard__r {
  margin-top: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 11px; color: rgba(255, 255, 255, .38);
}
/* Число не переносим: «41 300 ₽» в три строки — это уже не карточка. */
.ln-roicard__r b {
  white-space: nowrap;
  color: rgba(226, 240, 255, .85); font-weight: 600; font-variant-numeric: tabular-nums;
}
/* Счётчик убыточных — не украшение шапки, а причина открыть карточку. */
.ln-card__flag { font-size: 11px; color: rgba(255, 255, 255, .4); }
.ln-card__flag b { font-size: 14px; font-weight: 800; color: #fb7185; }

/* ─── Термометр ДРР ────────────────────────────────────────────────────
   Наш ответ на «ДРР 9%» — само по себе это число ничего не значит: у одного
   товара 9% съедают половину прибыли, у другого 30% ещё окупаются. Значение
   ему даёт только расстояние до порога, за которым прибыль обнуляется. */
.ln-meter { margin-top: 28px; }
.ln-meter__scale {
  position: relative;
  height: 10px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.ln-meter__fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--drr, 0%);
  background: linear-gradient(90deg, rgba(192, 132, 252, .85), #e879f9);
  transition: width .8s cubic-bezier(.22, 1, .36, 1);
}
.ln-meter__limit {
  position: absolute; top: -5px; bottom: -5px;
  left: var(--limit, 100%);
  width: 2px;
  background: #22d3ee;
}
.ln-meter__legend {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 12px; color: rgba(255, 255, 255, .45);
}
.ln-meter__legend b { color: #fff; font-weight: 700; }

/* Подпись под графиком. Нужна там, где картинка без слов читается неверно:
   оборванный хвост выкупов выглядит как остановка продаж, хотя это деньги
   в пути. Кегль меньше лида — это сноска, а не второй абзац. */
.ln-note {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .42);
}
.ln-note--mid { margin: 40px auto 0; text-align: center; }

/* ─── Чего не даёт кабинет ─────────────────────────────────────────── */
.ln-gaps__list {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  grid-template-columns: repeat(3, 1fr);
}
.ln-gap { background: #02050c; padding: 30px 28px; min-width: 0; }
.ln-gap__t {
  margin: 0 0 18px;
  font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff;
}
/* Две половины карточки: сверху цитата ограничения, снизу наш ответ. Разница
   между ними — цветом и яркостью, а не рамкой: рамка сделала бы из этого
   таблицу сравнения, а сравнивать нам не с чем — площадка не конкурент. */
.ln-gap__lk, .ln-gap__us {
  margin: 0; font-size: 13px; line-height: 1.55;
}
.ln-gap__lk { color: rgba(255, 255, 255, .38); }
.ln-gap__us {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(226, 240, 255, .82);
}
.ln-gap__tag {
  display: block; margin-bottom: 6px;
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
}
.ln-gap__tag.is-cyan { color: #22d3ee; }

/* ─── Товары ───────────────────────────────────────────────────────── */
.ln-skus {
  margin-top: 56px; display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.ln-sku { position: relative; height: 300px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.ln-sku__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.ln-sku__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #02050c, rgba(2, 5, 12, .6) 55%, transparent);
}
.ln-sku__in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.ln-sku__m { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.ln-sku__n { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff; }
.ln-sku__p {
  margin-top: 12px; font-size: 30px; font-weight: 900; line-height: 1;
  color: #22d3ee; font-variant-numeric: tabular-nums;
}
.ln-sku__p.is-bad { color: #fb7185; }
.ln-sku__r { margin-top: 4px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }

/* ─── Двухчастные кадры ────────────────────────────────────────────── */
.ln-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 92svh; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ln-split--rev .ln-split__art { order: 2; }
.ln-split__art { position: relative; overflow: hidden; min-height: 60svh; }
.ln-split__art img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.ln-split__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #02050c, transparent 45%, rgba(2, 5, 12, .6));
}
.ln-split__cap { position: absolute; inset: auto 0 40px; padding: 0 32px; }
.ln-split__t {
  margin-top: 12px; font-size: clamp(30px, 3.4vw, 54px); font-weight: 900;
  line-height: .9; text-transform: uppercase; color: #fff;
}
.ln-split__body { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 80px 48px; }

.ln-bignums { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.ln-bignum {
  margin-top: 10px; font-size: clamp(30px, 3.6vw, 56px); font-weight: 900;
  line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}

.ln-camps { display: grid; gap: 1px; background: rgba(255, 255, 255, .08); }
.ln-camp { display: flex; align-items: center; gap: 16px; padding: 13px 16px; background: #02050c; }
.ln-camp__s { flex: none; width: 3px; height: 30px; background: #22d3ee; }
.ln-camp__s.is-watch { background: #fbbf24; }
.ln-camp__s.is-bad { background: #f43f5e; }
.ln-camp__n { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-camp__sp { font-size: 12px; color: rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; }
.ln-camp__d { width: 56px; text-align: right; font-size: 14px; font-weight: 700; color: #22d3ee; font-variant-numeric: tabular-nums; }
.ln-camp__d.is-bad { color: #fb7185; }

/* ─── Остатки ──────────────────────────────────────────────────────── */
.ln-stock { overflow: hidden; }
.ln-stock__art { position: absolute; inset: 0; opacity: .25; }
.ln-stock__veil { position: absolute; inset: 0; background: rgba(2, 5, 12, .8); }
.ln-stock__in { position: relative; }
.ln-stock .ln-grid { margin-top: 56px; }
.ln-days { font-size: 64px; font-weight: 900; line-height: 1; color: #22d3ee; font-variant-numeric: tabular-nums; }
.ln-days.is-warn { color: #fbbf24; }
.ln-days.is-crit { color: #f43f5e; }
.ln-days__l { margin-top: 8px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.ln-days__n { margin-top: 20px; font-size: 15px; color: #fff; }
.ln-days__w { font-size: 12.5px; color: rgba(255, 255, 255, .4); }

/* ─── Сигналы и Telegram ───────────────────────────────────────────── */
.ln-signals { display: grid; gap: 14px; }
.ln-signal { border-left: 2px solid rgba(34, 211, 238, .5); padding-left: 20px; }
.ln-signal__t { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(34, 211, 238, .85); }
.ln-signal__x { margin-top: 4px; font-size: 14px; color: rgba(203, 213, 225, .8); }

.ln-tg { position: absolute; inset: auto 32px 32px; display: grid; gap: 8px; }
.ln-tg__m { border: 1px solid rgba(255, 255, 255, .1); background: rgba(2, 5, 12, .8); backdrop-filter: blur(10px); padding: 12px 16px; }
.ln-tg__time { font-size: 10.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; }
.ln-tg__x { margin-top: 4px; font-size: 13px; color: #e2e8f0; }
.ln-tg__x.is-warn { color: #fcd34d; }
.ln-tg__x.is-alert { color: #fda4af; }

/* ─── Площадки ─────────────────────────────────────────────────────── */
.ln-markets { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ln-market { position: relative; min-height: 70svh; overflow: hidden; }
.ln-market__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; transition: transform .7s, opacity .7s; }
.ln-market:hover .ln-market__art { transform: scale(1.05); opacity: .6; }
.ln-market__veil { position: absolute; inset: 0; background: rgba(2, 5, 12, .7); }
.ln-market__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.ln-market__n { font-size: clamp(34px, 4vw, 64px); font-weight: 900; line-height: .85; text-transform: uppercase; color: #fff; }
.ln-market__grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 420px; }
.ln-market__grid span { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.ln-market__grid b { display: block; margin-top: 4px; font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }

/* ─── Тарифы ───────────────────────────────────────────────────────── */
.ln-plan.is-hot { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4); }
.ln-plan__t { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: #22d3ee; }
.ln-plan__p { margin-top: 16px; font-size: 15px; color: rgba(203, 213, 225, .8); }
.ln-plan__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ln-plan__list li { position: relative; padding-left: 26px; font-size: 14px; color: rgba(203, 213, 225, .78); }
.ln-plan__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 1px; background: rgba(34, 211, 238, .7); }
.ln-plan__list li.off { color: rgba(148, 163, 184, .45); }
.ln-plan__list li.off::before { background: rgba(148, 163, 184, .35); }

/* ─── Вопросы ──────────────────────────────────────────────────────── */
.ln-faq .ln-wrap { border-top: 1px solid rgba(255, 255, 255, .08); }
.ln-q { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ln-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; color: #fff;
}
.ln-q summary::-webkit-details-marker { display: none; }
.ln-q__i { flex: none; font-size: 20px; font-weight: 400; color: #22d3ee; transition: transform .2s; }
.ln-q[open] .ln-q__i { transform: rotate(45deg); }
.ln-q p { max-width: 700px; margin: 0; padding-bottom: 26px; color: rgba(203, 213, 225, .7); }

/* ─── Финальный кадр ───────────────────────────────────────────────── */
.ln-final { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.ln-final__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.ln-final__veil { position: absolute; inset: 0; background: rgba(2, 5, 12, .55); }
.ln-final__in {
  position: absolute; inset: 0; z-index: 26; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px;
}
.ln-final__t {
  margin: 26px 0 0; font-size: clamp(36px, 7vw, 108px); font-weight: 900;
  line-height: .86; letter-spacing: -.03em; text-transform: uppercase; color: #fff;
}
.ln-final .ln-btn { margin-top: 40px; }

/* ─── Подвал ───────────────────────────────────────────────────────── */
.ln-foot { padding: 36px 0; }
.ln-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .3); }
.ln-foot__b { color: rgba(255, 255, 255, .6); }
.ln-foot__in a { color: inherit; }
.ln-foot__in a:hover { color: #22d3ee; }
.ln-foot__sp { margin-left: auto; letter-spacing: normal; text-transform: none; }

/* ─── Проявление при скролле ───────────────────────────────────────── */
.ln-rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.ln-rise.in { opacity: 1; transform: none; }

/* Системный курсор прячет сам art-cursor.js — здесь этого правила нет
   намеренно: не загрузился скрипт, значит осталась обычная стрелка. */

/* ─── Узкие экраны ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ln-grid--board, .ln-grid--2, .ln-grid--items { grid-template-columns: 1fr; }
  .ln-donut { grid-template-columns: 1fr; justify-items: center; }
  .ln-mixlist { width: 100%; }
  .ln-grid--3, .ln-gaps__list { grid-template-columns: 1fr 1fr; }
  .ln-skus { grid-template-columns: 1fr 1fr; }
  .ln-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ln-sec { padding: 72px 0; }
  .ln-grid--3, .ln-skus, .ln-kpis, .ln-gaps__list { grid-template-columns: 1fr; }
  .ln-split, .ln-markets { grid-template-columns: 1fr; }
  .ln-split--rev .ln-split__art { order: 0; }
  .ln-split__body { padding: 64px 24px; }
  .ln-tg { position: static; margin: 24px; }
  .ln-market__in { padding: 28px; }
  .ln-foot__sp { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ln-rise { opacity: 1; transform: none; transition: none; }
  .ln-sheen, .ln-hero__glow { animation: none; }
  .ln-sheen { background: none; -webkit-text-fill-color: #22d3ee; color: #22d3ee; }
}
