/* Базовый слой ODA.PRO: рабочая вёрстка всех блоков по умолчанию. Вариант дизайна
   подключается ПОСЛЕ этого файла и меняет токены (:root) и любые правила.
   Токены: цвета, шрифты, радиусы — только через переменные, чтобы тёмная тема
   и варианты не ломали друг друга. */

:root {
  --brand-blue: #245B80; --brand-orange: #F15A24; --brand-teal: #4DBDBE; --brand-grey: #939598;
  --bg: #ffffff; --surface: #f4f6f8; --fg: #16222c; --muted: #52616d; --line: #dde3e8;
  --accent: #245B80; --accent-fg: #ffffff; --accent-2: #C4410F; /* оранжевый знака, затемнён: 5.0:1 на белом (#D9481A давал 4.29) */
  --focus: #F15A24; --ph-bg: #fde7dc; --ph-fg: #8a2e0c; --input-line: #7C8994; /* рамка поля 3:1 к фону */
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);
  --radius: 10px; --container: 1200px; --gutter: 16px; --section-y: clamp(48px, 8vw, 104px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e151b; --surface: #16212a; --fg: #e7eef3; --muted: #9fb0bd; --line: #25333e;
    --accent: #6fb3dd; --accent-fg: #0b1620; --accent-2: #ff8a5c; --ph-bg: #4a2414; --ph-fg: #ffc4a8; --input-line: #6B7C89;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e151b; --surface: #16212a; --fg: #e7eef3; --muted: #9fb0bd; --line: #25333e;
  --accent: #6fb3dd; --accent-fg: #0b1620; --accent-2: #ff8a5c; --ph-bg: #4a2414; --ph-fg: #ffc4a8; --input-line: #6B7C89;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font-body); }
img, video, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* служебное */
mark.ph { background: var(--ph-bg); color: var(--ph-fg); padding: 0 .25em; border-radius: 3px; font-size: .92em; }
.badge { display: inline-block; vertical-align: middle; font: 600 12px/1 var(--font-body); padding: 4px 8px; border-radius: 999px; border: 1px solid currentColor; letter-spacing: .02em; }
.badge--draft { color: var(--accent-2); }
.badge--status { color: var(--accent); }
a[data-todo] { outline: 2px dashed var(--accent-2); outline-offset: 2px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost { color: var(--fg); border-color: var(--line); }
.link-more { font-weight: 600; text-decoration: none; }
.link-more::after { content: " →"; }

/* место под полосу прокрутки резервируется всегда: иначе на короткой странице и в первые кадры загрузки
   (полосы ещё нет) вся вёрстка вместе с логотипом съезжает на её ширину — «прыгающий логотип», 28.09 */
html { scrollbar-gutter: stable; }

/* шапка и подвал */
.header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; color: var(--fg); }
.logo svg { height: 30px; width: auto; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav__link { color: var(--fg); text-decoration: none; font-size: 15px; padding: 6px 0; }
.nav__link[aria-current] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 640px) { .nav { gap: 2px 14px; } .nav__link { font-size: 14px; } }
/* на телефоне Telegram уходит из шапки: он есть блоком на странице и в подвале */
@media (max-width: 520px) { .nav__link--tg { display: none; } }
/* меню-«гамбургер»: включается скриптом (.has-menu); без скрипта ссылки остаются в шапке */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .header.has-menu .header__inner { flex-wrap: nowrap; }
  .header.has-menu .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2, var(--line)); border-radius: 999px; background: transparent; color: var(--fg); font: 600 15px/1 var(--font-body); cursor: pointer; }
  .nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
  .nav-toggle__bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .header.is-open .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.is-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
  .header.is-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header.has-menu .nav { display: none; }
  .header.has-menu.is-open .nav { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: 4px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5); }
  .header.has-menu.is-open .nav__link { display: block; padding: 14px 4px; font-size: 17px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .header.has-menu.is-open .nav__link:last-child { border-bottom: 0; }
  .header.has-menu.is-open .nav__link[aria-current] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle__bars i { transition: none; } }
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 15px; color: var(--muted); }
.footer__top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.footer__brand svg { height: 28px; width: auto; color: var(--fg); margin-bottom: 12px; }
.footer__title { font-size: 14px; color: var(--fg); margin-bottom: 10px; }
.footer li { margin-bottom: 6px; }
.footer a { color: var(--muted); }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__legal p { margin: 0 0 4px; }

/* секции */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__title { font-size: clamp(26px, 3.4vw, 40px); max-width: 22ch; }
.section__lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sub-title { font-size: 24px; margin-top: 56px; }
.note { color: var(--muted); font-size: 15px; max-width: 70ch; }

/* первый экран */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 7vw, 88px); }
.hero__title { font-size: clamp(34px, 5.6vw, 68px); max-width: 18ch; letter-spacing: -.01em; }
.hero__lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); max-width: 60ch; }
.hero__promise { font: 700 clamp(22px, 2.8vw, 32px)/1.2 var(--font-head); color: var(--accent-2); margin: 0 0 .6em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero__crumbs { font-size: 14px; color: var(--muted); }
.hero__crumbs a { color: var(--muted); }
.entries { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .entries { grid-template-columns: repeat(3, 1fr); } }
.entry { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); height: 100%; transition: border-color .15s; }
.entry:hover { border-color: var(--accent); }
.entry__label { font-weight: 700; font-size: 18px; }
.entry__label::after { content: " →"; color: var(--accent); }
.entry__hint { color: var(--muted); font-size: 15px; }

/* факты */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 32px 0 0; }
.fact { margin: 0; }
.fact__value { font: 700 clamp(28px, 3.6vw, 44px)/1 var(--font-head); color: var(--accent); }
.fact__label { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* о компании, схема */
.about { display: grid; gap: 32px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; align-items: start; } .about .facts { margin-top: 0; grid-template-columns: 1fr 1fr; } }
.about__text p { font-size: 18px; max-width: 60ch; }
.brands { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font: 700 18px/1 var(--font-head); color: var(--muted); letter-spacing: .04em; }
.flow { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: none; margin: 24px 0; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow__step { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flow__who { display: block; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.flow__text { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; background: var(--bg); padding: 0 2px; } }
.flow__note { color: var(--muted); font-size: 15px; max-width: 70ch; }

/* списки и карточки */
.audiences { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audience { padding: 24px 0; border-top: 2px solid var(--accent); }
.audience__title { font-size: 22px; }
.items { display: grid; gap: 28px 32px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 700px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .items--adv-tools, .items--extras, .items--why { grid-template-columns: repeat(3, 1fr); } }
.item__title { font-size: 19px; margin-bottom: 6px; }
.item__text { color: var(--muted); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; margin-top: 24px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding-top: 16px; border-top: 1px solid var(--line); }
.step::before { content: counter(step); display: block; font: 700 28px/1 var(--font-head); color: var(--accent); margin-bottom: 10px; }
.step__title { font-size: 19px; }
.step__text { color: var(--muted); margin-bottom: 6px; }
.step__time { font-weight: 600; font-size: 14px; margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin-top: 16px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--accent); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { color: var(--muted); padding-bottom: 12px; max-width: 70ch; }

/* CTA и Telegram */
.cta-band { padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) * 1.6); background: var(--surface); }
.cta-band__title { font-size: clamp(26px, 3.4vw, 40px); }
.cta-band__text { color: var(--muted); max-width: 60ch; }
.tg { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tg__title { font-size: 26px; }
.tg__text { color: var(--muted); max-width: 60ch; margin: 0; }

/* паблишеры: инструменты, форматы, требования */
.tools { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(3, 1fr); } }
.tool { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.tool__title { font-size: 22px; }
.tool__rows { margin: 8px 0 16px; flex: 1; }
.tool__rows dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 12px; }
.tool__rows dd { margin: 2px 0 0; }
.formats { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0 16px; }
@media (min-width: 760px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { background: var(--bg); padding: 20px; }
.format__title { font-size: 19px; margin-bottom: 2px; }
.format__size { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.format__text { color: var(--muted); margin: 0; font-size: 15px; }
.req { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 760px) { .req { grid-template-columns: 1fr 1fr; } }
.req h3 { font-size: 19px; }
.req li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.req__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.req__col--no li::before { content: "✕"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

/* ── живое демо форматов ── */
.demo { margin-top: 24px; }
.demo__controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-start; margin-bottom: 20px; }
.demo__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.demo__group-title { width: 100%; font-size: 13px; font-weight: 700; color: var(--muted); }
.demo__tab, .demo__mode { font: 500 15px/1.2 var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; min-height: 40px; }
.demo__tab[aria-pressed="true"], .demo__mode[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.demo__tab[aria-pressed="true"] .badge { color: inherit; }
.demo__modes { display: flex; gap: 8px; margin-left: auto; align-self: flex-end; }
.demo__stage { background: var(--surface); border-radius: calc(var(--radius) * 1.6); padding: clamp(12px, 3vw, 32px); }
.demo__device { margin: 0 auto; max-width: 980px; background: #fff; color: #1b2530; border-radius: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 40px -18px rgba(10, 30, 50, .35); overflow: hidden; transition: max-width .35s ease; }
.demo[data-mode="mobile"] .demo__device { max-width: 360px; border-radius: 28px; border: 8px solid #1b2530; }
.demo__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f4; font-size: 12px; color: #5b6772; }
.demo__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd6dc; }
.demo__bar em { font-style: normal; margin-left: 10px; background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo[data-mode="mobile"] .demo__bar span { display: none; }
.demo[data-mode="mobile"] .demo__bar em { margin: 0; }
.demo__page { position: relative; height: 480px; overflow-y: auto; padding: 16px 20px 120px; }
.demo[data-mode="mobile"] .demo__page { height: 560px; padding: 12px 14px 120px; }
.demo__site-head { font: 700 14px/1 var(--font-body); color: #1b2530; padding-bottom: 12px; border-bottom: 1px solid #e3e8ec; margin-bottom: 14px; }
.demo__layout { display: grid; grid-template-columns: 1fr 220px; gap: 22px; }
.demo[data-mode="mobile"] .demo__layout { grid-template-columns: 1fr; }
.demo__h { font: 700 22px/1.2 var(--font-head); color: #1b2530; margin: 4px 0 12px; }
.demo__lines { margin: 0 0 14px; }
.demo__lines i { display: block; height: 9px; border-radius: 4px; background: #e3e8ec; margin-bottom: 8px; }
.demo__lines i.s { width: 60%; }
.demo__img { position: relative; height: 170px; border-radius: 8px; background: linear-gradient(135deg, #cfe6ea, #e9d8cf); margin-bottom: 16px; overflow: hidden; }
.demo__slot { display: none; }
.ad { border-radius: 8px; font-size: 13px; line-height: 1.3; color: #1b2530; }
.ad b { display: block; font-size: 13px; }
.ad span { display: block; color: #5b6772; font-size: 12px; }
.ad--banner { height: 90px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: repeating-linear-gradient(135deg, #fff1ea 0 12px, #ffe6da 12px 24px); border: 1px dashed var(--brand-orange); margin-bottom: 16px; }
.demo[data-mode="mobile"] .ad--banner { height: 140px; }
.ad--side { position: sticky; top: 0; height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: repeating-linear-gradient(135deg, #e9f5f5 0 12px, #dcefef 12px 24px); border: 1px dashed var(--brand-teal); }
.demo[data-mode="mobile"] .ad--side { position: static; height: 160px; }
.demo__device { position: relative; }
.ad--sticker { position: relative; width: 240px; height: 140px; background: #10212e; color: #fff; display: flex; align-items: flex-end; padding: 10px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); animation: pop .35s ease; }
.ad--sticker b { color: #fff; }
.demo[data-mode="mobile"] .ad--sticker { width: 100%; height: 30%; min-height: 110px; border-radius: 0; }
.demo__slot--sticker { position: absolute; right: 18px; bottom: 18px; z-index: 4; }
.demo[data-mode="mobile"] .demo__slot--sticker { left: 0; right: 0; bottom: 0; height: 30%; }
.demo[data-mode="mobile"] .demo__slot--sticker .ad--sticker { height: 100%; }
.ad__close { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 16px; line-height: 1; }
.ad__play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.ad--sticker, .ad--video { position: relative; }
.ad--video { height: 190px; background: #10212e; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; margin-bottom: 16px; }
.ad--video b, .ad--video span { color: #fff; }
.ad--full { position: absolute; inset: 0; z-index: 3; background: rgba(16, 33, 46, .92); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 0; animation: fade .3s ease; }
.ad--full b, .ad--full span { color: #fff; }
.demo__slot--fullscreen { position: absolute; left: 0; right: 0; bottom: 0; top: 38px; z-index: 5; }
.demo[data-active="fullscreen"] .demo__slot--fullscreen { display: flex; }
.ad--native { display: flex; gap: 12px; padding: 12px; border: 1px solid #e3e8ec; margin-bottom: 16px; }
.ad__thumb { flex: 0 0 72px; height: 56px; border-radius: 6px; background: linear-gradient(135deg, #cfd9e2, #eef2f5); }
.native-t { font-size: 11px !important; color: #8a96a0; text-transform: none; }
.native-d { font-size: 15px !important; color: #1b2530 !important; font-weight: 600; }
.ad--product { display: none; padding: 12px; border: 1px solid #e3e8ec; margin-bottom: 16px; }
.ad__prods { display: flex !important; gap: 8px; margin-top: 8px; }
.ad__prods i { flex: 1; height: 70px; border-radius: 6px; background: linear-gradient(160deg, #f6e3da, #fff); border: 1px solid #efe2db; }
.ad--inimage { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.94); padding: 8px 10px; animation: slide .35s ease; }
.ad--game { padding: 12px; border: 1px solid #e3e8ec; margin-bottom: 16px; background: #fbfcfd; animation: slide .35s ease; }
.game__head { display: flex !important; justify-content: space-between; align-items: center; }
.game__streak { color: #C4410F !important; font-weight: 600; }
.game__tabs { display: flex !important; gap: 4px; margin: 8px 0; flex-wrap: wrap; }
.game__tabs span { padding: 3px 9px; border-radius: 12px; border: 1px solid #dfe5ea; color: #1b2530 !important; }
.game__tabs .is-on { background: #245B80; border-color: #245B80; color: #fff !important; }
.ad__grid { display: grid !important; grid-template-columns: repeat(8, 1fr); gap: 3px; max-width: 240px; margin: 4px 0 8px; }
.ad__grid i { aspect-ratio: 1; border-radius: 3px; background: #e3e8ec; }
.ad__grid i:nth-child(3n+1) { background: #4DBDBE; } .ad__grid i:nth-child(7n) { background: #F15A24; } .ad__grid i:nth-child(5n+2) { background: #245B80; }
.ad--ai { padding: 12px; border: 1px solid #e3e8ec; display: flex; flex-direction: column; gap: 6px; animation: slide .35s ease; }
.ai__q { display: block; border: 1px solid #cfe0ea; border-radius: 14px; padding: 5px 10px; color: #245B80 !important; font-size: 12px; }
.ai__prod { display: flex !important; gap: 8px; align-items: center; margin-top: 4px; }
.ai__prod i { width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(160deg, #f6e3da, #fff); border: 1px solid #efe2db; flex: none; }

/* включение: слот показывается, если его data-for содержит активный пункт */
.demo[data-active="banner"] [data-for~="banner"], .demo[data-active="combo"] [data-for~="combo"],
.demo[data-active="sidebar"] [data-for~="sidebar"], .demo[data-active="sticker"] [data-for~="sticker"],
.demo[data-active="fullscreen"] [data-for~="fullscreen"], .demo[data-active="native"] [data-for~="native"],
.demo[data-active="vast"] [data-for~="vast"], .demo[data-active="inimage"] [data-for~="inimage"],
.demo[data-active="ai-assistant"] [data-for~="ai-assistant"], .demo[data-active="game-widget"] [data-for~="game-widget"],
.demo[data-active="product"] [data-for~="product"] { display: block; }
.demo[data-active="product"] .ad--native { display: none; }
.demo[data-active="product"] .ad--product { display: block; }
.demo[data-active="combo"] .ad--banner { background: repeating-linear-gradient(135deg, #eaf2f8 0 12px, #dfeaf3 12px 24px); border-color: var(--brand-blue); }
.demo[data-active="combo"] .ad--banner span::after { content: " · соревнуются: видео, Adfox, DSP"; }
.demo__caption { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-size: 15px; text-align: center; min-height: 3em; }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateY(8px); opacity: 0; } }

/* селлеры */
.promise { font: 700 22px/1.2 var(--font-head); color: var(--accent-2); }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.terms li { padding: 10px 16px; background: var(--surface); border-radius: var(--radius); font-weight: 600; }
.condition { border-left: 3px solid var(--accent-2); padding-left: 14px; max-width: 70ch; color: var(--muted); margin: 20px 0 24px; }
.situations { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 900px) { .situations { grid-template-columns: repeat(3, 1fr); } }
.situation { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.situation__title { font-size: 19px; }
.situation__answer { color: var(--accent-2); font-weight: 700; margin-bottom: 6px; }
.founder { display: grid; gap: 24px; margin: 48px 0 0; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 320px 1fr; } }
.founder__quote { font: 600 clamp(20px, 2.2vw, 26px)/1.3 var(--font-head); margin: 0 0 12px; }
.founder__who { color: var(--muted); }
.video { width: 100%; aspect-ratio: 9 / 16; max-height: 560px; object-fit: cover; background: #10212e; border-radius: var(--radius); }
.reviews { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; }
.review figcaption { padding-top: 10px; font-size: 15px; }
.review figcaption span { display: block; color: var(--muted); }
.review q { display: block; margin-top: 6px; }
.cases { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.case__meta { font-size: 14px; font-weight: 700; color: var(--accent); }
.case__story { color: var(--muted); font-size: 15px; }
.case__bar { position: relative; height: 34px; background: var(--surface); border-radius: 6px; margin: 12px 0; }
.case__bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--brand-teal); border-radius: 6px; opacity: .35; }
.case__bar span { position: relative; line-height: 34px; padding-left: 10px; font-size: 14px; font-weight: 600; }
.case__result { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 15px; flex-wrap: wrap; }
.case__result b { color: var(--accent); }
.brand-list { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
@media (min-width: 760px) { .brand-list { grid-template-columns: repeat(3, 1fr); } }
.brand { background: var(--bg); padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.brand b { font: 700 20px/1.2 var(--font-head); }
.brand span { color: var(--muted); font-size: 14px; }
.partner { max-width: 760px; }
.checks { display: grid; gap: 8px; margin: 16px 0; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* блог */
.post-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; }
.post-card__cover { aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); object-fit: cover; width: 100%; }
.post-card__cover--publishers { background: radial-gradient(circle at 30% 60%, var(--brand-teal) 0 18%, transparent 19%), radial-gradient(circle at 55% 40%, var(--brand-blue) 0 22%, transparent 23%), var(--surface); }
.post-card__cover--advertisers { background: radial-gradient(circle at 40% 50%, var(--brand-orange) 0 20%, transparent 21%), radial-gradient(circle at 65% 55%, var(--brand-blue) 0 16%, transparent 17%), var(--surface); }
.post-card__cover--sellers { background: radial-gradient(circle at 45% 45%, var(--brand-teal) 0 20%, transparent 21%), radial-gradient(circle at 62% 60%, var(--brand-orange) 0 15%, transparent 16%), var(--surface); }
.post-card__cover--digest { background: linear-gradient(90deg, var(--brand-blue) 0 33%, var(--brand-teal) 33% 66%, var(--brand-orange) 66%); opacity: .9; }
.post-card__body { padding-top: 14px; }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-card__cat { color: var(--accent); font-weight: 600; }
.post-card__title { font-size: 20px; }
.post-card__title a { color: var(--fg); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
.post-card__desc { color: var(--muted); font-size: 15px; margin: 0; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cats a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--fg); font-size: 15px; }
.cats a[aria-current] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.article { padding: clamp(40px, 7vw, 88px) 0; }
.article__head { max-width: 760px; margin: 0 auto 32px; }
.article__meta { color: var(--muted); font-size: 15px; }
.article__meta a { font-weight: 600; }
.article__title { font-size: clamp(30px, 4.4vw, 52px); }
.article__lead { font-size: 20px; color: var(--muted); }
.article__cover { max-width: 1000px; margin: 0 auto 40px; }
.article__cover .post-card__cover { aspect-ratio: 21 / 9; }
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--muted); }
.article__end { max-width: 720px; margin: 48px auto 0; display: grid; gap: 16px; }
.article__end .cta-band, .article__end .tg { padding: 28px; border-radius: var(--radius); background: var(--surface); }

/* формы */
.form-wrap { max-width: 640px; }
.lead-form { display: grid; gap: 16px; margin-top: 24px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--font-body); padding: 12px 14px; border: 1px solid var(--input-line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field__hint, .field__consent { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.lead-form__status { font-weight: 600; min-height: 1.5em; margin: 0; }
.hp { position: absolute; left: -9999px; }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.field--check label { font-weight: 400; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* тёмная тема: синее кольцо знака (#245B80) на тёмном фоне теряется — осветляем */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo svg path[fill="#245B80"],
  :root:not([data-theme="light"]) .footer__brand svg path[fill="#245B80"] { fill: #7FB6DC; }
}
:root[data-theme="dark"] .logo svg path[fill="#245B80"],
:root[data-theme="dark"] .footer__brand svg path[fill="#245B80"] { fill: #7FB6DC; }
