/* ═══════════════════════════════════════════════════════════
   WMS · Ярусли — дизайн-система лендинга
   Палитра взята пиксельно из логотипа: тёмно-синий #0d1f41,
   акцентный синий #175ee5. Интерфейс продукта синий — страница
   строится вокруг него, а не воюет с ним.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Бренд */
  --navy-950: #060f22;
  --navy-900: #0a1830;
  --navy-800: #0d1f41;
  --navy-700: #16305e;
  --navy-500: #2b4c85;

  --blue: #175ee5;
  --blue-700: #1148b4;
  --blue-300: #7ba7f5;
  --blue-100: #dbe7fe;
  --blue-50: #eff5ff;

  /* Нейтральные */
  --ink: #0f172a;
  --slate: #475569;
  --slate-400: #94a3b8;
  --line: #e7edf6;
  --paper: #ffffff;
  --paper-2: #f6f9fe;

  /* Состояния (те же, что в продукте) */
  --ok: #12a150;
  --warn: #f59e0b;
  --danger: #e5484d;

  /* Гарнитуры — обе с полной кириллицей */
  --display: Onest, "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;

  /* Раскладка */
  --maxw: 1200px;
  --gutter: 32px;
  --section: 104px;

  /* Тени */
  --sh-card: 0 1px 2px rgba(13, 31, 65, .05), 0 8px 24px -8px rgba(13, 31, 65, .10);
  --sh-lift: 0 1px 2px rgba(13, 31, 65, .06), 0 24px 48px -12px rgba(13, 31, 65, .18);
  --sh-deep: 0 30px 70px -20px rgba(6, 15, 34, .55);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
p { margin: 0; }
a { color: inherit; }

/* ── Типографика ──────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 700;
}

h1 { font-size: clamp(38px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.lede { font-size: 19px; line-height: 1.55; color: var(--slate); max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: 14px; line-height: 1.5; color: var(--slate); }
.mono { font-family: var(--mono); font-size: .92em; }
.nowrap { white-space: nowrap; }

/* Подсветка ключевого слова в заголовке */
.hl { color: var(--blue); }

.hl-underline {
  position: relative;
  white-space: nowrap;
}

.hl-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .30em;
  background: var(--blue-100);
  border-radius: 3px;
  z-index: -1;
}

/* ── Каркас ───────────────────────────────────────────── */

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); position: relative; }
section.tight { padding-block: 72px; }
section.soft { background: var(--paper-2); }

section.dark {
  background:
    radial-gradient(1000px 560px at 12% -10%, rgba(23, 94, 229, .30), transparent 62%),
    radial-gradient(760px 460px at 92% 8%, rgba(23, 94, 229, .17), transparent 60%),
    var(--navy-900);
  color: #fff;
}

section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .lede, section.dark .muted, section.dark .small { color: #a8bcdc; }
section.dark .eyebrow { color: var(--blue-300); }
section.dark .eyebrow::before { background: var(--blue-300); }

.head { max-width: 760px; margin-bottom: 52px; }
.head .eyebrow { margin-bottom: 18px; }
.head h2 + p { margin-top: 20px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── Навигация ────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(13, 31, 65, .25); }

.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; display: block; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-sub { font-size: 12px; color: var(--slate-400); font-weight: 500; letter-spacing: .02em; }

.nav-links { display: flex; gap: 26px; margin-inline: auto; }
.nav-links a { font-size: 15.5px; font-weight: 500; text-decoration: none; color: var(--slate); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 16px; flex: none; }

/* ── Кнопки ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding-inline: 26px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(17, 72, 180, .3), 0 10px 24px -10px rgba(23, 94, 229, .70);
}

.btn-primary:hover { background: var(--blue-700); box-shadow: 0 1px 2px rgba(17, 72, 180, .35), 0 16px 32px -12px rgba(23, 94, 229, .85); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-400); }

.btn-sm { height: 42px; padding-inline: 18px; font-size: 15px; border-radius: 10px; }

section.dark .btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .18); }
section.dark .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
  text-decoration: none;
}

.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ── Карточки ─────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card h3 + p, .card h4 + p { margin-top: 10px; }
.card p { color: var(--slate); font-size: 16px; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 18px;
}

.card-icon svg { width: 22px; height: 22px; }

section.dark .card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .10); }
section.dark .card:hover { border-color: rgba(123, 167, 245, .45); box-shadow: none; background: rgba(255, 255, 255, .07); }
section.dark .card p { color: #a8bcdc; }
section.dark .card-icon { background: rgba(23, 94, 229, .22); color: var(--blue-300); }

/* Карточка боли — приглушённая, без синевы */
.card-pain { background: var(--paper-2); border-color: transparent; }
.card-pain:hover { transform: none; box-shadow: none; border-color: transparent; }
.card-pain .pain-mark { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--danger); margin-bottom: 12px; }

/* ── Рамка браузера ───────────────────────────────────── */

.browser {
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lift);
}

.browser-bar {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dde5f0; display: block; }

.url {
  flex: 1; max-width: 340px; margin-inline: auto;
  height: 23px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--slate-400);
}

.browser > img { display: block; width: 100%; height: auto; }

.browser.dark { border-color: rgba(255, 255, 255, .10); box-shadow: var(--sh-deep); }
.browser.dark .browser-bar { background: #101d36; border-bottom-color: rgba(255, 255, 255, .08); }
.browser.dark .dots i { background: rgba(255, 255, 255, .16); }
.browser.dark .url { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .10); color: #8aa2c8; }

/* ── Рамка телефона ───────────────────────────────────── */

/*
  Корпус телефона. Никакой белой обводки: блик даёт градиент рамки
  (светлее сверху слева, темнее снизу справа), как у настоящего корпуса.
  Жёсткий inset-контур читался как «обвели белым в редакторе».
*/
.phone {
  position: relative;
  width: 268px;
  border-radius: 42px;
  padding: 11px;
  /* Корпус почти чёрный: светлый край градиента читался как белая обводка */
  background: linear-gradient(150deg, #10151f 0%, #080c14 46%, #04060a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 48px 82px -28px rgba(0, 0, 0, .78),
    0 14px 26px -16px rgba(0, 0, 0, .62);
  flex: none;
}

/* Боковые клавиши: громкость слева, питание справа */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #1c2433, #090d15);
}

.phone::before { left: -2px; top: 118px; height: 66px; border-radius: 3px 0 0 3px; }
.phone::after { right: -2px; top: 136px; height: 46px; border-radius: 0 3px 3px 0; }

.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0f0f17;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .75);
}

/* Мягкое синее свечение позади пары телефонов */
.phones { position: relative; }

.phones::before {
  content: "";
  position: absolute;
  inset: -48px -36px;
  background: radial-gradient(58% 46% at 42% 32%, rgba(23, 94, 229, .34), transparent 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.phones .phone { z-index: 1; }
.phone-screen img { display: block; width: 100%; height: auto; }
.phone-label { margin-top: 16px; text-align: center; font-size: 14px; font-weight: 500; color: var(--slate); }
section.dark .phone-label { color: #a8bcdc; }

/* ── Кадрированный фрагмент интерфейса ────────────────── */

.crop {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
  position: relative;
  background: #fff;
}

.crop img { position: absolute; max-width: none; }

/* ── Логотипы площадок ────────────────────────────────── */

.mps { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.mp-chip {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding-inline: 16px;
  border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600;
}

.mp-chip img { width: 20px; height: 20px; display: block; }

.mp-chip .badge {
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; color: #fff; letter-spacing: -.02em;
}

section.dark .mp-chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* ── Список фактов ────────────────────────────────────── */

.facts { list-style: none; margin: 0; padding: 0; }

.facts li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.facts li:first-child { border-top: 0; padding-top: 0; }
.facts b { font-weight: 600; }

.tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; margin-top: 2px;
}

.tick svg { width: 12px; height: 12px; }
section.dark .tick { background: rgba(23, 94, 229, .25); color: var(--blue-300); }
section.dark .facts li { border-top-color: rgba(255, 255, 255, .10); }

/* ── Цифры-доказательства ─────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { padding: 4px 0; }
.stat .v { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat .l { font-size: 14px; color: var(--slate); margin-top: 6px; }
section.dark .stat .l { color: #a8bcdc; }

/* ── Тарифы ───────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  background: #fff;
  position: relative;
  transition: box-shadow .22s ease, transform .22s ease;
}


.plan.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50), var(--sh-lift);
}

.plan-tag {
  position: absolute; top: -12px; left: 26px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

.plan-name { font-family: var(--display); font-size: 19px; font-weight: 700; }
.plan-price { font-family: var(--display); font-size: 38px; font-weight: 700; letter-spacing: -.03em; margin-top: 14px; line-height: 1; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan-cap { font-size: 15px; color: var(--slate); margin-top: 10px; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan .btn { width: 100%; }

/* ── FAQ ──────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.015em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--slate-400); border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 60px 24px 0; color: var(--slate); font-size: 16.5px; line-height: 1.6; }

/* ── Подвал ───────────────────────────────────────────── */

.footer { background: var(--navy-900); color: #a8bcdc; padding-block: 56px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer .brand-name { color: #fff; }

/* ── Движение ─────────────────────────────────────────── */

/*
  Гвард: прячем элементы ТОЛЬКО если JS жив (класс .js ставится первой
  строкой в <head>). Иначе ошибка в скрипте оставила бы белую страницу.
  Двигаем через translate/scale — transform остаётся свободен под наклон.
*/
.js .reveal { opacity: 0; translate: 0 22px; }
.js .reveal-l { translate: -26px 0; }
.js .reveal-r { translate: 26px 0; }
.js .reveal-media { translate: 0 18px; scale: .978; }
.js .reveal-chip { translate: 0 10px; scale: .96; }

.reveal.in {
  opacity: 1;
  translate: none;
  scale: none;
  transition: opacity .5s ease, translate .62s cubic-bezier(.16, .84, .44, 1), scale .62s cubic-bezier(.16, .84, .44, 1);
}

.reveal-chip.in { transition-duration: .42s; }

.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
.reveal.d5 { transition-delay: .35s; }

/*
  На узком экране раскладка одноколоночная — боковой сдвиг появления
  там ничего не даёт, зато до анимации распирает страницу вправо
  и включает горизонтальную прокрутку. Сводим к вертикальному.
*/
@media (max-width: 900px) {
  .js .reveal-l,
  .js .reveal-r { translate: 0 22px; }
}

/* Наведение — только на устройствах с настоящим курсором */
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -4px; box-shadow: var(--sh-lift); border-color: var(--blue-100); }
  .card:hover .card-icon { scale: 1.07; rotate: -3deg; }
  .card-icon { transition: scale .24s ease, rotate .24s ease; }
  .plan:hover { translate: 0 -4px; box-shadow: var(--sh-lift); }
}

/* ── Адаптив ──────────────────────────────────────────── */

@media (max-width: 1040px) {
  :root { --section: 80px; --gutter: 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
}

@media (max-width: 620px) {
  :root { --section: 64px; }
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .head { margin-bottom: 36px; }
  .btn { width: 100%; }
  .nav-cta .btn { width: auto; }
}

/* ── Первый экран: композиция веб + телефон ───────────── */

.hero-stage {
  position: relative;
  margin-top: 76px;
  height: 500px;
}

.hero-browser {
  position: absolute;
  left: 0;
  top: 0;
  width: 84%;
  transform: perspective(2400px) rotateY(-9deg) rotateX(2.5deg);
  transform-origin: left center;
}

.hero-phone {
  position: absolute;
  right: 12px;
  top: 34px;
  width: 250px;
}


@media (max-width: 1040px) {
  .hero-stage { height: 380px; margin-top: 56px; }
  .hero-browser { width: 92%; transform: none; }
  .hero-phone { display: none; }
}

@media (max-width: 620px) {
  .hero-stage { height: 260px; }
  .hero-browser { width: 116%; }
}

/* ── Живой дашборд (воспроизведение экрана продукта) ──── */

.dash { background: #fff; color: var(--ink); padding: 24px 26px 26px; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.dash-head h3 { font-size: 22px; font-weight: 700; margin: 0; }
.dash-head span { color: var(--slate-400); font-size: 13px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi .k-label { font-size: 12px; color: var(--slate); margin-bottom: 6px; }
.kpi .k-val { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .k-sub { font-size: 11px; color: var(--slate-400); margin-top: 4px; }
.kpi.hot { border-color: var(--blue-100); background: linear-gradient(180deg, var(--blue-50), #fff); }
.kpi.hot .k-val { color: var(--blue); }

.dash-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.panel h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.panel h4 em { font-style: normal; font-size: 11px; color: var(--slate-400); font-weight: 400; }

.chart { width: 100%; height: 150px; display: block; }
.chart .grid-l { stroke: var(--line); stroke-width: 1; }
.chart .area { fill: url(#chartFill); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.sync { list-style: none; margin: 0; padding: 0; }
.sync li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(6px); }
.sync li:first-child { border-top: 0; padding-top: 0; }
.sync li.on { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.sync .mp-badge { width: 22px; height: 22px; border-radius: 6px; flex: none; display: block; }
.sync .nm { font-size: 13px; font-weight: 500; }
.sync .tm { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--slate-400); }
.sync .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }

.bar-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--slate); }
.bar-row b { font-family: var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 99px; background: #eef2f8; overflow: hidden; margin-top: 10px; }
/* Заполнение через scale, а не width: width пересчитывает раскладку на каждом кадре */
.bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 99px;
  background: var(--blue);
  transform-origin: left center;
  scale: 0 1;
  transition: scale 1.1s cubic-bezier(.16, .84, .44, 1) .12s;
}

@media (max-width: 820px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .dash { padding: 18px; }
}
