/* Лендинг «Яндекс Директ» — Алексей Комаров. Основа v2.
   Палитра своя, не как у Ледника и DREVA: тёплый светло-серый фон, синий кнопок со старого сайта #3962ff,
   жёлтый акцент #ffc501 (акция и выделения), тёмно-синие первый экран и акцентные блоки. Без голубых градиентов.
   Все блоки страницы строятся только из этих токенов и компонентов. */

:root {
  /* светлая основа */
  --bg: #f8f8f5;
  --bg-2: #efefea;
  --surface: #ffffff;
  --ink: #0e1428;
  --ink-2: #363c4e;
  --muted: #6a6f7d;
  --line: #e3e3dd;
  --line-2: #d4d4cc;
  /* бренд */
  --blue: #3962ff;
  --blue-d: #2a4fe8;
  --sky: #6b8bff;
  --cyan: #3962ff;
  --blue-soft: #e7ecff;
  --blue-soft-2: #d9e1ff;
  /* жёлтый акцент: акция, выделения на тёмном */
  --yellow: #ffc501;
  --yellow-d: #e5ab00;
  --yellow-soft: #fff3c7;
  --yellow-ink: #6b4e00;
  --grad: linear-gradient(92deg, #3962ff 0%, #5a7bff 100%);
  --grad-btn: linear-gradient(180deg, #4a70ff 0%, #3962ff 100%);
  /* статусы */
  --ok: #17a368;
  --ok-soft: #e3f6ec;
  --warn: #e8951f;
  --warn-soft: #fdf1dc;
  --crit: #e5484d;
  --crit-soft: #fde8e9;
  /* тёмные блоки */
  --dk: #0a1229;
  --dk-2: #111b38;
  --dk-3: #182448;
  --dk-line: rgba(255, 255, 255, .1);
  --dk-muted: #a4adc8;
  /* форма */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 21, 48, .04), 0 24px 60px -30px rgba(14, 20, 40, .28);
  --shadow-lg: 0 2px 6px rgba(13, 21, 48, .05), 0 40px 90px -40px rgba(14, 20, 40, .38);
  --shadow-btn: 0 18px 36px -16px rgba(57, 98, 255, .7);
  /* шрифт и сетка */
  --font: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1520px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(48px, 6vw, 88px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ===== контейнер и секции ===== */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--section); }
.sec + .sec { padding-top: calc(var(--section) * .4); }
/* на стыке светлого и тёмного фона отступ внутри тёмного (или после него) полный */
.sec:not(.is-dark) + .sec.is-dark, .sec.is-dark + .sec:not(.is-dark) { padding-top: var(--section); }
/* светлый фон с мягким светом сверху */
.sec--glow { isolation: isolate; overflow: hidden; }
.sec--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 8% 0%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgba(57, 98, 255, .06), transparent 70%);
  /* свет сходит на нет к верхнему и нижнему краю: соседние секции встречаются на чистом --bg, без шва */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
  pointer-events: none;
}

/* тёмный акцентный блок */
.is-dark { background: var(--dk); color: #fff; --muted: var(--dk-muted); --line: var(--dk-line); --ink-2: #c9d0df; color-scheme: dark; }
.is-dark.sec--glow::before {
  background:
    radial-gradient(55% 60% at 85% 20%, rgba(57, 98, 255, .32), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(255, 197, 1, .06), transparent 70%);
}
.is-dark + .is-dark { padding-top: 0; }

/* ===== заголовок секции ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px var(--line);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.eyebrow:has(.ic)::before { display: none; }
/* значок в плашке — 18 px во всех блоках (одна высота плашки по всей странице) */
.eyebrow .ic { width: 18px; height: 18px; color: var(--blue); }
.is-dark .eyebrow { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.is-dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(255, 197, 1, .22); }
.is-dark .eyebrow .ic { color: var(--yellow); }
.h2 {
  margin-top: 18px;
  max-width: 22ch;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; }
/* выделение в заголовке: на светлом синий, на тёмном жёлтый */
.grad { color: var(--blue); }
.is-dark .grad { color: var(--yellow); }
.lead { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }

/* ===== кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn .ic { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 22px 44px -16px rgba(57, 98, 255, .85); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn--ghost:hover { box-shadow: var(--shadow-lg); }
.is-dark .btn--ghost, .btn--ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.is-dark .btn--ghost:hover, .btn--ghost-dark:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ===== значки ===== */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.ic-tile .ic { width: 26px; height: 26px; }
/* официальный логотип Telegram (цветной, #i-tg в спрайте): без обводки, на синей кнопке — с белым кольцом */
.ic-tg { stroke: none; }
.btn .ic-tg { border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.ic-tile--crit { background: var(--crit-soft); color: var(--crit); }
.ic-tile--ok { background: var(--ok-soft); color: var(--ok); }
.ic-tile--warn { background: var(--warn-soft); color: var(--warn); }
.ic-tile--white { background: var(--surface); box-shadow: var(--shadow); }
.is-dark .ic-tile { background: rgba(57, 98, 255, .16); color: #9fb0ff; box-shadow: inset 0 0 0 1px rgba(120, 146, 255, .22); }

/* ===== карточки ===== */
.card { position: relative; min-width: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.card--pad { padding: clamp(22px, 2.6vw, 34px); }
.card--xl { border-radius: var(--r-xl); }
.card--glass { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .85); }
.is-dark .card { background: var(--dk-2); box-shadow: inset 0 0 0 1px var(--dk-line), 0 30px 70px -40px rgba(0, 0, 0, .8); }
.card--dark { background: var(--dk); color: #fff; }

/* ===== чипы и плашки ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
}
.chip .ic { width: 20px; height: 20px; color: var(--blue); stroke-width: 2.2; }
.is-dark .chip { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.is-dark .chip .ic { color: #8fa2ff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-d); /* синий на ступень темнее: 5,27:1 на --blue-soft */
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.tag--plain { background: transparent; color: var(--muted); padding-inline: 0; }
.badge { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
/* текст статусов — тот же оттенок, только темнее: контраст не ниже 4,5:1 на своей подложке */
.badge--ok { background: var(--ok-soft); color: color-mix(in srgb, var(--ok) 70%, var(--ink)); }
.badge--warn { background: var(--warn-soft); color: color-mix(in srgb, var(--warn) 60%, var(--ink)); }
.badge--crit { background: var(--crit-soft); color: color-mix(in srgb, var(--crit) 80%, var(--ink)); }
.badge--plain { background: var(--bg-2); color: color-mix(in srgb, var(--muted) 85%, var(--ink)); }
.badge--blue { background: var(--blue-soft); color: var(--blue-d); }

/* ===== цифры ===== */
.stat { display: grid; gap: 6px; align-content: start; }
.stat b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.stat-card { padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.is-dark .stat-card { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* ===== списки с галочкой ===== */
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233962ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.is-dark .ticks li::before { background-color: rgba(57, 98, 255, .22); }

/* ===== рамка скриншота ===== */
.shot { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(13, 21, 48, .6); }
.shot__zoom .ic { width: 22px; height: 22px; }
.shot__cap { position: absolute; left: 14px; top: 14px; }

/* ===== поля и ползунки ===== */
.input {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: 500 17px var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(57, 98, 255, .14); }
.pill-opt {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.pill-opt:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.pill-opt[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(57, 98, 255, .9); }
.progress { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(.2); transition: transform .4s var(--ease); }

/* ===== подписи ===== */
.note { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ===== адаптив базовых вещей ===== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .btn { min-height: 56px; padding: 0 24px; font-size: 16px; white-space: normal; }
  .chip { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  .ic-tile { width: 46px; height: 46px; border-radius: 13px; }
  .ic-tile .ic { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; } }

/* ===== 01-header ===== */
/* ===== Шапка: сплошная полоса во всю ширину, не «таблетка». На первом экране прозрачная, ниже — белая ===== */
.skip { position: fixed; left: 12px; top: 12px; z-index: 300; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.hdr {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
/* сразу после начала прокрутки шапка становится сплошной: над первым экраном тёмно-синей, ниже белой */
.is-stuck .hdr { background: rgba(10, 18, 41, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.is-light-hdr .hdr { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(14, 20, 40, .5); }
.hdr__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  min-height: 76px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.is-stuck .hdr__bar { min-height: 66px; }

/* логотип: словесный знак + подпись через вертикальную черту */
.hdr__logo { display: flex; align-items: center; gap: 14px; min-width: 0; flex: none; }
.hdr__wordmark { display: block; width: auto; height: 15px; aspect-ratio: 132 / 12; color: #fff; transition: color .3s; }
.is-light-hdr .hdr__wordmark { color: var(--ink); }
.hdr__role { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); font-size: 12px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.is-light-hdr .hdr__role { border-color: var(--line-2); color: var(--muted); }

/* меню: простой текст, при наведении снизу жёлтая черта */
.hdr__nav { display: flex; gap: 22px; margin-inline: auto; }
.hdr__nav a { position: relative; padding: 8px 0; font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .8); transition: color .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hdr__nav a:hover { color: #fff; }
.hdr__nav a:hover::after { transform: scaleX(1); }
.is-light-hdr .hdr__nav a { color: var(--ink-2); }
.is-light-hdr .hdr__nav a:hover { color: var(--ink); }

.hdr__acts { display: flex; align-items: center; gap: 10px; flex: none; }
/* акция в шапке: жёлтая плашка */
.hdr__gift { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.1; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s; }
.hdr__gift .ic { width: 20px; height: 20px; stroke-width: 2; }
.hdr__gift:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(229, 171, 0, .9); }
.hdr__contact { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .2s, box-shadow .2s; }
.hdr__contact:hover { background: rgba(255, 255, 255, .1); }
.hdr__contact .ic { width: 20px; height: 20px; }
.hdr__contact--tg, .is-light-hdr .hdr__contact--tg { box-shadow: none; }
.hdr__contact--tg .ic-tg { width: 100%; height: 100%; transition: transform .2s var(--ease); }
.hdr__contact--tg:hover { background: none; }
.hdr__contact--tg:hover .ic-tg { transform: scale(1.06); }
.is-light-hdr .hdr__contact { box-shadow: inset 0 0 0 1px var(--line-2); }
.is-light-hdr .hdr__contact:hover { background: var(--bg); }
.hdr__tel { font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.hdr__cta { min-height: 44px; }
.hdr__tel, .hdr__burger { display: none; }

/* выпадающее меню на планшете и телефоне */
.hdr__menu { display: grid; gap: 2px; max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter) 18px; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(14, 20, 40, .5); }
.hdr__menu > a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.hdr__menu-gift { display: flex; align-items: center; gap: 10px; color: var(--yellow-ink); }
.hdr__menu-gift .ic { width: 22px; height: 22px; color: var(--yellow-d); }
.hdr__menu .btn { margin-top: 12px; }
.hdr__menu-contacts { display: flex; justify-content: center; gap: 24px; padding-top: 12px; font-weight: 600; }
.hdr__menu-contacts a:last-child { color: var(--blue); }

@media (max-width: 1240px) {
  .hdr__role { display: none; }
}
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__acts { margin-left: auto; }
  .hdr__burger { display: grid; }
}
@media (max-width: 760px) {
  .hdr__bar { min-height: 64px; gap: 10px; }
  .is-stuck .hdr__bar { min-height: 60px; }
  .hdr__wordmark { height: 12.5px; }
  .hdr__cta, .hdr__acts > .hdr__contact:not(.hdr__burger):not(.hdr__contact--tel) { display: none; }
  .hdr__gift { width: 42px; padding: 0; justify-content: center; }
  .hdr__gift span:not([class]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hdr__acts { gap: 8px; }
}
@media (max-width: 360px) {
  .hdr__wordmark { height: 11px; }
  .hdr__contact, .hdr__gift { width: 38px; height: 38px; min-height: 38px; }
}
/* на широких экранах места хватает и на номер телефона */
@media (min-width: 1600px) {
  .hdr__tel { display: inline-flex; }
  .hdr__contact--tel { display: none; }
}

/* ===== 02-hero ===== */
/* ===== Первый экран: тёмно-синий, справа иллюстрация, автор — в небольшом окне. Всё влезает в один экран ===== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  /* отступ сверху и снизу текстовой колонки — переменными: по ним считается центр иллюстрации на 901–1180 */
  --hero-pt: clamp(88px, 12.5svh, 140px);
  --inner-pb: clamp(14px, 2.4svh, 28px);
  padding-top: var(--hero-pt);
  overflow: hidden;
  --stats-h: clamp(112px, 15svh, 146px);
  --stats-pb: clamp(14px, 3svh, 32px);
  /* отступ правого края контента от края окна: иллюстрация не выходит за край шапки и ряда цифр */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  background: radial-gradient(70% 90% at 18% 0%, #111d42 0%, #0a1229 60%), #0a1229;
  color: #fff;
}
/* мягкий свет под текстом слева; справа фон ровный #0a1229, как края иллюстрации */
.hero__glow { position: absolute; z-index: 0; left: -12%; bottom: -30%; width: min(70vw, 1000px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(57, 98, 255, .16) 0%, transparent 62%); pointer-events: none; }

/* иллюстрация справа: квадрат, края растворяются в фоне */
.hero__art {
  position: absolute;
  z-index: 1;
  --art-h: min(calc(100svh - var(--stats-h) - var(--stats-pb) - clamp(96px, 13svh, 150px)), 46vw, 860px);
  right: var(--edge);
  bottom: calc(var(--stats-h) + var(--stats-pb) + 4px);
  height: var(--art-h);
  aspect-ratio: 1;
}
.hero__art-img {
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* автор в окне, как на видеозвонке: правый нижний угол иллюстрации */
.me-win {
  position: absolute;
  right: 0;
  bottom: 1%;
  width: clamp(156px, 27%, 214px);
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(165deg, #4a70ff 0%, #2443c4 48%, #13225a 100%);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .2);
  animation: win-in .8s .4s var(--ease) both;
}
.me-win img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.me-win__bar { position: absolute; z-index: 1; top: 10px; left: 12px; display: flex; gap: 5px; }
.me-win__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.me-win__bar i:first-child { background: var(--yellow); }
.me-win figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 24px 10px 10px; background: linear-gradient(to bottom, transparent, rgba(7, 13, 32, .92) 55%); }
.me-win b { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.me-win b .ic { width: 14px; height: 14px; color: var(--yellow); }
.me-win span { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .72); }
@keyframes win-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.hero__inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-bottom: var(--inner-pb);
}
.hero__copy { display: grid; justify-items: start; gap: clamp(14px, 2.2svh, 22px); }
.hero__who { display: none; }
.hero__title {
  max-width: 14ch;
  font-size: clamp(2.2rem, min(4.7vw, 6.9svh), 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero__lead { max-width: 33em; color: #c3cadb; font-size: clamp(1rem, min(1.25vw, 2.3svh), 1.2rem); line-height: 1.55; text-wrap: pretty; }
.hero__chips { gap: 8px; }
.hero__chips .chip { min-height: 40px; font-size: 14.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero__nw { white-space: nowrap; }
.hero__visual { align-self: stretch; }

/* ряд цифр внизу первого экрана; акция — жёлтая карточка-ссылка */
.hero__stats-wrap { position: relative; z-index: 4; padding-bottom: var(--stats-pb); }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hs { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: clamp(12px, 1.8svh, 18px) 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hs > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.3; color: #a9b1c8; }
.hs b { font-size: clamp(.98rem, .78rem + .5vw, 1.3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.hs__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: rgba(57, 98, 255, .22); color: #a8b9ff; }
.hs__ic .ic { width: 22px; height: 22px; }
/* «1,2 млрд ₽» без зазора после единицы: табличные цифры здесь не нужны */
.hs b.num { font-variant-numeric: proportional-nums; }
.hs--gift { padding-right: 40px; background: var(--yellow); box-shadow: 0 20px 40px -24px rgba(255, 197, 1, .7); }
.hs--gift > span:nth-child(2) { color: rgba(14, 20, 40, .74); }
.hs--gift b { color: var(--ink); }
.hs--gift .hs__ic { background: rgba(14, 20, 40, .1); color: var(--ink); }
.hs__link { position: absolute; inset: 0; border-radius: inherit; color: var(--ink); }
.hs__link .ic { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.hs__link:hover .ic { transform: translate(2px, -2px); }
.hs__link:focus-visible { outline-offset: 2px; }
.stats-strip { display: none; padding-block: 28px 0; background: var(--bg); }
.stats-strip__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hs--light { background: var(--surface); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hs--light > span:nth-child(2) { color: var(--muted); }
.hs--light b { color: var(--ink); }
.hs--light .hs__ic { background: var(--blue-soft); color: var(--blue); }
.hs--light.hs--gift { background: var(--yellow); box-shadow: 0 16px 30px -22px rgba(229, 171, 0, .9); }
.hs--light.hs--gift > span:nth-child(2) { color: rgba(14, 20, 40, .74); }
.hs--light.hs--gift .hs__ic { background: rgba(14, 20, 40, .1); color: var(--ink); }

/* ===== высота окна: всё должно влезть ===== */
@media (max-height: 820px) and (min-width: 901px) {
  .hero__chips { display: none; }
}
@media (max-height: 640px) and (min-width: 901px) {
  .hero { --stats-h: 0px; --stats-pb: 0px; }
  .hero__stats-wrap { display: none; }
  .stats-strip { display: block; }
  .stats-strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__art { bottom: 12px; --art-h: min(calc(100svh - 100px), 46vw); }
}
/* узкий ноутбук 1181–1480: чипы мельче, чтобы встали в одну строку; там, где и так не встают, — скрыты */
@media (max-width: 1480px) and (min-width: 1181px) {
  .hero__chips { gap: 6px; }
  .hero__chips .chip { padding: 0 12px; gap: 6px; font-size: 14px; }
}
@media (max-width: 1379px) and (min-width: 1181px) {
  .hero__chips { display: none; }
}
/* 1181–1279: ряд цифр в 4 колонки, но карточки плотнее — подпись подарка в 3 строки, высота как при 1280 */
@media (max-width: 1279px) and (min-width: 1181px) {
  .hs { gap: 10px; padding-inline: 14px; }
  .hs__ic { width: 38px; height: 38px; border-radius: 11px; }
  .hs__ic .ic { width: 20px; height: 20px; }
  .hs--gift { padding-right: 32px; }
  .hs__link .ic { top: 10px; right: 10px; }
}
/* невысокий ноутбук (высота окна 641–719): окно автора чуть крупнее и закрывает карточку графика целиком —
   иначе над ним торчит полоска стекла в 8–21 px, похожая на сбой */
@media (min-width: 1181px) and (min-height: 641px) and (max-height: 719px) {
  .me-win { width: clamp(156px, 36.5%, 214px); }
}

/* ===== узкий ноутбук и планшет альбомом: две колонки, иллюстрация меньше ===== */
@media (max-width: 1180px) and (min-width: 901px) {
  /* ряд цифр здесь 2×2 — он выше, чем на широком экране */
  .hero { --stats-h: clamp(136px, 17svh, 160px); }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero__title { font-size: clamp(2.1rem, min(5vw, 6.6svh), 3.6rem); }
  .hero__chips { display: none; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { padding-inline: 22px; }
  /* иллюстрация по центру текстовой колонки, а не прижата к низу: 50% — середина .hero, скобка — сдвиг к центру .hero__inner,
     .545 — визуальный центр картинки (строка поиска на 10%, низ окна автора на 99%) */
  .hero__art {
    --art-h: min(calc(100svh - var(--stats-h) - var(--stats-pb) - 110px), 45vw);
    bottom: auto;
    top: calc(50% + (var(--hero-pt) - var(--stats-h) - var(--stats-pb) - var(--inner-pb)) / 2 - var(--art-h) * .545);
  }
  .me-win { right: 0; width: clamp(150px, 30%, 170px); border-radius: 16px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs { padding-block: 10px; }
}
/* планшет портретом шире 900 (iPad Pro 12.9): первый экран не во всё окно, иначе текст и иллюстрация разъезжаются */
@media (max-width: 1180px) and (min-width: 901px) and (min-height: 1100px) {
  .hero { min-height: min(100svh, 940px); }
}
@media (max-width: 1180px) and (min-width: 901px) and (max-height: 800px) {
  .hero { --stats-h: 0px; --stats-pb: 0px; }
  .hero__stats-wrap { display: none; }
  .stats-strip { display: block; }
  /* 2×2, как ряд цифр первого экрана на этих ширинах: в 4 колонки подписи рвутся в 3 строки */
  .stats-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__art { --art-h: min(calc(100svh - 110px), 45vw); }
}
/* 901–1057: окно автора крупнее — закрывает карточку графика целиком, без узкой полоски стекла над ним */
@media (max-width: 1057px) and (min-width: 901px) {
  .me-win { width: clamp(150px, 36.5%, 196px); }
}

/* 901–987: две кнопки в строку не влезают — ставим столбиком одинаковой ширины, а не случайным переносом */
@media (max-width: 987px) and (min-width: 901px) {
  .hero__ctas { display: grid; width: min(100%, 340px); }
  .hero__ctas .btn { width: 100%; }
}

/* ===== телефон и планшет портретом: текст и кнопки, иллюстрация и цифры ниже ===== */
@media (max-width: 900px) {
  .hero { padding-top: 92px; justify-content: center; }
  .hero__inner { flex: 1; grid-template-columns: minmax(0, 1fr); align-content: center; padding-bottom: 28px; }
  .hero__visual, .hero__art, .hero__eyebrow, .hero__stats-wrap { display: none; }
  .stats-strip { display: block; }
  .hero__who { display: flex; align-items: center; gap: 12px; }
  .hero__who img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 197, 1, .7); }
  .hero__who > span { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 15px; line-height: 1.25; }
  .hero__who b { font-weight: 700; }
  .hero__verified { width: 18px; height: 18px; color: var(--yellow); }
  .hero__who-role { flex-basis: 100%; color: #aeb6c8; font-size: 13.5px; }
  .hero__title { font-size: clamp(2rem, 8.4vw, 3.6rem); max-width: 14ch; }
  .hero__lead { font-size: clamp(1rem, 2.6vw, 1.2rem); }
}
/* планшет портретом: первый экран не выше 760, чтобы под ним была видна полоса цифр, а не пустые поля */
@media (max-width: 900px) and (min-width: 561px) {
  .hero { min-height: min(100svh, 760px); }
}
@media (max-width: 760px) {
  .hero__title { font-size: clamp(1.95rem, 9.4vw, 2.7rem); max-width: 13ch; }
  .hero__chips { display: none; }
  .hero__ctas { display: grid; width: 100%; }
  .hero__ctas .btn { width: 100%; }
}
/* планшет портретом 561–760: кнопки друг под другом, но не во всю ширину */
@media (max-width: 760px) and (min-width: 561px) {
  .hero__ctas { width: min(100%, 400px); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero { padding-top: 84px; }
  .hero__lead { font-size: 15px; line-height: 1.5; }
  .hero__copy { gap: 12px; }
  .hero__inner { padding-bottom: 18px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .hero__title { font-size: 1.85rem; }
  .hero__who img { width: 38px; height: 38px; }
  .hero__ctas .btn { min-height: 52px; }
}
/* полоса цифр на телефоне: значок над текстом, иначе в узкой карточке подписи рвутся по слову */
@media (max-width: 560px) {
  .stats-strip__grid { gap: 10px; }
  .stats-strip .hs { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 16px; }
  .stats-strip .hs__ic { width: 36px; height: 36px; border-radius: 11px; }
  .stats-strip .hs__ic .ic { width: 19px; height: 19px; }
  .stats-strip .hs--gift { padding-right: 14px; }
  .stats-strip .hs b.num { white-space: nowrap; }
}
/* узкий телефон: карточки в один столбец строкой — подпись подарка в 2 строки, «Росте» не остаётся одно */
@media (max-width: 420px) {
  .stats-strip__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stats-strip .hs { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
  .stats-strip .hs--gift { padding-right: 40px; }
}
/* 320–359: «Получить прогноз за 24 часа» в одну строку */
@media (max-width: 359px) {
  .hero__ctas .btn { padding-inline: 14px; gap: 8px; font-size: 15px; }
}

/* ===== 03-trust ===== */
/* ===== 03 · Доверие: клиенты, видеоотзывы, инструменты — компактная светлая полоса ===== */
.sec.trust { padding-block: clamp(36px, 4.6vw, 64px); }
.trust__box { display: grid; gap: clamp(20px, 2.4vw, 28px); padding: clamp(22px, 2.6vw, 34px); }

/* логотипы клиентов текстом, серым */
.trust__logos { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px clamp(24px, 3vw, 48px); }
.trust__label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: 0; white-space: nowrap; }
.trust__label .ic { width: 22px; height: 22px; color: var(--blue); }
.trust__names { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.trust__logo { display: inline-flex; flex-direction: column; justify-content: center; min-height: 40px; color: #8b93a8; line-height: 1; white-space: nowrap; user-select: none; transition: color .2s; }
.trust__logo:hover { color: var(--ink-2); }
.trust__logo--ves { font: italic 400 27px/1 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.trust__logo--kl { font-size: 26px; font-weight: 800; letter-spacing: -.05em; }
.trust__logo--novi { font: 400 19px/1 Georgia, "Times New Roman", serif; letter-spacing: .12em; text-transform: uppercase; }
.trust__logo--md { gap: 3px; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.trust__logo--md span:last-child { font-weight: 400; letter-spacing: .5em; }
.trust__logo--bo { gap: 3px; }
.trust__logo--bo span:first-child { font-size: 21px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.trust__logo--bo span:last-child { font-size: 10px; font-weight: 600; letter-spacing: .52em; text-transform: uppercase; }

/* нижний ряд: видеоотзывы + инструменты */
.trust__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.trust__rev {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  transition: background-color .2s, box-shadow .2s;
}
.trust__rev:hover { background: var(--blue-soft); }
.trust__faces { display: flex; align-items: center; padding-left: 10px; }
.trust__face, .trust__play {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  margin-left: -10px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dk-3);
  box-shadow: 0 0 0 3px var(--surface);
}
.trust__face img { width: 100%; height: 100%; object-fit: cover; }
.trust__play { display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 0 0 3px var(--surface), var(--shadow-btn); }
.trust__play .ic { width: 20px; height: 20px; margin-left: 2px; }
.trust__rev-txt { display: grid; gap: 4px; min-width: 0; }
.trust__rev-txt b { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.trust__rev-txt span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.trust__rev-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--blue) !important; font-size: 14.5px !important; font-weight: 600; line-height: 1.3 !important; white-space: nowrap; }
.trust__rev-go .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.trust__rev:hover .trust__rev-go .ic { transform: translateX(3px); }

.trust__tools { display: grid; align-content: center; gap: 12px; padding: 4px 4px 4px clamp(8px, 1.6vw, 22px); }
.trust__tools-label { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.2; }
.trust__chips { gap: 8px; }
.trust__chips .chip { min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; }
.trust__chips .chip .ic { width: 19px; height: 19px; stroke-width: 2; }
.trust__chips .chip .trust__ya { width: 20px; height: 20px; }
/* на широком экране четыре инструмента ровно 2×2, без одинокого amoCRM во второй строке;
   колонка инструментов по содержимому и у правого края — вровень с логотипами, видеоотзывы забирают остальное */
@media (min-width: 1181px) {
  .trust__row { grid-template-columns: minmax(0, 1fr) auto; }
  .trust__tools { padding-right: 0; }
  .trust__chips { display: grid; grid-template-columns: repeat(2, max-content); }
}

@media (max-width: 1180px) {
  .trust__logos { grid-template-columns: minmax(0, 1fr); }
  .trust__names { gap: 14px 24px; }
  .trust__row { grid-template-columns: minmax(0, 1fr); }
  .trust__tools { padding: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 20px; }
}
@media (max-width: 940px) {
  /* подпись над чипами — тогда все четыре встают в одну строку */
  .trust__tools { grid-template-columns: minmax(0, 1fr); }
}
/* 761–900: все пять логотипов в один ряд от края до края, а не 3+2 с пустой ячейкой */
@media (max-width: 900px) and (min-width: 761px) {
  .trust__names { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
  .trust__logo--ves { font-size: 23px; }
  .trust__logo--kl { font-size: 22px; }
  .trust__logo--novi { font-size: 15px; letter-spacing: .08em; }
  .trust__logo--md { font-size: 11px; letter-spacing: .2em; }
  .trust__logo--md span:last-child { letter-spacing: .4em; }
  .trust__logo--bo span:first-child { font-size: 17px; }
}
@media (max-width: 760px) {
  .trust__box { gap: 18px; }
  .trust__names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust__logo { align-items: center; justify-content: center; min-height: 56px; padding: 0 8px; border-radius: var(--r-sm); background: var(--bg); text-align: center; }
  .trust__logo--ves { font-size: 23px; }
  .trust__logo--kl { font-size: 22px; }
  .trust__logo--novi { font-size: 14px; letter-spacing: .08em; }
  .trust__logo--md { font-size: 11px; letter-spacing: .2em; }
  .trust__logo--md span:last-child { letter-spacing: .4em; }
  .trust__logo--bo span:first-child { font-size: 17px; }
  .trust__logo--bo span:last-child { font-size: 10px; letter-spacing: .36em; }
  .trust__logo:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .trust__rev { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .trust__rev-txt b { font-size: 16px; }
  .trust__tools { grid-template-columns: minmax(0, 1fr); }
  .trust__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .trust__chips .chip { min-width: 0; min-height: 38px; padding: 0 10px; gap: 6px; font-size: 13px; white-space: nowrap; }
}
/* узкий телефон: «Novi & Novikov» и подписи чипов не упираются в края плашек */
@media (max-width: 420px) {
  .trust__logo--novi { font-size: clamp(11px, 3.4vw, 14px); letter-spacing: .06em; }
  .trust__chips .chip { padding: 0 8px; gap: 5px; font-size: 12.5px; }
  .trust__chips .chip .ic { width: 17px; height: 17px; }
  .trust__chips .chip .trust__ya { width: 18px; height: 18px; }
}
/* 320–374: ряд лиц видеоотзывов мельче — кнопка ▶ не выходит за плашку */
@media (max-width: 374px) {
  .trust__faces { padding-left: 12px; }
  .trust__face, .trust__play { width: 42px; height: 42px; margin-left: -12px; }
}
@media (max-width: 359px) {
  .trust__chips { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 04-pains ===== */
/* ===== 04 · С чем приходят: макет аудита слева, четыре ситуации справа, плашка с разбором ===== */
.pains__h2 { max-width: 26ch; }
.pains__h2 .grad { display: block; }
/* порядок: четыре ситуации 2×2 → плашка бесплатного разбора → пример итога разбора во всю ширину */

/* --- макет «Аудит рекламного кабинета» --- */
.pains__stage { position: relative; min-width: 0; display: grid; margin-top: 40px; }
.pains-audit {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 26px);
  box-shadow: var(--shadow-lg);
}
.pains-audit__head { display: flex; align-items: center; gap: 12px; }
.pains-audit__logo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--grad-btn); color: #fff; box-shadow: 0 12px 24px -12px rgba(57, 98, 255, .8); }
.pains-audit__logo .ic { width: 22px; height: 22px; stroke-width: 2; }
.pains-audit__title { display: grid; min-width: 0; line-height: 1.25; }
.pains-audit__title b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pains-audit__title small { color: var(--muted); font-size: 13px; }

.pains-audit__body { display: grid; gap: 18px; flex: 1; }
.pains-audit__cmp { padding: 6px 16px 4px; border-radius: var(--r-md); background: var(--bg); }
.pains-audit__cols, .pains-audit__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.pains-audit__cols { padding: 8px 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.pains-audit__col { display: inline-flex; align-items: center; gap: 7px; }
.pains-audit__col i { width: 8px; height: 8px; border-radius: 50%; background: var(--crit); }
.pains-audit__col.is-after i { background: var(--ok); }
.pains-audit__rows { margin: 0; }
.pains-audit__row { padding: 11px 0; border-top: 1px solid var(--line-2); }
.pains-audit__row dt { color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.3; }
.pains-audit__row dd { display: grid; gap: 6px; margin: 0; min-width: 0; }
.pains-audit__row dd b { font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.pains-audit__row dd.is-now b { color: var(--crit); }
.pains-audit__row dd.is-after b { color: var(--ok); }
.pains-audit__row dd i { display: block; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.pains-audit__row dd i::before { content: ""; display: block; width: var(--w); min-width: 6px; height: 100%; border-radius: inherit; background: var(--crit); }
.pains-audit__row dd.is-after i::before { background: var(--ok); }
.pains-audit__yn { display: flex !important; align-items: center; gap: 8px !important; }
.pains-audit__yn .ic { width: 22px; height: 22px; padding: 3px; border-radius: 7px; stroke-width: 2.6; background: var(--crit-soft); color: var(--crit); }
.pains-audit__yn.is-after .ic { background: var(--ok-soft); color: var(--ok); }

.pains-audit__finds { display: grid; align-content: start; gap: 4px; }
.pains-audit__sub { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 14px; font-weight: 700; }
.pains-audit__sub .badge { padding: 2px 8px; }
.pains-audit__finds li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pains-audit__finds li:last-child { border-bottom: 0; }
.pains-audit__fic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--crit-soft); color: var(--crit); }
.pains-audit__fic.is-warn { background: var(--warn-soft); color: var(--warn); }
.pains-audit__fic .ic { width: 18px; height: 18px; stroke-width: 2; }
.pains-audit__ftxt { display: grid; gap: 1px; min-width: 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pains-audit__ftxt b { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.pains-audit__finds em { font-style: normal; }

.pains-audit__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: linear-gradient(100deg, var(--dk-2) 0%, color-mix(in srgb, var(--blue) 42%, var(--dk-2)) 100%);
  color: #fff;
}
.pains-audit__foot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(124, 146, 255, .5); }
.pains-audit__foot > span:not(.pains-audit__play) { display: grid; min-width: 0; color: var(--dk-muted); font-size: 12.5px; line-height: 1.35; }
.pains-audit__foot b { color: #fff; font-size: 14.5px; font-weight: 600; }
.pains-audit__play { display: grid; place-items: center; width: 40px; height: 40px; flex: none; margin-left: auto; border-radius: 50%; background: #fff; color: var(--blue); }
.pains-audit__play .ic { width: 18px; height: 18px; margin-left: 2px; }

/* итог крупно — плавающая карточка */
.pains-audit__chip {
  position: absolute;
  z-index: 2;
  top: -22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.pains-audit__chip-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.pains-audit__chip-ic .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.pains-audit__chip > span:last-child { display: grid; color: var(--muted); font-size: 12.5px; line-height: 1.2; }
.pains-audit__chip b { color: var(--ok); font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }

/* в широкой карточке сравнение и находки встают в две колонки */
@container (min-width: 760px) {
  .pains-audit__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}

/* --- четыре ситуации --- */
.pains__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pains__list > li { display: grid; min-width: 0; }
.pains-case {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pains-case:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pains-case__body { display: grid; gap: 7px; min-width: 0; }
.pains-case__title { font-size: clamp(1.08rem, .98rem + .3vw, 1.22rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.pains-case__text { color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pains-case__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--blue); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pains-case__more .ic { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.pains-case:hover .pains-case__more .ic { transform: translateX(3px); }
.pains-case__n { color: var(--line-2); font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1; padding-top: 4px; }

/* --- голубая плашка: бесплатный разбор --- */
.pains-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ill txt btn";
  align-items: center;
  gap: 20px clamp(20px, 3vw, 40px);
  margin-top: 24px;
  padding: 16px clamp(20px, 3vw, 36px) 16px 16px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pains-cta__ill { grid-area: ill; width: clamp(180px, 17vw, 236px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.pains-cta__ill img { width: 100%; height: 100%; object-fit: cover; }
.pains-cta__txt { grid-area: txt; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px; }
.pains-cta__tile { width: 48px; height: 48px; color: var(--blue); }
.pains-cta__title { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.pains-cta__sub { grid-column: 2; max-width: 52ch; color: var(--ink-2); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pains__nw { white-space: nowrap; }
.pains-cta__btn { grid-area: btn; }

/* ===== адаптив ===== */
@media (max-width: 1100px) {
  .pains-case { grid-template-columns: auto minmax(0, 1fr) auto; align-content: start; gap: 6px 16px; }
  .pains-case__body { display: contents; }
  .pains-case > .ic-tile { grid-row: 1; grid-column: 1; }
  .pains-case__title { grid-row: 1; grid-column: 2; align-self: center; }
  .pains-case__n { grid-row: 1; grid-column: 3; }
  .pains-case__text, .pains-case__more { grid-column: 1 / -1; }
  .pains-case__text { margin-top: 10px; }
  .pains-cta { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ill txt" "ill btn"; padding-right: 24px; }
  .pains-cta__btn { justify-self: start; }
}
@media (max-width: 760px) {
  .pains__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pains-case { grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding: 20px; }
  .pains-case__n { display: none; }
  .pains-case__text { margin-top: 8px; }
  .pains-audit__long { display: none; }
  .pains-audit { gap: 16px; padding: 18px 16px; border-radius: var(--r-lg); }
  .pains-audit__chip { display: none; }
  .pains-audit__cmp { padding: 4px 12px; }
  .pains-audit__cols, .pains-audit__row { grid-template-columns: minmax(0, 1fr) 76px 76px; gap: 10px; }
  .pains-audit__row dt { font-size: 13px; }
  .pains-audit__row dd b { font-size: 16px; }
  .pains-audit__finds li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
  .pains-audit__finds li em { grid-column: 2; justify-self: start; }
  .pains-audit__fic { grid-row: span 2; align-self: start; }
  .pains-cta { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ill" "txt" "btn"; gap: 18px; padding: 14px 14px 20px; border-radius: var(--r-lg); }
  .pains-cta__ill { width: 100%; aspect-ratio: 16 / 9; }
  .pains-cta__txt { grid-template-columns: minmax(0, 1fr); padding-inline: 6px; }
  .pains-cta__tile { display: none; }
  .pains-cta__sub { grid-column: 1; }
  .pains-cta__btn { justify-self: stretch; margin-inline: 6px; }
}

/* ===== 05-launch ===== */
/* ===== 05 · Как запускаю: тёмная карточка подготовки, таймлайн по дням, макет выдачи с первой кампанией ===== */
.launch__h2 { max-width: 15ch; }

/* --- тёмная карточка «До запуска» --- */
.launch-prep {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "copy ill" "chain chain";
  align-items: center;
  gap: clamp(24px, 3.4vw, 48px);
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(57, 98, 255, .42), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(57, 98, 255, .14), transparent 70%),
    var(--dk);
  box-shadow: var(--shadow-lg);
}
.launch-prep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: none;
  -webkit-mask-image: radial-gradient(70% 90% at 20% 30%, #000 0%, transparent 80%);
  mask-image: radial-gradient(70% 90% at 20% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}
.launch-prep__copy { grid-area: copy; display: grid; justify-items: start; gap: 16px; padding: clamp(4px, 1vw, 12px) 0 clamp(4px, 1vw, 12px) clamp(4px, 1vw, 12px); }
.launch-prep__label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(57, 98, 255, .2); color: #b6c2ff; box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .3); font-size: 14px; font-weight: 600; line-height: 1.2; }
.launch-prep__label .ic { width: 17px; height: 17px; }
.launch-prep__title { font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.launch-prep__text { max-width: 62ch; color: var(--dk-muted); font-size: clamp(.98rem, .92rem + .2vw, 1.08rem); line-height: 1.6; text-wrap: pretty; }
/* цепочка подготовки: соединённые карточки на всю ширину */
.launch-prep__chain { grid-area: chain; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.launch-prep__chain li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px 12px 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.launch-prep__chain li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: linear-gradient(90deg, rgba(124, 146, 255, .25), rgba(124, 146, 255, .7)); }
.launch-prep__ci { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(57, 98, 255, .18); color: #9fb0ff; box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .22); }
.launch-prep__ci .ic { width: 20px; height: 20px; }
.launch-prep__ct { display: grid; gap: 2px; min-width: 0; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.launch-prep__ct small { color: var(--dk-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.launch-prep__chain li:last-child { background: rgba(57, 98, 255, .22); box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .4); }
.launch-prep__chain li:last-child .launch-prep__ci { background: var(--grad-btn); color: #fff; }
.launch-prep__ill { grid-area: ill; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--dk-3); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.launch-prep__ill img { width: 100%; height: 100%; object-fit: cover; }

/* --- таймлайн по дням --- */
.launch-steps {
  --g: 16px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--g);
  margin-top: clamp(32px, 4vw, 48px);
}
/* линия через кружки: пунктир на весь путь, градиент до запуска на 3-й день */
.launch-steps::before, .launch-steps::after { content: ""; position: absolute; top: 23px; left: calc(10% - var(--g) * .4); height: 2px; border-radius: 2px; pointer-events: none; }
.launch-steps::before { right: calc(10% - var(--g) * .4); background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.launch-steps::after { width: calc(40% + var(--g) * .4); height: 3px; top: 22.5px; background: var(--grad); box-shadow: 0 4px 14px -4px rgba(57, 98, 255, .7); }
.launch-step { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr; justify-items: center; gap: 16px; min-width: 0; }
.launch-step__dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 0 0 5px var(--bg), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.launch-step__dot .ic { width: 22px; height: 22px; stroke-width: 2; }
.launch-step.is-launch .launch-step__dot { background: var(--grad-btn); color: #fff; box-shadow: 0 0 0 5px var(--bg), 0 0 0 11px rgba(57, 98, 255, .14), var(--shadow-btn); }
.launch-step:nth-child(n + 4) .launch-step__dot { background: var(--surface); color: var(--muted); box-shadow: 0 0 0 5px var(--bg), inset 0 0 0 1.5px var(--line-2); }
.launch-step__card { display: grid; align-content: start; gap: 10px; width: 100%; min-width: 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.launch-step.is-launch .launch-step__card { background: linear-gradient(180deg, color-mix(in srgb, var(--blue-soft) 70%, var(--surface)) 0%, var(--surface) 55%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 45%, transparent); }
.launch-step__day { justify-self: start; }
.launch-step__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.launch-step.is-launch .launch-step__day { background: var(--blue); color: #fff; }
.launch-step__title { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.launch-step__text { color: var(--muted); font-size: 14.5px; line-height: 1.5; text-wrap: balance; }

/* --- как выглядит первая кампания --- */
.launch-result { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.launch-result__copy { display: grid; justify-items: start; gap: 18px; }
.launch-result__tag { gap: 6px; }
.launch-result__tag .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.launch-result__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.launch-result__ticks { gap: 14px; }
.launch-result__ticks li { font-size: 16px; }
.launch-result__btn { margin-top: 6px; }

.launch-serp-wrap { position: relative; min-width: 0; padding: 34px 0 30px; }
.launch-serp { overflow: hidden; padding-bottom: 18px; box-shadow: var(--shadow-lg); }
.launch-serp__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px 12px; }
.launch-serp__ya { width: 32px; height: 32px; }
.launch-serp__q { display: flex; align-items: center; flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.launch-serp__caret { flex: none; width: 1.5px; height: 20px; margin-left: 2px; background: var(--blue); }
.launch-serp__go { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--grad-btn); color: #fff; }
.launch-serp__go .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.launch-serp__tabs { display: flex; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1; white-space: nowrap; overflow: hidden; }
.launch-serp__tabs > * { padding: 8px 0 11px; }
.launch-serp__tabs b { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }

.launch-ad { display: grid; gap: 8px; margin: 16px 16px 6px; padding: 16px 18px; border-radius: var(--r-md); background: color-mix(in srgb, var(--blue-soft) 45%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--blue-soft-2); }
.launch-ad__src { display: flex; align-items: center; gap: 10px; }
.launch-ad__fav { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--grad-btn); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; }
.launch-ad__site { display: grid; min-width: 0; line-height: 1.2; }
.launch-ad__site b { font-size: 14px; font-weight: 600; }
.launch-ad__site small { color: var(--muted); font-size: 12px; }
.launch-ad__mark { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.launch-ad__title { color: var(--blue-d); font-size: clamp(1.08rem, .98rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.launch-ad__text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.launch-ad__ext { display: flex; flex-wrap: wrap; gap: 2px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.launch-ad__ext span:not(:last-child)::after { content: "·"; margin: 0 7px; }
.launch-ad__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--blue-soft-2); }
.launch-ad__links li { display: grid; min-width: 0; line-height: 1.3; }
.launch-ad__links b { color: var(--blue-d); font-size: 14px; font-weight: 600; }
.launch-ad__links span { color: var(--muted); font-size: 12.5px; }

.launch-serp__ghost { display: grid; gap: 8px; margin: 14px 34px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.launch-serp__ghost i { display: block; width: var(--w); height: 9px; border-radius: 6px; background: var(--bg-2); }
.launch-serp__ghost i:nth-child(2) { height: 13px; background: var(--blue-soft); }

.launch-serp__status {
  position: absolute;
  top: -10px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  border-radius: 14px;
  background: var(--dk);
  color: #fff;
  box-shadow: 0 20px 40px -20px rgba(13, 21, 48, .7);
}
.launch-serp__status > span:last-child { display: grid; color: var(--dk-muted); font-size: 12px; line-height: 1.3; }
.launch-serp__status b { color: #fff; font-size: 13px; font-weight: 600; }
.launch-serp__live { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 163, 104, .25); }

.launch-serp__toast {
  position: absolute;
  left: -26px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.launch-serp__toast-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.launch-serp__toast-ic .ic { width: 21px; height: 21px; }
.launch-serp__toast > span:nth-child(2) { display: grid; min-width: 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.launch-serp__toast b { color: var(--ink); font-size: 14px; font-weight: 600; }
.launch-serp__tg { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.launch-serp__tg .ic { width: 16px; height: 16px; }
.launch-serp__note { position: absolute; right: 6px; bottom: 4px; color: var(--muted); font-size: 12px; }

/* ===== адаптив ===== */
/* таймлайн вертикально уже до 1279: в 5 колонок на 1101–1279 текст карточки 151–187 px и тянется на 7–9 строк */
@media (max-width: 1279px) {
  .launch-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .launch-steps::before, .launch-steps::after { display: none; }
  .launch-step { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto; justify-items: stretch; align-items: start; gap: 18px; }
  .launch-step:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 23px;
    top: 24px;
    bottom: -36px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px);
  }
  .launch-step:nth-child(-n + 2)::before { width: 3px; left: 22.5px; background: var(--grad); }
  .launch-step__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 24px; row-gap: 8px; padding: 18px 22px; }
  .launch-step__day, .launch-step__badges { grid-column: 1; }
  .launch-step__title { grid-column: 1; }
  .launch-step__text { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 62ch; }
}
@media (max-width: 1100px) {
  .launch-prep { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "ill" "chain"; }
  .launch-prep__copy { padding: 4px 4px 0; }
}
/* цепочка «Сайт → … → Структура»: до 1023 значок над текстом, иначе «Конкуренты» не влезает в плашку */
@media (max-width: 1023px) {
  .launch-prep__chain { gap: 10px; }
  .launch-prep__chain li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .launch-prep__chain li + li::before { width: 10px; }
}
@media (max-width: 900px) {
  .launch-result { grid-template-columns: minmax(0, 1fr); }
  .launch-serp__toast { left: 12px; }
}
@media (max-width: 760px) {
  .launch-prep { padding: 14px 14px 18px; border-radius: var(--r-lg); }
  .launch-prep { grid-template-areas: "ill" "copy" "chain"; gap: 20px; }
  .launch-prep__copy { padding: 0 6px; gap: 14px; }
  .launch-prep__ill { border-radius: var(--r-md); }
  .launch-prep__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .launch-prep__chain li { gap: 10px; padding: 10px; border-radius: var(--r-sm); }
  .launch-prep__chain li:last-child { grid-column: 1 / -1; }
  .launch-prep__chain li + li::before { display: none; }
  .launch-prep__ci { width: 36px; height: 36px; border-radius: 10px; }
  .launch-prep__ci .ic { width: 18px; height: 18px; }
  .launch-prep__ct { font-size: 14px; }
  .launch-step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .launch-step__dot { width: 40px; height: 40px; }
  .launch-step__dot .ic { width: 19px; height: 19px; }
  .launch-step:not(:last-child)::before { left: 19px; top: 20px; bottom: -32px; }
  .launch-step:nth-child(-n + 2)::before { left: 18.5px; }
  .launch-step__card { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; }
  .launch-step__text { grid-column: 1; grid-row: auto; }
  .launch-result__btn { width: 100%; }
  .launch-serp-wrap { padding: 40px 0 64px; }
  .launch-serp__bar { padding: 14px 14px 10px; gap: 10px; }
  .launch-serp__ya { width: 28px; height: 28px; }
  .launch-serp__q { height: 40px; padding: 0 12px; font-size: 14px; }
  .launch-serp__go { width: 40px; height: 40px; }
  .launch-serp__tabs { padding: 0 14px; gap: 14px; }
  .launch-ad { margin: 12px 10px 4px; padding: 14px; }
  .launch-ad__links { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .launch-ad__links li { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 8px; }
  .launch-serp__ghost { margin: 12px 20px 0; }
  .launch-serp__status { top: 0; right: 10px; padding: 8px 12px; }
  .launch-serp__toast { left: 10px; right: 10px; bottom: 22px; max-width: none; }
  .launch-serp__note { bottom: 0; }
}
/* 320–359: запрос в макете выдачи виден целиком, вкладки не срезаны краем */
@media (max-width: 359px) {
  .launch-serp__bar { padding: 12px 10px 8px; gap: 6px; }
  .launch-serp__ya { width: 24px; height: 24px; }
  .launch-serp__q { padding: 0 10px; font-size: 13px; }
  .launch-serp__go { width: 36px; height: 36px; }
  .launch-serp__tabs { gap: 12px; padding: 0 10px; }
  .launch-serp__tabs > :last-child { display: none; }
}

/* ===== 05-promo ===== */
/* ===== Акция: продающий лендинг в подарок — жёлтая карточка во всю ширину ===== */
/* сверху отступ от .sec + .sec (0,4 секции), снизу полный — до карточек кейсов столько же, сколько от запуска */
.sec.gift { padding-bottom: var(--section); }
.gift__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 64px);
  padding-right: clamp(20px, 2vw, 32px);
  border-radius: var(--r-xl);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 40px 80px -50px rgba(229, 171, 0, .9);
}
.gift__card::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%); pointer-events: none; }
.gift__copy { position: relative; display: grid; justify-items: start; gap: 18px; min-width: 0; }
.gift__label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.gift__label .ic { width: 18px; height: 18px; color: var(--yellow); }
.gift__title { max-width: 14ch; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.gift__lead { max-width: 40ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.5; color: rgba(14, 20, 40, .82); text-wrap: pretty; }
.gift__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; }
.gift__plans li { display: grid; align-content: start; gap: 6px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.gift__plan { justify-self: start; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; }
.gift__plans b { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.gift__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 4px; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 18px 36px -18px rgba(14, 20, 40, .7); }
.btn--dark:hover { transform: translateY(-1px); }
.gift__more { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.gift__more:hover { text-decoration-thickness: 2.5px; }
.gift__note { max-width: 52ch; font-size: 13.5px; line-height: 1.45; color: rgba(14, 20, 40, .66); text-wrap: pretty; }
.gift__art { position: relative; margin: 0; }
.gift__art img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 30px 60px -36px rgba(14, 20, 40, .55); }

@media (max-width: 1180px) and (min-width: 901px) {
  .gift__card { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: 40px 28px 40px 40px; }
  .gift__ctas { gap: 12px 18px; }
  .gift__plans li { padding-inline: 12px; }
  .gift__plans b { font-size: 16px; }
}
@media (max-width: 900px) {
  .gift__card { grid-template-columns: minmax(0, 1fr); padding-right: clamp(28px, 4vw, 64px); }
  .gift__art { order: -1; max-width: none; }
}
@media (max-width: 560px) {
  .gift__plans { grid-template-columns: minmax(0, 1fr); }
  .gift__ctas .btn { width: 100%; }
  .gift__ctas { width: 100%; }
}
/* телефон: «Выбрать тариф с подарком» в одну строку, как остальные кнопки */
@media (max-width: 420px) {
  .gift__card { padding: 20px 20px 28px; }
  .gift__ctas .btn { padding-inline: 18px; gap: 8px; }
}
@media (max-width: 359px) {
  .gift__card { padding: 16px 16px 24px; }
  .gift__ctas .btn { padding-inline: 12px; gap: 6px; font-size: 15px; }
}

/* ===== 06-cases ===== */
/* ===== 06 Кейсы: вкладки на 6 проектов, панель «цифры + было/сделал/стало» слева и скриншоты справа ===== */

/* шапка блока: заголовок слева, тёмная карточка с общим итогом справа */
.cs-head { align-items: stretch; }
.cs-head__copy { flex: 1 1 480px; min-width: 0; align-self: flex-end; }

.cs-total {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 1 400px;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 28px 22px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 110% at 100% 0%, rgba(57, 98, 255, .5), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(255, 197, 1, .07), transparent 70%),
    var(--dk-2);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.cs-total__chart { position: absolute; z-index: -1; right: 0; bottom: 0; width: 80%; height: 70%; color: var(--blue); opacity: .6; pointer-events: none; }
.cs-total__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--dk-muted); font-size: 14px; font-weight: 600; }
.cs-total__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 197, 1, .12); color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255, 197, 1, .22); }
.cs-total__ic .ic { width: 20px; height: 20px; stroke-width: 2; }
.cs-total__num { margin-top: 10px; }
.cs-total__num b { display: inline-block; font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.3rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.cs-total__lbl { color: #c9d0df; font-size: 17px; font-weight: 500; }
.cs-total__foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--dk-line); }
.cs-faces { display: flex; flex: none; padding-left: 10px; }
.cs-face { width: 40px; height: 40px; flex: none; margin-left: -10px; border-radius: 50%; object-fit: cover; background: var(--dk-3); box-shadow: 0 0 0 3px var(--dk-2); }
.cs-total__note { display: grid; color: var(--dk-muted); font-size: 13.5px; line-height: 1.35; text-wrap: balance; }
/* крупные цифры — пропорциональные: моноширинная «1» в большом кегле разваливает «1,2» и «12+» */
.cs-total__num b, .cs-stat b, .cs-mini__num b { font-variant-numeric: proportional-nums; }
.cs-total__note b { color: #fff; font-size: 15px; font-weight: 700; }

/* ===== вкладки-таблетки ===== */
.cs-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.cs-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 7px 22px 7px 7px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  white-space: nowrap;
  transition: background-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease), color .2s;
}
.cs-tab img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface); }
.cs-tab > span { display: grid; gap: 1px; line-height: 1.2; }
.cs-tab b { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.cs-tab small { color: var(--muted); font-size: 13px; font-weight: 600; }
.cs-tab:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.cs-tab[aria-selected="true"] { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-btn); }
.cs-tab[aria-selected="true"] small { color: #fff; }
.cs-tab[aria-selected="true"] img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
/* 1100–1258: шесть вкладок в строку не влезают — ровная сетка 3×2 вместо одинокой шестой во втором ряду */
@media (min-width: 1100px) and (max-width: 1258px) {
  .cs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== панель кейса ===== */
.cs-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 3.4vw, 52px);
  padding: clamp(22px, 3vw, 44px);
  box-shadow: var(--shadow-lg);
}
.cs-panel:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
@media (prefers-reduced-motion: no-preference) {
  .cs-panel:not([hidden]) { animation: cs-in .45s var(--ease) both; }
}
@keyframes cs-in { from { opacity: 0; transform: translateY(10px); } }

.cs-info { container: cs-info / inline-size; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cs-top { display: grid; gap: 16px; justify-items: start; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-meta .tag { white-space: normal; }
.cs-city { background: var(--bg-2); color: var(--ink-2); }
.cs-city .ic { width: 16px; height: 16px; color: var(--muted); }
.cs-title {
  max-width: 18ch;
  font-size: clamp(2rem, 1.3rem + 1.9vw, 3.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.cs-ch { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-ch li { padding: 5px 11px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 600; line-height: 1.25; }

/* три карточки цифр */
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cs-stat {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 16px 16px 15px;
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.cs-stat .ic { width: 20px; height: 20px; color: var(--blue); margin-bottom: 4px; }
.cs-stat b { font-size: clamp(1.2rem, 5.2cqi, 1.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.cs-stat span { color: var(--muted); font-size: 14px; line-height: 1.35; }

/* было → что сделал → стало, соединены линией */
.cs-steps { display: grid; gap: 18px; }
.cs-step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.cs-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: -12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--line-2), var(--line));
}
.cs-step__lbl { display: block; margin: 3px 0 5px; color: var(--blue); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; }
.cs-step--was .cs-step__lbl { color: color-mix(in srgb, var(--crit) 80%, var(--ink)); }
.cs-step--was .ic-tile--warn + div .cs-step__lbl { color: color-mix(in srgb, var(--warn) 60%, var(--ink)); }
.cs-step--now .cs-step__lbl { color: color-mix(in srgb, var(--ok) 70%, var(--ink)); }
.cs-step p { color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.cs-step--now p { color: var(--ink); font-weight: 600; }
.cs-did { display: grid; gap: 7px; }
.cs-did li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.45; }
.cs-did li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
/* «интернет-магазин» не рвётся по дефису; длинные склейки последних слов — только с 375 px, на узких телефонах им не хватает места */
.cs-nw { white-space: nowrap; }
@media (min-width: 375px) {
  .cs-nw-w { white-space: nowrap; }
}

.cs-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 4px; }
.cs-act .note { max-width: 24ch; }

/* ===== правая колонка: скриншоты и видеоотзыв ===== */
.cs-media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cs-shot { flex: none; min-width: 0; background: var(--line-2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.cs-shot--dark { background: color-mix(in srgb, var(--dk) 55%, var(--dk-3)); }
.cs-zoom { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.cs-zoom img { position: relative; z-index: 1; width: 100%; transition: transform .6s var(--ease); }
.cs-zoom:hover img { transform: scale(1.02); }
.cs-zoom:focus-visible { outline-offset: -5px; border-radius: var(--r-md); }
.cs-shot .shot__zoom { z-index: 2; right: 12px; bottom: 12px; width: 42px; height: 42px; transition: transform .2s var(--ease), background-color .2s; }
.cs-shot .shot__zoom .ic { width: 20px; height: 20px; }
.cs-zoom:hover .shot__zoom { transform: scale(1.08); background: var(--blue); }

.cs-video {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.cs-video:hover { background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.cs-video__thumb { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: var(--dk); }
.cs-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cs-video:hover .cs-video__thumb img { transform: scale(1.04); }
.cs-video__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--blue);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .2), 0 14px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease);
}
.cs-video__play .ic { width: 18px; height: 18px; margin-left: 2px; }
.cs-video:hover .cs-video__play { transform: scale(1.1); }
.cs-video__body { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.cs-video__kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--blue); font-size: 13px; font-weight: 600; }
.cs-video__kicker .ic { width: 18px; height: 18px; }
.cs-video__body b { font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.cs-video__role { color: var(--muted); font-size: 14px; line-height: 1.4; }
.cs-video__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--blue); font-size: 14px; font-weight: 600; }
.cs-video__link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cs-video:hover .cs-video__link .ic { transform: translate(2px, -2px); }

/* Монумент и Blackout: скриншоты пониже (поля картинки обрезаются), чтобы колонки были вровень */
@media (min-width: 1280px) {
  .cs-media--fit .cs-shot { aspect-ratio: 2 / 1; }
  .cs-media--fit .cs-zoom img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  /* у графика, баннеров и CRM важен верх: подпись внизу картинки уходит за край целиком, а не режется пополам */
  .cs-media--fit .cs-shot--top .cs-zoom img { object-position: 50% 0; }
}
/* график Blackout: кнопка увеличения в левом верхнем углу — справа внизу она закрывала «Июнь», самую высокую точку */
.cs-media--fit > .cs-shot--top:first-child .shot__zoom { top: 12px; left: 12px; right: auto; bottom: auto; }

/* ===== макеты кодом вместо видео (Novi & Novikov, строительство домов) ===== */
.cs-mock { display: grid; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.cs-mock__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.cs-mock__title { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.cs-mock__logo { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 800; }
.cs-mock__logo .ic { width: 19px; height: 19px; stroke-width: 2; }
.cs-mock__logo--ok { background: var(--ok-soft); color: var(--ok); }
.cs-mock__foot { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.cs-mock__foot .ic { width: 18px; height: 18px; flex: none; color: var(--ok); stroke-width: 2.2; }

/* Novi: один бренд → два сайта */
.cs-split { gap: 0; }
.cs-split .cs-mock__top { margin-bottom: 4px; }
.cs-split__fork { width: 100%; height: 26px; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.cs-split__fork path { vector-effect: non-scaling-stroke; }
.cs-split__sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-site { overflow: hidden; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.cs-site__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cs-site__bar i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--line-2); }
.cs-site__bar span { min-width: 0; margin-left: 6px; padding: 2px 8px; overflow: hidden; border-radius: 6px; background: var(--bg); color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.cs-site__hero { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 3; padding: 12px; overflow: hidden; color: #fff; }
.cs-site__hero b { position: relative; z-index: 1; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.cs-site__hero--suit { background: radial-gradient(80% 80% at 70% 20%, rgba(57, 98, 255, .55), transparent 70%), linear-gradient(160deg, var(--dk-3), var(--dk)); }
.cs-site__suit { position: absolute; left: 50%; top: 40%; width: 42%; transform: translate(-50%, -50%); fill: none; stroke: rgba(255, 255, 255, .82); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cs-site__suit circle { fill: rgba(255, 255, 255, .82); stroke: none; }
.cs-site__hero--photo { background: var(--dk); }
.cs-site__hero--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 25%; }
.cs-site__hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 41, .78), transparent 58%); }
.cs-site__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; }
.cs-site__foot i { width: 44%; height: 7px; border-radius: 4px; background: var(--bg-2); }
.cs-site__foot span { padding: 5px 10px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.2; }
/* узкие карточки сайтов (761–880 рядом с фото и телефон ≤440): квадрат, пиджак меньше и выше — подпись под ним, а не на нём */
@media (min-width: 761px) and (max-width: 880px), (max-width: 440px) {
  .cs-site__hero { aspect-ratio: 1 / 1; }
  .cs-site__suit { top: 36%; width: 38%; }
}

/* строительство домов: цепочка системы */
.cs-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cs-chain li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.cs-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 28px);
  right: calc(-50% + 22px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
}
.cs-chain__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); color: var(--blue); box-shadow: var(--shadow); }
.cs-chain__ic .ic { width: 23px; height: 23px; }
.cs-chain__ic--ok { background: var(--ok-soft); color: var(--ok); }
.cs-chain small { color: var(--ink-2); font-size: 12.5px; font-weight: 600; line-height: 1.25; }

/* ===== ещё результаты ===== */
.cs-more { margin-top: clamp(40px, 5vw, 64px); }
.cs-more__title { margin-bottom: 18px; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.cs-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cs-mini { display: grid; grid-template-columns: minmax(0, 1fr) 38%; min-height: 250px; overflow: hidden; }
.cs-mini__txt { position: relative; z-index: 1; display: grid; align-content: start; justify-items: start; gap: 10px; padding: 26px 8px 26px 26px; }
.cs-mini__name { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.cs-mini__num { display: grid; gap: 2px; margin-top: 4px; }
.cs-mini__num b { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; }
.cs-mini__num span { color: var(--muted); font-size: 15px; }
.cs-mini__tags { margin-top: auto; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.cs-mini__img { align-self: stretch; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.cs-mini__img--crab { object-fit: cover; object-position: 30% 50%; }

.cs-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  padding: 26px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(57, 98, 255, .5), transparent 65%),
    var(--dk-2);
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cs-cta:hover { transform: translateY(-2px); }
.cs-cta__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 197, 1, .12); color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255, 197, 1, .22); }
.cs-cta__ic .ic { width: 23px; height: 23px; }
.cs-cta__kicker { margin-top: 6px; color: var(--dk-muted); font-size: 14px; font-weight: 600; }
.cs-cta__title { font-size: clamp(1.25rem, 1rem + .7vw, 1.55rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.cs-cta__btn { margin-top: auto; }
.cs-cta:hover .cs-cta__btn .ic { transform: translateX(3px); }

/* ===== лайтбокс ===== */
.cs-lb {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: 0;
  background: transparent;
  color: #fff;
  overscroll-behavior: contain;
  cursor: zoom-out;
}
.cs-lb[open] { display: grid; place-items: center; }
.cs-lb::backdrop { background: rgba(10, 18, 41, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cs-lb__fig { display: grid; justify-items: center; gap: 14px; max-width: 100%; min-width: 0; }
.cs-lb__img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); border-radius: 14px; background: var(--surface); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.cs-lb__cap { max-width: 60ch; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.45; text-align: center; }
.cs-lb__close { position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .2s; }
.cs-lb__close:hover { background: rgba(255, 255, 255, .2); }
.cs-lb__close .ic { width: 24px; height: 24px; stroke-width: 2; }

/* узкая колонка панели (ноутбук 1100–1250): цифры плотнее */
@container cs-info (max-width: 500px) {
  .cs-stat { padding: 14px 13px 13px; }
  .cs-stat span { font-size: 13.5px; }
}

/* ===== узкий ноутбук и планшет: панель в одну колонку, скриншоты сеткой ===== */
@media (max-width: 1279px) {
  .cs-panel { grid-template-columns: minmax(0, 1fr); }
  .cs-title { max-width: 20ch; }
  .cs-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; align-items: start; }
  .cs-media > .cs-shot--wide, .cs-media > .cs-video:not(.cs-video--half) { grid-column: 1 / -1; }
  .cs-video { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .cs-video--half { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 8px 8px 14px; }
  .cs-video--half .cs-video__body { padding: 0 6px; }
  .cs-media > .cs-chainbox { grid-column: 1 / -1; }
  .cs-shot--photo { justify-self: stretch; align-self: stretch; width: 100%; aspect-ratio: 16 / 10; }
  .cs-shot--photo .cs-zoom img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .cs-site__bar { padding: 7px 8px; }
  .cs-site__bar i { display: none; }
  .cs-site__bar span { margin-left: 0; padding: 2px 6px; font-size: 10.5px; }
  .cs-act { margin-top: 0; }
  .cs-steps { max-width: 68ch; }
}
/* скриншот в паре с видеоотзывом — той же высоты, без дыры под ним */
@media (min-width: 1000px) and (max-width: 1279px) {
  .cs-media { align-items: stretch; }
  .cs-media:has(.cs-video--half) > .cs-shot:not(.cs-shot--wide) .cs-zoom img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .cs-media:has(.cs-video--half) > .cs-shot--dark:not(.cs-shot--wide) .cs-zoom img { object-fit: contain; }
}
/* на планшете пару не режем, а разворачиваем во всю ширину: видео — горизонтальной карточкой */
@media (min-width: 761px) and (max-width: 999px) {
  .cs-media:has(.cs-video--half) > .cs-shot:not(.cs-shot--wide), .cs-media > .cs-video--half { grid-column: 1 / -1; }
  .cs-media > .cs-video--half { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 18px; padding: 10px 18px 10px 10px; }
  .cs-video--half .cs-video__body { padding: 0; }
}

/* ===== планшет ===== */
@media (max-width: 1099px) {
  .cs-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: -12px calc(-1 * var(--gutter)) 10px;
    padding: 12px var(--gutter) 18px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cs-tabs::-webkit-scrollbar { display: none; }
  .cs-tab { flex: none; scroll-snap-align: start; }

  .cs-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-cta { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; }
  .cs-cta__ic { grid-row: span 2; }
  .cs-cta__kicker { margin-top: 0; }
  .cs-cta__title { grid-column: 2; }
  .cs-cta__btn { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
}
/* ≤999: карточка итога не встаёт рядом с заголовком — разворачиваем её во всю ширину горизонтально */
@media (max-width: 999px) {
  .cs-total { flex-basis: 100%; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .cs-total__kicker, .cs-total__num, .cs-total__lbl { grid-column: 1; }
  .cs-total__foot { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; align-self: center; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--dk-line); }
  .cs-total__chart { width: 60%; }
}

/* ===== телефон ===== */
@media (max-width: 760px) {
  .cs-total { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .cs-total__foot { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; margin-top: 14px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--dk-line); }
  .cs-total__chart { width: 90%; height: 55%; }

  .cs-tab { min-height: 54px; gap: 10px; padding: 6px 18px 6px 6px; }
  .cs-tab img { width: 42px; height: 42px; }
  .cs-tab b { font-size: 15px; }

  .cs-panel { gap: 26px; border-radius: var(--r-lg); }
  .cs-info { gap: 22px; }
  .cs-title { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
  .cs-stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cs-stat { grid-template-columns: auto minmax(0, 7.2em) minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; }
  .cs-stat .ic { margin: 0; }
  .cs-stat b { font-size: 1.35rem; }
  .cs-step { gap: 14px; }
  .cs-act .btn { width: 100%; }
  .cs-act .note { max-width: none; }
  .cs-step:not(:last-child)::after { left: 22px; top: 54px; }

  .cs-media { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cs-shot--photo { aspect-ratio: auto; }
  .cs-shot--photo .cs-zoom img { position: relative; height: auto; }
  .cs-shot .shot__zoom { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .cs-media--fit > .cs-shot--top:first-child .shot__zoom { top: 10px; left: 10px; }
  .cs-shot .shot__zoom .ic { width: 18px; height: 18px; }
  .cs-video__play { width: 46px; height: 46px; right: 12px; bottom: 12px; }
  .cs-video { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 10px 16px; }
  .cs-video__body { padding: 0 6px; }
  .cs-mock { padding: 14px; }

  .cs-more__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cs-mini { min-height: 200px; grid-template-columns: minmax(0, 1fr) 34%; }
  .cs-mini__txt { padding: 22px 6px 22px 22px; gap: 8px; }
  .cs-cta { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 22px; }
  .cs-cta__ic { grid-row: auto; }
  .cs-cta__title, .cs-cta__btn { grid-column: 1; grid-row: auto; }
  .cs-cta__btn { width: 100%; margin-top: 8px; }
}
@media (max-width: 560px) {
  .cs-chain { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cs-chain li { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 12px; text-align: left; }
  .cs-chain li:not(:last-child)::after { top: 48px; bottom: -10px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 4px, transparent 4px 8px); }
  .cs-chain small { font-size: 14px; }
  .cs-split__sites { gap: 8px; }
  .cs-site__hero b { font-size: 13.5px; }
  .cs-site__foot i { display: none; }

}
@media (max-width: 400px) {
  .cs-stat { grid-template-columns: auto minmax(0, 6.4em) minmax(0, 1fr); gap: 10px; }
  .cs-stat b { font-size: 1.2rem; }
  /* аватары в итоге мельче — подписи «5 видеоотзывов» хватает места в одну строку */
  .cs-faces { padding-left: 12px; }
  .cs-face { width: 34px; height: 34px; margin-left: -12px; }
}
@media (max-width: 359px) {
  .cs-face { width: 30px; height: 30px; }
  /* подпись цифры под числом: в узкой третьей колонке «сопровождения» и «для костюмов» не влезали */
  .cs-stat { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
  .cs-stat span { grid-column: 2; }
}

/* ===== 07-selfcheck ===== */
/* ===== 07 Самопроверка: чек-лист с тумблерами + тёмно-синяя карточка результата с кольцом ===== */
/* clip вместо hidden у .sec--glow: иначе секция — контейнер прокрутки и карточка результата не прилипает */
.sec.chk { overflow: clip; }
.chk-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 24px; align-items: start; }

/* --- список --- */
.chk-list { padding: 12px; border-radius: var(--r-xl); }
.chk-list__head { display: flex; align-items: center; gap: 14px; padding: 12px 14px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.chk-list__title { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.chk-list__title b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.chk-list__title small { color: var(--muted); font-size: 14px; }
.chk-list__count { margin-left: auto; font-size: 14px; }

.chk-items { display: grid; gap: 2px; }
.chk-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: background-color .2s;
}
.chk-item:hover { background: var(--bg); }
.chk-item:has(.chk-item__in:checked) { background: color-mix(in srgb, var(--blue-soft) 60%, transparent); }
.chk-item__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--bg); color: var(--muted); transition: background-color .2s, color .2s; }
.chk-item__ic .ic { width: 22px; height: 22px; }
.chk-item:has(.chk-item__in:checked) .chk-item__ic { background: var(--surface); color: var(--blue); box-shadow: 0 6px 16px -10px rgba(57, 98, 255, .7); }
.chk-item__txt { color: var(--ink-2); font-size: 16.5px; font-weight: 500; line-height: 1.38; text-wrap: pretty; }
.chk-item:has(.chk-item__in:checked) .chk-item__txt { color: var(--ink); }

/* тумблер */
.chk-sw { position: relative; width: 52px; height: 30px; border-radius: 99px; background: var(--line-2); box-shadow: inset 0 1px 2px rgba(13, 21, 48, .12); transition: background-color .25s var(--ease); }
.chk-sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface) center / 14px no-repeat;
  box-shadow: 0 2px 6px rgba(13, 21, 48, .25);
  transition: transform .25s var(--ease);
}
.chk-item__in:checked + .chk-sw { background: var(--blue); background-image: var(--grad-btn); }
.chk-item__in:checked + .chk-sw::after {
  transform: translateX(22px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23455ce9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
}
.chk-item__in:focus-visible + .chk-sw { outline: 2.5px solid var(--blue); outline-offset: 3px; }

/* --- карточка результата --- */
.chk-res {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  --z: var(--crit);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(57, 98, 255, .55), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(57, 98, 255, .16), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--blue-d) 40%, var(--dk)) 0%, var(--dk-2) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.chk-res[data-zone="warn"] { --z: var(--warn); }
.chk-res[data-zone="ok"] { --z: var(--ok); }
.chk-res__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chk-res__label { color: var(--dk-muted); font-size: 15px; font-weight: 600; }
.chk-res__badge { background: color-mix(in srgb, var(--z) 22%, transparent); color: color-mix(in srgb, var(--z) 45%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--z) 40%, transparent); transition: background-color .3s, color .3s; }

.chk-res__main { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.chk-ring { position: relative; flex: none; width: 148px; height: 148px; }
.chk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.chk-ring circle { fill: none; stroke-width: 11; stroke-dashoffset: -.7; }
.chk-ring__track { stroke: rgba(255, 255, 255, .09); stroke-dasharray: 8.6 1.4; }
.chk-ring__val { stroke: var(--z); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--z) 55%, transparent)); transition: stroke .3s; }
.chk-ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.chk-ring__num b { font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.chk-ring__num small { margin-top: 4px; color: var(--dk-muted); font-size: 14px; font-weight: 500; }
.chk-res__text { flex: 1 1 190px; color: #e9e9e4; font-size: 17px; font-weight: 500; line-height: 1.45; text-wrap: pretty; }

.chk-fix { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.chk-fix__h { color: var(--dk-muted); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.chk-fix__list { display: grid; gap: 8px; }
.chk-fix__list li { display: flex; align-items: flex-start; gap: 10px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.35; }
.chk-fix__list .ic { width: 19px; height: 19px; margin-top: 1px; color: color-mix(in srgb, var(--z) 70%, #fff); stroke-width: 2; }

.chk-res__note { display: flex; gap: 10px; color: var(--dk-muted); font-size: 14px; line-height: 1.45; }
.chk-res__note .ic { width: 20px; height: 20px; margin-top: 1px; color: #9fb0ff; }

/* --- адаптив --- */
@media (max-width: 1180px) {
  .chk-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .chk-ring { width: 128px; height: 128px; }
  .chk-ring__num b { font-size: 40px; }
}
/* 901–1180: колонка результата узкая — кольцо над текстом, иначе текст рядом с ним рвётся в 5 строк */
@media (min-width: 901px) and (max-width: 1180px) {
  .chk-res__main { flex-direction: column; align-items: flex-start; }
  .chk-res__text { flex-basis: auto; }
}
@media (max-width: 900px) {
  .chk-grid { grid-template-columns: minmax(0, 1fr); }
  .chk-res { position: relative; top: auto; }
  .chk-ring { width: 148px; height: 148px; }
  .chk-ring__num b { font-size: 46px; }
}
@media (max-width: 760px) {
  .chk-list { padding: 8px; border-radius: var(--r-lg); }
  .chk-list__head { padding: 12px 10px 16px; gap: 12px; }
  .chk-list__title b { font-size: 16.5px; }
  .chk-list__title small { font-size: 13px; }
  .chk-item { grid-template-columns: 38px minmax(0, 1fr) 48px; gap: 12px; padding: 12px 10px; border-radius: 15px; }
  .chk-item__ic { width: 38px; height: 38px; border-radius: 11px; }
  .chk-item__ic .ic { width: 20px; height: 20px; }
  .chk-item__txt { font-size: 15px; }
  .chk-sw { width: 48px; height: 28px; }
  .chk-sw::after { width: 22px; height: 22px; }
  .chk-item__in:checked + .chk-sw::after { transform: translateX(20px); }
  .chk-res { border-radius: var(--r-lg); gap: 18px; }
  .chk-ring { width: 112px; height: 112px; }
  .chk-ring__num b { font-size: 36px; }
  .chk-ring__num small { font-size: 13px; }
  .chk-res__text { flex-basis: 150px; font-size: 15.5px; }
}

/* ===== 08-analytics ===== */
/* ===== 08 Аналитика: заголовок + иллюстрация, цепочка «До → После», калькулятор с ползунками ===== */
.an .wrap { display: grid; gap: 24px; }

/* --- верх: текст и чипы слева, иллюстрация справа --- */
.an-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  grid-template-areas: "head ill" "chips ill";
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 28px;
  align-items: start;
  margin-bottom: clamp(8px, 2vw, 32px);
}
.an-top__head { grid-area: head; margin-bottom: 0; }
.an-ill { grid-area: ill; align-self: center; overflow: hidden; border-radius: var(--r-xl); background: var(--bg-2); }
.an-ill img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.an-metrics { grid-area: chips; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.an-metrics .chip { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; align-content: start; gap: 4px 10px; min-height: 0; padding: 13px 14px; border-radius: 16px; }
.an-metrics .chip .ic { grid-row: 1; }
.an-metrics .chip b { color: var(--ink); font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.an-metrics .chip span { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; line-height: 1.3; }

/* --- цепочка До → После --- */
.an-flow { display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr); column-gap: 12px; align-items: stretch; }
.an-step { display: grid; align-content: start; gap: 22px; }
.an-step__head { display: flex; align-items: center; gap: 16px; }
.an-step__head .badge { margin-left: auto; }
.an-flow__arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-inline: -24px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-btn);
}
.an-flow__arrow .ic { width: 22px; height: 22px; stroke-width: 2.2; }

/* --- калькулятор --- */
.an-calc { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 12px; padding: 12px; }
.an-calc__form { display: grid; align-content: start; gap: 28px; padding: clamp(14px, 2vw, 24px); }
.an-calc__head { display: flex; align-items: flex-start; gap: 16px; }
.an-calc__hint { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.an-fields { display: grid; gap: 22px; }
.an-f { display: grid; gap: 10px; }
.an-f__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.an-f__l { color: var(--ink-2); font-size: 16px; font-weight: 600; line-height: 1.3; }
.an-f__val { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 4px; min-height: 42px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.an-f__val:focus-within { box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(57, 98, 255, .12); }
.an-f__val i { color: var(--muted); font-size: 15px; font-style: normal; font-weight: 600; }
.an-f__num { width: 7.2ch; min-width: 0; padding: 0 0 0 8px; border: 0; background: transparent; color: var(--ink); font: 700 18px var(--font); text-align: right; outline: 0; }
.an-f:nth-child(n+2) .an-f__num { width: 4.2ch; }

/* ползунок: дорожка рисуется фоном, заполнение задаёт --p из скрипта */
.an-range {
  --p: 50%;
  width: 100%;
  height: 28px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--blue) 0, var(--sky) var(--p), var(--bg-2) var(--p)) center / 100% 8px no-repeat;
  border-radius: 99px;
  cursor: pointer;
}
.an-range::-webkit-slider-runnable-track { height: 28px; background: transparent; }
.an-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--surface);
  border: 0;
  box-shadow: 0 0 0 6px rgba(57, 98, 255, .16), 0 4px 10px rgba(13, 21, 48, .25), inset 0 0 0 7px var(--blue);
  transition: box-shadow .2s;
}
.an-range:hover::-webkit-slider-thumb, .an-range:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(57, 98, 255, .2), 0 4px 10px rgba(13, 21, 48, .25), inset 0 0 0 7px var(--blue); }
.an-range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--bg-2); }
.an-range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--blue); }
.an-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 6px rgba(57, 98, 255, .16), 0 4px 10px rgba(13, 21, 48, .25), inset 0 0 0 7px var(--blue); }
.an-range:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 4px; }
.an-f--cta { align-self: end; justify-items: start; padding-top: 6px; }

/* правая часть: плитки, воронка, вывод */
.an-calc__out { display: grid; align-content: start; gap: 18px; padding: clamp(14px, 2vw, 24px); border-radius: var(--r-lg); background: var(--bg); }
.an-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.an-tile { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.an-tile__ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.an-tile__ic .ic { width: 20px; height: 20px; }
.an-tile b { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.an-tile b.is-long { font-size: clamp(1.1rem, .9rem + .7vw, 1.55rem); }
.an-tile > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.35; }
.an-tile--crit .an-tile__ic { background: var(--crit-soft); color: var(--crit); }
.an-tile--accent { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-btn); }
.an-tile--accent .an-tile__ic { background: rgba(255, 255, 255, .18); color: #fff; }
.an-tile--accent > span:last-child { color: rgba(255, 255, 255, .82); }

.an-funnel { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.an-funnel__h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.an-funnel__h .ic { width: 18px; height: 18px; color: var(--blue); }
.an-bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(56px, auto); align-items: center; gap: 12px; }
.an-bar__l { color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.an-bar__t { height: 26px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.an-bar__t i { display: block; height: 100%; min-width: 10px; border-radius: 8px; background: var(--grad); transition: width .35s var(--ease); }
.an-bar:nth-of-type(2) .an-bar__t i { opacity: .82; }
.an-bar:nth-of-type(3) .an-bar__t i { opacity: .66; }
.an-bar b { font-size: 16px; font-weight: 800; text-align: right; }
.an-bar__cv { display: flex; align-items: center; gap: 6px; padding-left: 84px; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.an-bar__cv .ic { width: 14px; height: 14px; transform: rotate(90deg); color: var(--blue); stroke-width: 2.2; flex: none; }
.an-calc__text { max-width: 40em; padding: 2px 4px 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.an-calc__text b { color: var(--ink); font-weight: 700; }

/* --- адаптив --- */
@media (max-width: 1100px) {
  .an-calc { grid-template-columns: minmax(0, 1fr); }
  .an-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .an-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .an-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .an-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .an-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "ill" "chips"; grid-template-rows: auto; row-gap: 24px; }
  .an-flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 0 auto; row-gap: 12px; }
  .an-flow__arrow { margin: -24px 0; transform: rotate(90deg); }
}
@media (max-width: 760px) {
  .an-calc { padding: 8px; border-radius: var(--r-lg); }
  .an-calc__form { padding: 14px 12px 16px; gap: 24px; }
  .an-fields { grid-template-columns: minmax(0, 1fr); }
  .an-calc__cta { width: 100%; }
  .an-calc__out { padding: 12px; }
  .an-tiles { gap: 10px; }
  .an-tile { padding: 14px; }
  .an-tile b { font-size: 1.35rem; }
  .an-tile > span:last-child { font-size: 13px; }
  .an-funnel { padding: 16px 14px; }
  .an-bar { grid-template-columns: 62px minmax(0, 1fr) minmax(44px, auto); gap: 8px; }
  .an-bar__l { font-size: 13.5px; }
  .an-bar b { font-size: 15px; }
  .an-bar__cv { padding-left: 0; }
  .an-step__head { flex-wrap: wrap; gap: 12px 14px; }
  .an-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .an-metrics .chip { padding: 12px; }
}
@media (max-width: 760px) {
  .an-tile b.is-long { font-size: 1.05rem; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  /* плашка «Прогноз» / «Факт по CRM» — под заголовком в обеих карточках одинаково */
  .an-step__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; }
  .an-step__head .ic-tile { grid-row: span 2; }
  .an-step__head .badge { margin-left: 0; justify-self: start; }
}
@media (max-width: 400px) {
  .an-tile b { font-size: 1.2rem; }
}

/* ===== 09-panel ===== */
/* ===== 09 Онлайн-панель проекта: тёмный блок, иллюстрация + макет панели кодом ===== */

/* сцена: иллюстрация слева, панель справа с наездом */
.pn__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.pn__ill { position: relative; grid-column: 1 / span 8; grid-row: 1; }
.pn__ill::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(57, 98, 255, .5), rgba(57, 98, 255, .16) 55%, transparent 100%);
  filter: blur(20px);
  pointer-events: none;
}
.pn__ill img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: 0 0 0 1px rgba(124, 146, 255, .22), 0 40px 120px -40px rgba(57, 98, 255, .65);
}

/* уведомление панели поверх иллюстрации */
.pn__toast {
  position: absolute;
  left: 4%;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 310px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(20, 24, 35, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .28), 0 24px 50px -24px rgba(0, 0, 0, .85);
}
.pn__toast-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(57, 98, 255, .9); }
.pn__toast-ic .ic { width: 21px; height: 21px; }
.pn__toast-txt { display: grid; gap: 2px; font-size: 12.5px; line-height: 1.35; color: var(--dk-muted); }
.pn__toast-txt b { font-size: 14px; font-weight: 700; color: #fff; }

/* ===== макет панели ===== */
.pn-dash {
  /* внутри белой карточки возвращаем светлые значения токенов (копии из :root base.css; ссылка var(--muted) на себя — цикл) */
  --muted: #6a6f7d;
  --line: #e3e3dd;
  --ink-2: #363c4e;
  color-scheme: light;
  position: relative;
  z-index: 2;
  grid-column: 7 / -1;
  grid-row: 1;
  margin-top: clamp(48px, 6vw, 88px);
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(57, 98, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.pn-dash__top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.pn-dash__dots { display: flex; gap: 6px; flex: none; }
.pn-dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pn-dash__dots i:nth-child(1) { background: color-mix(in srgb, var(--crit) 75%, white); }
.pn-dash__dots i:nth-child(2) { background: color-mix(in srgb, var(--warn) 75%, white); }
.pn-dash__dots i:nth-child(3) { background: color-mix(in srgb, var(--ok) 75%, white); }
.pn-dash__tabs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg-2); }
.pn-dash__tabs [role="tab"] { padding: 7px 13px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.pn-dash__tabs [role="tab"]:hover { color: var(--ink); }
.pn-dash__tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 21, 48, .08), 0 6px 12px -8px rgba(13, 21, 48, .3); }
.pn-dash__time { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pn-dash__time i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 163, 104, .16); animation: pn-pulse 2.4s var(--ease) infinite; }
@keyframes pn-pulse { 50% { box-shadow: 0 0 0 7px rgba(23, 163, 104, 0); } }

.pn-dash__body { padding: 16px; }
.pn-dash__pane { display: grid; gap: 12px; }

.pn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pn-tile { display: grid; gap: 2px; min-width: 0; padding: 12px 14px 0; overflow: hidden; border-radius: 14px; background: var(--bg); }
.pn-tile:last-child { background: var(--blue-soft); }
.pn-tile__k { color: var(--muted); font-size: 12px; font-weight: 600; }
.pn-tile b { font-size: clamp(17px, 1.55vw, 22px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; }
.pn-tile small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.pn-spark { width: calc(100% + 28px); height: 26px; margin: 6px -14px 0; }
.pn-spark path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.pn-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pn-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.3; }
.pn-tbl th { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; text-align: right; white-space: nowrap; }
.pn-tbl td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--ink); text-align: right; white-space: nowrap; }
.pn-tbl th:first-child, .pn-tbl td:first-child { padding-left: 2px; text-align: left; }
.pn-tbl td:first-child { font-weight: 600; }
.pn-tbl tbody tr:last-child td { border-bottom: 0; }
.pn-tbl tfoot td { border-top: 1.5px solid var(--line-2); border-bottom: 0; font-weight: 700; }
.pn-tbl .badge { padding: 4px 9px; font-size: 12px; }
.pn-tbl__warn { color: color-mix(in srgb, var(--warn) 60%, var(--ink)) !important; font-weight: 700; }
.pn-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; vertical-align: 1px; }
.pn-dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(23, 163, 104, .15); }
.pn-dot--warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(232, 149, 31, .18); }
.pn-dot--blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(57, 98, 255, .16); }

.pn-budget {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--blue) 32%, var(--dk)) 0%, color-mix(in srgb, var(--blue) 62%, var(--dk)) 100%);
  color: #fff;
}
.pn-budget__k { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.3; }
.pn-budget__k .ic { width: 18px; height: 18px; color: #a9b8ff; }
.pn-budget__bar { background: rgba(255, 255, 255, .16); }
.pn-budget__bar i { transform: scaleX(.62); background: linear-gradient(90deg, #6f8dff, #ffc501); }
.pn-budget b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }

.pn-rules { display: grid; gap: 8px; }
.pn-rules li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pn-rules b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.pn-sw { position: relative; width: 36px; height: 22px; flex: none; border-radius: 99px; background: var(--ok); }
.pn-sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13, 21, 48, .3); }

.pn-dash__cap { display: flex; align-items: center; gap: 8px; padding: 11px 16px 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pn-dash__cap .ic { width: 15px; height: 15px; color: var(--blue); }

/* ===== что делаю для эффективности рекламы ===== */
.pn__ai-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: clamp(48px, 5vw, 72px) 0 20px; }
.pn__ai-head .note { max-width: 46ch; }
/* подзаголовок над рядом карточек — как «Ещё результаты» в кейсах */
.pn__ai-head .h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.pn-ai { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pn-ai__card { display: flex; flex-direction: column; gap: 14px; }
.pn-ai__t { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.pn-ai__d { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.pn-ai__viz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.3; }
.pn-ai__viz--minus { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-ai__viz--minus span { padding: 5px 9px; border-radius: 8px; background: rgba(229, 72, 77, .14); color: color-mix(in srgb, var(--crit) 45%, white); font-weight: 600; white-space: nowrap; }
.pn-ai__viz--minus .is-more { background: rgba(255, 255, 255, .07); color: var(--dk-muted); }
.pn-ai__viz--rows span { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.pn-ai__viz--rows i { min-width: 0; overflow: hidden; color: rgba(255, 255, 255, .86); font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.pn-ai__viz--rows em { flex: none; padding: 3px 7px; border-radius: 6px; background: rgba(229, 72, 77, .16); color: color-mix(in srgb, var(--crit) 45%, white); font-style: normal; font-weight: 600; font-size: 11.5px; }
.pn-ai__viz--rows em.is-warn { background: rgba(232, 149, 31, .16); color: color-mix(in srgb, var(--warn) 55%, white); }
.pn-ai__viz--ab span { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 2px; }
.pn-ai__viz--ab i { color: rgba(255, 255, 255, .86); font-style: normal; white-space: nowrap; }
.pn-ai__viz--ab s { position: relative; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.pn-ai__viz--ab s::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: rgba(161, 170, 192, .55); }
.pn-ai__viz--ab .is-win s::before { background: linear-gradient(90deg, #6f8dff, #ffc501); }
.pn-ai__viz--ab em { color: var(--dk-muted); font-style: normal; font-weight: 700; }
.pn-ai__viz--ab .is-win em { color: color-mix(in srgb, var(--ok) 60%, white); }

/* слова с дефисом и связки, которые нельзя рвать */
.pn-nw { white-space: nowrap; }

/* кнопка и примечание */
.pn__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.pn__cta-note { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.pn__cta-note .ic { width: 20px; height: 20px; color: #8fa2ff; }

/* ===== адаптив ===== */
@media (min-width: 901px) {
  .pn-dash__body { min-height: 372px; }
}
/* до 1399 четыре карточки в ряд слишком узкие: текст в мини-макетах режется многоточием — 2×2 */
@media (max-width: 1399px) {
  .pn-ai { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 1181–1260: таблице кампаний не хватает 7 px — ячейки чуть плотнее, без полосы прокрутки */
@media (min-width: 1181px) and (max-width: 1260px) {
  .pn-tbl th, .pn-tbl td { padding-inline: 8px; }
}
/* колокольчик справа вверху иллюстрации не закрыт макетом, наезд и высота блока прежние:
   от 1400 макет на 5 колонок (ячейки плотнее), на 1181–1399 иллюстрация на колонку уже */
@media (min-width: 1400px) {
  .pn-dash { grid-column: 8 / -1; }
  .pn-tbl th, .pn-tbl td { padding-inline: 8px; }
}
@media (min-width: 1181px) and (max-width: 1399px) {
  .pn__ill { grid-column: 1 / span 7; }
}
@media (max-width: 1180px) {
  .pn__stage { display: block; }
  .pn__ill::before { inset: -6% -4%; }
  .pn__toast { top: 3%; left: 3%; bottom: auto; padding: 10px 14px 10px 10px; }
  .pn-dash { width: min(640px, 88%); margin: calc(-1 * clamp(40px, 10vw, 120px)) 0 0 auto; }
}
@media (max-width: 900px) {
  /* на узкой иллюстрации уведомлению нет места — оно ложится на плашку картинки */
  .pn__toast { display: none; }
}
@media (max-width: 760px) {
  .pn__cta .btn { width: 100%; }
}
/* таблица кампаний на узком экране: колонку «Статус» прячем (статус и так виден по цветной точке), длинные названия переносятся */
@media (max-width: 680px) {
  .pn-tbl--wide th:last-child, .pn-tbl--wide td:last-child { display: none; }
  .pn-tbl--wide td:first-child { white-space: normal; }
}
@media (max-width: 600px) {
  .pn__ill img { border-radius: var(--r-lg); }
  .pn-dash { width: auto; margin: -28px 0 0; border-radius: 20px; }
  .pn-dash__top { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .pn-dash__dots { display: none; }
  .pn-dash__tabs { order: 2; width: 100%; }
  .pn-dash__tabs [role="tab"] { flex: 1; padding-inline: 6px; }
  .pn-dash__time { margin-left: 0; }
  .pn-dash__body { padding: 12px; }
  .pn-tiles { gap: 6px; }
  .pn-tile { padding: 10px 10px 0; }
  .pn-tile b { font-size: 16px; }
  .pn-tile small { font-size: 11.5px; }
  .pn-spark { width: calc(100% + 20px); margin-inline: -10px; }
  .pn-tbl { font-size: 13px; }
  .pn-tbl:not(.pn-tbl--wide) td:first-child { white-space: normal; }
  .pn-tbl th, .pn-tbl td { padding-inline: 6px; }
  .pn-budget { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 12px 14px; }
  .pn-budget__k { grid-column: 1 / -1; }
  .pn-rules li { gap: 10px; padding: 10px 12px; }
  .pn-ai { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
/* узкий телефон: заголовок в 3 строки, а не в 5 со словом на строке */
@media (max-width: 389px) {
  .pn .h2 { font-size: clamp(1.625rem, 8vw, 2rem); }
}
/* макеты под карточками одной высоты — верхние края в ряду на одной линии, без пустоты под коротким макетом */
@media (min-width: 601px) {
  .pn-ai__viz { min-height: 96px; align-content: center; }
}

/* ===== 10-reports ===== */
/* ===== 10 Отчёты: список с цепочкой значков слева, телефон с отчётом в Telegram и карточка PDF справа ===== */
.rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rp-copy .sec-head { margin-bottom: clamp(28px, 3vw, 40px); }

/* --- список с цепочкой --- */
.rp-list { padding: 6px clamp(18px, 2.2vw, 28px); border-radius: var(--r-xl); }
.rp-item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 18px 0; }
.rp-item + .rp-item { border-top: 1px solid var(--line); }
.rp-item:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 74px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--blue-soft-2); }
.rp-item .ic-tile { position: relative; z-index: 1; }
.rp-item__txt { display: grid; gap: 4px; min-width: 0; padding-top: 2px; }
.rp-item__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rp-item__h b { font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.rp-item__h .badge { padding: 4px 9px; font-size: 12.5px; }
.rp-item__txt > p:last-child { color: var(--muted); font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.rp-nw { white-space: nowrap; }

/* --- телефон --- */
/* телефон справа, карточка PDF ниже слева и заходит на нижнюю панель телефона (там нет текста).
   Ширина сцены ограничена (340 телефона + 300 PDF − 56 нахлёста), иначе на широком экране PDF отрывается от телефона */
.rp-visual { position: relative; display: grid; justify-self: end; width: min(100%, 584px); margin: 0; }
.rp-phone {
  position: relative;
  justify-self: end;
  width: min(340px, 86%);
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(150deg, var(--dk-3) 0%, var(--dk) 60%, var(--dk-2) 100%);
  box-shadow: var(--shadow-lg), 0 50px 80px -50px rgba(13, 21, 48, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px rgba(0, 0, 0, .4);
}
.rp-phone__btn { position: absolute; width: 3px; border-radius: 2px; background: var(--dk-3); }
.rp-phone__btn--a { left: -2px; top: 120px; height: 58px; }
.rp-phone__btn--b { right: -2px; top: 150px; height: 84px; }
.rp-screen { position: relative; display: grid; overflow: hidden; border-radius: 44px; background: var(--surface); color: var(--ink); }
.rp-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 4px 26px 0 30px; font-size: 14.5px; font-weight: 600; }
.rp-island { position: absolute; left: 50%; top: 10px; width: 92px; height: 27px; border-radius: 20px; background: var(--dk); transform: translateX(-50%); }
.rp-status__ic { display: flex; align-items: center; gap: 6px; }
.rp-sig { display: flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.rp-sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.rp-sig i:nth-child(1) { height: 4px; } .rp-sig i:nth-child(2) { height: 6px; } .rp-sig i:nth-child(3) { height: 8.5px; } .rp-sig i:nth-child(4) { height: 11px; }
.rp-bat { position: relative; width: 24px; height: 12px; padding: 1.5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(13, 21, 48, .4); }
.rp-bat::after { content: ""; position: absolute; right: -3px; top: 4px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(13, 21, 48, .4); }
.rp-bat i { display: block; width: 78%; height: 100%; border-radius: 2px; background: var(--ink); }

.rp-tg-head { display: grid; grid-template-columns: 24px minmax(0, 1fr) 36px; align-items: center; gap: 10px; padding: 6px 14px 8px; }
.rp-tg-head > .ic { width: 22px; height: 22px; color: var(--sky); stroke-width: 2.2; }
.rp-tg-head__who { display: grid; justify-items: center; line-height: 1.2; text-align: center; }
.rp-tg-head__who b { font-size: 15px; font-weight: 700; }
.rp-tg-head__who small { color: var(--muted); font-size: 12px; }
.rp-tg-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.rp-tg-pin { display: grid; grid-template-columns: 2px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 7px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rp-tg-pin__bar { height: 30px; border-radius: 2px; background: var(--sky); }
.rp-tg-pin__txt { display: grid; min-width: 0; line-height: 1.3; font-size: 12px; }
.rp-tg-pin__txt b { color: var(--sky); font-weight: 600; }
.rp-tg-pin__txt span { overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.rp-tg-pin .ic { width: 18px; height: 18px; color: var(--muted); }

.rp-chat {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 10px 14px;
  background: linear-gradient(165deg, var(--blue-soft) 0%, color-mix(in srgb, var(--blue-soft) 45%, var(--bg-2)) 100%);
}
.rp-date { justify-self: center; padding: 3px 10px; border-radius: 99px; background: rgba(13, 21, 48, .5); color: #fff; font-size: 11.5px; font-weight: 600; }
.rp-msg { position: relative; justify-self: start; max-width: 94%; padding: 9px 12px 7px; border-radius: 16px 16px 16px 5px; background: var(--surface); box-shadow: 0 1px 1.5px rgba(13, 21, 48, .14); font-size: 13px; line-height: 1.42; }
.rp-msg__h { margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.rp-msg__dl { display: grid; gap: 2px; margin-bottom: 6px; }
.rp-msg__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border-bottom: 1px dashed var(--line); }
.rp-msg__dl div:last-child { border-bottom: 0; }
.rp-msg__dl dt { color: var(--muted); }
/* одиночные значения: пропорциональные цифры, иначе «11,7%» читается как «1 1,7%» */
.rp-msg__dl dd { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: proportional-nums; }
.rp-msg__p { margin-top: 4px; color: var(--ink-2); }
.rp-msg__p b { color: var(--ink); }
.rp-msg__t { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.rp-msg--me { justify-self: end; display: flex; align-items: flex-end; gap: 8px; border-radius: 16px 16px 5px 16px; background: var(--ok-soft); }
.rp-msg--me .rp-msg__t { margin: 0; color: var(--ok); }
.rp-msg--me .rp-msg__t .ic { width: 13px; height: 13px; stroke-width: 2.6; }

.rp-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 4px; }
.rp-input__btn { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; color: var(--muted); }
.rp-input__btn .ic { width: 22px; height: 22px; }
.rp-input__btn--send { background: var(--sky); color: #fff; }
.rp-input__btn--send .ic { width: 17px; height: 17px; }
.rp-input__field { flex: 1; height: 32px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); }
.rp-home { justify-self: center; width: 116px; height: 5px; margin: 10px 0 9px; border-radius: 3px; background: var(--ink); }

/* --- карточка PDF за месяц --- */
.rp-pdf {
  position: relative;
  z-index: 2;
  justify-self: start;
  display: grid;
  gap: 14px;
  width: min(300px, 74%);
  margin-top: -70px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 30px 60px -30px rgba(13, 21, 48, .45), inset 0 0 0 1px var(--line);
}
.rp-pdf__head { display: flex; align-items: center; gap: 12px; }
.rp-pdf__file { display: grid; place-items: center; width: 40px; height: 48px; flex: none; border-radius: 6px 12px 6px 6px; background: var(--crit-soft); color: var(--crit); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crit) 25%, transparent); }
.rp-pdf__title { display: grid; min-width: 0; line-height: 1.25; }
.rp-pdf__title b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.rp-pdf__title small { color: var(--muted); font-size: 12.5px; }
.rp-pdf__kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rp-pdf__kpi div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--bg); }
.rp-pdf__kpi dt { color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.rp-pdf__kpi dd { font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: proportional-nums; }
.rp-pdf__chart { display: grid; gap: 8px; }
.rp-pdf__ch { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.rp-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; height: 92px; }
.rp-bars li { display: grid; justify-items: center; align-content: end; gap: 4px; height: 100%; }
.rp-bars b { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.rp-bars i { width: 100%; height: calc(50px * var(--k)); border-radius: 7px 7px 2px 2px; background: var(--blue-soft-2); }
.rp-bars .is-top i { background: var(--grad-btn); }
.rp-bars .is-top b { color: var(--blue); }
.rp-bars span { color: var(--muted); font-size: 10.5px; line-height: 1.2; }

/* --- адаптив --- */
@media (max-width: 1100px) {
  .rp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .rp-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rp-visual { width: 100%; max-width: 540px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .rp-list { padding: 4px 16px; border-radius: var(--r-lg); }
  .rp-item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .rp-item:not(:last-child)::after { left: 22px; top: 66px; }
  .rp-item__h b { font-size: 16.5px; }
  .rp-item__txt > p:last-child { font-size: 14.5px; }
  .rp-phone { width: min(320px, 88%); border-radius: 48px; padding: 9px; }
  .rp-screen { border-radius: 40px; }
  .rp-pdf { width: min(260px, 74%); padding: 14px; gap: 12px; margin-top: -66px; }
  .rp-pdf__kpi dd { font-size: 14.5px; }
}

/* ===== 11-scope ===== */
/* ===== 11 Что входит в работу: цепочка стеклянных карточек с мини-интерфейсами + два списка ===== */

.sc-chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
/* мягкие блики под стеклом */
.sc-chain::before {
  content: "";
  position: absolute;
  inset: 8% 2%;
  z-index: -1;
  background:
    radial-gradient(40% 70% at 20% 50%, rgba(126, 160, 255, .42), transparent 70%),
    radial-gradient(35% 70% at 60% 40%, rgba(57, 98, 255, .22), transparent 70%),
    radial-gradient(35% 70% at 92% 60%, rgba(57, 98, 255, .3), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}
.sc-step { position: relative; display: flex; min-width: 0; }
.sc-step__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 18px 16px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .58) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .95), inset 0 -12px 30px -18px rgba(57, 98, 255, .18);
}
.sc-step__n {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.sc-step__txt { display: grid; gap: 8px; align-content: start; }
.sc-step__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.sc-step__ic .ic { width: 21px; height: 21px; }
.sc-step__t { font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.sc-step__d { color: var(--muted); font-size: 14px; line-height: 1.42; text-wrap: pretty; }
.sc-nw { white-space: nowrap; }

/* линии между карточками */
.sc-link { position: absolute; top: 50%; left: 100%; z-index: 2; width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.sc-link::before, .sc-link::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--blue), 0 0 0 4px rgba(57, 98, 255, .12); }
.sc-link::before { left: -5px; }
.sc-link::after { right: -5px; box-shadow: inset 0 0 0 2.5px var(--cyan), 0 0 0 4px rgba(57, 98, 255, .14); }

/* мини-интерфейс внутри карточки */
.sc-ui {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  height: 142px;
  margin-top: auto;
  padding: 10px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -16px rgba(28, 48, 110, .35);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.3;
}
.sc-ui .ic { width: 15px; height: 15px; }

/* 01 семантика */
.sc-ui__bar { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sc-ui__bar .ic { color: var(--blue); }
.sc-ui__bar b { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sc-ui__bar em { flex: none; margin-left: auto; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); color: var(--muted); font-size: 10.5px; font-style: normal; font-weight: 600; }
.sc-tree { margin: 6px 0 0 7px; padding-left: 10px; border-left: 1.5px solid var(--line-2); }
.sc-tree li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.sc-tree li::before { content: ""; position: absolute; top: 50%; left: -10px; width: 7px; height: 1.5px; background: var(--line-2); }
.sc-tree span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-tree b { color: var(--blue); font-weight: 700; }
.sc-minus { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.sc-minus span { padding: 2px 6px; border-radius: 6px; background: var(--crit-soft); color: color-mix(in srgb, var(--crit) 80%, var(--ink)); font-size: 10.5px; font-weight: 600; }

/* 02 поиск */
.sc-q { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(57, 98, 255, .4); }
.sc-q .ic { color: var(--blue); }
.sc-q span { min-width: 0; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.sc-ad { display: grid; gap: 3px; margin-top: 8px; }
.sc-ad__lbl { justify-self: start; padding: 1px 5px; border-radius: 4px; background: var(--bg-2); color: color-mix(in srgb, var(--muted) 80%, var(--ink)); font-size: 9.5px; font-weight: 600; }
.sc-ad b { color: var(--blue-d); font-size: 12px; font-weight: 600; line-height: 1.25; }
.sc-ad__url { color: color-mix(in srgb, var(--ok) 70%, var(--ink)); font-size: 10.5px; }
.sc-ad__links { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.sc-ad__links i { color: var(--blue); font-size: 10.5px; font-style: normal; }

/* 03 РСЯ */
.sc-ui--rsya { gap: 6px; }
.sc-ban { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--bg-2); }
.sc-ban > img { width: 100%; height: 72px; object-fit: cover; object-position: 70% 30%; }
.sc-ban__cap { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 14px 7px 6px; background: linear-gradient(transparent, rgba(13, 21, 48, .78)); }
.sc-ban__cap b { color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sc-ban__cap i { padding: 2px 7px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 9.5px; font-style: normal; font-weight: 600; }
.sc-ban-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; height: 44px; }
.sc-ban-row .sc-ban { height: 44px; }
.sc-ban--sq img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 20%; }
.sc-ban--vid { display: grid; place-items: center; background: linear-gradient(140deg, var(--dk-3), color-mix(in srgb, var(--blue) 45%, var(--dk))); color: #fff; }
.sc-ban--vid .ic { width: 16px; height: 16px; }
.sc-ban--vid em { position: absolute; right: 4px; bottom: 3px; color: rgba(255, 255, 255, .8); font-size: 9px; font-style: normal; font-weight: 600; }
.sc-ban--txt { display: grid; align-content: center; gap: 4px; padding: 6px 7px; background: var(--blue-soft); }
.sc-ban--txt i { display: block; height: 4px; border-radius: 2px; background: rgba(57, 98, 255, .35); }
.sc-ban--txt i:nth-child(2) { width: 72%; }
.sc-ban--txt i:nth-child(3) { width: 46%; height: 7px; border-radius: 4px; background: var(--blue); }

/* 04 аналитика */
.sc-goals li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.sc-goals li:first-child { padding-top: 1px; }
.sc-goals span { min-width: 0; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.sc-sw { position: relative; width: 26px; height: 15px; flex: none; border-radius: 99px; background: var(--ok); }
.sc-sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(13, 21, 48, .3); }
.sc-utm { margin-top: 8px; padding: 6px 8px; overflow: hidden; border-radius: 7px; background: var(--ink); color: #a9b8ff; font: 600 10.5px/1.2 ui-monospace, "SF Mono", Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.sc-utm b { color: #fff; font-weight: 600; }

/* 05 оптимизация */
.sc-opt__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sc-opt__head .badge { padding: 3px 8px; font-size: 11px; }
.sc-opt__head em { color: var(--muted); font-size: 10px; font-style: normal; }
.sc-opt__chart { width: 100%; height: 74px; margin-top: 6px; overflow: visible; }
.sc-opt__grid { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.sc-opt__line { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sc-opt__x { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font-size: 10px; }

.sc-note { margin-top: 14px; }

/* ===== два списка ===== */
.sc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.sc-col { display: flex; flex-direction: column; gap: 22px; }
.sc-col__head { display: flex; align-items: center; gap: 16px; }
.sc-col__head > div { display: grid; justify-items: start; gap: 8px; }
.sc-col__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.sc-col__foot .ic { width: 20px; height: 20px; color: var(--blue); }
/* последняя строка пунктов не из одного слова */
.sc-col .ticks li, .sc-col__foot { text-wrap: pretty; }

/* ===== адаптив: цепочка вертикально ===== */
/* до 1359 цепочка из 5 карточек вертикально: в горизонтальной мини-макеты по 170–190 px обрезаются */
@media (max-width: 1359px) {
  .sc-chain { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 68px; }
  /* линия между кружками: у каждого шага половинка вверх и половинка вниз — концы всегда в центрах кружков */
  .sc-step:not(:last-child)::after, .sc-step:not(:first-child)::before { content: ""; position: absolute; z-index: -1; left: -47px; width: 2px; background: var(--blue); }
  .sc-step:not(:last-child)::after { top: 50%; bottom: -16px; }
  .sc-step:not(:first-child)::before { top: 0; height: 50%; }
  .sc-link { display: none; }
  .sc-step__n {
    top: 50%;
    right: auto;
    left: -68px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-btn);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 0 6px var(--bg), var(--shadow-btn);
    transform: translateY(-50%);
  }
  .sc-step__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 24px; padding: 18px 20px 18px 22px; }
  .sc-step__txt { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .sc-step__ic { grid-row: span 2; margin-bottom: 0; }
  .sc-ui { margin-top: 0; }
  .sc-note { padding-left: 68px; }
  /* описание шага не тянется в одну строку на 90 знаков */
  .sc-step__d { max-width: 60ch; }
}
@media (max-width: 860px) {
  .sc-cols { grid-template-columns: minmax(0, 1fr); }
}
/* планшет: мини-макет уже, колонке текста больше места — карточки одной высоты */
@media (max-width: 860px) and (min-width: 681px) {
  .sc-step__card { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 18px; }
}
@media (max-width: 680px) {
  .sc-chain { padding-left: 48px; gap: 14px; }
  .sc-step:not(:last-child)::after, .sc-step:not(:first-child)::before { left: -33px; }
  .sc-step:not(:last-child)::after { top: 38px; bottom: -14px; }
  .sc-step:not(:first-child)::before { height: 38px; }
  .sc-note { padding-left: 48px; }
  .sc-step__n { top: 22px; left: -48px; width: 32px; height: 32px; font-size: 12px; box-shadow: 0 0 0 5px var(--bg), var(--shadow-btn); transform: none; }
  .sc-step__card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .sc-step__txt { column-gap: 12px; }
  .sc-step__ic { width: 36px; height: 36px; border-radius: 11px; }
  .sc-step__t { font-size: 17px; }
  .sc-ui { height: auto; min-height: 120px; }
  .sc-col__head { gap: 14px; }
}

/* ===== 12-formats ===== */
/* ===== 12 Форматы рекламы: тёмная карточка с синим градиентом, список со значками, скриншоты в рамках ===== */

.fm-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(22px, 4vw, 56px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(55% 50% at 100% 0%, rgba(57, 98, 255, .6), transparent 72%),
    radial-gradient(55% 60% at 0% 100%, rgba(57, 98, 255, .3), transparent 72%),
    radial-gradient(40% 40% at 70% 85%, rgba(57, 98, 255, .16), transparent 70%),
    linear-gradient(150deg, var(--dk-2) 0%, color-mix(in srgb, var(--blue) 24%, var(--dk)) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
/* тонкая сетка, как на первом экране */
.fm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: none;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 30%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 85% 30%, #000, transparent 75%);
  pointer-events: none;
}

/* список форматов */
.fm-list { display: grid; min-width: 0; }
.fm-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 15rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.fm-row:first-child { padding-top: 0; border-top: 0; }
.fm-row:last-child { padding-bottom: 0; }
.fm-row__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  color: #a9b8ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background-color .2s, color .2s;
}
.fm-row__ic .ic { width: 22px; height: 22px; stroke-width: 1.5; }
.fm-row:hover .fm-row__ic { background: rgba(57, 98, 255, .3); color: #fff; }
.fm-row__t { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.fm-row__d { color: var(--dk-muted); font-size: 14.5px; line-height: 1.45; text-wrap: pretty; }
.fm-row__n { color: rgba(255, 255, 255, .3); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* скриншоты в плавающих рамках */
.fm-vis { position: relative; width: 100%; aspect-ratio: .68; }
.fm-shot {
  position: absolute;
  width: 80%;
  margin: 0;
  padding: 8px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .5);
}
.fm-shot img { width: 100%; border-radius: 15px; }
.fm-shot--serp { top: 4%; left: 0; transform: rotate(-1.5deg); }
.fm-shot--rsya { right: 0; bottom: 4%; z-index: 1; transform: rotate(1.2deg); }
.fm-shot__cap {
  position: absolute;
  top: -14px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.fm-shot__cap .ic { width: 15px; height: 15px; color: #a9b8ff; }

.fm-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(20, 24, 35, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 40px -20px rgba(0, 0, 0, .85);
  color: var(--dk-muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}
.fm-chip b { display: block; color: #fff; font-size: 13.5px; font-weight: 700; }
.fm-chip__play, .fm-chip__ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; }
.fm-chip__play { border-radius: 50%; background: var(--grad-btn); color: #fff; box-shadow: 0 8px 18px -8px rgba(57, 98, 255, .9); }
.fm-chip__play .ic { width: 15px; height: 15px; margin-left: 2px; }
.fm-chip__ic { background: rgba(57, 98, 255, .25); color: #a9b8ff; }
.fm-chip__ic .ic { width: 18px; height: 18px; }
.fm-chip--video { left: -2%; bottom: 1%; }
.fm-chip--tg { top: 0; right: -2%; }

/* ===== адаптив ===== */
@media (max-width: 1279px) {
  .fm-row { grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 3px; }
  .fm-row__ic { grid-row: span 2; align-self: start; }
  .fm-row__t { grid-column: 2; }
  .fm-row__d { grid-column: 2; }
  .fm-row__n { grid-column: 3; grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
}
@media (max-width: 1279px) and (min-width: 1000px) {
  .fm-chip--tg { display: none; }
}
/* 1000–1180: коллаж плотнее и выше, чтобы не висел посередине высокой карточки с пустыми полями сверху и снизу */
@media (max-width: 1180px) and (min-width: 1000px) {
  .fm-vis { aspect-ratio: .54; }
  .fm-shot { width: 90%; }
}
/* ≤999: одна колонка — коллаж под списком (в две колонки он слишком узкий рядом с длинным списком) */
@media (max-width: 999px) {
  .fm-card { grid-template-columns: minmax(0, 1fr); }
  .fm-vis { width: min(100%, 640px); justify-self: center; aspect-ratio: 1.42; margin-top: 8px; }
  .fm-shot { width: 52%; }
  .fm-shot--serp { top: 3%; }
  .fm-shot--rsya { bottom: 3%; }
  .fm-chip--video { left: 0; bottom: 0; }
  .fm-chip--tg { top: 0; right: 0; }
}
@media (max-width: 600px) {
  .fm-row { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding-block: 13px; }
  .fm-row__ic { width: 40px; height: 40px; border-radius: 12px; }
  .fm-row__ic .ic { width: 20px; height: 20px; }
  .fm-row__t { font-size: 16px; }
  .fm-row__d { font-size: 14px; }
  .fm-row__n { display: none; }
  .fm-vis { aspect-ratio: 1.12; margin-top: 18px; }
  .fm-shot { width: 64%; padding: 5px; border-radius: 15px; }
  .fm-shot img { border-radius: 11px; }
  .fm-shot__cap { top: -12px; left: 10px; padding: 5px 10px; font-size: 11.5px; }
  .fm-chip--tg { display: none; }
  .fm-chip { padding: 8px 12px 8px 8px; }
  .fm-chip__play { width: 30px; height: 30px; }
}

/* ===== 13-q90 ===== */
/* ===== 13 Почему работаю кварталами: график кодом по трём фазам + три карточки месяцев ===== */

.q9-chart { margin: 0; padding: clamp(20px, 3vw, 36px); }
.q9-chart__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 24px; }
.q9-chart__title { margin-right: auto; font-size: clamp(17px, 1rem + .3vw, 20px); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.q9-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; line-height: 1.3; }
.q9-legend__i { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.q9-legend__i::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--blue); }
.q9-legend__i--cpl::before { background: var(--warn); }
.q9-legend__i--plan::before { height: 2px; background: repeating-linear-gradient(90deg, var(--ok) 0 5px, transparent 5px 8px); }

/* сетка графика: подписи осей по бокам и снизу */
.q9-body { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; column-gap: 12px; }
.q9-y { align-self: center; justify-self: center; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; writing-mode: vertical-rl; }
.q9-y--l { color: var(--blue); transform: rotate(180deg); }
.q9-y--r { margin-left: 10px; color: color-mix(in srgb, var(--warn) 60%, var(--ink)); }

.q9-plot { position: relative; height: clamp(320px, 30vw, 420px); --hh: 68px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.q9-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border-radius: inherit; background: var(--surface); }
.q9-col { position: relative; border-left: 1px dashed var(--line-2); }
.q9-col:first-child { border-left: 0; background: rgba(57, 98, 255, .025); }
.q9-col:nth-child(2) { background: rgba(57, 98, 255, .055); }
.q9-col:nth-child(3) { background: linear-gradient(180deg, rgba(57, 98, 255, .1), rgba(57, 98, 255, .08)); }
.q9-col__h { display: grid; gap: 2px; padding: 14px 16px; line-height: 1.25; }
.q9-col__h small { color: var(--blue); font-size: 12px; font-weight: 600; }
.q9-col__h b { font-size: 14.5px; font-weight: 700; }

.q9-area { position: absolute; top: var(--hh); right: 0; bottom: 0; left: 0; }
.q9-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.q9-stop { stop-color: var(--blue); }
.q9-grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.q9-plan { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.q9-leads, .q9-cpl { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.q9-leads { stroke: var(--blue); }
.q9-cpl { stroke: var(--warn); }

.q9-dot { position: absolute; top: var(--y); left: var(--x); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--blue); }
.q9-dot--cpl { box-shadow: inset 0 0 0 3px var(--warn); }
.q9-dot--end { width: 16px; height: 16px; margin: -8px 0 0 -8px; box-shadow: inset 0 0 0 4px var(--blue), 0 0 0 6px rgba(57, 98, 255, .16); }
.q9-dot--cpl.q9-dot--end { box-shadow: inset 0 0 0 4px var(--warn), 0 0 0 6px rgba(232, 149, 31, .18); }

/* флажки сроков запуска */
.q9-flag { position: absolute; top: 0; bottom: 0; left: var(--x); border-left: 1.5px dashed rgba(57, 98, 255, .45); }
.q9-flag__c { position: absolute; z-index: 1; top: var(--y); left: -1.5px; display: inline-flex; align-items: center; padding: 4px 10px 4px 9px; border-left: 3px solid var(--blue); border-radius: 0 99px 99px 0; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
.q9-flag__c b { color: var(--ink); font-weight: 700; }

.q9-note { position: absolute; top: 42%; left: 16.67%; padding: 3px 9px; border-radius: 8px; background: rgba(255, 255, 255, .8); color: var(--muted); font-size: 12.5px; line-height: 1.3; white-space: nowrap; transform: translateX(-50%); }
.q9-plan-lbl { position: absolute; top: calc(60% - 24px); right: 16px; color: color-mix(in srgb, var(--ok) 60%, var(--ink)); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }

.q9-end { position: absolute; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 99px; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.q9-end .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.q9-end--leads { top: calc(20% - 46px); background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(57, 98, 255, .8); }
.q9-end--cpl { top: calc(64% + 14px); background: var(--warn-soft); color: color-mix(in srgb, var(--warn) 60%, var(--ink)); box-shadow: inset 0 0 0 1px rgba(232, 149, 31, .3); }

.q9-x { grid-column: 2; position: relative; height: 20px; margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 20px; }
.q9-x span { position: absolute; top: 0; white-space: nowrap; }
.q9-x span:nth-child(1) { left: 0; }
.q9-x span:nth-child(2) { left: 33.33%; transform: translateX(-50%); }
.q9-x span:nth-child(3) { left: 66.67%; transform: translateX(-50%); }
.q9-x span:nth-child(4) { right: 0; }

/* ===== карточки месяцев ===== */
.q9-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.q9-m { display: grid; align-content: start; gap: 14px; }
.q9-m__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.q9-m__n { color: var(--blue); font-size: clamp(52px, 2.6rem + 1.6vw, 76px); font-weight: 800; line-height: .9; letter-spacing: -.06em; }
.q9-seg { display: flex; gap: 5px; }
.q9-seg i { width: 30px; height: 5px; border-radius: 3px; background: var(--bg-2); }
.q9-seg i.is-on { background: var(--grad); }
.q9-m p { color: var(--ink-2); font-size: 16px; line-height: 1.55; text-wrap: pretty; }

/* ===== адаптив ===== */
@media (max-width: 1100px) {
  .q9-note { display: none; }
}
@media (max-width: 860px) {
  .q9-months { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .q9-m { grid-template-columns: 92px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; }
  .q9-m__top { display: contents; }
  .q9-m__n { grid-row: 1 / span 4; }
  .q9-m .badge { justify-self: start; }
}
@media (max-width: 600px) {
  .q9-chart__head { gap: 10px 14px; margin-bottom: 18px; }
  .q9-chart__title { width: 100%; }
  .q9-legend { gap: 6px 14px; font-size: 13px; }
  .q9-body { grid-template-columns: 16px minmax(0, 1fr) 16px; column-gap: 6px; }
  .q9-y { font-size: 11px; }
  .q9-plot { height: 300px; --hh: 70px; border-radius: 14px; }
  .q9-col__h { padding: 10px 8px; }
  .q9-col__h small { font-size: 11px; }
  .q9-col__h b { font-size: 12px; }
  .q9-flag__more { display: none; }
  .q9-flag__c { padding: 3px 7px 3px 6px; font-size: 11px; }
  .q9-plan-lbl { display: none; }
  .q9-end { right: 8px; padding: 4px 9px 4px 7px; font-size: 11.5px; }
  .q9-end .ic { width: 14px; height: 14px; }
  .q9-end--leads { top: calc(20% - 38px); }
  .q9-x { font-size: 11px; }
  .q9-m { grid-template-columns: 62px minmax(0, 1fr); column-gap: 12px; }
  .q9-y--r { margin-left: 6px; }
  .q9-dot--end { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; box-shadow: inset 0 0 0 3.5px var(--blue); }
  .q9-dot--cpl.q9-dot--end { box-shadow: inset 0 0 0 3.5px var(--warn); }
  .q9-m__n { font-size: 46px; }
  .q9-m p { font-size: 15px; }
}

/* ===== 14-tariffs ===== */
/* ===== 14 Тарифы: переключатель периода, 3 карточки, сайт в подарок, матрица ===== */
.tf { --tf-navy: linear-gradient(160deg, color-mix(in srgb, var(--blue) 46%, var(--dk)) 0%, color-mix(in srgb, var(--blue-d) 24%, var(--dk)) 62%, color-mix(in srgb, var(--blue) 12%, var(--dk)) 100%); }
.tf-head { align-items: flex-end; }
.tf-head > div:first-child { flex: 1 1 520px; max-width: 760px; }
.tf-head .h2 { max-width: 16ch; }

/* переключатель «Помесячно / Квартал» */
.tf-seg { display: inline-flex; flex: none; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.tf-seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s, box-shadow .25s;
}
.tf-seg__btn:hover { color: var(--blue); }
.tf-seg__btn[aria-pressed="true"] { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 26px -14px rgba(57, 98, 255, .9); }
.tf-seg__gift { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--yellow-soft); color: var(--yellow-ink); font-size: 13.5px; font-weight: 600; }
.tf-seg__gift .ic { width: 16px; height: 16px; stroke-width: 2; }
.tf-seg__btn[aria-pressed="true"] .tf-seg__gift { background: rgba(255, 255, 255, .18); color: #fff; }

/* сетка карточек */
.tf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tf-card__top { display: grid; gap: 16px; }
.tf-card__head { display: flex; align-items: center; gap: 14px; }
.tf-card__head > div { flex: 1 1 auto; min-width: 0; }
/* отступ под плашку «Рекомендую» у всех трёх карточек: «Рост» выступает вверх на 14 px и компенсирует это своим padding — цены встают на одну линию */
@media (min-width: 961px) {
  .tf-card__head { margin-top: 16px; }
}
.tf-nw { white-space: nowrap; }
.tf-card__name { font-size: clamp(1.4rem, 1.1rem + .7vw, 1.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.tf-card__for { margin-top: 3px; color: var(--muted); font-size: 15px; line-height: 1.3; text-wrap: balance; }
.tf-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-top: 4px; }
.tf-card__price b { font-size: clamp(2.2rem, 1.5rem + 1.5vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.tf-card__price b small { margin-right: .22em; font-size: .5em; font-weight: 700; letter-spacing: -.01em; vertical-align: .32em; }
.tf-card__price > span { color: var(--muted); font-size: 16px; }
.tf-card__total { display: flex; align-items: center; gap: 8px; min-height: 22px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.35; }
.tf-card__total .ic { width: 18px; height: 18px; color: var(--blue); }
.tf-card__budget { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.tf-card__budget > .ic { width: 22px; height: 22px; color: var(--blue); }
.tf-card__budget span { display: grid; color: var(--muted); font-size: 13px; line-height: 1.3; }
.tf-card__budget b { color: var(--ink); font-size: 15.5px; font-weight: 700; }

.tf-card__feat { display: grid; gap: 18px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.tf-list { display: grid; gap: 12px; }
.tf-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 15.5px; line-height: 1.42; }
.tf-list .ic { width: 22px; height: 22px; color: var(--blue); }
.tf-list__all { color: var(--ink) !important; font-weight: 600; }
.tf-card__btn { margin-top: auto; }
/* вторичная кнопка на белой карточке: тональная, иначе белое на белом читается как текст */
.tf-card .btn--ghost { background: var(--blue-soft); color: var(--blue-d); box-shadow: none; }
.tf-card .btn--ghost:hover { box-shadow: none; }
.tf-nogift { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tf-nogift .ic { width: 18px; height: 18px; margin-top: 1px; color: #a5aec1; }
.tf-nogift span { text-wrap: pretty; }

/* подарок с миниатюрой лендинга */
.tf-gift { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--yellow-soft); transition: opacity .3s, filter .3s, background-color .3s; }
.tf-gift__thumb { position: relative; flex: none; width: 68px; height: 92px; }
.tf-mini { position: absolute; inset: 0; overflow: hidden; border-radius: 9px; background: var(--dk); box-shadow: 0 10px 22px -12px rgba(13, 21, 48, .6), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tf-mini i { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 9px; background: rgba(255, 255, 255, .92); }
.tf-mini i::before { content: ""; position: absolute; left: 5px; top: 3px; width: 3px; height: 3px; border-radius: 50%; background: var(--crit); box-shadow: 5px 0 0 var(--warn), 10px 0 0 var(--ok); }
.tf-mini img { width: 123%; max-width: none; margin: calc(-11.2% + 9px) 0 0 -11.5%; }
.tf-gift__thumb--multi .tf-mini { inset: 0 0 0 10px; }
.tf-gift__thumb--multi .tf-mini--back { inset: 8px 10px -2px 0; opacity: .7; transform: rotate(-6deg); }
.tf-gift__txt { display: grid; gap: 4px; min-width: 0; }
.tf-gift__txt b { font-size: 15.5px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.tf-gift__cond { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow-ink); font-size: 13px; font-weight: 600; line-height: 1.25; }
.tf-gift__cond .ic { width: 16px; height: 16px; stroke-width: 2; }
.tf-gift__ic-off { display: none; }
.tf[data-pay="m"] .tf-gift { background: var(--bg); }
.tf[data-pay="m"] .tf-gift__thumb, .tf[data-pay="m"] .tf-gift__txt b { opacity: .45; filter: grayscale(1); }
.tf[data-pay="m"] .tf-gift__cond { color: var(--muted); }
.tf[data-pay="m"] .tf-gift__ic-on { display: none; }
.tf[data-pay="m"] .tf-gift__ic-off { display: block; }

/* «Рост» — тёмно-синяя карточка */
.tf-card--rec {
  z-index: 1;
  margin-block: -14px;
  padding-block: calc(clamp(22px, 2.4vw, 32px) + 14px);
  background: var(--tf-navy);
  color: #fff;
  box-shadow: 0 40px 80px -36px rgba(42, 79, 232, .75), inset 0 0 0 1px rgba(124, 146, 255, .28);
  overflow: hidden;
  isolation: isolate;
}
.tf-card--rec::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -24%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(57, 98, 255, .45) 0%, transparent 65%); pointer-events: none; }
.tf-card--rec .ic-tile { background: rgba(255, 255, 255, .1); color: #a9b8ff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.tf-card--rec .tf-card__for, .tf-card--rec .tf-card__price > span { color: var(--dk-muted); }
.tf-card--rec .tf-card__price b { color: #fff; }
.tf-card--rec .tf-card__total { color: #d9dad3; }
.tf-card--rec .tf-card__total .ic, .tf-card--rec .tf-card__budget > .ic, .tf-card--rec .tf-list .ic { color: #8fa8ff; }
.tf-card--rec .tf-card__budget { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tf-card--rec .tf-card__budget span { color: var(--dk-muted); }
.tf-card--rec .tf-card__budget b { color: #fff; }
.tf-card--rec .tf-card__feat { border-top-color: rgba(255, 255, 255, .12); }
.tf-card--rec .tf-list li { color: #d9dad3; }
.tf-card--rec .tf-list__all { color: #fff !important; }
.tf-card--rec .tf-gift { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 197, 1, .4); }
.tf-card--rec .tf-gift__cond { color: var(--yellow); }
.tf[data-pay="m"] .tf-card--rec .tf-gift { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tf[data-pay="m"] .tf-card--rec .tf-gift__cond { color: var(--dk-muted); }
.tf-card__rec { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.2; box-shadow: 0 10px 24px -10px rgba(57, 98, 255, .8); }
.tf-card__rec .ic { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.5; }
.tf-btn-light { background: #fff; color: var(--blue-d); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7); }
.tf-btn-light:hover { transform: translateY(-1px); background: var(--blue-soft); }

/* без ведения */
.tf-extra { display: flex; flex-wrap: wrap; justify-content: center; width: fit-content; max-width: 100%; margin: 40px auto 0; padding: 10px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.tf-extra li { display: flex; align-items: center; gap: 14px; padding: 4px 26px 4px 4px; }
.tf-extra li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.tf-extra .ic-tile--white { background: var(--blue-soft); box-shadow: none; }
.tf-extra li > span:last-child { display: grid; color: var(--muted); font-size: 14.5px; line-height: 1.3; }
.tf-extra b { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.tf-extra .ic-tile { width: 46px; height: 46px; border-radius: 14px; }
.tf-extra .ic-tile .ic { width: 22px; height: 22px; }

/* сайт под рекламу */
.tf-site {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: clamp(22px, 2.8vw, 36px);
  overflow: hidden;
  background: radial-gradient(70% 90% at 100% 50%, var(--blue-soft) 0%, transparent 70%), var(--surface);
}
.tf-site__copy { display: grid; justify-items: start; gap: 16px; }
.tf-site__badge { gap: 6px; }
.tf-site__badge .ic { width: 15px; height: 15px; stroke-width: 2; }
.tf-site__title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.tf-site__text { max-width: 46ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.tf-site__gifts { display: grid; gap: 10px; width: 100%; }
.tf-site__gifts li { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--bg); }
.tf-site__gifts li > span:last-child { display: grid; color: var(--muted); font-size: 14.5px; line-height: 1.3; }
.tf-site__gifts b { color: var(--ink); font-size: 16px; font-weight: 700; }
.tf-site__gifts .ic-tile { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.tf-site__ill { overflow: hidden; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.tf-site__ill img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* матрица «Что входит» */
.tf-mx { margin-top: clamp(28px, 3.4vw, 44px); padding: clamp(22px, 2.8vw, 36px); }
.tf-mx__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.tf-mx__title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.tf-mx__legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.tf-mx__legend .tf-n { margin-left: 14px; }
.tf-mx__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tf-mx__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15.5px; line-height: 1.35; }
.tf-mx__table th, .tf-mx__table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tf-mx__table thead th { position: relative; padding-block: 0 16px; border-bottom: 0; font-weight: 400; vertical-align: bottom; }
.tf-mx__table thead th b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.tf-mx__table thead th small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.tf-mx__table .tf-mx__corner { width: 42%; text-align: left; color: var(--muted); font-size: 14px; font-weight: 600; vertical-align: bottom; }
.tf-mx__table thead th.is-rec { padding-top: 16px; border-radius: 18px 18px 0 0; background: var(--tf-navy); color: #fff; }
.tf-mx__table thead th.is-rec small { color: #b9c6f0; }
.tf-mx__table td.is-rec { background: color-mix(in srgb, var(--blue-soft) 70%, var(--surface)); border-bottom-color: var(--blue-soft-2); }
.tf-mx__table tbody tr:last-child td.is-rec { border-radius: 0 0 18px 18px; }
.tf-mx__table tbody tr:last-child > * { border-bottom: 0; }
/* название строки: значок слева отдельной колонкой, перенос идёт под текст, а не под значок */
.tf-mx__table tbody th[scope="row"] { position: relative; padding-left: 47px; text-align: left; font-weight: 500; color: var(--ink-2); text-wrap: pretty; }
.tf-mx__table tbody th[scope="row"] .ic { position: absolute; left: 14px; top: 50%; width: 21px; height: 21px; margin: 0; transform: translateY(-50%); color: var(--blue); }
.tf-mx__grp th { padding: 22px 14px 10px !important; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-align: left !important; text-transform: uppercase; }
.tf-mx__grp:first-child th { padding-top: 6px !important; }
/* строка группы не разрывает подсвеченную колонку «Рост»: 42% первая колонка, по 19,333% на тариф */
.tf-mx__grp th { background: linear-gradient(90deg, transparent 61.333%, color-mix(in srgb, var(--blue-soft) 70%, var(--surface)) 61.333% 80.667%, transparent 80.667%); }
.tf-y, .tf-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.tf-y { background: var(--ok-soft); color: var(--ok); }
.tf-y .ic { width: 16px; height: 16px; stroke-width: 2.8; }
.tf-n::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--line-2); }
.tf-v { font-weight: 700; color: var(--ink); }
.tf-v--gift { display: inline-block; padding: 6px 10px; border-radius: 10px; background: var(--yellow-soft); color: var(--yellow-ink); font-size: 14px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.tf-mx__gift th[scope="row"] .ic { color: var(--yellow-d) !important; }
/* висячие слова в списках и подарках */
.tf-list li, .tf-gift__txt b { text-wrap: pretty; }
.tf-site__gifts li > span:last-child, .tf-gift__cond { text-wrap: balance; }
.tf-mx__more { display: none; }

/* ===== адаптив ===== */
@media (max-width: 1180px) {
  .tf-grid { gap: 16px; }
  .tf-card { gap: 20px; }
  .tf-list li { font-size: 15px; }
  .tf-gift { gap: 12px; }
  .tf-gift__thumb { width: 58px; height: 80px; }
  .tf-card__price b { font-size: clamp(2rem, 1.2rem + 1.4vw, 2.4rem); }
  .tf-card__price > span { font-size: 14.5px; }
  .tf-card__total { font-size: 14px; }
}
@media (max-width: 1100px) {
  .tf-card__rec { top: 14px; right: 14px; }
}
/* до 1279: подпись подарка «Подарок при оплате квартала» над миниатюрой в одну строку, рядом с миниатюрой ей тесно и «квартала» оставалось одно */
@media (max-width: 1279px) {
  .tf-gift { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .tf-gift__txt { display: contents; }
  .tf-gift__cond { grid-column: 1 / -1; grid-row: 1; }
  .tf-gift__thumb, .tf-gift__txt b { grid-row: 2; }
}
@media (max-width: 990px) and (min-width: 961px) {
  .tf-gift { padding-inline: 10px; }
}
/* 961–1259: подпись «для кого» у части карточек в 2 строки — держим высоту двух строк у всех, чтобы цены стояли на одной линии */
@media (max-width: 1259px) and (min-width: 961px) {
  .tf-card__for { min-height: 2.6em; }
  .tf-card__head { align-items: flex-start; }
}

/* планшет: карточки в столбик, внутри две колонки */
@media (max-width: 960px) {
  .tf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tf-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; gap: 20px 32px; }
  .tf-card__top { grid-column: 1; grid-row: 1; }
  .tf-card__btn { grid-column: 1; grid-row: 2; align-self: end; }
  .tf-card__feat { grid-column: 2; grid-row: 1 / 3; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); }
  .tf-card--rec { margin-block: 0; padding-block: clamp(22px, 2.4vw, 32px); }
  .tf-card--rec .tf-card__feat { border-left-color: rgba(255, 255, 255, .12); }
  .tf-card--rec .tf-card__head { flex-wrap: wrap; row-gap: 14px; margin-top: 0; }
  .tf-card__rec { position: static; order: -1; margin-right: 100%; white-space: nowrap; }
  .tf-site { grid-template-columns: minmax(0, 1fr); }
  .tf-site__ill { order: -1; }
  .tf-mx__table .tf-mx__corner { width: 40%; }
  .tf-mx__grp th { background: linear-gradient(90deg, transparent 60%, color-mix(in srgb, var(--blue-soft) 70%, var(--surface)) 60% 80%, transparent 80%); }
  .tf-mx__table td { padding-inline: 6px; }
  /* без overflow-wrap: anywhere — он резал «мультилендинг» и «продающий» посреди слова; перенос только по мягкому дефису */
  .tf-v--gift { padding: 5px 6px; font-size: 13px; hyphens: manual; }
  .tf-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tf-extra li { padding-right: 12px; }
}

/* телефон */
@media (max-width: 680px) {
  .tf-head { display: grid; }
  .tf-seg { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; }
  .tf-seg__btn { justify-content: center; min-height: 48px; padding: 0 14px; font-size: 15px; }
  .tf-seg__btn[data-pay="q"] { flex-direction: column; gap: 2px; padding-block: 6px; }
  .tf-seg__gift { padding: 0; background: none !important; font-size: 12.5px; }
  .tf-seg__btn:not([aria-pressed="true"]) .tf-seg__gift { color: var(--yellow-ink); }
  .tf-card { display: flex; gap: 18px; }
  .tf-card__feat { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tf-card--rec .tf-card__feat { border-top-color: rgba(255, 255, 255, .12); }
  .tf-card__head .ic-tile { width: 44px; height: 44px; }
  .tf-extra { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; padding: 6px 14px; }
  .tf-extra li { padding: 10px 0; }
  .tf-extra li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tf-site__text { font-size: 16px; }

  /* матрица: название строки сверху, три тарифа под ним */
  .tf-mx { padding: 18px 14px; }
  .tf-mx__head { padding-inline: 4px; margin-bottom: 14px; }
  .tf-mx__legend { font-size: 13px; }
  .tf-mx__scroll { overflow: visible; }
  .tf-mx__table, .tf-mx__table thead, .tf-mx__table tbody { display: block; }
  .tf-mx__table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-mx__table thead tr { position: relative; }
  .tf-mx__table .tf-mx__corner { display: none; }
  .tf-mx__table thead th { padding: 12px 6px; }
  .tf-mx__table thead th:not(.is-rec) { background: var(--bg); }
  .tf-mx__table thead th:nth-child(2) { border-radius: 14px 0 0 14px; }
  .tf-mx__table thead th:nth-child(4) { border-radius: 0 14px 14px 0; }
  .tf-mx__table thead th.is-rec { padding-top: 12px; border-radius: 0; }
  .tf-mx__table thead th b { font-size: 15.5px; }
  .tf-mx__table thead th small { font-size: 12px; }
  .tf-mx__table tbody th[scope="row"] { grid-column: 1 / -1; padding: 14px 4px 8px; border-bottom: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .tf-mx__table tbody th[scope="row"] { padding-left: 31px; }
  .tf-mx__table tbody th[scope="row"] .ic { left: 4px; top: 14px; width: 19px; height: 19px; transform: none; }
  .tf-mx__table td { display: grid; place-items: center; padding: 8px 4px 12px; font-size: 13.5px; }
  .tf-mx__table td.is-rec { border-radius: 0 !important; }
  .tf-mx__grp { display: block !important; }
  .tf-mx__grp th { display: block; padding: 24px 4px 4px !important; font-size: 12px; background: none; }
  .tf-mx__grp:first-child th { padding-top: 20px !important; }
  .tf-mx[data-collapsed] .tf-mx__table tbody tr:nth-child(n+8) { display: none !important; }
  .tf-mx[data-collapsed] .tf-mx__more { display: flex; }
  .tf-mx__more { align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 14px; padding: 0 16px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); font-size: 15px; font-weight: 600; line-height: 1.2; }
  .tf-mx__more .ic { width: 18px; height: 18px; stroke-width: 2.2; }
  .tf-mx__table tbody tr:last-child td.is-rec { border-radius: 0 0 14px 14px !important; }
  .tf-v--gift { padding: 5px 7px; font-size: 12.5px; }
}
@media (max-width: 400px) {
  .tf-seg__btn { padding: 0 10px; font-size: 14.5px; }
  .tf-card__price b { font-size: 2.15rem; }
}
/* узкий телефон: плашки подарка в матрице не шире своей колонки — без переносов посреди слова и без выхода за ячейку */
@media (max-width: 400px) {
  .tf-mx__gift td { padding-inline: 2px; }
  .tf-v--gift { padding-inline: 6px; font-size: 12px; }
}
/* ≤360: «под несколько» снова переносится, иначе плашка шире колонки «Максимум» */
@media (max-width: 360px) {
  .tf-v--gift .tf-nw { white-space: normal; }
}
@media (max-width: 340px) {
  .tf-mx__gift td { padding-inline: 0; }
  .tf-v--gift { padding-inline: 5px; }
}

/* ===== 15-compare ===== */
/* ===== 15 Сравнение: eLama · фрилансер · агентство · со мной ===== */
.cm-pick { display: none; }
.cm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: clamp(14px, 1.8vw, 24px); }
.cm-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; line-height: 1.4; }
.cm-table th, .cm-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cm-table .cm-corner { width: 16%; border-bottom: 0; }
.cm-table thead th { width: 19.25%; padding-block: 18px 20px; border-bottom: 0; vertical-align: bottom; font-weight: 400; }
.cm-table thead th.is-me { width: 26.5%; }

/* шапки вариантов */
.cm-var { display: grid; justify-items: start; gap: 10px; }
.cm-var b { font-size: 16.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.cm-var small { margin-top: -6px; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.cm-var__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.cm-var__ic .ic { width: 22px; height: 22px; }
.cm-var__ava { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }

/* колонка «Со мной» */
.cm-table thead th.is-me { border-radius: 22px 22px 0 0; background: var(--grad-btn); color: #fff; box-shadow: 0 -18px 40px -24px rgba(57, 98, 255, .8); }
.cm-table thead th.is-me b { font-size: 19px; font-weight: 800; }
.cm-table thead th.is-me small { color: rgba(255, 255, 255, .78); }
.cm-table td.is-me { background: color-mix(in srgb, var(--blue-soft) 75%, var(--surface)); border-bottom-color: var(--blue-soft-2); color: var(--ink); font-weight: 600; }
.cm-table tbody tr:last-child td.is-me { border-radius: 0 0 22px 22px; }
.cm-table tbody tr:last-child > * { border-bottom: 0; }

/* названия строк */
.cm-table tbody th[scope="row"] { color: var(--ink); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.cm-rl { display: grid; grid-template-columns: 21px minmax(0, 1fr); align-items: center; gap: 10px; }
.cm-table tbody th[scope="row"] .ic { width: 21px; height: 21px; color: var(--blue); }
.cm-table td { color: var(--ink-2); }

/* ячейка: метка + текст */
.cm-c { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.cm-nw { white-space: nowrap; }
/* текст ячейки ровными строками, без одиночного слова в конце */
.cm-c > span:last-child { text-wrap: balance; }
.cm-mk { display: grid; place-items: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; }
.cm-mk .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.cm-mk--y { background: var(--ok-soft); color: var(--ok); }
.cm-mk--w { background: var(--warn-soft); color: var(--warn); }
.cm-mk--w .ic { width: 13px; height: 13px; stroke-width: 2.4; margin-top: -1px; }
.cm-mk--x { background: var(--crit-soft); color: var(--crit); }
.cm-mk--n::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.cm-mk--me { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 14px -6px rgba(57, 98, 255, .8); }

/* цена */
.cm-row-price th, .cm-row-price td { padding-block: 20px; }
.cm-price { display: block; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.cm-row-price td.is-me .cm-price { color: var(--blue); font-size: 19px; }

.cm-note { display: flex; gap: 10px; max-width: 920px; margin-top: 22px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cm-note .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }

/* ===== планшет и телефон: выбранный вариант против «Со мной» (таблице нужно 866 px — с 981 места хватает) ===== */
@media (max-width: 980px) {
  .cm-pick { display: grid; gap: 10px; margin-bottom: 16px; }
  .cm-pick__label { color: var(--muted); font-size: 14.5px; font-weight: 600; }
  .cm-pick__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
  .cm-pick__btn { min-height: 44px; padding: 0 8px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.15; transition: background-color .25s var(--ease), color .25s; }
  .cm-pick__btn[aria-pressed="true"] { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(57, 98, 255, .9); }

  .cm-scroll { overflow: visible; padding: 14px; }
  .cm-table { min-width: 0; }
  .cm-table, .cm-table thead, .cm-table tbody { display: block; }
  .cm-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .cm-table th, .cm-table td { display: none; border-bottom: 0; }
  .cm-table .is-me,
  .cm-box[data-show="1"] .cm-table tr > :nth-child(2),
  .cm-box[data-show="2"] .cm-table tr > :nth-child(3),
  .cm-box[data-show="3"] .cm-table tr > :nth-child(4) { display: block; }
  .cm-table tbody th[scope="row"] { display: block; grid-column: 1 / -1; padding: 16px 4px 8px; font-size: 15px; }
  .cm-table tbody tr:first-child th[scope="row"] { padding-top: 12px; }
  .cm-table thead th { width: auto !important; padding: 14px; border-radius: 18px; background: var(--bg); }
  .cm-table thead th.is-me { border-radius: 18px; box-shadow: none; }
  .cm-var { gap: 8px; }
  .cm-var b { font-size: 15px; }
  .cm-table thead th.is-me b { font-size: 16px; }
  .cm-var small { font-size: 12.5px; }
  .cm-var__ic, .cm-var__ava { width: 38px; height: 38px; border-radius: 12px; }
  .cm-var__ava { border-radius: 50%; }
  .cm-table td { padding: 12px; border-radius: 14px; background: var(--bg); font-size: 14px; }
  .cm-table td.is-me { border-radius: 14px !important; }
  .cm-row-price th, .cm-row-price td { padding-block: 12px; }
  .cm-c { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
  .cm-mk { width: 22px; height: 22px; }
  .cm-price { font-size: 15px; }
  .cm-row-price td.is-me .cm-price { font-size: 16px; }
}
@media (max-width: 400px) {
  .cm-scroll { padding: 10px; }
  .cm-table td { padding: 10px; font-size: 13.5px; }
  .cm-c { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cm-pick__btn { font-size: 13.5px; }
}

/* колонка eLama спрятана: класс cm-box--no-elama на .cm-box */
.cm-box--no-elama .cm-table tr > :nth-child(2), .cm-box--no-elama .cm-pick__btn[data-cm="1"] { display: none !important; }
.cm-box--no-elama .cm-table thead th { width: 23%; }
.cm-box--no-elama .cm-table .cm-corner { width: 23%; }
.cm-box--no-elama .cm-table thead th.is-me { width: 31%; }
.cm:has(.cm-box--no-elama) .cm-note--elama { display: none; }
.cm-box--no-elama .cm-pick__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ===== 16-contract ===== */
/* ===== 16 Договор: макет договора, 6 пунктов, «Честно о результате» ===== */
.ct-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(20px, 3vw, 44px); align-items: center; }

/* макет договора */
.ct-doc { position: relative; isolation: isolate; padding: 50px 40px 56px 0; }
.ct-doc::before { content: ""; position: absolute; z-index: -1; top: 66px; bottom: 44px; left: 18px; right: 26px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--blue-soft) 60%, var(--surface)); box-shadow: var(--shadow); transform: rotate(3.2deg); }
.ct-paper {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.ct-paper__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ct-paper__logo { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--grad-btn); color: #fff; }
.ct-paper__logo .ic { width: 22px; height: 22px; stroke-width: 2; }
.ct-paper__title { display: grid; min-width: 0; line-height: 1.25; }
.ct-paper__title b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ct-paper__title small { color: var(--muted); font-size: 13px; }
.ct-paper__ok { margin-left: auto; gap: 4px; }
.ct-paper__ok .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.ct-bars { display: grid; gap: 9px; }
.ct-bars i { display: block; width: var(--w); height: 8px; border-radius: 99px; background: var(--bg-2); }
.ct-clauses { display: grid; gap: 8px; }
.ct-clauses li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.ct-clauses li:first-child { background: var(--blue-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 35%, transparent); }
.ct-clauses__n { color: var(--muted); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-clauses .ic { width: 20px; height: 20px; color: var(--ok); }
.ct-nw { white-space: nowrap; }
.ct-sign { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.ct-sign > span { display: grid; gap: 2px; font-size: 13px; line-height: 1.3; }
.ct-sign small { color: var(--muted); font-size: 12px; }
.ct-sign b { font-weight: 600; }
.ct-sign__pen { width: 100px; height: 34px; fill: none; stroke: var(--blue-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* плашки поверх договора */
.ct-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.ct-float > span:last-child { display: grid; line-height: 1.25; }
.ct-float small { color: var(--muted); font-size: 12.5px; }
.ct-float b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ct-float__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.ct-float__ic.is-ok { background: var(--ok-soft); color: var(--ok); }
.ct-float__ic .ic { width: 21px; height: 21px; }
.ct-float--a { top: 0; right: 0; }
.ct-float--b { left: 0; bottom: 0; } /* по линии края контента и шапки, не левее */

/* 6 пунктов */
.ct-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-card { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.ct-card .ic-tile { margin-bottom: 6px; }
.ct-card__t { font-size: 18px; font-weight: 700; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.ct-card__d { color: var(--muted); font-size: 15px; line-height: 1.45; text-wrap: pretty; }

/* честно о результате */
.ct-honest {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, color-mix(in srgb, var(--blue) 40%, var(--dk)) 0%, color-mix(in srgb, var(--blue) 14%, var(--dk)) 70%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(42, 79, 232, .6), inset 0 0 0 1px rgba(124, 146, 255, .22);
}
.ct-honest::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(57, 98, 255, .35) 0%, transparent 65%); pointer-events: none; }
.ct-honest__copy { display: flex; align-items: flex-start; gap: 20px; }
.ct-honest__ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 17px; background: rgba(255, 255, 255, .1); color: #a9b8ff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.ct-honest__ic .ic { width: 28px; height: 28px; }
.ct-honest__t { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.ct-honest__d { margin-top: 10px; max-width: 60ch; color: #d9dad3; font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.ct-steps { position: relative; display: grid; gap: 10px; }
.ct-steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, rgba(143, 168, 255, .5), rgba(255, 197, 1, .6)); }
.ct-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ct-steps li > span:last-child { display: grid; line-height: 1.3; }
.ct-steps small { color: var(--dk-muted); font-size: 12.5px; }
.ct-steps b { font-size: 15px; font-weight: 700; }
.ct-steps__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--blue) 60%, var(--dk)); color: #fff; }
.ct-steps li:last-child .ct-steps__ic { background: var(--ok); }
.ct-steps__ic .ic { width: 20px; height: 20px; }

/* ===== адаптив ===== */
@media (max-width: 1180px) {
  .ct-doc { padding-right: 24px; }
  .ct-card__t { font-size: 17px; }
}
/* договор над карточками раньше: в три узкие колонки карточки на 1024 растягиваются на 7 строк */
@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-doc { width: min(100%, 560px); margin-inline: auto; padding: 50px 36px 56px 10px; }
  /* договор по центру с отступом слева: лёгкий выступ плашки остаётся внутри контента */
  .ct-float--b { left: -8px; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .ct-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ct-honest { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .ct-doc { padding: 44px 8px 48px 4px; }
  .ct-doc::before { top: 58px; bottom: 40px; left: 16px; right: 4px; transform: rotate(2.4deg); }
  .ct-paper { padding: 18px; gap: 14px; }
  .ct-paper__head { gap: 10px; padding-bottom: 12px; }
  .ct-paper__logo { width: 38px; height: 38px; }
  .ct-paper__title b { font-size: 14.5px; }
  .ct-paper__ok { display: none; }
  .ct-bars--short { display: none; }
  .ct-clauses li { gap: 10px; padding: 10px; font-size: 13px; }
  .ct-sign__pen { width: 84px; height: 28px; }
  .ct-float { padding: 9px 14px 9px 9px; gap: 10px; border-radius: 15px; }
  .ct-float__ic { width: 34px; height: 34px; border-radius: 10px; }
  .ct-float b { font-size: 14.5px; }
  .ct-float small { font-size: 11.5px; }
  .ct-float--a { top: 0; right: 0; }
  .ct-float--b { left: 0; bottom: 0; }
  .ct-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ct-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
  .ct-card .ic-tile { grid-row: 1 / 3; margin: 0; }
  .ct-card__t { font-size: 16.5px; }
  .ct-card__d { font-size: 14.5px; }
  .ct-honest { padding: 22px 18px; }
  .ct-honest__copy { display: grid; gap: 14px; }
  .ct-honest__ic { width: 48px; height: 48px; border-radius: 15px; }
  .ct-honest__d { font-size: 15.5px; }
}
@media (max-width: 960px) and (min-width: 681px) {
  .ct-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-steps::before { display: none; }
  .ct-steps li { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* ===== 17-about ===== */
/* ===== Обо мне: тёмный блок основателя в духе DREVA — фото слева, текст и цифры справа ===== */
.ab { background: radial-gradient(110% 80% at 15% 0%, color-mix(in srgb, var(--blue) 22%, var(--dk)) 0%, var(--dk) 60%); }
.ab__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: none;
  -webkit-mask-image: radial-gradient(60% 70% at 25% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 25% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.ab__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }

/* фото */
.ab-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--dk-2);
  box-shadow: inset 0 0 0 1px var(--dk-line), 0 50px 100px -50px rgba(57, 98, 255, .55);
  isolation: isolate;
}
.ab-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; filter: contrast(1.05) brightness(.92); }
.ab-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 18, 41, .94) 0%, rgba(10, 18, 41, .55) 30%, transparent 58%),
    radial-gradient(70% 55% at 85% 10%, rgba(57, 98, 255, .45), transparent 70%),
    linear-gradient(160deg, rgba(57, 98, 255, .12), rgba(10, 18, 41, .1));
  mix-blend-mode: normal;
}
.ab-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.ab-photo__since {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(17, 27, 56, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.ab-photo__since .ic { width: 18px; height: 18px; color: #9fb0ff; }
.ab-photo__quote {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: rgba(17, 27, 56, .5);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.ab-photo__mark { font-size: 44px; font-weight: 800; line-height: .6; height: 22px; color: var(--yellow); }
.ab-photo__quote p { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
.ab-photo__sign { color: var(--dk-muted); font-size: 14px; }

/* текст */
.ab-copy { display: grid; align-content: center; gap: 26px; min-width: 0; }
.ab-head { margin-bottom: 0; }
.ab-head .h2 { max-width: 17ch; }
.ab-name { display: grid; gap: 4px; }
.ab-name b { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ab-name b .ic { width: 24px; height: 24px; color: var(--sky); }
.ab-name span { color: var(--dk-muted); font-size: 15.5px; }
.ab-text { display: grid; gap: 14px; max-width: 60ch; color: var(--ink-2); line-height: 1.6; }
.ab-text p { text-wrap: pretty; }
.ab-nw { white-space: nowrap; }
.ab-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ab-stats .stat-card { padding: 20px 20px 18px; }
.ab-stats b { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.85rem); white-space: nowrap; font-variant-numeric: proportional-nums; }
.ab-link { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.ab-link:hover { text-decoration-color: #fff; }
.ab-tools { display: grid; gap: 10px; }
.ab-tools .note { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; }
.ab-tools .chip .ab-ya { color: inherit; }
.ab-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 4px; }
.ab-tel { display: inline-flex; align-items: center; gap: 14px; border-radius: 18px; }
.ab-tel .ic-tile { transition: background-color .2s; }
.ab-tel:hover .ic-tile { background: rgba(57, 98, 255, .3); }
.ab-tel__txt { display: grid; gap: 2px; line-height: 1.2; }
.ab-tel__txt small { color: var(--dk-muted); font-size: 13.5px; }
.ab-tel__txt b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }

/* ===== адаптив ===== */
@media (max-width: 1180px) {
  .ab__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .ab-stats b { font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); }
}
@media (max-width: 1024px) {
  .ab-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ab-stats li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* одна колонка: заголовок → фото → имя, текст, цифры */
  .ab__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ab-copy { display: contents; }
  .ab-head { order: -2; }
  .ab-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .ab-photo__img { object-position: 70% 35%; }
  .ab-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-stats li:first-child { grid-column: auto; }
}
@media (max-width: 760px) {
  .ab__grid { gap: 22px; }
  .ab-photo { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .ab-photo__img { object-position: 76% 30%; }
  .ab-photo__since { left: 14px; top: 14px; font-size: 13px; padding: 8px 12px; }
  .ab-photo__quote { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .ab-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ab-stats li:first-child { grid-column: 1 / -1; }
  .ab-stats .stat-card { padding: 16px; }
  .ab-ctas { display: grid; gap: 14px; }
  .ab-ctas .btn { width: 100%; }
  .ab-tel { justify-self: start; }
}
/* узкий телефон: фото выше — лицо целиком над цитатой, а не под ней */
@media (max-width: 420px) {
  .ab-photo { aspect-ratio: 4 / 5; }
}

/* ===== 18-reviews ===== */
/* ===== Видеоотзывы: две крупные карточки, три поменьше, текстовый отзыв ===== */
.rv-head > div { flex: 1 1 560px; }
.rv-lead { flex: 0 1 400px; margin-top: 0; max-width: 40ch; }
.rv-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.rv-card { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rv-card--big { grid-column: span 3; }
.rv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.rv-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dk-2); }
.rv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rv-card:hover .rv-media img { transform: scale(1.03); }
.rv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 41, .45), transparent 45%); pointer-events: none; }
.rv-play {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--blue);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .18), 0 18px 34px -14px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rv-play .ic { width: 26px; height: 26px; margin-left: 3px; }
.rv-card:hover .rv-play { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255, 255, 255, .22), 0 18px 34px -14px rgba(0, 0, 0, .6); }
.rv-yt {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(10, 18, 41, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.rv-yt .ic { width: 15px; height: 15px; }
.rv-card:not(.rv-card--big) .rv-play { width: 52px; height: 52px; left: 16px; bottom: 14px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), 0 14px 28px -12px rgba(0, 0, 0, .6); }
.rv-card:not(.rv-card--big) .rv-play .ic { width: 22px; height: 22px; }

.rv-body { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 16px; padding: 22px 24px 24px; }
.rv-card--big .rv-body { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 12px 20px; padding: 24px 28px 26px; }
.rv-name { font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.rv-card--big .rv-name { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.rv-role { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.rv-res { justify-self: start; gap: 6px; padding: 8px 12px; border-radius: 11px; font-size: 14px; }
.rv-card--big .rv-res { font-size: 15px; padding: 10px 14px; }
.rv-res .ic { width: 16px; height: 16px; stroke-width: 2.2; }

/* текстовый отзыв */
.rv-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 20px; padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.rv-quote::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 98, 255, .12), transparent 70%); pointer-events: none; }
.rv-quote__main { position: relative; display: grid; gap: 20px; }
.rv-quote__mark { display: block; height: 40px; font-size: 96px; font-weight: 800; line-height: .9; color: var(--blue); opacity: .9; }
.rv-quote__text { margin: 0; }
.rv-nw { white-space: nowrap; }
.rv-quote__text p { font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); font-weight: 600; line-height: 1.4; letter-spacing: -.015em; text-wrap: pretty; }
.rv-quote__who { display: flex; align-items: center; gap: 12px 14px; }
.rv-quote__who > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.rv-quote__who b { font-size: 16px; }
.rv-quote__who small { color: var(--muted); font-size: 14px; }
.rv-quote__ava { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--grad-btn); color: #fff; font-size: 15px; font-weight: 700; }
.rv-quote__src { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--blue); font-size: 14.5px; font-weight: 600; }
.rv-quote__src .ic { width: 16px; height: 16px; }
.rv-quote__src:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-quote__kpi { position: relative; display: grid; gap: 12px; }
.rv-quote__kpi li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg); }
.rv-quote__kpi li > span:last-child { display: grid; gap: 2px; color: var(--muted); font-size: 14px; line-height: 1.3; text-wrap: balance; }
.rv-quote__kpi b { color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* ===== адаптив ===== */
/* кнопка воспроизведения меньше, чтобы не закрывать имя, впечатанное в превью */
@media (max-width: 1180px) {
  .rv-card:not(.rv-card--big) .rv-play { width: 40px; height: 40px; left: 12px; bottom: 10px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 10px 22px -10px rgba(0, 0, 0, .6); }
  .rv-card:not(.rv-card--big) .rv-play .ic { width: 18px; height: 18px; margin-left: 2px; }
}
@media (max-width: 1024px) {
  .rv-card--big .rv-play { width: 44px; height: 44px; left: 14px; bottom: 12px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), 0 12px 24px -10px rgba(0, 0, 0, .6); }
  .rv-card--big .rv-play .ic { width: 20px; height: 20px; }
  .rv-grid { gap: 16px; }
  .rv-card--big .rv-body { grid-template-columns: minmax(0, 1fr); padding: 22px 24px 24px; }
  .rv-body { padding: 18px 18px 20px; }
  .rv-quote { grid-template-columns: minmax(0, 1fr); }
  .rv-quote__kpi { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-card, .rv-card--big { grid-column: auto; }
  .rv-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .rv-card:last-child .rv-media { flex: 0 0 56%; }
  .rv-card:last-child .rv-body { grid-template-rows: auto auto; align-content: center; }
}
@media (max-width: 760px) {
  /* на телефоне — лента с прокруткой пальцем */
  .rv-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    /* снизу запас под тень карточек (иначе она обрезается ровной линией); отрицательный margin возвращает прежний зазор до цитаты */
    padding: 4px var(--gutter) 56px;
    margin-bottom: -32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .rv-grid::-webkit-scrollbar { display: none; }
  .rv-card, .rv-card--big, .rv-card:last-child { flex: 0 0 84%; flex-direction: column; scroll-snap-align: start; }
  .rv-card:last-child .rv-media { flex: none; }
  .rv-card:last-child .rv-body { grid-template-rows: 1fr auto; align-content: normal; }
  .rv-card .rv-play, .rv-card:not(.rv-card--big) .rv-play { width: 40px; height: 40px; left: 12px; bottom: 8px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 10px 22px -10px rgba(0, 0, 0, .6); }
  .rv-yt { right: 10px; bottom: 10px; }
  .rv-quote__ava { width: 40px; height: 40px; font-size: 14px; }
  .rv-card:hover { transform: none; }
  .rv-name, .rv-card--big .rv-name { font-size: 17px; }
  .rv-role { font-size: 14px; }
  .rv-quote { margin-top: 4px; }
  .rv-quote__mark { height: 30px; font-size: 72px; }
  .rv-quote__kpi { grid-template-columns: minmax(0, 1fr); }
  .rv-quote__src { margin-left: 0; width: 100%; }
}

/* ===== 19-bonus ===== */
/* ===== Деньги от Яндекса: белая карточка, монета справа — картинка на чисто белом фоне целиком, без вырезания ===== */
.bn-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.bn-copy { display: grid; justify-items: start; gap: 22px; min-width: 0; }
.bn-title { display: grid; gap: 10px; }
.bn-title { gap: 14px; }
.bn-title__sum { display: flex; align-items: baseline; gap: .18em; font-size: clamp(3rem, 1.6rem + 5.4vw, 6.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; white-space: nowrap; }
.bn-title__pre { font-size: .42em; letter-spacing: -.02em; color: var(--ink-2); }
.bn-title__sub { font-size: clamp(1.2rem, 1rem + .7vw, 1.65rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.bn-lead { margin-top: -8px; color: var(--muted); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); text-wrap: pretty; }

.bn-progs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; width: 100%; }
.bn-prog { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.bn-prog__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.bn-code {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: none;
  color: var(--ink);
  font: 700 13.5px/1.1 var(--font);
}
.bn-prog__sum { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.bn-prog__what { color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.4; }
.bn-prog__terms { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.bn-prog__terms li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.bn-prog__terms .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--yellow-ink); }

.bn-terms { display: grid; gap: 10px; width: 100%; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg); }
.bn-terms__h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-wrap: balance; }
.bn-terms__h .ic { width: 19px; height: 19px; color: var(--warn); }
.bn-terms__list { display: grid; gap: 6px; }
.bn-terms__list li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.bn-terms__list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-d); }

/* визуал: монета и всплывающие карточки */
.bn-visual { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 360px; }
.bn-visual__glow { display: none; }
.bn-coin { position: relative; width: min(78%, 340px); height: auto; }
.bn-pop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.bn-pop .ic-tile { width: 44px; height: 44px; border-radius: 13px; }
.bn-pop .ic-tile .ic { width: 22px; height: 22px; }
.bn-pop__txt { display: grid; line-height: 1.2; }
.bn-pop__txt small { color: var(--muted); font-size: 12.5px; }
.bn-pop__txt b { color: var(--ok); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.bn-pop__txt em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.bn-pop--1 { left: -6%; bottom: 16%; }
.bn-pop--2 { right: -2%; top: 12%; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; }
.bn-pop--2 .ic { width: 22px; height: 22px; }
.bn-visual__note { position: absolute; right: 4px; bottom: 0; }

/* ===== адаптив ===== */
@media (max-width: 1180px) {
  .bn-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
  .bn-pop--1 { left: 0; }
  .bn-pop--2 { right: -6%; }
}
@media (max-width: 1024px) {
  .bn-card { grid-template-columns: minmax(0, 1fr); }
  .bn-visual { order: -1; min-height: 0; height: 300px; }
  .bn-coin { width: 230px; }
  .bn-pop--1 { left: 0; bottom: 6%; }
  .bn-pop--2 { right: 0; top: 6%; }
}
@media (max-width: 760px) {
  .bn-card { padding: 22px 18px 24px; border-radius: var(--r-lg); }
  .bn-visual { height: 250px; place-items: start center; }
  .bn-coin { width: 140px; }
  .bn-pop--1 { left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; padding: 10px 14px 10px 10px; }
  .bn-pop .ic-tile { width: 38px; height: 38px; }
  .bn-pop__txt b { font-size: 18px; }
  .bn-pop--2 { display: none; }
  /* подпись «Пример» в правый верхний угол (он свободен без второй карточки), а не вплотную к карточке-примеру */
  .bn-visual__note { top: 0; right: 0; bottom: auto; }
  .bn-title__sum { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .bn-progs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bn-prog { padding: 18px; }
  .bn-terms { padding: 16px; }
  .bn-cta { width: 100%; }
}
/* 320–359: «Узнать, подходит ли мне» в одну строку */
@media (max-width: 359px) {
  .bn-cta { padding-inline: 14px; gap: 8px; }
}

/* ===== 20-more ===== */
/* ===== Что ещё сделаю: сетка карточек с картинками и макетами ===== */
.mr-head > div { flex: 1 1 560px; }
.mr-lead { flex: 0 1 420px; margin-top: 0; max-width: 44ch; }
.mr-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.mr-card { grid-column: span 2; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.4vw, 30px); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.mr-card--wide { grid-column: span 3; }
.mr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mr-link { display: grid; gap: 12px; }
.mr-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.mr-link:focus-visible { outline: 0; }
.mr-link:focus-visible::after { outline: 2.5px solid var(--blue); outline-offset: -2px; }
.mr-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mr-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.mr-arrow .ic { width: 20px; height: 20px; }
.mr-card:hover .mr-arrow { background: var(--blue); color: #fff; transform: rotate(45deg); }
/* заголовок карточки без искусственного ограничения ширины: «Комплексное продвижение» в одну строку, где помещается, — описания в ряду на одной высоте */
.mr-t { max-width: none; }
.mr-d { max-width: 44ch; color: var(--muted); font-size: 16px; line-height: 1.5; text-wrap: balance; }
.mr-nw { white-space: nowrap; }
.mr-tags { gap: 6px; margin-top: 4px; }

/* картинки в широких карточках */
.mr-pic { position: relative; margin: auto calc(clamp(22px, 2.4vw, 30px) * -1) calc(clamp(22px, 2.4vw, 30px) * -1); height: 280px; overflow: hidden; }
.mr-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mr-card:hover .mr-pic img { transform: scale(1.03); }
.mr-pic--an, .mr-pic--site { background: #f2f2ef; }
.mr-pic--an img, .mr-pic--site img { object-position: 50% 50%; }
/* широкие карточки: картинка 16:9 целиком по ширине — плашка с графиком и телефон не обрезаются */
.mr-card--wide .mr-pic { height: auto; aspect-ratio: 16 / 9; }
.mr-pic--site img { object-position: 50% 55%; }
.mr-pic figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .9); color: var(--ink-2); }

/* макеты в небольших карточках */
.mr-mock { margin-top: auto; border-radius: var(--r-md); background: var(--bg); }
.mr-plan { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.mr-plan__node { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; line-height: 1.2; }
.mr-plan__node .ic { width: 18px; height: 18px; color: var(--blue); }
.mr-plan__hub { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 12px; background: var(--grad-btn); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-btn); }
.mr-plan__hub .ic { width: 18px; height: 18px; }

.mr-pos { display: grid; gap: 6px; padding: 14px; }
.mr-pos__h { display: flex; justify-content: space-between; padding: 0 4px 2px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.mr-pos__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 11px; background: var(--surface); font-size: 14px; line-height: 1.25; color: var(--ink-2); }
.mr-pos__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-pos__row .badge { gap: 3px; min-width: 44px; justify-content: center; }
.mr-pos__row .badge .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.mr-pos__note { justify-self: end; padding-right: 4px; color: var(--muted); font-size: 12px; }

.mr-vid { display: grid; gap: 10px; padding: 14px; }
.mr-vid__frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 112px;
  border-radius: 12px;
  background:
    radial-gradient(60% 90% at 80% 20%, rgba(57, 98, 255, .65), transparent 70%),
    radial-gradient(50% 80% at 10% 100%, rgba(255, 197, 1, .16), transparent 70%),
    var(--dk);
}
.mr-vid__badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; }
.mr-vid__badge .ic { width: 14px; height: 14px; }
.mr-vid__play { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue); box-shadow: 0 0 0 7px rgba(255, 255, 255, .14); }
.mr-vid__play .ic { width: 20px; height: 20px; margin-left: 2px; }
.mr-vid__bar { height: 5px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.mr-vid__bar i { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--grad); }
.mr-vid__fmt { display: flex; gap: 6px; }
.mr-vid__fmt span { padding: 4px 9px; border-radius: 8px; background: var(--surface); color: var(--ink-2); font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

/* ===== адаптив ===== */
@media (max-width: 1024px) {
  .mr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mr-card, .mr-card--wide { grid-column: auto; }
  .mr-card--video { grid-column: 1 / -1; }
  .mr-card--video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .mr-card--video .mr-mock { margin-top: 0; }
  .mr-pic { height: 240px; }
}
@media (max-width: 760px) {
  .mr-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mr-card { gap: 18px; padding: 20px; }
  .mr-card--video { display: flex; align-items: stretch; }
  .mr-card--video .mr-mock { margin-top: auto; }
  .mr-pic { height: 210px; margin: auto -20px -20px; }
  .mr-card:hover { transform: none; }
}
/* небольшие карточки: строки сетки общие (subgrid) — макеты в ряду начинаются на одной высоте и одной высоты */
@media (min-width: 1025px) {
  .mr-card:not(.mr-card--wide) { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 22px; }
  .mr-card:not(.mr-card--wide) .mr-link { align-content: start; }
  .mr-card:not(.mr-card--wide) .mr-mock { margin-top: 0; align-content: center; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .mr-card:not(.mr-card--wide):not(.mr-card--video) { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 22px; }
  .mr-card:not(.mr-card--wide):not(.mr-card--video) .mr-link { align-content: start; }
  .mr-card:not(.mr-card--wide):not(.mr-card--video) .mr-mock { margin-top: 0; align-content: center; }
  /* AI-видео во всю ширину: макет слева, текст справа, стрелка в правом верхнем углу, как у остальных */
  .mr-card--video { align-items: start; }
  .mr-card--video .mr-mock { order: -1; }
}

/* ===== 21-faq ===== */
/* ===== Вопросы: заголовок и карточка «спросите лично» слева, аккордеон справа ===== */
/* clip вместо hidden у .sec--glow: секция не становится контейнером прокрутки, и левая колонка прилипает к окну */
.sec.faq { overflow: clip; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
/* 1025–1054: левая колонка чуть шире — «Что спрашивают / перед стартом» в 2 строки, без одинокого «Что» */
@media (min-width: 1025px) and (max-width: 1054px) {
  .faq__grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
}
.faq-side { position: sticky; top: 110px; display: grid; gap: 28px; }
.faq-head { margin-bottom: 0; }
.faq-head .h2 { max-width: 100%; }

/* карточка «не нашли вопрос» с макетом переписки */
.faq-ask { display: grid; gap: 20px; }
.faq-chat { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-md); background: var(--bg); }
.faq-chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.faq-chat__msg--in { justify-self: start; border-bottom-left-radius: 6px; background: var(--surface); color: var(--ink-2); box-shadow: 0 1px 2px rgba(13, 21, 48, .06); }
.faq-chat__msg--out { justify-self: end; border-bottom-right-radius: 6px; background: var(--grad-btn); color: #fff; }
.faq-ask__who { display: flex; align-items: center; gap: 14px; }
.faq-ask__ava { position: relative; flex: none; width: 52px; height: 52px; }
.faq-ask__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.faq-ask__ava::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--surface); }
.faq-ask__who > span:last-child { display: grid; gap: 2px; line-height: 1.25; }
.faq-ask__who b { font-size: 17px; letter-spacing: -.01em; }
.faq-ask__who small { color: var(--muted); font-size: 14px; }
.faq-ask__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-ask__btns .btn { flex: 1 1 auto; }
.faq-ask__btns .btn .ic { width: 18px; height: 18px; }
.faq-ask__btns .btn:hover .ic { transform: none; }
/* вторичная кнопка на белой карточке — тональная, как в тарифах */
.faq-ask .btn--ghost { background: var(--blue-soft); color: var(--blue-d); box-shadow: none; }
.faq-ask .btn--ghost:hover { box-shadow: none; }

/* аккордеон */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); transition: box-shadow .25s var(--ease), background-color .25s; }
.faq-item[open] { background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--blue-soft) 55%, var(--surface)) 100%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 40%, transparent); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 22px 22px 26px; cursor: pointer; list-style: none; border-radius: inherit; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-q { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.faq-pm { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bg); color: var(--ink); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq-pm .ic { width: 20px; height: 20px; stroke-width: 2; }
.faq-item summary:hover .faq-pm { background: var(--blue-soft); color: var(--blue); }
.faq-item[open] .faq-pm { transform: rotate(45deg); background: var(--blue); color: #fff; box-shadow: var(--shadow-btn); }
.faq-a { padding: 0 86px 24px 26px; color: var(--ink-2); line-height: 1.6; }
.faq-a p { max-width: 60ch; }
/* без одного слова в последней строке вопроса и ответа; слова с дефисом не рвутся */
.faq-q, .faq-a p { text-wrap: pretty; }
.faq-nw { white-space: nowrap; }
.faq-item[open] .faq-a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ===== адаптив ===== */
/* невысокий ноутбук: колонка выше окна — не прилипает, стоит вровень со списком */
@media (min-width: 1025px) and (max-height: 759px) {
  .faq-side { position: static; }
}
/* 1025–1259: колонка выше (до 832 px) — не прилипает и при высоте окна до 849 */
@media (min-width: 1025px) and (max-width: 1259px) and (max-height: 849px) {
  .faq-side { position: static; }
}
@media (max-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-side { position: static; display: contents; }
  .faq-head { order: 0; }
  .faq-list { order: 1; }
  .faq-ask { order: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .faq-ask .faq-chat { grid-row: span 2; }
}
@media (max-width: 760px) {
  .faq__grid { gap: 24px; }
  .faq-ask { grid-template-columns: minmax(0, 1fr); }
  .faq-ask .faq-chat { grid-row: auto; }
  .faq-ask__btns { display: grid; }
  .faq-ask__btns .btn { width: 100%; }
  .faq-list { gap: 10px; }
  .faq-item summary { gap: 14px; padding: 18px 16px 18px 18px; }
  .faq-pm { width: 38px; height: 38px; }
  .faq-a { padding: 0 18px 20px; font-size: 15.5px; }
}

/* ===== 22-forecast ===== */
/* ===== Прогноз за 24 часа: тёмная карточка слева, белый квиз в тёмной рамке справа (как у DREVA) ===== */
.qz__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }

/* левая тёмная карточка */
.qz-side {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(26px, 3.2vw, 44px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(57, 98, 255, .55), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(255, 197, 1, .08), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--blue) 26%, var(--dk)) 0%, var(--dk) 70%);
  box-shadow: var(--shadow-lg);
}
.qz-side__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: none;
  -webkit-mask-image: radial-gradient(80% 60% at 90% 10%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 60% at 90% 10%, #000 0%, transparent 75%);
}
.qz-title { margin-top: -4px; max-width: 13ch; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.2rem); }
.qz-lead { max-width: 44ch; color: #c3cadb; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55; text-wrap: pretty; }
.qz-points { display: grid; gap: 10px; width: 100%; }
/* на десктопе пункты прижаты к низу карточки — вровень с кнопкой квиза, без пустой полосы под ними */
@media (min-width: 1025px) {
  .qz-points { margin-top: auto; }
}
.qz-points li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.qz-points li > span:last-child { display: grid; gap: 2px; color: var(--dk-muted); font-size: 14.5px; line-height: 1.35; text-wrap: balance; }
.qz-points b { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.qz-guar { display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 18px; border-radius: var(--r-md); background: linear-gradient(100deg, rgba(23, 163, 104, .16), rgba(23, 163, 104, .04)); box-shadow: inset 0 0 0 1px rgba(23, 163, 104, .3); }
.qz-side .qz-guar .ic-tile { background: rgba(23, 163, 104, .2); color: #5ee0a6; box-shadow: inset 0 0 0 1px rgba(94, 224, 166, .3); }
.qz-guar p { color: #d3dae8; font-size: 15px; line-height: 1.5; }
.qz-guar b { color: #fff; }

/* правая карточка квиза в толстой тёмной рамке */
.qz-frame { display: flex; padding: 10px; border-radius: calc(var(--r-xl) + 4px); background: var(--dk); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 21, 48, .08); }
.qz-card { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 0 clamp(20px, 3vw, 40px) clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.qz-progress { margin-inline: calc(clamp(20px, 3vw, 40px) * -1); height: 6px; border-radius: 0; }
.qz-progress i { border-radius: 0 99px 99px 0; }
.qz-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: clamp(18px, 2.2vw, 26px); }
.qz-by { display: flex; align-items: center; gap: 10px; }
.qz-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--blue-soft-2); }
.qz-by > span { display: grid; color: var(--muted); font-size: 13px; line-height: 1.3; }
.qz-by b { color: var(--ink); font-size: 14.5px; font-weight: 700; }

/* переключатель «Просто оставлю номер» */
.qz-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; font-weight: 600; cursor: pointer; user-select: none; }
.qz-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz-switch__track { position: relative; width: 44px; height: 26px; flex: none; border-radius: 99px; background: var(--line-2); transition: background-color .2s; }
.qz-switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 6px rgba(13, 21, 48, .25); transition: transform .25s var(--ease); }
.qz-switch input:checked + .qz-switch__track { background: var(--blue); }
.qz-switch input:checked + .qz-switch__track::after { transform: translateX(18px); }
.qz-switch input:focus-visible + .qz-switch__track { outline: 2.5px solid var(--blue); outline-offset: 3px; }
/* после отправки переключатель выключен — не показываем, чтобы не казался рабочим */
.qz-switch:has(input:disabled) { display: none; }

.qz-tariff { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.qz-tariff .ic { width: 20px; height: 20px; }
/* «Ответьте на 5 вопросов» не к месту над короткой формой и над «Спасибо» */
.qz-card:has(> .qz-phone:not([hidden])) .qz-tariff, .qz-card:has(> .qz-done:not([hidden])) .qz-tariff { display: none; }

/* шаги */
.qz-form { display: flex; flex-direction: column; flex: 1; }
.qz-steps { flex: 1; min-height: 500px; padding-top: 22px; }
.qz-steps--phone { min-height: 0; }
/* шаг 5 (имя и телефон) вдвое короче — без пустой полосы до навигации, как в окне */
.qz-steps:has(> .qz-step[data-step="5"]:not([hidden])) { min-height: 0; }
.qz-step { min-width: 0; margin: 0; padding: 0; border: 0; animation: qz-in .35s var(--ease); }
@keyframes qz-in { from { opacity: 0; transform: translateX(12px); } }
.qz-q { display: block; float: left; width: 100%; margin-bottom: 20px; padding: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.qz-q + * { clear: both; }
.qz-sub { margin-top: -8px; margin-bottom: 18px; color: var(--muted); }
.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qz-opt { position: relative; display: block; cursor: pointer; }
.qz-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz-opt > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 138px;
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  transition: box-shadow .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
/* кружок радио — в правом верхнем углу карточки */
.qz-opt > span::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line-2);
  background: var(--surface);
  transition: box-shadow .2s, background-color .2s;
}
.qz-opt__t { padding-right: 4px; text-wrap: balance; }
.qz-opt__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); transition: background-color .2s, color .2s; }
.qz-opt__ic .ic { width: 24px; height: 24px; }
.qz-meter { display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 13px; }
.qz-meter i { width: 5px; border-radius: 2px; background: color-mix(in srgb, var(--blue) 22%, transparent); }
.qz-meter i:nth-child(1) { height: 7px; }
.qz-meter i:nth-child(2) { height: 11px; }
.qz-meter i:nth-child(3) { height: 15px; }
.qz-meter i:nth-child(4) { height: 19px; }
.qz-meter i.on { background: var(--blue); }
.qz-opt:hover > span { box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-1px); }
.qz-opt input:checked + span { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue), 0 14px 28px -18px rgba(57, 98, 255, .7); color: var(--ink); }
.qz-opt input:checked + span::before { background: var(--blue); box-shadow: inset 0 0 0 5px var(--surface), 0 0 0 2px var(--blue); }
.qz-opt input:checked + span .qz-opt__ic { background: var(--blue); color: #fff; }
.qz-opt input:checked + span .qz-meter i { background: rgba(255, 255, 255, .35); }
.qz-opt input:checked + span .qz-meter i.on { background: #fff; }
.qz-opt input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.qz-opt--sm > span { flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 12px; }
.qz-opt--sm > span::before { display: none; }
.qz-opt--sm .ic { width: 20px; height: 20px; color: var(--blue); }
.qz-field { display: grid; gap: 8px; margin-top: 16px; }
.qz-field > span { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.qz-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.qz-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin-top: 4px; }
.qz-field .input:user-invalid { border-color: var(--crit); }

/* красный текст — тот же тон, что у .badge--crit: 5,43:1 на белом, 4,63:1 на --crit-soft */
.qz-hint { min-height: 0; color: color-mix(in srgb, var(--crit) 80%, var(--ink)); font-size: 14px; font-weight: 500; }
.qz-hint:not(:empty) { margin-top: 12px; }
.qz-nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.qz-count { margin-right: auto; color: var(--muted); font-size: 15px; font-weight: 600; }
.qz-back { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s, opacity .2s; }
.qz-back:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qz-back:disabled { opacity: .35; cursor: default; }
.qz-back .ic { width: 22px; height: 22px; }
.qz-next, .qz-send { min-height: 56px; }
.qz-consent { margin-top: 14px; max-width: 64ch; text-wrap: balance; }
.qz-err { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--crit-soft); color: color-mix(in srgb, var(--crit) 80%, var(--ink)); font-size: 14px; line-height: 1.45; }
.qz-err a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* готово */
.qz-done { flex: 1; display: grid; align-content: center; justify-items: start; gap: 14px; padding-block: 28px 8px; animation: qz-in .35s var(--ease); }
.qz-done:focus { outline: 0; }
.qz-done__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ok-soft); color: var(--ok); }
.qz-done__ic .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.qz-done__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.qz-done__text { max-width: 46ch; color: var(--ink-2); }
.qz-done__text a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.qz-done__next { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.qz-done__next li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: 15px; line-height: 1.35; text-wrap: pretty; }
.qz-done__next b { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--surface); color: var(--blue); font-size: 14px; box-shadow: var(--shadow); }

/* ===== адаптив ===== */
@media (max-width: 1024px) {
  .qz__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qz-title { max-width: 16ch; }
  .qz-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qz-points li { flex-direction: column; align-items: flex-start; gap: 12px; }
  .qz-steps { min-height: 450px; }
  .qz-opt > span { min-height: 120px; }
  /* каналы «Telegram / Позвоните мне» остаются низкими, вровень с полями */
  .qz-opt--sm > span { min-height: 56px; }
}
@media (max-width: 760px) {
  .qz-side { gap: 18px; padding: 24px 20px; border-radius: var(--r-lg); }
  .qz-points { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .qz-points li { flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px; }
  .qz-points li > span:last-child { font-size: 13.5px; }
  .qz-points b { font-size: 16px; }
  .qz-guar { padding: 16px; gap: 14px; }
  .qz-frame { padding: 6px; border-radius: calc(var(--r-lg) + 6px); }
  .qz-card { padding: 0 16px 18px; border-radius: var(--r-lg); }
  .qz-progress { margin-inline: -16px; }
  .qz-top { padding-top: 16px; }
  .qz-steps { min-height: 0; padding-top: 16px; }
  .qz-q { margin-bottom: 16px; font-size: 1.35rem; }
  .qz-opts { gap: 8px; }
  .qz-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .qz-opt > span { gap: 10px; min-height: 100px; padding: 12px; border-radius: 16px; font-size: 14px; }
  .qz-opt > span::before { right: 10px; top: 10px; width: 20px; height: 20px; }
  .qz-opt__ic { width: 36px; height: 36px; border-radius: 11px; }
  .qz-opt__ic .ic { width: 19px; height: 19px; }
  .qz-meter { padding-bottom: 9px; }
  .qz-opt--sm > span { flex-direction: column; gap: 4px; min-height: 60px; padding: 10px 6px; font-size: 13px; text-align: center; }
  .qz-fields { grid-template-columns: minmax(0, 1fr); }
  .qz-nav { flex-wrap: wrap; gap: 10px; padding-top: 16px; margin-top: 18px; }
  .qz-count { flex: 1 0 auto; }
  .qz-next, .qz-send { flex: 1 1 100%; order: 3; }
  .qz-back { width: 50px; height: 50px; }
}
/* узкий телефон: в блоке варианты в один столбец строкой — «Интернет-магазин» не рвётся по дефису, подписи не в 3 строки (в окне то же с 380 px — 99-popups.css) */
@media (max-width: 420px) {
  .qz-frame .qz-opts:not(:has(.qz-opt--sm)) { grid-template-columns: minmax(0, 1fr); }
  .qz-frame .qz-opt:not(.qz-opt--sm) > span { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 60px; padding: 10px 44px 10px 12px; }
  .qz-frame .qz-opt:not(.qz-opt--sm) > span::before { top: 50%; margin-top: -10px; }
}

/* ===== 90-footer ===== */
/* ===== Подвал: тёмный, логотип как в шапке, таблетки контактов, часы Москвы ===== */
.ft { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 36px); background: var(--dk); }
.ft__glow { position: absolute; z-index: -1; left: 50%; top: -260px; width: min(1100px, 100%); height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(57, 98, 255, .32), rgba(57, 98, 255, .08) 60%, transparent); pointer-events: none; }
.ft__inner { display: grid; gap: clamp(32px, 4vw, 48px); }

/* верх и середина подвала — на сетке плашек контактов: правая колонка на одной вертикали с третьей плашкой */
.ft-top, .ft-mid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.ft-top { align-items: center; row-gap: 20px; }
.ft-logo, .ft-mid > .ft-col:first-child { grid-column: span 2; }
.ft-logo { display: flex; align-items: center; justify-self: start; gap: 16px; }
.ft-logo__mark { display: block; width: auto; height: 19px; aspect-ratio: 132 / 12; color: #fff; }
.ft-logo__role { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .62); font-size: 12.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.ft-title { max-width: 46ch; color: var(--dk-muted); font-size: 15.5px; line-height: 1.5; }

.ft-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ft-pill { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 18px 14px 14px; border-radius: 22px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .2s, box-shadow .2s; }
.ft-pill:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .4); }
.ft-pill__txt { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.ft-pill__txt small { color: var(--dk-muted); font-size: 13px; }
.ft-pill__txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; }
/* телефон без табличных цифр: «256-19-91» без зазора после единицы */
.ft-pill__txt b.num { font-variant-numeric: normal; }
.ft-pill__go { width: 20px; height: 20px; margin-left: auto; color: var(--dk-muted); transition: transform .2s var(--ease), color .2s; }
.ft-pill:hover .ft-pill__go { color: #fff; transform: translate(2px, -2px); }

.ft-mid { row-gap: 28px; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--dk-line); }
.ft-col { display: grid; align-content: start; gap: 14px; }
.ft-label { color: var(--dk-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 15px; font-weight: 500; transition: background-color .2s; }
.ft-links a:hover { background: rgba(255, 255, 255, .1); }
.ft-links .ic { width: 18px; height: 18px; color: var(--yellow); }
.ft-vk { display: grid; place-items: center; width: 22px; height: 18px; border-radius: 5px; background: rgba(255, 197, 1, .16); color: var(--yellow); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.ft-links--plain { gap: 4px 18px; }
.ft-links--plain a { min-height: 32px; padding: 0; background: none; box-shadow: none; color: #c9d0df; }
.ft-links--plain a:hover { background: none; color: #fff; }
.ft-clock { display: flex; align-items: center; gap: 10px; }
/* часы тоже без табличных цифр: «19:03», а не «1 9:03»; справа в строке ничего нет, смена минут ничего не сдвигает */
.ft-clock b { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: normal; }
.ft-clock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 163, 104, .2); }
.ft-hours { color: var(--dk-muted); font-size: 14px; }

.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--dk-line); color: var(--dk-muted); font-size: 13.5px; line-height: 1.45; }
.ft-policy { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* ===== адаптив ===== */
/* до 1180 плашки 2+1: в три колонки почта и телефон обрезаются многоточием */
@media (max-width: 1180px) {
  .ft-pills { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-pills li:last-child { grid-column: 1 / -1; }
  .ft-top, .ft-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-logo, .ft-mid > .ft-col:first-child { grid-column: auto; }

}
@media (max-width: 760px) {
  /* место под нижнюю панель быстрых действий */
  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .ft-pills { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ft-pills li:last-child { grid-column: auto; }
  .ft-pill { padding: 12px 16px 12px 12px; border-radius: 18px; }
  .ft-top, .ft-mid { grid-template-columns: minmax(0, 1fr); }
  .ft-mid { row-gap: 24px; }
  .ft-time { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ft-bottom { flex-direction: column; }
  .ft-policy { flex-direction: column; }
}
/* узкий телефон: без стрелки почта помещается целиком */
@media (max-width: 380px) {
  .ft-pill__go { display: none; }
}

/* ===== 91-tabbar ===== */
/* ===== Нижняя панель быстрых действий: только на телефоне ===== */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 6px;
    padding: 6px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 18px 40px -16px rgba(14, 20, 40, .45);
    transition: transform .3s var(--ease), opacity .3s, visibility 0s;
  }
  /* пока видны кнопки первого экрана или квиз (класс ставит 91-tabbar.js) — панель уезжает вниз */
  .tabbar.is-away { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }
  .tabbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 52px;
    padding: 0 8px;
    border-radius: 16px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    transition: background-color .2s;
  }
  .tabbar__item:active { background: var(--bg-2); }
  .tabbar__item .ic { width: 20px; height: 20px; color: var(--blue); }
  .tabbar__item--main { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-btn); }
  .tabbar__item--main .ic { color: #fff; }
  .tabbar__item--main:active { background: var(--blue-d); }
}
/* узкий телефон: значок над подписью, иначе «Прогноз» уходит за край панели */
@media (max-width: 420px) {
  .tabbar__item { flex-direction: column; gap: 3px; padding: 0 4px; font-size: 12.5px; }
  .tabbar__item .ic { width: 20px; height: 20px; }
}

/* ===== 95-buttons ===== */
/* ===== Кнопки как на alekseykomarov.pro: круг заливки поднимается снизу при наведении и уходит вверх,
   кнопка и надпись с разной силой тянутся за курсором и пружинят назад. Обёртку .btn__in и слой .btn__fill
   добавляет parts/95-buttons.js. ===== */
.btn, .hdr__gift { position: relative; overflow: hidden; isolation: isolate; }
.btn { transition: transform .9s cubic-bezier(.34, 1.5, .64, 1), box-shadow .2s var(--ease), color .35s var(--ease); }
.btn__in { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: inherit; transition: transform .9s cubic-bezier(.34, 1.5, .64, 1); }
.btn__fill { position: absolute; z-index: -1; top: -50%; left: -25%; width: 150%; height: 200%; border-radius: 50%; background: var(--ink); transform: translate3d(0, 76%, 0); transition: transform .6s var(--ease); pointer-events: none; }
.is-magnet, .is-magnet > .btn__in { transition-duration: .25s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
  .btn:hover > .btn__fill, .hdr__gift:hover > .btn__fill { transform: translate3d(0, 0, 0); }
  .btn.is-leaving > .btn__fill, .hdr__gift.is-leaving > .btn__fill { transform: translate3d(0, -76%, 0); }
  .btn--primary:hover { transform: none; }
}
.btn:focus-visible > .btn__fill { transform: translate3d(0, 0, 0); }

/* цвета заливки (просьба заказчика): на тёмном фоне — белая, на светлом — тёмно-синяя.
   Тёмный ли фон под кнопкой, определяет parts/95-buttons.js (класс .on-dark); шапка — по её состоянию. */
.btn > .btn__fill, .hdr__gift > .btn__fill { background: var(--ink); }
.btn.on-dark > .btn__fill { background: #fff; }
.hdr .btn > .btn__fill, .hdr__gift > .btn__fill { background: #fff; }
.is-light-hdr .hdr .btn > .btn__fill, .is-light-hdr .hdr__gift > .btn__fill { background: var(--ink); }
@media (hover: hover) {
  .btn:hover, .hdr__gift:hover { color: #fff; }
  .btn.on-dark:hover, .hdr .btn:hover, .hdr__gift:hover { color: var(--ink); }
  .btn--primary.on-dark:hover, .hdr .btn--primary:hover { color: var(--blue); }
  .is-light-hdr .hdr .btn:hover, .is-light-hdr .hdr__gift:hover { color: #fff; }
}

/* ===== 96-motion ===== */
/* ===== 96 Движение: появление при прокрутке, заполнение графиков, наведение, параллакс первого экрана =====
   Все скрытые состояния — только под html.motion-on. Класс ставит parts/96-motion.js и только без prefers-reduced-motion,
   поэтому без JS и при «уменьшить движение» страница сразу в конечном виде. Первый экран скрипт не прячет.
   Двигаем отдельными свойствами translate / scale / rotate: они складываются с transform блоков и не ломают его.
   Анимируются только transform, opacity и filter; линии графиков прорисовываются через stroke-dashoffset.
   Служебные классы: .mw-rise / .mw-pop / .mw-blur / .mw-split / .mw-num / .mw-fill — скрытое состояние до .mw-in;
   после анимации скрипт их снимает, и у элемента снова его собственные transition. */
html.motion-on {
  --mw-ease: cubic-bezier(.16, 1, .3, 1);
  --mw-soft: cubic-bezier(.25, .6, .3, 1);
  --mw-dur: .9s;
  --mw-dist: 26px;
}
@media (max-width: 760px) {
  html.motion-on { --mw-dur: .6s; --mw-dist: 14px; }
}

/* --- подъём снизу: плашки, лиды, карточки, элементы сеток (задержку --mw-d ставит скрипт) --- */
html.motion-on .mw-rise:not(.mw-in) { opacity: 0; translate: 0 var(--mw-dist); }
html.motion-on .mw-rise.mw-in {
  transition: opacity var(--mw-dur) var(--mw-ease) var(--mw-d, 0ms), translate calc(var(--mw-dur) * 1.2) var(--mw-ease) var(--mw-d, 0ms);
}

/* --- всплывающие плашки и уведомления в макетах --- */
html.motion-on .mw-pop:not(.mw-in) { opacity: 0; translate: 0 14px; scale: .92; }
html.motion-on .mw-pop.mw-in {
  transition: opacity .6s var(--mw-ease) var(--mw-d, 0ms), translate .9s var(--mw-ease) var(--mw-d, 0ms), scale .9s var(--mw-ease) var(--mw-d, 0ms);
}

/* --- крупная подпись целиком из размытия (сумма в блоке «Деньги от Яндекса») --- */
html.motion-on .mw-blur:not(.mw-in) { opacity: 0; filter: blur(14px); translate: 0 .2em; }
html.motion-on .mw-blur.mw-in {
  transition: opacity .9s var(--mw-ease) var(--mw-d, 0ms), filter 1.1s var(--mw-ease) var(--mw-d, 0ms), translate 1.1s var(--mw-ease) var(--mw-d, 0ms);
}

/* --- заголовки: слова собираются из размытия, построчно (задержку слова --wd ставит скрипт) --- */
html.motion-on .mw-split .mw-w { display: inline-block; }
html.motion-on .mw-split:not(.mw-in) .mw-w { opacity: 0; filter: blur(12px); translate: 0 .32em; }
/* резкость возвращается мягче, чем у подъёма: так заметно, что слово «собирается» */
html.motion-on .mw-split.mw-in .mw-w {
  transition: opacity .9s var(--mw-soft) var(--wd, 0ms), filter 1.2s var(--mw-soft) var(--wd, 0ms), translate 1.1s var(--mw-ease) var(--wd, 0ms);
}
@media (max-width: 760px) {
  html.motion-on .mw-split:not(.mw-in) .mw-w { filter: blur(8px); translate: 0 .22em; }
  html.motion-on .mw-split.mw-in .mw-w { transition-duration: .6s, .8s, .8s; }
}

/* --- крупные числа: проявляются, пока скрипт досчитывает до значения --- */
html.motion-on .mw-num:not(.mw-in) { opacity: 0; }
html.motion-on .mw-num.mw-in { transition: opacity .5s var(--mw-ease) var(--mw-d, 0ms); }

/* ===== графики: контейнер .mw-fill, шаг элемента --mw-i ставит скрипт ===== */
/* линии, которые прорисовывает скрипт (stroke-dashoffset), до старта не видны */
html.motion-on .mw-fill:not(.mw-in) .mw-draw { opacity: 0; }

/* 04 аудит: полосы «Сейчас» и «После» растут слева, строка за строкой */
html.motion-on .pains-audit.mw-fill .pains-audit__row dd i::before { transform-origin: 0 50%; }
html.motion-on .pains-audit.mw-fill:not(.mw-in) .pains-audit__row dd i::before { scale: 0 1; }
html.motion-on .pains-audit.mw-fill.mw-in .pains-audit__row dd i::before { transition: scale 1.2s var(--mw-ease) calc(var(--mw-d, 0ms) + 250ms + var(--mw-i, 0) * 120ms); }
html.motion-on .pains-audit.mw-fill.mw-in .pains-audit__row dd.is-after i::before { transition-delay: calc(var(--mw-d, 0ms) + 600ms + var(--mw-i, 0) * 120ms); }

/* 05 таймлайн запуска: синяя линия до 3-го дня прорисовывается слева */
html.motion-on .launch-steps.mw-fill::after { transform-origin: 0 50%; }
html.motion-on .launch-steps.mw-fill:not(.mw-in)::after { scale: 0 1; }
html.motion-on .launch-steps.mw-fill.mw-in::after { transition: scale 1.6s var(--mw-ease) calc(var(--mw-d, 0ms) + 350ms); }
/* 05 макет выдачи: строки-заглушки под объявлением */
html.motion-on .launch-serp.mw-fill .launch-serp__ghost i { transform-origin: 0 50%; }
html.motion-on .launch-serp.mw-fill:not(.mw-in) .launch-serp__ghost i { scale: 0 1; }
html.motion-on .launch-serp.mw-fill.mw-in .launch-serp__ghost i { transition: scale 1s var(--mw-ease) calc(var(--mw-d, 0ms) + 500ms + var(--mw-i, 0) * 70ms); }

/* 06 итог кейсов: волна графика поднимается снизу */
html.motion-on .cs-total.mw-fill .cs-total__chart { transform-origin: 50% 100%; }
html.motion-on .cs-total.mw-fill:not(.mw-in) .cs-total__chart { opacity: 0; scale: 1 .25; }
html.motion-on .cs-total.mw-fill.mw-in .cs-total__chart { transition: opacity 1s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms), scale 1.6s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms); }

/* 07 кольцо самопроверки: доворачивается на место */
html.motion-on .chk-ring.mw-fill:not(.mw-in) svg { opacity: 0; rotate: -90deg; scale: .9; }
html.motion-on .chk-ring.mw-fill.mw-in svg { transition: opacity .8s var(--mw-ease) var(--mw-d, 0ms), rotate 1.4s var(--mw-ease) var(--mw-d, 0ms), scale 1.4s var(--mw-ease) var(--mw-d, 0ms); }

/* 08 воронка калькулятора: полосы слева направо (ширину по-прежнему считает 08-analytics.js) */
html.motion-on .an-funnel.mw-fill .an-bar__t i { transform-origin: 0 50%; }
html.motion-on .an-funnel.mw-fill:not(.mw-in) .an-bar__t i { scale: 0 1; }
html.motion-on .an-funnel.mw-fill.mw-in .an-bar__t i { transition: scale 1.2s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms + var(--mw-i, 0) * 160ms); }

/* 09 онлайн-панель: остаток бюджета и полосы теста объявлений */
html.motion-on .pn-budget.mw-fill:not(.mw-in) .pn-budget__bar i { scale: 0 1; }
html.motion-on .pn-budget.mw-fill.mw-in .pn-budget__bar i { transition: scale 1.4s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms); }
html.motion-on .pn-ai__viz--ab.mw-fill s::before { transform-origin: 0 50%; }
html.motion-on .pn-ai__viz--ab.mw-fill:not(.mw-in) s::before { scale: 0 1; }
html.motion-on .pn-ai__viz--ab.mw-fill.mw-in s::before { transition: scale 1.2s var(--mw-ease) calc(var(--mw-d, 0ms) + 250ms + var(--mw-i, 0) * 180ms); }

/* 10 отчёт за месяц: столбики снизу вверх, подписи следом */
html.motion-on .rp-bars.mw-fill i { transform-origin: 50% 100%; }
html.motion-on .rp-bars.mw-fill:not(.mw-in) i { scale: 1 0; }
html.motion-on .rp-bars.mw-fill:not(.mw-in) b { opacity: 0; translate: 0 6px; }
html.motion-on .rp-bars.mw-fill.mw-in i { transition: scale 1s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms + var(--mw-i, 0) * 110ms); }
html.motion-on .rp-bars.mw-fill.mw-in b {
  transition: opacity .5s var(--mw-ease) calc(var(--mw-d, 0ms) + 550ms + var(--mw-i, 0) * 110ms), translate .7s var(--mw-ease) calc(var(--mw-d, 0ms) + 550ms + var(--mw-i, 0) * 110ms);
}

/* 11 что входит: связки между шагами, переключатели целей, мини-график */
html.motion-on .sc-chain.mw-fill:not(.mw-in) .sc-link { opacity: 0; translate: -8px 0; }
html.motion-on .sc-chain.mw-fill.mw-in .sc-link {
  transition: opacity .6s var(--mw-ease) calc(var(--mw-d, 0ms) + 400ms + var(--mw-i, 0) * 120ms), translate .8s var(--mw-ease) calc(var(--mw-d, 0ms) + 400ms + var(--mw-i, 0) * 120ms);
}
html.motion-on .sc-goals.mw-fill:not(.mw-in) .sc-sw::after { translate: -11px 0; }
html.motion-on .sc-goals.mw-fill.mw-in .sc-sw::after { transition: translate .6s var(--mw-ease) calc(var(--mw-d, 0ms) + 300ms + var(--mw-i, 0) * 160ms); }
html.motion-on .sc-ui--opt.mw-fill:not(.mw-in) .sc-opt__area { opacity: 0; }
html.motion-on .sc-ui--opt.mw-fill.mw-in .sc-opt__area { transition: opacity 1.2s var(--mw-ease) calc(var(--mw-d, 0ms) + 700ms); }

/* 13 график квартала: линии прорисовывает скрипт, остальное появляется по ходу */
html.motion-on .q9-chart.mw-fill:not(.mw-in) :is(.q9-leads-area, .q9-plan, .q9-note, .q9-plan-lbl) { opacity: 0; }
html.motion-on .q9-chart.mw-fill.mw-in :is(.q9-leads-area, .q9-note, .q9-plan-lbl) { transition: opacity 1.2s var(--mw-ease) calc(var(--mw-d, 0ms) + 900ms); }
html.motion-on .q9-chart.mw-fill.mw-in .q9-plan { transition: opacity .8s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms); }
html.motion-on .q9-chart.mw-fill:not(.mw-in) .q9-dot { scale: 0; }
html.motion-on .q9-chart.mw-fill.mw-in .q9-dot { transition: scale .6s var(--mw-ease) calc(var(--mw-d, 0ms) + 300ms); }
html.motion-on .q9-chart.mw-fill.mw-in .q9-dot--end { transition-delay: calc(var(--mw-d, 0ms) + 1700ms); }
html.motion-on .q9-chart.mw-fill:not(.mw-in) .q9-flag { opacity: 0; translate: 0 -10px; }
html.motion-on .q9-chart.mw-fill.mw-in .q9-flag {
  transition: opacity .6s var(--mw-ease) calc(var(--mw-d, 0ms) + 600ms + var(--mw-i, 0) * 200ms), translate .9s var(--mw-ease) calc(var(--mw-d, 0ms) + 600ms + var(--mw-i, 0) * 200ms);
}
html.motion-on .q9-chart.mw-fill:not(.mw-in) .q9-end { opacity: 0; translate: 10px 0; }
html.motion-on .q9-chart.mw-fill.mw-in .q9-end {
  transition: opacity .6s var(--mw-ease) calc(var(--mw-d, 0ms) + 1800ms), translate .9s var(--mw-ease) calc(var(--mw-d, 0ms) + 1800ms);
}
/* 13 карточки месяцев: сегменты прогресса */
html.motion-on .q9-seg.mw-fill i.is-on { transform-origin: 0 50%; }
html.motion-on .q9-seg.mw-fill:not(.mw-in) i.is-on { scale: 0 1; }
html.motion-on .q9-seg.mw-fill.mw-in i.is-on { transition: scale .7s var(--mw-ease) calc(var(--mw-d, 0ms) + 250ms + var(--mw-i, 0) * 140ms); }

/* 16 условия: строки-заглушки документа */
html.motion-on .ct-paper.mw-fill .ct-bars i { transform-origin: 0 50%; }
html.motion-on .ct-paper.mw-fill:not(.mw-in) .ct-bars i { scale: 0 1; }
html.motion-on .ct-paper.mw-fill.mw-in .ct-bars i { transition: scale 1s var(--mw-ease) calc(var(--mw-d, 0ms) + 200ms + var(--mw-i, 0) * 90ms); }

/* 20 ещё могу: полоса просмотра ролика */
html.motion-on .mr-vid.mw-fill .mr-vid__bar i { transform-origin: 0 50%; }
html.motion-on .mr-vid.mw-fill:not(.mw-in) .mr-vid__bar i { scale: 0 1; }
html.motion-on .mr-vid.mw-fill.mw-in .mr-vid__bar i { transition: scale 1.6s var(--mw-ease) calc(var(--mw-d, 0ms) + 300ms); }

/* ===== наведение: только мышь ===== */
@media (hover: hover) and (pointer: fine) {
  /* карточки с графиками и цифрами: лёгкий подъём и подсветка (класс ставится, только если у карточки нет своих transition) */
  html.motion-on .mw-lift { transition: translate .45s var(--mw-ease), box-shadow .45s var(--mw-ease); }
  html.motion-on .mw-lift:hover { translate: 0 -4px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(57, 98, 255, .16); }
  html.motion-on .is-dark .mw-lift:hover { box-shadow: inset 0 0 0 1px rgba(124, 146, 255, .42), 0 34px 70px -38px rgba(0, 0, 0, .85); }
  html.motion-on .pn-dash .mw-lift:hover { box-shadow: 0 16px 28px -20px rgba(14, 20, 40, .5), inset 0 0 0 1px rgba(57, 98, 255, .22); }
  html.motion-on .an-tile--accent.mw-lift:hover { box-shadow: 0 26px 46px -16px rgba(57, 98, 255, .9); }
  /* большой график: только подсветка, без подъёма */
  html.motion-on .mw-glow { transition: box-shadow .5s var(--mw-ease); }
  html.motion-on .mw-glow:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(57, 98, 255, .14); }

  /* строки и столбики графиков: то, что под курсором, ярче, остальное приглушено */
  .pains-audit__rows:hover .pains-audit__row:not(:hover) { opacity: .5; }
  .pains-audit__row:hover dd i { filter: saturate(1.3) brightness(1.06); }
  .rp-bars:hover li:not(:hover) { opacity: .45; }
  .rp-bars li:hover i { filter: saturate(1.4) brightness(1.05); }
  .an-funnel:hover .an-bar:not(:hover) { opacity: .55; }
  .an-bar:hover .an-bar__t { filter: saturate(1.25) brightness(1.06); }
  .pn-ai__viz--ab:hover > span:not(:hover) { opacity: .5; }
  .sc-tree:hover li:not(:hover) { opacity: .5; }
  .pn-tbl tbody tr:hover td { background: var(--bg); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pains-audit__row, .rp-bars li, .an-bar, .pn-ai__viz--ab > span, .sc-tree li { transition: opacity .3s var(--ease); }
  .pains-audit__row dd i, .rp-bars i, .an-bar__t { transition: filter .3s var(--ease); }
}
/* картинки в рамке: лёгкий зум и сдвиг за курсором внутри рамки; наклон делает скрипт — только шире 900 px */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  html.motion-on .mw-zoom__img { transition: scale 1s var(--mw-ease), translate 1.2s var(--mw-ease); }
  html.motion-on .mw-zoom:hover .mw-zoom__img { scale: 1.045; translate: calc(var(--mw-mx, 0) * -1.6%) calc(var(--mw-my, 0) * -1.6%); }
}

/* печать: всё в конечном виде */
@media print {
  html.motion-on :is(.mw-rise, .mw-pop, .mw-blur, .mw-num, .mw-w, .mw-draw) { opacity: 1 !important; filter: none !important; translate: none !important; scale: none !important; }
}

/* ===== 97-video ===== */
/* ===== Всплывающий плеер видеоотзывов ===== */
.vd { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: #fff; }
.vd[open] { display: grid; place-items: center; }
.vd::backdrop { background: rgba(7, 13, 32, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vd__box { position: relative; width: min(100%, calc(80vh * 16 / 9), 1200px); }
.vd--vertical .vd__box { width: min(100%, calc(80vh * 9 / 16), 460px); }
.vd__video { display: block; width: 100%; height: auto; max-height: 80vh; border-radius: 20px; background: #000; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85); }
.vd__close { position: absolute; top: -56px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .2s; }
.vd__close:hover { background: rgba(255, 255, 255, .26); }
.vd__close .ic { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .vd[open] .vd__box { animation: vd-in .35s var(--ease) both; }
}
@keyframes vd-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* ===== 98-casetabs ===== */
/* ===== Кейсы: автосмена вкладок. Пока идёт автосмена (.cs-tabs.is-auto), выбранная вкладка белая и заливается
   синим слева направо: слой .cs-tab__fill — копия содержимого на синем, открывается через clip-path по --p (0…1).
   После клика по вкладке автосмена выключается и выбранная вкладка снова сплошная синяя. ===== */
.cs-tab { position: relative; overflow: hidden; isolation: isolate; }
.cs-tab > .cs-tab__fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: inherit;
  padding: inherit;
  line-height: inherit;
  border-radius: inherit;
  background: var(--grad-btn);
  color: #fff;
  clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0);
  pointer-events: none;
}
.cs-tab__fill > span { display: grid; gap: 1px; line-height: 1.2; }
.cs-tab__fill small { color: #fff; }
.cs-tab__fill img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.cs-tabs:not(.is-auto) .cs-tab__fill { display: none; }
.cs-tabs.is-auto .cs-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.cs-tabs.is-auto .cs-tab[aria-selected="true"] small { color: var(--muted); }
.cs-tabs.is-auto .cs-tab[aria-selected="true"] img { box-shadow: 0 0 0 2px var(--surface); }
@media (prefers-reduced-motion: no-preference) {
  .cs-tabs ~ .cs-panel:not([hidden]) { animation: cs-panel-in .5s var(--ease) both; }
}
@keyframes cs-panel-in { from { opacity: 0; transform: translateY(10px); } }
/* внутри заливки — всегда светлые подпись и обводка аватара (перебивают правила выбранной вкладки выше) */
.cs-tabs.is-auto .cs-tab[aria-selected="true"] > .cs-tab__fill small { color: #fff; }
.cs-tabs.is-auto .cs-tab[aria-selected="true"] > .cs-tab__fill img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }

/* ===== 99-popups ===== */
/* ===== 99 Всплывающие окна с формами: квиз (копия карточки из блока «Прогноз») и простая заявка.
   На компьютере — белая карточка по центру (простая форма ~560 px, квиз ~720 px), на телефоне — лист снизу почти
   во весь экран с прокруткой внутри. Поля, плитки выбора, ошибка и «спасибо» — те же классы, что в квизе
   (parts/22-forecast.css), чтобы формы выглядели одинаково. Страницу под окном держит html.pp-lock. ===== */
html.pp-lock { overflow: hidden; scrollbar-gutter: stable; }

.pp {
  --pp-pad: clamp(22px, 2.6vw, 36px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}
.pp--quiz { --pp-pad: clamp(22px, 3vw, 40px); }
.pp[open] { display: grid; place-items: center; }
.pp::backdrop { background: rgba(7, 13, 32, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.pp__box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.pp--quiz .pp__box { width: min(100%, 720px); }
.pp__box:focus { outline: 0; }
.pp__box > * { flex-shrink: 0; }

/* шапка окна: заголовок и крестик, при прокрутке внутри окна остаётся сверху */
.pp__head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--pp-pad) - 4px) calc(var(--pp-pad) - 12px) 18px var(--pp-pad);
  background: var(--surface);
}
.pp__titles { min-width: 0; }
.pp__title { font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.pp__sub { margin-top: 8px; max-width: 42ch; color: var(--muted); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.pp__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bg-2); color: var(--ink); transition: background-color .2s, color .2s; }
.pp__close:hover { background: var(--ink); color: #fff; }
.pp__close .ic { width: 22px; height: 22px; }

/* квиз в окне: карточка без своей рамки, полоска прогресса — под шапкой во всю ширину */
.pp .qz-card { flex: 1 0 auto; padding: 0 var(--pp-pad) var(--pp-pad); border-radius: 0; }
.pp .qz-progress { margin-inline: calc(var(--pp-pad) * -1); }
.pp__quiz { display: flex; flex-direction: column; flex: 1 0 auto; }
@media (min-width: 761px) {
  /* компактнее, чем в блоке, чтобы окно влезало в экран ноутбука; высота шагов одна — окно не прыгает */
  .pp .qz-steps { min-height: 420px; }
  .pp .qz-opt:not(.qz-opt--sm) > span { min-height: 112px; }
  /* верх окна квиза закреплён, а не по центру: заголовок и крестик не прыгают при смене шагов */
  .pp--quiz[open] { align-items: start; }
  .pp--quiz { padding-top: max(24px, calc((100dvh - 820px) / 2)); }
}
/* невысокий экран ноутбука (1366×768 и ниже): варианты в строку, отступы плотнее — «Далее» видно без прокрутки окна */
@media (min-width: 761px) and (max-height: 860px) {
  .pp { padding-block: 16px; }
  .pp__head { padding-top: 18px; padding-bottom: 12px; }
  .pp .qz-top { padding-top: 12px; }
  .pp .qz-tariff { margin-top: 10px; padding-block: 8px; }
  .pp .qz-steps { min-height: 320px; padding-top: 16px; }
  .pp .qz-q { margin-bottom: 14px; }
  .pp .qz-opt:not(.qz-opt--sm) > span { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 72px; padding: 12px 46px 12px 14px; }
  .pp .qz-opt:not(.qz-opt--sm) > span::before { top: 50%; margin-top: -11px; }
  .pp .qz-opt__ic { width: 42px; height: 42px; border-radius: 12px; }
  .pp .qz-nav { margin-top: 14px; padding-top: 14px; }
  .pp .qz-card { padding-bottom: 20px; }
  .pp--quiz { padding-top: max(16px, calc((100dvh - 620px) / 2)); }
  .pp__sub { margin-top: 4px; }
}
/* «Просто оставлю номер» и шаг 5 (поля): без запаса высоты под плитки — нет пустой полосы над кнопкой */
.pp .qz-steps--phone { min-height: 0; }
.pp .qz-steps:has(> .qz-step[data-step="5"]:not([hidden])) { min-height: 0; }
/* согласие — две ровные строки, без «данных.» одного на строке */
.pp .qz-consent { text-wrap: balance; }

/* простая форма */
.pp-form { display: grid; gap: 16px; padding: 4px var(--pp-pad) var(--pp-pad); }
.pp-form .qz-field { margin-top: 0; }
.pp-form .qz-fields { margin-top: 0; gap: 16px 12px; }
.pp-form__ch { min-width: 0; margin: 0; padding: 0; border: 0; }
.pp-form__l { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.pp-form__l + * { clear: both; }
.pp-form__area { display: block; min-height: 104px; padding: 15px 20px; line-height: 1.45; resize: vertical; }
.pp-form__send { margin-top: 4px; }
.pp-form .qz-err, .pp-form .qz-consent { margin-top: 0; }
.pp-done { padding: 4px var(--pp-pad) var(--pp-pad); }
/* на «Спасибо» призыв «Расскажите коротко о задаче» уже не нужен */
.pp--form:has(.pp-done:not([hidden])) .pp__sub { display: none; }
/* невысокий экран ноутбука: простая форма плотнее — согласие и сообщение об ошибке помещаются в окно без прокрутки
   (отдельным блоком после базовых правил .pp-form, иначе они перебивают gap и padding) */
@media (min-width: 761px) and (max-height: 860px) {
  .pp-form { gap: 12px; padding-bottom: 20px; }
  .pp-form .input { min-height: 52px; } /* перебивает и min-height: 104px у textarea — нужно вместе с height ниже */
  .pp-form__area { height: 80px; padding-block: 12px; }
  .pp-form .qz-opt--sm > span { min-height: 48px; }
}
.pp-done__close.btn--ghost { margin-top: 8px; box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* появление: на компьютере — из лёгкого уменьшения, на телефоне — лист выезжает снизу */
@media (prefers-reduced-motion: no-preference) {
  .pp[open] .pp__box { animation: pp-in .35s var(--ease) both; }
  .pp[open]::backdrop { animation: pp-fade .3s ease both; }
}
@keyframes pp-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes pp-up { from { transform: translateY(100%); } }
@keyframes pp-fade { from { opacity: 0; } }

@media (max-width: 760px) {
  .pp { --pp-pad: 20px; padding: 16px 0 0; }
  .pp[open] { place-items: end stretch; }
  .pp__box, .pp--quiz .pp__box { width: 100%; max-height: 100%; padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .pp--quiz .pp__box { height: 100%; }
  .pp__head { padding: 18px 12px 14px var(--pp-pad); }
  .pp__title { font-size: 1.35rem; }
  .pp__sub { margin-top: 6px; font-size: 15px; }
  .pp .qz-card { padding-bottom: 20px; }
  .pp-form { gap: 14px; }
  .pp-form .qz-fields { gap: 14px; }
  .pp-done__close { width: 100%; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .pp[open] .pp__box { animation: pp-up .4s var(--ease) both; }
}
/* узкий телефон: варианты квиза в окне в один столбец строкой, как в блоке «Прогноз», — подписи не рвутся по дефису и тире */
@media (max-width: 380px) {
  .pp .qz-opts:not(:has(.qz-opt--sm)) { grid-template-columns: minmax(0, 1fr); }
  .pp .qz-opt:not(.qz-opt--sm) > span { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 56px; padding: 10px 44px 10px 12px; }
  .pp .qz-opt:not(.qz-opt--sm) > span::before { top: 50%; margin-top: -10px; }
}
