/* Поток (до 7 окт — «Поехали Бизнес») — пятая концепция, серьёзная версия «Поехали» для среднего и крупного бизнеса.
   Тема «Белый» (выбрана из двух набросков 7 окт): белый и светло-серый, крупный строчный шрифт, чёрные кнопки-таблетки,
   зелёный — только для «лид прошёл». Никаких сгенерированных картинок: рисованные иллюстрации (ill.py) и документы.
   Пыль из «Космоса» (dust.js) — только на главной: воронка в первом экране и поток по схеме.
   Иллюстрации неподвижны, поверх них двигаются только точки, пульс и маркеры — transform и opacity, и только на экране. */

:root {
  color-scheme: light;
  --bg: #ffffff; --bg-2: #f5f5f7; --bg-3: #fbfbfd; --card: #ffffff;
  --ink: #1d1d1f; --ink-2: #424245; --ink-3: #6e6e73; --ink-4: #86868b;
  --line: #d2d2d7; --line-2: #e8e8ed;
  --acc: #0f7a52; --acc-soft: rgba(15, 122, 82, 0.09); --acc-line: rgba(15, 122, 82, 0.32);
  --no: #b42318;
  --dust-ink: #1d1d1f; --dust-acc: #0f7a52; --dust-mute: #a1a1a6;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-card: 22px; --r-stage: 32px; --r-pill: 980px; --r-small: 12px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 60px -24px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 30px -18px rgba(0, 0, 0, 0.16);
}

/* ---------- основа ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--acc); }
.fineprint { font-size: 0.78rem; color: var(--ink-4); line-height: 1.5; }
.muted { color: var(--ink-3); }
.tbd { color: var(--ink-3); background: var(--bg-2); border-radius: 6px; padding: 0 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--body); font-size: 0.98rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.04rem; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.86rem; }
.link-btn { background: none; border: 0; padding: 6px 0; font-size: 0.88rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- шапка ---------- */
.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round'%3E%3Cpath d='M2.5 5.5c5 0 5.5 6.5 10.5 6.5M2.5 18.5c5 0 5.5-6.5 10.5-6.5M2.5 12H13' stroke='%231d1d1f' stroke-width='2'/%3E%3Cpath d='M13 12h7.5' stroke='%230f7a52' stroke-width='3.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.logo-mark--white { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round'%3E%3Cpath d='M2.5 5.5c5 0 5.5 6.5 10.5 6.5M2.5 18.5c5 0 5.5-6.5 10.5-6.5M2.5 12H13' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M13 12h7.5' stroke='%238fe0b8' stroke-width='3.2'/%3E%3C/svg%3E"); }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.025em; }
.logo-tag { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line); padding: 1px 7px; border-radius: var(--r-pill); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.9rem; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .btn { display: none; }
.header-cta { margin-left: 4px; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 10px; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, background 0.2s ease; }
.burger span { top: 19px; }
.burger span::before, .burger span::after { content: ""; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* липкая панель: страница, разделы или роли, кнопка */
.local-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line-2);
  transform: translateY(-101%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.local-bar.is-on { transform: none; }
.lb-row { display: flex; align-items: center; gap: 18px; min-height: 56px; }
.lb-name { font-family: var(--display); font-weight: 700; font-size: 1.04rem; letter-spacing: -0.02em; white-space: nowrap; text-decoration: none; }
.lb-name i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.lb-links { display: flex; gap: 20px; margin-left: auto; font-size: 0.82rem; color: var(--ink-3); }
.lb-links a { text-decoration: none; white-space: nowrap; }
.lb-links a:hover, .lb-links a.is-here { color: var(--ink); }
.lb-roles { display: flex; gap: 4px; margin-left: auto; }
.lb-roles button, .role-pills button {
  border: 1px solid transparent; background: none; cursor: pointer; white-space: nowrap;
  border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.82rem; color: var(--ink-3);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.lb-roles button:hover, .role-pills button:hover { color: var(--ink); }
.lb-roles button[aria-pressed="true"] { color: var(--ink); background: var(--bg-2); border-color: var(--line-2); }
.lb-role { position: relative; }
.lb-role-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.8rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.lb-role-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lb-role-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-card); padding: 6px; display: grid; min-width: 230px; }
.lb-role-menu button { text-align: left; border: 0; background: none; border-radius: 10px; padding: 9px 12px; font-size: 0.86rem; cursor: pointer; }
.lb-role-menu button:hover { background: var(--bg-2); }
.lb-role-menu button[aria-pressed="true"] { font-weight: 600; }
.lb-role-menu button[aria-pressed="true"]::after { content: " ✓"; color: var(--acc); }

/* ---------- главная: первый экран ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 0; overflow: hidden; }
.hero-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 3.6vw, 52px); }
.hero-title { display: grid; gap: 18px; }
.hero-side { display: grid; gap: 24px; padding-bottom: 6px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.7rem, 1.3rem + 3.9vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; }
.h1-a, .h2-a { color: var(--ink); }
.h1-b, .h2-b { color: var(--ink-4); }
.hero .h1-b { display: block; margin-top: 0.22em; font-size: 0.46em; line-height: 1.12; letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--ink-3); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; z-index: 1; height: clamp(440px, 38vw, 530px); background: var(--bg-2); border-radius: var(--r-stage); }
.dust-layer { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; display: block; }
.fn-src { position: absolute; left: clamp(22px, 3vw, 44px); top: 50%; transform: translateY(-50%); z-index: 1; display: grid; gap: 15px; }
.fn-src li { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.02em; color: var(--ink-3); white-space: nowrap; line-height: 1; }
.fn-gate { position: absolute; z-index: 1; width: 1px; background: var(--line); }
.fn-gate span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); white-space: nowrap; letter-spacing: 0.04em; }
.fn-gate.is-v span { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translateY(-50%); }
.fn-drop { position: absolute; z-index: 1; font-family: var(--mono); font-size: 0.62rem; color: var(--ink-4); white-space: nowrap; }
.fn-cap { position: absolute; right: clamp(22px, 3vw, 44px); bottom: 14px; z-index: 1; font-size: 0.72rem; color: var(--ink-4); }
.lead-card--hero { position: absolute; right: clamp(22px, 3vw, 44px); top: 50%; transform: translateY(-50%); width: min(360px, 44%); z-index: 2; }

/* ---------- карточка лида ---------- */
.lead-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 18px 20px; display: grid; gap: 13px;
  transition: border-color 0.6s ease;
}
.lead-card.is-new { border-color: var(--acc-line); }
.lc-chrome { display: flex; justify-content: space-between; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line-2); font-size: 0.72rem; color: var(--ink-3); }
.lc-app { font-weight: 600; }
.lc-id { font-family: var(--mono); }
.lc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; }
.lc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.lead-card--no .lc-status i { background: var(--ink-4); box-shadow: 0 0 0 4px var(--bg-2); }
.lc-time { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.lc-rows { display: grid; gap: 8px; }
.lc-rows div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.lc-rows dt { font-size: 0.74rem; color: var(--ink-3); }
.lc-rows dd { font-size: 0.9rem; line-height: 1.35; color: var(--ink); transition: opacity 0.35s ease; }
.lead-card.is-swapping .lc-rows dd, .lead-card.is-swapping .lc-rec [data-h], .lead-card.is-swapping .lc-rec [data-f] { opacity: 0; }
.lc-crit { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-crit span { font-size: 0.74rem; font-weight: 500; padding: 4px 10px 4px 9px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-3); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.lc-crit span::before { content: "○ "; }
.lc-crit span.ok { color: var(--acc); border-color: var(--acc-line); background: var(--acc-soft); }
.lc-crit span.ok::before { content: "✓ "; }
.lc-crit span.no { color: var(--ink-4); text-decoration: line-through; }
.lc-crit span.no::before { content: "— "; }
.lc-rec { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-small); background: var(--bg-2); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.play-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; flex-shrink: 0; }
.play-ico::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.lc-wave { display: flex; gap: 2px; align-items: center; height: 14px; margin-left: auto; }
.lc-wave i { width: 2px; border-radius: 1px; background: var(--ink-4); }
.lc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lc-actions span { text-align: center; font-size: 0.78rem; font-weight: 600; padding: 8px 4px; border-radius: var(--r-small); border: 1px solid var(--line); color: var(--ink-2); }
.lc-actions span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.lc-note { font-size: 0.78rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- роли ---------- */
.roles { position: relative; z-index: 1; margin-top: clamp(36px, 4.4vw, 60px); }
.roles-head { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.roles-label { font-size: 0.86rem; font-weight: 600; }
.role-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.role-pills button { border-color: var(--line); padding: 8px 16px; font-size: 0.9rem; color: var(--ink-2); }
.role-pills button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.role-panels { padding-top: 22px; }
.role-panel { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 36px; }
.role-panel li { display: grid; gap: 6px; align-content: start; animation: roleIn 0.45s ease both; }
.role-panel li:nth-child(2) { animation-delay: 0.05s; }
.role-panel li:nth-child(3) { animation-delay: 0.1s; }
.role-panel b { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.role-panel span { font-size: 0.92rem; color: var(--ink-3); line-height: 1.5; }
@keyframes roleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.82rem; color: var(--ink-3); }
.hero .trust { position: relative; z-index: 1; padding-top: clamp(26px, 3vw, 40px); padding-bottom: clamp(36px, 4vw, 56px); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }

/* доводы для выбранной роли; выбор хранится в body[data-role] */
[data-role-show] { display: none; }
body[data-role="owner"] [data-role-show="owner"], body[data-role="sales"] [data-role-show="sales"], body[data-role="mkt"] [data-role-show="mkt"],
body[data-role="fin"] [data-role-show="fin"], body[data-role="it"] [data-role-show="it"] { display: block; }
body[data-role="owner"] .role-panel[data-role-show="owner"], body[data-role="sales"] .role-panel[data-role-show="sales"], body[data-role="mkt"] .role-panel[data-role-show="mkt"],
body[data-role="fin"] .role-panel[data-role-show="fin"], body[data-role="it"] .role-panel[data-role-show="it"] { display: grid; }
.role-note { font-size: 0.98rem; color: var(--ink-2); max-width: 46em; animation: roleIn 0.45s ease both; }
.role-note b { color: var(--ink); }
.role-notes { margin-top: 28px; }

/* ---------- секции ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--alt { background: var(--bg-2); }
.sec-head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); color: var(--ink-3); max-width: 40em; }
.sec-head.center .lead { margin: 0 auto; }
.sec-foot { margin-top: clamp(24px, 3vw, 36px); display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }

/* сетки и плитки */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--bg-2); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.section--alt .tile { background: var(--card); }
.tile-n { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); letter-spacing: 0.04em; }
.tile b, .tile h3 { font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tile p { color: var(--ink-3); font-size: 0.96rem; }
.tile .kv { display: grid; gap: 4px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 0.88rem; }
.tile .kv span { color: var(--ink-4); font-size: 0.74rem; }
.tile .tag { justify-self: start; font-size: 0.74rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); padding: 3px 10px; border-radius: var(--r-pill); }

/* документ: критерии, отчёт, итог архива */
.doc { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-card); border: 1px solid var(--line-2); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 14px; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.doc-head b { font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.02em; }
.doc-head span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); text-align: right; }
.doc-rows { display: grid; gap: 9px; }
.doc-rows div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 0.9rem; }
.doc-rows dt { font-size: 0.76rem; color: var(--ink-3); }
.doc-foot { font-size: 0.74rem; color: var(--ink-4); padding-top: 10px; border-top: 1px solid var(--line-2); }
.doc-stamp { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); border-radius: var(--r-pill); padding: 4px 11px; }
.doc-stamp::before { content: "✓"; }
.doc-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc-big div { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.doc-big b { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.doc-big span { font-size: 0.76rem; color: var(--ink-3); }
.doc-list { display: grid; gap: 8px; font-size: 0.88rem; }
.doc-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.doc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-list em { font-style: normal; font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; }
.doc-list em.up { color: var(--acc); font-weight: 600; }
.doc-list em.off { color: var(--ink-4); text-decoration: line-through; }

/* разбивка «текст + предмет» */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split .sec-head { margin-bottom: 28px; }
.points { display: grid; gap: 18px; }
.points li { display: grid; gap: 4px; padding-left: 20px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.points b { font-weight: 600; }
.points span { color: var(--ink-3); font-size: 0.95rem; }

/* ---------- схема потока ---------- */
.flow-stage { position: relative; background: var(--bg); border-radius: var(--r-stage); padding: clamp(56px, 5vw, 76px) clamp(18px, 3vw, 44px) clamp(22px, 3vw, 34px); }
.flow {
  --flow-dir: h;
  position: relative; display: grid;
  grid-template-columns: minmax(150px, 196px) minmax(70px, 1fr) minmax(200px, 240px) minmax(36px, 0.5fr) minmax(280px, 340px);
  grid-template-areas: "src hub mods gap2 out";
  align-items: center; min-height: 470px;
}
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flow > :not(svg):not(canvas) { position: relative; z-index: 1; }
.flow > .dust-layer { position: absolute; z-index: 0; }
.flow-col-title { position: absolute; top: -32px; left: 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.flow-src-col { grid-area: src; position: relative; }
.flow-src { display: grid; gap: 6px; position: relative; }
.flow-src li { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: var(--r-small); background: var(--bg-2); border: 1px solid transparent; font-size: 0.84rem; color: var(--ink-2); white-space: nowrap; transition: color 0.4s ease, border-color 0.4s ease; }
.flow-src li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); flex-shrink: 0; transition: background 0.4s ease; }
.flow-src li.is-hot { color: var(--ink); border-color: var(--ink); }
.flow-src li.is-hot::before { background: var(--ink); }
.flow-src li.yours { border-style: dashed; border-color: var(--line); }
.flow-hub { grid-area: hub; justify-self: center; width: 46%; height: 2px; position: relative; }
.flow-hub span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.flow-mods { grid-area: mods; display: grid; gap: clamp(48px, 7vw, 96px); position: relative; }
.module { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); padding: 14px 16px 15px; display: grid; gap: 9px; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.module-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.module b { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; }
.module small { font-family: var(--mono); font-size: 0.64rem; color: var(--ink-3); letter-spacing: 0.04em; }
.module p { font-size: 0.8rem; line-height: 1.45; color: var(--ink-3); }
.module .verdict { font-family: var(--mono); font-size: 0.7rem; min-height: 1.4em; color: var(--ink-3); }
.module.is-active { border-color: var(--ink); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35); }
.module.is-reject .verdict { color: var(--ink-4); text-decoration: line-through; }
.eq { display: flex; align-items: center; gap: 3px; height: 24px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--ink); opacity: 0.35; transform: scaleY(0.15); }
.module.is-active .eq i { opacity: 1; animation: eq 0.9s ease-in-out infinite; animation-delay: calc(var(--d) * -0.13s); }
@keyframes eq { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(1); } }
.typing { display: grid; gap: 5px; height: 24px; align-content: center; }
.typing i { display: block; height: 4px; border-radius: 2px; background: var(--ink); opacity: 0.18; }
.typing i:nth-child(1) { width: 78%; }
.typing i:nth-child(2) { width: 52%; justify-self: end; }
.module.is-active .typing i { animation: breathe 1.2s ease-in-out infinite; }
.module.is-active .typing i:nth-child(2) { animation-delay: -0.6s; }
@keyframes breathe { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.6; } }
.flow-out { grid-area: out; position: relative; }
.flow-line { fill: none; stroke: var(--line-2); stroke-width: 1.2; transition: stroke 0.5s ease; }
.flow-line--beam { stroke: var(--ink-4); stroke-width: 1.6; }
.flow-line.is-hot { stroke: var(--ink-3); }
.flow-dash { display: none; }
.flow-dot { fill: var(--ink); }
.flow-halo { fill: var(--acc); opacity: 0.18; }
.flow-top { transition: opacity 0.25s ease; }
.flow-log { margin-top: 18px; min-height: 3.9em; font-family: var(--mono); font-size: 0.7rem; line-height: 1.3; color: var(--ink-4); display: grid; gap: 2px; }
.flow-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-log div:first-child { color: var(--ink-2); }
.flow-log .ok { color: var(--acc); }
.flow-log .no { color: var(--ink-4); text-decoration: line-through; }
.flow-foot { display: grid; gap: 14px; margin-top: 28px; }

/* ---------- схема: источники в трёх группах (тестовый экран test-istochniki.html) ---------- */
.test-note { display: inline-block; margin-bottom: 22px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--card); font-size: 0.82rem; color: var(--ink-3); }
.test-note a { color: var(--acc); }
.flow.flow--groups { grid-template-columns: minmax(270px, 310px) minmax(56px, 1fr) minmax(200px, 230px) minmax(28px, 0.4fr) minmax(290px, 340px); }
.flow-groups { display: grid; gap: 12px; }
.fg { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); padding: 12px 14px 14px; display: grid; gap: 3px; transition: border-color 0.4s ease; }
.fg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fg-head b { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; }
.fg-head span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.04em; color: var(--ink-3); white-space: nowrap; }
.fg-sub { font-size: 0.76rem; line-height: 1.35; color: var(--ink-3); }
.fg-ch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.fg-ch li { padding: 2px 7px; border: 1px solid transparent; border-radius: 8px; background: var(--bg-2); font-size: 0.72rem; line-height: 1.4; color: var(--ink-2); white-space: nowrap; transition: background-color 0.3s ease, color 0.3s ease; }
.fg.is-hot { border-color: var(--ink); }
.fg-ch li.is-hot { background: var(--ink); color: #fff; }
.fg-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 0.7rem; color: var(--ink-3); }
.fg-legend i { display: inline-block; width: 16px; height: 10px; margin-right: 6px; border-radius: 4px; background: var(--bg-2); vertical-align: -1px; }
.fg-legend i.y { background: transparent; border: 1px dashed var(--ink-4); }
/* режимы: что делаем мы, а что уже есть у клиента или у его подрядчиков */
.mode-tabs { display: flex; gap: 2px; width: max-content; max-width: 100%; padding: 5px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--shadow-soft); overflow-x: auto; scrollbar-width: none; }
.mode-tabs::-webkit-scrollbar { display: none; }
.mode-tabs button { flex-shrink: 0; border: 0; background: none; border-radius: var(--r-pill); padding: 10px 18px; font: inherit; font-size: 0.92rem; color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.mode-tabs button:hover { color: var(--ink); }
.mode-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.mode-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 16px 40px; align-items: start; margin: 20px 0 24px; }
.mode-desc { max-width: 38em; min-height: 4.5em; color: var(--ink-2); }
.who { display: flex; gap: 8px; }
.who div { flex: 1 1 0; min-width: 0; display: grid; gap: 3px; align-content: start; padding: 10px 14px 11px; border-radius: 14px; background: var(--card); }
.who dt { font-size: 0.72rem; color: var(--ink-3); }
.who dd { position: relative; padding-left: 14px; font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.who dd::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.who .is-theirs dd { color: var(--ink-3); font-weight: 500; }
.who .is-theirs dd::before { background: transparent; border: 1px solid var(--ink-4); width: 5px; height: 5px; }
.who .is-mixed dd::before { background: linear-gradient(90deg, var(--acc) 50%, transparent 50%); border: 1px solid var(--acc); width: 5px; height: 5px; }
.ways[data-mode="all"] .fg-ch li[data-yours], .ways[data-mode="ads"] .fg-ch li[data-yours="always"], .ways[data-mode="calls"] .fg-ch li, .ways[data-mode="an"] .fg-ch li { background: transparent; border-color: var(--ink-4); border-style: dashed; }
.ways[data-mode="calls"] .fg, .ways[data-mode="an"] .fg, .ways[data-mode="an"] .module { border-style: dashed; border-color: var(--line); box-shadow: none; }
.ways[data-mode] .fg.is-hot, .ways[data-mode] .module.is-active { border-color: var(--ink); }
/* остановленный по правилу канал и канал в тесте */
.ways[data-mode="all"] .fg-ch li[data-off], .ways[data-mode="ads"] .fg-ch li[data-off] { color: var(--ink-4); text-decoration: line-through; }
.ways[data-mode="ads"] .fg-ch li[data-test] { color: var(--acc); background: var(--acc-soft); border-color: var(--acc-line); }
.ways[data-mode] .fg-ch li.is-hot { background: var(--ink); border-color: var(--ink); border-style: solid; color: #fff; }
/* 05 · сквозная аналитика под схемой */
.fa { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px 20px; align-items: start; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.fa-title { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-3); }
.fa-sub { display: block; margin-top: 6px; font-size: 0.8rem; line-height: 1.4; color: var(--ink-3); }
.fa-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fa-c { display: grid; gap: 2px; align-content: start; padding: 11px 14px 12px; border-radius: 14px; background: var(--bg-2); }
.fa-c span { font-size: 0.74rem; color: var(--ink-3); }
.fa-c b { font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fa-c small { font-size: 0.72rem; line-height: 1.35; color: var(--ink-4); }
.fa-c.fa-v { background: var(--acc-soft); }
.fa-c.fa-v b { color: var(--acc); }

/* ---------- вычеркнуть подрядчиков ---------- */
.strike { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.strike-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; transition: opacity 0.5s ease, filter 0.5s ease; }
.ctr { position: relative; display: grid; gap: 8px; align-content: start; text-align: left; min-height: 132px; padding: 18px 18px 20px; border-radius: 20px; border: 1px solid transparent; background: var(--bg-2); cursor: pointer; overflow: hidden; transition: background 0.3s ease, border-color 0.3s ease; }
.ctr:hover { background: #ececf0; }
.ctr-n { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4); }
.ctr b { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s ease; }
.ctr-m { font-size: 0.84rem; color: var(--ink-3); margin-top: auto; }
.ctr-line { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: var(--ink); transform: scaleX(0) rotate(-6deg); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1); }
.ctr[aria-pressed="true"] { background: var(--bg); border-color: var(--line-2); }
.ctr[aria-pressed="true"] b, .ctr[aria-pressed="true"] .ctr-m { color: var(--ink-4); }
.ctr[aria-pressed="true"] .ctr-line { transform: scaleX(1) rotate(-6deg); }
.strike-sum { border-radius: var(--r-card); padding: 22px 22px 20px; display: grid; gap: 16px; background: var(--bg-2); position: sticky; top: 76px; }
.ss-title { font-size: 0.86rem; font-weight: 600; }
.strike-sum dl { display: grid; gap: 12px; }
.strike-sum dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.strike-sum dt { font-size: 0.88rem; color: var(--ink-3); }
.strike-sum dd { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; transition: color 0.3s ease; font-variant-numeric: tabular-nums; }
.strike-sum dd.is-down { color: var(--acc); }
.strike-sum dd[data-k="owner"] { font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.ss-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ss-note { font-size: 0.74rem; color: var(--ink-4); line-height: 1.45; }
.strike-result { position: absolute; left: 0; top: 0; width: calc(100% - 300px - clamp(20px, 3vw, 40px)); min-height: 100%; display: grid; align-content: center; gap: 16px; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-card); animation: resIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.strike-result h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 16em; }
.strike-result > p:not(.eyebrow) { color: var(--ink-3); max-width: 36em; }
.sr-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.strike.is-done .strike-grid { opacity: 0.12; filter: grayscale(1); pointer-events: none; }
@keyframes resIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }

/* ---------- планёрка ---------- */
.dispute { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.bubble { max-width: 520px; padding: 16px 20px; border-radius: 22px; background: var(--card); font-size: 1.04rem; line-height: 1.45; box-shadow: var(--shadow-soft); }
.bubble .who { display: block; font-size: 0.76rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.bubble.left { border-bottom-left-radius: 6px; }
.bubble.right { justify-self: end; border-bottom-right-radius: 6px; }
.verdict-card { justify-self: center; margin-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-card); border: 1px solid var(--acc-line); }
.verdict-card .vc-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); position: relative; flex-shrink: 0; }
.verdict-card .vc-ico::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--acc); font-weight: 700; }
.verdict-card b { display: block; font-size: 0.95rem; }
.verdict-card span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.verdict-card a { font-weight: 600; font-size: 0.9rem; color: var(--acc); text-decoration: none; }
.dispute-after { text-align: center; max-width: 40em; margin: clamp(28px, 3vw, 40px) auto 0; font-size: 1.1rem; color: var(--ink-2); }

/* ---------- протокол: карточка и подписи вокруг ---------- */
.protocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.callouts { display: grid; gap: clamp(28px, 4vw, 56px); }
.callout { display: grid; gap: 6px; position: relative; }
.callout b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.callout span { color: var(--ink-3); font-size: 0.94rem; }
.callouts--left .callout { text-align: right; padding-right: 26px; }
.callouts--right .callout { padding-left: 26px; }
.callouts--left .callout::after, .callouts--right .callout::after { content: ""; position: absolute; top: 0.7em; width: 14px; height: 1px; background: var(--ink-4); }
.callouts--left .callout::after { right: 0; }
.callouts--right .callout::after { left: 0; }
.transcript { margin-top: clamp(36px, 5vw, 64px); background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.section--alt .transcript { background: var(--card); }
.tr-side { display: grid; gap: 14px; align-content: start; }
.tr-side b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; }
.tr-player { display: flex; align-items: center; gap: 12px; }
.tr-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; flex-shrink: 0; }
.tr-play::after { content: ""; position: absolute; left: 18px; top: 15px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tr-play.is-playing::after { left: 16px; top: 15px; width: 4px; height: 16px; border: 0; background: #fff; box-shadow: 9px 0 0 #fff; }
.tr-track { flex: 1; display: grid; gap: 6px; }
.tr-bar { height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 2px; transform-origin: left center; transform: scaleX(0); transition: transform 0.25s linear; }
.tr-clock { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); display: flex; justify-content: space-between; }
.tr-lines { display: grid; gap: 12px; align-content: start; }
.tr-lines li { display: grid; grid-template-columns: 44px 80px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; opacity: 0.32; transition: opacity 0.35s ease; }
.tr-lines li.on { opacity: 1; }
.transcript:not(.is-armed) .tr-lines li { opacity: 1; }
.tr-lines time { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); padding-top: 3px; }
.tr-lines .who { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); padding-top: 1px; }
.tr-lines .sys .who { color: var(--acc); }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.calc-in { background: var(--card); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; align-content: start; box-shadow: var(--shadow-soft); }
.range { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range label { font-size: 0.92rem; color: var(--ink-2); }
.range output { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-2) var(--p, 50%)); }
.range input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
.range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.calc-out { border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); background: var(--ink); color: #fff; display: grid; gap: 22px; align-content: space-between; }
.calc-out .co-label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.calc-out .calc-big { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 8px; }
.calc-rows { display: grid; gap: 12px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; }
.calc-rows span { color: rgba(255, 255, 255, 0.62); }
.calc-rows b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.calc-out .btn-primary { background: #fff; color: var(--ink); justify-self: start; }
.calc-out .btn-primary:hover { background: #f0f0f2; }

/* ---------- команда ---------- */
.team { border-radius: var(--r-stage); background: var(--bg-2); overflow: hidden; }
.team-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.5fr 0.7fr; gap: 16px; padding: 18px clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--line-2); align-items: baseline; font-size: 0.94rem; }
.team-row:first-child { border-top: 0; font-size: 0.76rem; color: var(--ink-4); padding-top: 22px; padding-bottom: 12px; }
.team-row b { font-weight: 600; }
.team-row .us { color: var(--acc); }
.team-row .sum { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.team-row--total { background: var(--ink); color: #fff; font-weight: 600; }
.team-row--total .us { color: #8fe0b8; }
.team-row--total .muted { color: rgba(255, 255, 255, 0.6); }
.skills { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-card); border: 1px solid var(--line-2); }
.skill span { font-size: 0.86rem; color: var(--ink-4); text-decoration: line-through; }
.skill b { font-weight: 600; font-size: 0.98rem; }

/* ---------- петля ---------- */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; counter-reset: loop; }
.loop li { background: var(--card); border-radius: 20px; padding: 18px 18px 20px; display: grid; gap: 8px; position: relative; box-shadow: var(--shadow-soft); }
.loop li::before { counter-increment: loop; content: "0" counter(loop); font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.loop li b { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.02em; line-height: 1.25; }
.loop li span { font-size: 0.86rem; color: var(--ink-3); }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-4); border-right: 1.5px solid var(--ink-4); transform: translateY(-50%) rotate(45deg); }
.loop-back { position: relative; margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--ink-3); white-space: nowrap; }
.loop-back span { position: relative; z-index: 1; padding: 0 8px; background: var(--bg-2); }
.loop-run { position: absolute; left: 0; right: 0; top: 50%; height: 0; animation: loopRun 9s linear infinite; }
.loop-run::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
@keyframes loopRun { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.loop-back::before, .loop-back::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-4) 0 6px, transparent 6px 12px); }

/* ---------- галерея «что внутри» с плюсами ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 3.6vw, 44px); }
.gallery-head .sec-head { margin-bottom: 0; }
.gal-nav { display: flex; gap: 10px; flex-shrink: 0; }
.gal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e8e8ed; cursor: pointer; position: relative; }
.gal-nav button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); }
.gal-nav [data-gal-prev]::after { transform: translate(-30%, -50%) rotate(-135deg); }
.gal-nav [data-gal-next]::after { transform: translate(-70%, -50%) rotate(45deg); }
.gal-nav button:disabled { opacity: 0.4; cursor: default; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 28px; }
.gallery::-webkit-scrollbar { display: none; }
.gal-card { scroll-snap-align: start; position: relative; min-height: 420px; border-radius: 28px; background: var(--bg-2); padding: 22px 22px 74px; display: grid; gap: 12px; align-content: start; }
.section--alt .gal-card { background: var(--card); box-shadow: var(--shadow-soft); }
.gal-card .ill { margin-bottom: 8px; border-radius: 18px; }
.gal-card .ill--panel { background: var(--card); }
.section--alt .gal-card .ill--panel { background: var(--bg-2); }
.gal-card .gc-tag, .gal-card h3, .gal-card > p, .gal-card .gc-mini { padding: 0 4px; }
.gal-card .gc-tag { font-size: 0.84rem; font-weight: 600; color: var(--ink-3); }
.gal-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.12; }
.gal-card p { color: var(--ink-3); font-size: 0.95rem; }
.gc-plus { position: absolute; right: 20px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; }
.gc-plus::before, .gc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.gc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.gc-more { display: none; }
.gc-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gc-mini span { font-size: 0.74rem; padding: 4px 10px; border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); }
.section--alt .gc-mini span { background: var(--bg-2); }

/* ---------- сравнение ---------- */
.cmp-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--bg-2); -webkit-overflow-scrolling: touch; }
.section--alt .cmp-scroll { background: var(--card); }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 0.9rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.cmp thead th { border-top: 0; font-size: 0.82rem; color: var(--ink-3); font-weight: 600; padding-top: 22px; }
.cmp tbody th { font-weight: 600; color: var(--ink-2); width: 16%; }
.cmp td { color: var(--ink-3); }
.cmp .us { color: var(--ink); font-weight: 600; background: rgba(15, 122, 82, 0.05); }
.cmp thead .us { color: var(--acc); }

/* ---------- кому подходит ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { border-radius: var(--r-stage); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.fit-yes { background: var(--bg-2); }
.fit-no { border: 1px solid var(--line-2); }
.section--alt .fit-yes { background: var(--card); }
.fit h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.025em; }
.fit ul { display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 1rem; }
.fit-yes li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.fit-no li::before { content: "—"; color: var(--ink-4); }
.fit-no li { color: var(--ink-3); }

/* ---------- форматы работы ---------- */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.mode { border-radius: var(--r-stage); background: var(--bg-2); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; position: relative; }
.section--alt .mode { background: var(--card); }
.mode--main, .section--alt .mode--main { background: var(--ink); color: #fff; }
.mode-top { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.mode--main .mode-top { color: rgba(255, 255, 255, 0.6); }
.mode h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.mode > p { color: var(--ink-3); font-size: 0.96rem; }
.mode--main > p { color: rgba(255, 255, 255, 0.72); }
.mode-price { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.mode--main .mode-price { border-color: rgba(255, 255, 255, 0.14); }
.mode-price span { font-size: 0.76rem; color: var(--ink-4); }
.mode--main .mode-price span { color: rgba(255, 255, 255, 0.55); }
.mode-price b { font-size: 1rem; }
.mode--main .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
.mode ul { display: grid; gap: 9px; font-size: 0.92rem; }
.mode li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; }
.mode li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.mode--main li::before { color: #8fe0b8; }
.mode .btn { justify-self: start; margin-top: 6px; }
.mode--main .btn-primary { background: #fff; color: var(--ink); }
.mode--main .btn-primary:hover { background: #f0f0f2; }
.mode-badge { position: absolute; right: 22px; top: 22px; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); color: #fff; }
.mode-start { font-size: 0.8rem; color: var(--ink-3); }
.mode--main .mode-start { color: rgba(255, 255, 255, 0.6); }

/* ---------- вопросы ---------- */
.faq { display: grid; max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.25rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 24px; color: var(--ink-3); max-width: 44em; }

/* ---------- финал ---------- */
.final { text-align: center; display: grid; justify-items: center; gap: 22px; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.final--flow { padding-bottom: clamp(40px, 5vw, 72px); }
.final--flow .ill { width: 100%; margin-top: clamp(20px, 3vw, 40px); }
.final .h2 { max-width: 15em; }
.final .lead { margin: 0 auto; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- внутренние страницы ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.crumbs { font-size: 0.82rem; color: var(--ink-4); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 15em; }
.page-hero .hero-sub { margin-top: 24px; max-width: 40em; }
.page-hero .hero-actions { margin-top: 30px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ph-grid h1 { font-size: clamp(2.4rem, 1.2rem + 2.7vw, 4.25rem); }
.anchors { margin-top: clamp(34px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 8px; }
.anchors a { font-size: 0.88rem; padding: 8px 15px; border-radius: var(--r-pill); background: var(--bg-2); text-decoration: none; color: var(--ink-2); }
.anchors a:hover { background: #e8e8ed; color: var(--ink); }
.stats { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { font-size: 0.9rem; color: var(--ink-3); }

/* ступени */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { background: var(--card); border-radius: var(--r-card); padding: 24px 22px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-soft); }
.stage h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.03em; }
.stage small { font-size: 0.78rem; color: var(--ink-4); }
.stage p { color: var(--ink-3); font-size: 0.94rem; }
.stage dl { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); margin-top: 4px; font-size: 0.88rem; }
.stage dt { font-size: 0.72rem; color: var(--ink-4); }
.stage .you dd { color: var(--acc); font-weight: 600; }

/* бриф: минуты и документ */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.minutes li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 1rem; }
.minutes li:last-child { border-bottom: 1px solid var(--line-2); }
.minutes time { font-family: var(--mono); font-size: 0.8rem; color: var(--acc); padding-top: 2px; }

/* граница ответственности */
.zone { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border-radius: var(--r-stage); overflow: hidden; }
.zone > div { padding: clamp(22px, 3vw, 34px); display: grid; gap: 8px; align-content: start; }
.zone-us { background: var(--ink); color: #fff; }
.zone-us span { color: rgba(255, 255, 255, 0.6); }
.zone-them { background: var(--bg-2); }
.section--alt .zone-them { background: var(--card); }
.zone-them span { color: var(--ink-3); }
.zone > .zone-mid { background: var(--acc); color: #fff; padding: 0 18px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.06em; }
.zone small { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; }
.zone b { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.zone-rules { margin-top: 14px; font-size: 0.86rem; color: var(--ink-3); }

/* недели */
.weeks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.weeks li { padding: 18px 18px 0 0; display: grid; gap: 6px; align-content: start; position: relative; }
.weeks li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.section--alt .weeks li::before { background: var(--bg-2); }
.weeks li:last-child::before { background: var(--acc); border-color: var(--acc); }
.weeks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.weeks time { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); margin-top: 6px; }
.weeks b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.weeks p { font-size: 0.9rem; color: var(--ink-3); }

/* пилот */
.pilot { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.pilot .sec-head { margin-bottom: 26px; }
.pilot-card { background: var(--ink); color: #fff; border-radius: var(--r-stage); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.pilot-card .doc-rows div { grid-template-columns: 150px minmax(0, 1fr); }
.pilot-card dt { color: rgba(255, 255, 255, 0.55); }
.pilot-card .doc-head { border-color: rgba(255, 255, 255, 0.14); }
.pilot-card .doc-head span { color: rgba(255, 255, 255, 0.55); }
.pilot-card .doc-foot { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.55); }
.pilot-card .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }

/* нужно — не нужно */
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.need > div { border-radius: var(--r-stage); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.need-yes { background: var(--bg-2); }
.section--alt .need-yes { background: var(--card); }
.need-no { border: 1px solid var(--line); }
.need h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.need li { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 1rem; }
.need-no li { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }

/* каналы и подбор */
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.picker button { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill); padding: 9px 16px; font-size: 0.9rem; cursor: pointer; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.picker button:hover { border-color: var(--ink); }
.picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker-out { min-height: 1.6em; margin-bottom: 30px; font-size: 1rem; color: var(--ink-2); }
.picker-out b { color: var(--acc); }
.ch-group + .ch-group { margin-top: 26px; }
.ch-group-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink-3); }
.ch-group-title span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel { background: var(--card); border-radius: 20px; padding: 20px 20px 22px; display: grid; gap: 8px; align-content: start; border: 1px solid transparent; transition: border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-soft); }
.channel b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.channel p { color: var(--ink-3); font-size: 0.92rem; }
.channel small { font-size: 0.8rem; color: var(--ink-4); padding-top: 8px; border-top: 1px solid var(--line-2); margin-top: 4px; }
.channels-all.is-picking .channel { opacity: 0.38; }
.channels-all.is-picking .channel.is-pick { opacity: 1; border-color: var(--acc); box-shadow: 0 16px 40px -24px rgba(15, 122, 82, 0.5); }
.soon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.soon span { font-size: 0.84rem; padding: 7px 14px; border-radius: var(--r-pill); border: 1px dashed var(--line); color: var(--ink-3); }
.soon span i { font-style: normal; color: var(--ink-4); }

/* правило остановки: три числа и столбики */
.rule3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.rule3 div { background: var(--bg-2); border-radius: var(--r-card); padding: 22px; display: grid; gap: 6px; }
.section--alt .rule3 div { background: var(--card); }
.rule3 > div > span { font-size: 0.82rem; color: var(--ink-3); }
.rule3 b { font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.035em; line-height: 1.05; }
.bars { background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(20px, 3vw, 34px); display: grid; gap: 14px; }
.section--alt .bars { background: var(--card); }
.bars-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px; gap: 16px; align-items: center; font-size: 0.92rem; }
.bars-row.head { font-size: 0.74rem; color: var(--ink-4); }
.bars-row.head > span:nth-child(2) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.bars-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; height: 62px; }
.bars-track i { display: block; width: 16px; justify-self: center; background: var(--ink); border-radius: 8px; height: calc(var(--v) * 6px + 6px); transform-origin: bottom; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars.is-hidden .bars-track i { transform: scaleY(0); }
.bars-row.off .bars-track i { background: var(--ink-4); }
.bars-row .res { font-size: 0.82rem; font-weight: 600; }
.bars-row .res.up { color: var(--acc); }
.bars-row .res.off { color: var(--ink-4); text-decoration: line-through; }
.bars-foot { font-size: 0.78rem; color: var(--ink-4); }

/* таблица отчёта */
.rep-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-card); }
.rep { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; }
.rep th, .rep td { padding: 15px 18px; text-align: left; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.rep thead th { border-top: 0; font-size: 0.76rem; color: var(--ink-4); font-weight: 600; padding-top: 20px; }
.rep tfoot td { font-weight: 600; background: var(--bg-2); }
.rep .up { color: var(--acc); font-weight: 600; }
.rep .off { color: var(--ink-4); text-decoration: line-through; }

/* сценарий-развилка */
.script { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.script li { background: var(--card); border-radius: 18px; padding: 18px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow-soft); }
.script small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.script b { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; }
.script p { font-size: 0.88rem; color: var(--ink-3); }
.fork { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fork > div { border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.fork .f-yes { background: var(--acc); color: #fff; }
.fork .f-yes small, .fork .f-yes p { color: rgba(255, 255, 255, 0.82); }
.fork .f-no { background: var(--card); border: 1px solid var(--line-2); }
.fork .f-wait { background: var(--card); border: 1px dashed var(--line); }
.fork small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.fork b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.fork p { font-size: 0.9rem; color: var(--ink-3); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

/* отметка продаж */
.markdemo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.md-card .lc-actions button { font: inherit; text-align: center; font-size: 0.86rem; font-weight: 600; padding: 11px 4px; border-radius: var(--r-small); border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.md-card .lc-actions button:hover { border-color: var(--ink); }
.md-card .lc-actions button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.md-out { background: var(--card); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; min-height: 220px; align-content: center; box-shadow: var(--shadow-soft); }
.md-out b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.025em; }
.md-out p { color: var(--ink-3); }
.md-out [data-for] { animation: roleIn 0.4s ease both; }

/* скорость ответа */
.speed { background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.speed-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 100px; gap: 16px; align-items: center; font-size: 0.94rem; }
.speed-track { height: 12px; background: var(--card); border-radius: 6px; overflow: hidden; }
.speed-track i { display: block; height: 100%; width: var(--w); background: var(--ink-4); border-radius: 6px; transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.speed-row.us .speed-track i { background: var(--acc); }
.speed-row.us b { color: var(--acc); }
.speed.is-hidden .speed-track i { width: 0; }
.speed-row b { font-variant-numeric: tabular-nums; text-align: right; }

/* безопасность: матрица доступов, поля CRM, пакет документов */
.access-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-card); }
.access { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9rem; }
.access th, .access td { padding: 15px 16px; border-top: 1px solid var(--line-2); text-align: center; }
.access th:first-child, .access td:first-child { text-align: left; }
.access thead th { border-top: 0; font-size: 0.78rem; color: var(--ink-3); font-weight: 600; padding-top: 20px; }
.access tbody th { font-weight: 600; }
.access .y { color: var(--acc); font-weight: 700; }
.access .n { color: var(--ink-4); }
.access .p { color: var(--ink-2); font-size: 0.8rem; }
.mapping { display: grid; gap: 8px; }
.map-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; align-items: center; }
.map-row > span { background: var(--card); border-radius: 12px; padding: 11px 14px; font-size: 0.88rem; box-shadow: var(--shadow-soft); min-width: 0; overflow-wrap: anywhere; }
.map-row > span:last-child { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.map-row i { height: 1px; background: var(--ink-4); position: relative; }
.map-row i::after { content: ""; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-top: 1px solid var(--ink-4); border-right: 1px solid var(--ink-4); transform: rotate(45deg); }
.map-row.head > span { background: none; box-shadow: none; font-size: 0.76rem; color: var(--ink-4); font-family: var(--body); padding: 0 4px; }
.map-row.head i { background: none; }
.map-row.head i::after { display: none; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 0.98rem; }
.checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--acc-soft); border: 1px solid var(--acc-line); margin-top: 2px; }
.checklist li span { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 2px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos span { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; padding: 12px 18px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-soft); }
.logos span.dim { color: var(--ink-3); font-weight: 500; }

/* ---------- иллюстрации: неподвижная картинка, поверх — точки, пульс, маркеры ---------- */
.ill { position: relative; margin: 0; overflow: hidden; }
.ill--panel { background: var(--bg-2); border-radius: var(--r-stage); }
.section--alt .ill--panel { background: var(--card); }
.ill-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: translateX(var(--x, 0px)) scale(var(--k, 1)); }
.ill-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.ill-svg .ln { fill: none; stroke: #c7c7cc; stroke-width: 1.2; stroke-linecap: round; }
.ill-svg .lm { fill: none; stroke: var(--ink-4); stroke-width: 1.6; stroke-linecap: round; }
.ill-svg .lg { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; }
.ill-svg .ld { fill: none; stroke: var(--ink-4); stroke-width: 1.2; stroke-dasharray: 3 5; stroke-linecap: round; }
.ill-svg .broken { stroke: #c7c7cc; }
.ill-svg .river { stroke: var(--ink-4); stroke-width: 2; }
.ill-svg .src { fill: var(--ink-4); }
.ill-svg .grid { fill: none; stroke: var(--line-2); stroke-width: 1; }
.ill-svg text { font-family: var(--mono); font-size: 11.5px; fill: var(--ink-3); letter-spacing: 0.02em; }
.ill-svg .t-ink { fill: var(--ink); font-weight: 500; font-size: 13px; }
.ill-svg .t-no { fill: var(--ink-4); font-size: 13px; }
.ill-dot { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); will-change: transform; animation-duration: var(--t, 6s); animation-delay: var(--d, 0s); animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; }
.ill-dot.ok { background: var(--acc); }
.ill-dot.no { background: var(--ink-4); }
.ill-dot.dot-lg { left: -5.5px; top: -5.5px; width: 11px; height: 11px; box-shadow: 0 0 0 5px rgba(15, 122, 82, 0.16); }
[data-ill]:not(.is-on) .a { animation-play-state: paused; }
.is-idle [data-ill] .a, .is-idle .module .eq i, .is-idle .module .typing i { animation-play-state: paused; }
.ill-card, .ill-doc, .ill-note { position: absolute; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; display: grid; gap: 5px; font-size: 13px; line-height: 1.3; color: var(--ink); text-align: left; }
.ill-card { box-shadow: var(--shadow-card); padding: 12px 14px 13px; }
.ill-card b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ic-st { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; }
.ic-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.ic-sub { font-size: 12px; color: var(--ink-3); }
.ic-crit { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.ic-crit em { font-style: normal; font-size: 10.5px; font-weight: 500; color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-line); border-radius: 99px; padding: 1px 7px; }
.ic-crit em::before { content: "✓ "; }
.ill-doc { box-shadow: var(--shadow-soft); padding: 14px 16px 15px; gap: 6px; }
.ill-doc small { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.ill-doc b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ic-list { display: grid; gap: 7px; margin-top: 5px; }
.ic-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.ic-list li::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--acc-soft); border: 1px solid var(--acc-line); color: var(--acc); font-size: 10px; }
.ln-txt { display: block; height: 7px; border-radius: 4px; background: var(--bg-2); }
.ln-txt.s { width: 62%; }
.ill-tag { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.ill-tag.ok { color: var(--acc); }
.ill-pulse { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1.5px solid var(--acc); opacity: 0; animation: pulse 2.8s ease-out infinite; }
.ill-pulse.p2 { animation-delay: -1.4s; }
@keyframes pulse { 0% { transform: scale(0.55); opacity: 0.6; } 100% { transform: scale(2.3); opacity: 0; } }
.hl { position: absolute; left: -6px; right: -6px; top: 2px; bottom: 2px; border-radius: 6px; background: rgba(15, 122, 82, 0.14); transform-origin: left center; transform: scaleX(0); animation: mark 7s ease-in-out infinite; }
@keyframes mark { 0%, 8% { transform: scaleX(0); } 20%, 86% { transform: scaleX(1); } 94%, 100% { transform: scaleX(0); } }
.ill-stamp { position: absolute; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--acc); border: 1.5px solid var(--acc); border-radius: 8px; padding: 4px 9px; background: #fff; opacity: 0; transform: rotate(-8deg); animation: stamp 7s ease infinite; white-space: nowrap; }
@keyframes stamp { 0%, 36% { opacity: 0; transform: rotate(-8deg) scale(1.35); } 42%, 86% { opacity: 1; transform: rotate(-8deg) scale(1); } 94%, 100% { opacity: 0; transform: rotate(-8deg) scale(1); } }

/* горы и ручьи */
.ill-svg .mt-back { fill: #ececf0; }
.ill-svg .mt-mid { fill: #fbfbfd; stroke: #d9d9de; stroke-width: 1.2; stroke-linejoin: round; }
.ill-svg .mt-ridge { fill: none; stroke: #d9d9de; stroke-width: 1; stroke-linecap: round; }
.ill--mountains .ill-svg text { font-size: 11px; }
.ill.is-tiny .ill-svg text { display: none; }

/* телефон и ноутбук */
.ill-svg .ph-body { fill: var(--ink); }
.ill-svg .ph-screen { fill: #fff; }
.ill-svg .lap-base { fill: #d8d8dd; }
.ill-svg .lap-notch { fill: #c3c3c9; }
.ill-svg .chart-line { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ill-svg .chart-area { fill: rgba(15, 122, 82, 0.08); }
.ph-ui { position: absolute; display: flex; flex-direction: column; align-items: center; padding: 42px 14px 14px; gap: 3px; text-align: center; }
.ph-time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ph-ava { margin-top: 12px; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-weight: 600; font-size: 20px; color: var(--ink-3); }
.ph-ui > b { margin-top: 6px; font-size: 16px; letter-spacing: -0.01em; }
.ph-who { font-size: 12px; color: var(--ink-3); }
.ph-wave { display: flex; align-items: center; gap: 3px; height: 26px; margin: 12px 0 12px; }
.ph-wave i { width: 3px; border-radius: 2px; background: var(--ink-4); }
.ph-crit { width: 100%; display: grid; gap: 6px; text-align: left; }
.ph-crit li { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 6px; padding: 7px 8px 7px 10px; border-radius: 10px; background: var(--bg-2); font-size: 11.5px; }
.ph-crit span { color: var(--ink-3); }
.ph-crit em { font-style: normal; font-weight: 600; white-space: nowrap; }
.ph-foot { margin-top: auto; font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.ck { width: 16px; height: 16px; border-radius: 50%; background: var(--acc); position: relative; opacity: 0; }
.ck::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 3.5px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.ck1 { animation: ck1 8s ease infinite; } .ck2 { animation: ck2 8s ease infinite; } .ck3 { animation: ck3 8s ease infinite; } .ck4 { animation: ck4 8s ease infinite; }
@keyframes ck1 { 0%, 8% { opacity: 0; transform: scale(0.4); } 12%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ck2 { 0%, 20% { opacity: 0; transform: scale(0.4); } 24%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ck3 { 0%, 32% { opacity: 0; transform: scale(0.4); } 36%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ck4 { 0%, 44% { opacity: 0; transform: scale(0.4); } 48%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.ill-card.slide { animation: cardIn 8s ease infinite; }
@keyframes cardIn { 0%, 52% { opacity: 0; transform: translateX(-18px); } 59%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.lap-ui { position: absolute; padding: 12px 14px; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto 1fr; gap: 10px 18px; font-size: 12px; text-align: left; }
.lap-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.lap-top b { font-size: 12.5px; }
.lap-top span { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.lap-kpi { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lap-kpi span { background: var(--bg-2); border-radius: 10px; padding: 7px 10px; font-size: 10px; color: var(--ink-3); display: grid; gap: 1px; }
.lap-kpi b { font-size: 15px; color: var(--ink); letter-spacing: -0.02em; }
.lap-kpi b.g { color: var(--acc); }
.lap-cap { font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); }
.lap-bars { display: grid; gap: 7px; align-content: start; }
.lap-bars p { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 6px; font-size: 10.5px; }
.lap-bars em { font-style: normal; color: var(--ink-3); }
.lap-bars i { display: block; height: 7px; border-radius: 4px; background: var(--ink); }
.lap-bars .off i { background: #c7c7cc; }
.lap-bars .off em { text-decoration: line-through; color: var(--ink-4); }
.ill-note { box-shadow: var(--shadow-card); padding: 11px 13px; gap: 2px; }
.ill-note small { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.ill-note b { font-size: 13.5px; }
.ill-note span { color: var(--acc); font-size: 11.5px; }
.pop { animation: pop 7s ease infinite; }
@keyframes pop { 0%, 30% { opacity: 0; transform: translateY(12px); } 36%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* сейф и документы */
.ill-svg .vault { fill: none; stroke: #d2d2d7; stroke-width: 1.2; }
.ill-svg .vault-in { fill: #fff; stroke: #d2d2d7; stroke-width: 1.2; }
.section--alt .ill-svg .vault-in { fill: var(--bg-2); }
.ill-svg .lock-body { fill: var(--ink); }
.ill-svg .lock-arc { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.ill-svg .lock-hole { fill: #fff; }
.doc-inv { padding-bottom: 50px; }
.doc-inv .ill-stamp { right: 16px; bottom: 14px; }
.vchip { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.section--alt .vchip { background: var(--bg-2); }
.inv { display: grid; margin-top: 8px; }
.inv li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.inv li > span:not(.hl), .inv em { position: relative; }
.inv em { font-style: normal; font-weight: 600; white-space: nowrap; }
.inv s { color: var(--ink-4); font-weight: 400; margin-right: 4px; }
.inv .gift em { color: var(--acc); }
.inv .tot { font-weight: 600; }
.inv-foot { font-family: var(--mono); font-size: 10px; color: var(--ink-4); padding-top: 8px; border-top: 1px solid var(--line-2); }

/* комплект онбординга на тёмном */
.kd { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); display: grid; gap: 10px; font-size: 12.5px; line-height: 1.3; text-align: left; }
.kd-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--line-2); }
.kd-h b { font-size: 14.5px; font-weight: 600; }
.kd-h span { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.kd-rows, .kd-map, .kd-script { display: grid; gap: 8px; }
.kd-rows li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 9px; align-items: center; color: var(--ink-2); }
.kd-rows li i { width: 15px; height: 15px; border-radius: 4px; background: var(--acc-soft); border: 1px solid var(--acc-line); grid-row: span 2; }
.kd-rows em { grid-column: 2; font-style: normal; font-size: 11px; color: var(--ink-4); }
.kd-map li { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.kd-map code { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.kd-main { padding-bottom: 50px; }
.kd-script { counter-reset: s; }
.kd-script li { position: relative; padding-left: 22px; color: var(--ink-2); }
.kd-script li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.kd-script .hl { left: 16px; top: -2px; bottom: -2px; }
.hl2 { animation-delay: 0.45s; } .hl3 { animation-delay: 0.9s; } .hl4 { animation-delay: 1.35s; }
.kd-main .ill-stamp { right: 14px; bottom: 14px; }
.kd-tag { position: absolute; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #8fe0b8; border-radius: 99px; padding: 6px 12px; transform: rotate(8deg); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.kd-tag s { font-weight: 500; color: rgba(29, 29, 31, 0.55); margin-right: 3px; }

/* картинки в карточках галереи */
.art-call { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-soft); }
.art-ico { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--acc); }
.art-ico { display: grid; place-items: center; }
.art-ico svg { position: relative; z-index: 1; }
.art-ico .ill-pulse { left: 20px; top: 20px; }
.art-txt { display: grid; gap: 1px; text-align: left; }
.art-txt small { font-size: 10.5px; color: var(--ink-4); }
.art-txt b { font-size: 14px; font-weight: 600; }
.art-txt em { font-style: normal; font-size: 11.5px; color: var(--acc); }
.ill-svg .wave { fill: var(--ink-4); }
.art-head { position: absolute; left: 23px; top: 38px; width: 2px; height: 58px; background: var(--ink); border-radius: 1px; animation: head 6s linear infinite; }
.art-head::before { content: ""; position: absolute; left: -4px; top: -7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes head { from { transform: translateX(0); } to { transform: translateX(242px); } }
.bub { position: absolute; font-size: 12.5px; line-height: 1.3; background: #fff; border-radius: 14px 14px 14px 4px; padding: 7px 11px; box-shadow: var(--shadow-soft); white-space: nowrap; }
.bub.me { background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.tdot { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--ink-4); animation: tdot 1.2s ease-in-out infinite; }
.tdot:nth-child(2) { animation-delay: 0.2s; }
.tdot:nth-child(3) { animation-delay: 0.4s; }
@keyframes tdot { 0%, 100% { opacity: 0.25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ill-svg .bar { fill: var(--ink); }
.ill-svg .bar.off { fill: #c7c7cc; }
.art-scan { position: absolute; left: 32px; top: 24px; width: 2px; height: 100px; background: linear-gradient(var(--acc), rgba(15, 122, 82, 0)); animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(0); opacity: 0; } 10%, 88% { opacity: 0.85; } 100% { transform: translateX(226px); opacity: 0; } }
.ill-svg .srv { fill: #fff; stroke: var(--line); stroke-width: 1; }
.ill-svg .shield { fill: #fff; stroke: var(--ink-4); stroke-width: 1.4; stroke-linejoin: round; }
.led { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: led 2.1s steps(1) infinite; }
@keyframes led { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.2; } }
.app { position: absolute; width: 86px; height: 62px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); display: grid; place-items: center; align-content: center; gap: 3px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.2; }
.app .logo-mark { width: 20px; height: 20px; }
.chip { position: absolute; left: 92px; top: 64px; font-size: 10.5px; font-weight: 600; color: var(--acc); background: #fff; border: 1px solid var(--acc-line); border-radius: 99px; padding: 3px 8px; white-space: nowrap; animation: chip 3.2s ease-in-out infinite; }
@keyframes chip { 0% { transform: translateX(-12px); opacity: 0; } 15%, 70% { opacity: 1; } 85%, 100% { transform: translateX(44px); opacity: 0; } }

/* «как обычно» и «в коробке» */
.bx { position: absolute; display: grid; align-content: center; min-height: 40px; width: 192px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); font-size: 13.5px; line-height: 1.25; text-align: left; }
.bx-main { width: 152px; min-height: 52px; justify-items: center; font-weight: 600; font-size: 15px; border: 1px dashed var(--line); box-shadow: none; background: transparent; }
.bx-main.ok { border: 1.5px solid var(--acc); color: var(--acc); background: #fff; }
.bx-src { width: 202px; min-height: 100px; gap: 4px; background: var(--ink); color: rgba(255, 255, 255, 0.7); font-size: 12.5px; box-shadow: var(--shadow-card); }
.bx-src b { color: #fff; font-size: 18px; letter-spacing: -0.02em; }

/* ---------- предложение при регистрации ---------- */
.offer-wrap { padding: 0 0 clamp(64px, 8vw, 120px); }
.offer { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(20px, 3vw, 48px); align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-stage); padding: clamp(28px, 4.4vw, 64px); }
.offer-eyebrow { font-size: 1.05rem; font-weight: 600; color: #8fe0b8; }
.offer-h { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2vw, 3.05rem); line-height: 1.05; letter-spacing: -0.035em; }
.offer-price { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.offer-price s { position: relative; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); color: rgba(255, 255, 255, 0.5); letter-spacing: -0.02em; }
.offer-price s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 2px; background: #8fe0b8; transform: scaleX(0); transform-origin: left center; transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.35s; }
.offer.is-on .offer-price s::after, html:not(.js) .offer-price s::after { transform: scaleX(1); }
.offer-price b { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 2.6vw, 3.9rem); letter-spacing: -0.045em; line-height: 1; }
.offer-price span { flex-basis: 100%; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.offer-list { margin-top: 24px; display: grid; gap: 10px; }
.offer-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 1rem; color: rgba(255, 255, 255, 0.88); }
.offer-list li::before { content: "✓"; color: #8fe0b8; font-weight: 700; }
.offer-form { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.offer-form input { flex: 1 1 180px; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-size: 1rem; }
.offer-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.offer-form input:focus { outline: 2px solid #fff; outline-offset: 1px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f2; }
.offer-fine { margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); max-width: 42em; }
.offer .tbd, .gift-strip .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
.offer .ill--kit { width: 100%; }
.gift-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px 32px; align-items: center; margin-bottom: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-stage); background: var(--ink); color: #fff; }
.gift-strip > div { display: grid; gap: 6px; }
.gs-eyebrow { font-size: 0.86rem; font-weight: 600; color: #8fe0b8; }
.gift-strip b { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.15; }
.gift-strip > div > span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.gs-price { display: grid; justify-items: end; line-height: 1; }
.gs-price s { color: rgba(255, 255, 255, 0.5); font-size: 1.1rem; }
.gs-price b { font-size: 2.6rem; letter-spacing: -0.04em; }

/* ---------- сквозная аналитика: отчёт ---------- */
.dash { background: var(--card); border-radius: var(--r-stage); box-shadow: var(--shadow-card); border: 1px solid var(--line-2); overflow: hidden; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding: 16px clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line-2); }
.dash-title { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-title b { font-size: 0.95rem; }
.dash-title span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.dash-tabs { display: flex; gap: 2px; background: var(--bg-2); border-radius: var(--r-pill); padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs button { border: 0; background: none; border-radius: var(--r-pill); padding: 7px 14px; font-size: 0.84rem; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.dash-tabs button:hover { color: var(--ink); }
.dash-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.dash-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border-bottom: 1px solid var(--line-2); }
.dash-kpis div { padding: 16px clamp(14px, 1.8vw, 24px); display: grid; gap: 4px; align-content: start; background: var(--card); min-width: 0; }
.dash-kpis span { font-size: 0.74rem; color: var(--ink-3); }
.dash-kpis b { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 0.85rem + 0.75vw, 1.55rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.4s ease; }
.dash-kpis b.is-up { color: var(--acc); }
.dash-kpis div:last-child b { color: var(--acc); }
.dash-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.dash-table th, .dash-table td { padding: 13px 14px; text-align: right; border-top: 1px solid var(--line-2); white-space: nowrap; }
.dash-table th:first-child, .dash-table td:first-child { text-align: left; padding-left: clamp(16px, 2.4vw, 28px); }
.dash-table th:last-child, .dash-table td:last-child { padding-right: clamp(16px, 2.4vw, 28px); }
.dash-table thead th { border-top: 0; font-size: 0.74rem; font-weight: 600; color: var(--ink-4); padding-top: 14px; }
.dash-table td:first-child { font-weight: 600; }
.romi { display: inline-flex; align-items: center; gap: 10px; }
.romi i { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--bg-2); position: relative; overflow: hidden; }
.romi i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--acc); border-radius: 3px; transition: width 0.6s ease; }
.dash-table tr.neg .romi b { color: var(--no); }
.dash-table tr.is-off td { color: var(--ink-4); }
.dash-table tr.is-off td:first-child { text-decoration: line-through; font-weight: 500; }
.dash-table tr.is-boost td { background: rgba(15, 122, 82, 0.05); }
.dash-table tr.warn td { background: rgba(180, 35, 24, 0.04); }
.dash-table tr.warn b { color: var(--no); }
.fc { margin-left: 5px; font-size: 0.72rem; font-weight: 600; color: var(--acc); }
.dash-act { width: 1%; }
.dash-stop { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 5px 12px; font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.dash-stop:hover { border-color: var(--ink); }
.dash-off { font-size: 0.74rem; color: var(--ink-4); }
.dash-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding: 14px clamp(16px, 2.4vw, 28px) 18px; border-top: 1px solid var(--line-2); }
.dash-note { font-size: 0.9rem; color: var(--ink-2); max-width: 54em; }
.dash-note b { color: var(--acc); }
.dfun { display: grid; gap: 12px; padding: 20px clamp(16px, 2.4vw, 28px); }
.dfun-row { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 70px; gap: 16px; align-items: center; font-size: 0.92rem; }
.dfun-row small { display: block; font-size: 0.74rem; color: var(--ink-4); }
.dfun-row i { display: block; height: 26px; width: var(--w); border-radius: 8px; background: var(--ink); transform-origin: left center; }
.dfun-row.q i { background: var(--acc); }
.dfun-row.rs i { height: 14px; background: var(--ink-4); }
.dfun-row b { text-align: right; font-variant-numeric: tabular-nums; }
.dash-pane:not([hidden]) .dfun-row i { animation: growX 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes growX { from { transform: scaleX(0); } }
.boxcmp { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.boxcmp > div { border-radius: var(--r-stage); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.bc-usual { border: 1px solid var(--line); }
.bc-ours { background: var(--bg-2); }
.section--alt .bc-ours { background: var(--card); box-shadow: var(--shadow-soft); }
.boxcmp h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.boxcmp ol { display: grid; gap: 10px; counter-reset: b; }
.boxcmp li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; font-size: 0.96rem; }
.boxcmp li::before { counter-increment: b; content: "0" counter(b); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); padding-top: 3px; }
.bc-usual li { color: var(--ink-3); }
.bc-sum { padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line-2); font-weight: 600; }
.bc-usual .bc-sum { color: var(--ink-3); }
.bc-ours .bc-sum { color: var(--acc); }
.boxcmp--ill .ill { margin: -6px -6px 6px; border-radius: 22px; }
.boxcmp--ill .bc-usual .ill--panel { background: var(--bg-2); }
.section--alt .boxcmp--ill .bc-usual .ill--panel { background: var(--card); }
.section--alt .boxcmp--ill .bc-ours .ill--panel { background: var(--bg-2); }

/* путь лида */
.lpath-card { gap: 6px; }
.lpath { position: relative; padding-left: 30px; }
.lpath::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 22px; width: 2px; background: var(--line-2); }
.lpath li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line-2); }
.lpath li:first-child { border-top: 0; }
.lpath li::before { content: ""; position: absolute; left: -28px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink-4); }
.lpath li.ok::before { border-color: var(--acc); background: var(--acc); }
.lpath time { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); }
.lpath b { font-weight: 600; font-size: 0.96rem; }
.lpath li span { display: block; font-size: 0.86rem; color: var(--ink-3); }
.lpath em { font-style: normal; font-family: var(--mono); font-size: 0.74rem; color: var(--acc); }
.lpath-run { position: absolute; left: 4px; top: 22px; bottom: 22px; width: 8px; z-index: 1; }
.lpath-run i { position: absolute; left: 0; top: 0; width: 8px; height: 100%; animation: lpRun 7s ease-in-out infinite; }
.lpath-run i::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
@keyframes lpRun { 0% { transform: translateY(-100%); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* уведомления в Telegram */
.tg { background: var(--card); border-radius: var(--r-stage); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-soft); }
.tg-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.tg-head b { display: block; font-size: 0.95rem; }
.tg-head span { font-size: 0.78rem; color: var(--ink-3); }
.tg-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.tg-msg { justify-self: start; max-width: 94%; background: var(--bg-2); border-radius: 18px 18px 18px 6px; padding: 10px 14px 8px; display: grid; gap: 3px; font-size: 0.92rem; }
.tg-msg b { font-size: 0.95rem; }
.tg-msg span { color: var(--ink-2); }
.tg-msg time { justify-self: end; font-size: 0.7rem; color: var(--ink-4); }
.m1 { animation: tg1 12s ease infinite; } .m2 { animation: tg2 12s ease infinite; } .m3 { animation: tg3 12s ease infinite; }
@keyframes tg1 { 0%, 2% { opacity: 0; transform: translateY(10px); } 6%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes tg2 { 0%, 11% { opacity: 0; transform: translateY(10px); } 15%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes tg3 { 0%, 20% { opacity: 0; transform: translateY(10px); } 24%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.metrics .tile .kv { font-family: var(--mono); font-size: 0.8rem; }

/* ---------- меню: выпадающие «Продукт» и «Компаниям» ---------- */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 8px 0; font: inherit; color: inherit; cursor: pointer; }
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.dd-btn:hover, .dd-btn.is-cur, .dd.open .dd-btn { color: var(--ink); }
.dd-btn.is-cur { font-weight: 600; }
.dd::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 16px; }
.dd-menu { position: absolute; left: -16px; top: calc(100% + 12px); z-index: 25; width: 320px; display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd:hover .dd-btn::after, .dd.open .dd-btn::after { transform: translateY(1px) rotate(-135deg); }
.nav .dd-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; }
.nav .dd-menu a:hover, .nav .dd-menu a[aria-current="page"] { background: var(--bg-2); }
.dd-menu b { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.dd-menu span { font-size: 0.8rem; color: var(--ink-3); }
.dd-menu a[aria-current="page"] b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--acc); vertical-align: middle; }

/* ---------- ИИ-робот: пульт с разговорами (иллюстрация) ---------- */
.rb { position: absolute; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-card); text-align: left; font-size: 12.5px; line-height: 1.3; }
.rb-h { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.rb-h b { font-size: 15px; letter-spacing: -0.01em; }
.rb-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--acc); }
.rb-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rb-q { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.rb-rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px 128px 32px; gap: 10px; align-items: center; min-height: 52px; padding: 8px 16px; border-top: 1px solid var(--line-2); }
.rb-rows li:first-child { border-top: 0; }
.rb-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-weight: 600; font-size: 12px; color: var(--ink-3); }
.rb-rows b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-rows small { display: block; font-size: 11px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-eq { grid-column: 3; display: flex; align-items: center; gap: 2px; height: 18px; }
.rb-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--acc); transform: scaleY(0.3); animation: eq 1.3s ease-in-out infinite; }
.rb-eq.dim i { background: var(--ink-4); animation: none; transform: scaleY(0.25); }
.rb-st { grid-column: 4; justify-self: start; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.rb-st.ok { color: var(--acc); background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc-line); }
.rb-r.wait .rb-st { color: var(--ink-4); }
.rb-rows time { grid-column: 5; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); text-align: right; }

/* ИИ-помощники: чат (иллюстрация) */
.pm { position: absolute; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-card); padding: 0 16px 16px; display: grid; gap: 10px; text-align: left; font-size: 13px; line-height: 1.38; }
.pm-h { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.pm-h .tg-ava { width: 32px; height: 32px; }
.pm-h b { display: block; font-size: 13.5px; }
.pm-h small { display: block; font-size: 11px; color: var(--ink-4); }
.pm-u { justify-self: end; max-width: 78%; background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; padding: 9px 13px; }
.pm-a { justify-self: start; max-width: 90%; background: var(--bg-2); border-radius: 16px 16px 16px 4px; padding: 9px 13px; display: grid; gap: 3px; }
.pm-a small { font-family: var(--mono); font-size: 10px; color: var(--acc); }
.pm-t { display: flex; align-items: center; padding: 12px 14px; }
.pm-res { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--acc-line); background: rgba(15, 122, 82, 0.04); border-radius: 14px; padding: 12px 14px 14px; }
.pm-res > div { flex: 1 1 100%; display: grid; gap: 1px; }
.pm-res b { font-size: 17px; letter-spacing: -0.02em; color: var(--acc); }
.pm-res > div span { font-size: 11.5px; color: var(--ink-3); }
.pm-btn { position: relative; font-size: 12px; font-weight: 600; background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 14px; }
.pm-btn.ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pm-btn .ill-pulse { left: 50%; top: 50%; }
.pm-res .ill-stamp { right: 14px; bottom: 14px; }

/* один счёт: девять счетов → один документ (иллюстрация) */
.sc-chip { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 152px; height: 28px; padding: 0 10px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-soft); font-size: 12px; white-space: nowrap; }
.sc-chip i { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); }
.sc-doc { box-shadow: var(--shadow-card); padding-bottom: 46px; }
.sc-rows { display: grid; margin-top: 6px; }
.sc-rows li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 12px; }
.sc-rows em { font-style: normal; font-weight: 600; white-space: nowrap; }
.sc-rows .tot { font-weight: 600; }
.sc-doc .ill-stamp { right: 14px; bottom: 12px; }

/* пульс рынка (иллюстрация) */
.pu-h { position: absolute; display: grid; gap: 12px; text-align: left; }
.pu-h > div:first-child b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.pu-h > div:first-child span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.pu-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pu-k span { background: #fff; border-radius: 12px; padding: 8px 11px; font-size: 10.5px; color: var(--ink-3); display: grid; gap: 1px; box-shadow: var(--shadow-soft); }
.pu-k b { font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.pu-k .g b { color: var(--acc); }

/* ---------- ИИ-робот: разговоры, карточка, настройки, примеры ---------- */
.dlg { background: var(--card); border-radius: var(--r-stage); box-shadow: var(--shadow-soft); }
.dlg-tabs { display: flex; gap: 2px; width: max-content; max-width: calc(100% - 32px); margin: clamp(16px, 2.2vw, 24px) clamp(16px, 2.4vw, 28px) 0; padding: 5px; border-radius: var(--r-pill); background: var(--bg-2); overflow-x: auto; scrollbar-width: none; }
.dlg-tabs::-webkit-scrollbar { display: none; }
.dlg-tabs button { border: 0; background: none; border-radius: var(--r-pill); padding: 8px 16px; font-size: 0.88rem; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.dlg-tabs button:hover { color: var(--ink); }
.dlg-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.dlg-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: clamp(20px, 3vw, 32px) clamp(16px, 2.4vw, 28px) clamp(22px, 3vw, 34px); }
.dlg-side { display: grid; gap: 14px; align-content: start; }
.dlg-side > b { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.02em; }
.dlg-side > p[data-dlg-desc] { color: var(--ink-3); font-size: 0.95rem; }
.dlg-wave { display: flex; align-items: center; gap: 4px; height: 34px; color: var(--ink-4); }
.dlg-wave i { width: 36px; height: 100%; opacity: 0.45; transform: scaleY(0.18); background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px); }
.dlg-wave i:nth-child(2) { animation-delay: -0.31s; }
.dlg-wave i:nth-child(3) { animation-delay: -0.57s; }
.dlg-wave i:nth-child(4) { animation-delay: -0.12s; }
.dlg.is-playing .dlg-wave { color: var(--ink); }
.dlg.is-playing .dlg-wave i { opacity: 1; animation: eq 0.9s ease-in-out infinite; }
.dlg.is-playing.is-sys .dlg-wave { color: var(--acc); }
.dlg-res { font-size: 0.86rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-line); border-radius: 12px; padding: 10px 12px; animation: roleIn 0.4s ease both; }
.dlg:not(.is-armed) .tr-lines li { opacity: 1; }
.tr-lines .evt .who { color: var(--ink-4); }
.tr-lines .evt > span:last-child { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }
.callme { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-stage); background: var(--ink); color: #fff; }
.callme b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.025em; }
.callme > div > span { display: block; margin-top: 6px; max-width: 40em; font-size: 0.94rem; color: rgba(255, 255, 255, 0.65); }
.callme-num { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.callme .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85); }
.lc-sum { display: grid; gap: 4px; padding: 11px 13px; border-radius: var(--r-small); background: var(--acc-soft); }
.lc-sum small, .lc-next small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--acc); }
.lc-sum p { font-size: 0.88rem; line-height: 1.45; }
.lc-next { display: grid; gap: 2px; padding: 11px 13px; border-radius: var(--r-small); border: 1px solid var(--line-2); }
.lc-next b { font-size: 0.92rem; }
.lc-next span { font-size: 0.78rem; color: var(--ink-3); }
.split > .lead-card { width: 100%; max-width: 440px; justify-self: center; }
.dial-notes { margin-top: 16px; }
.stat .tbd { font-size: inherit; padding: 0 0.12em; border-radius: 0.14em; }
.tile .kv .tbd { font-size: inherit; color: var(--ink-3); }
.pl-row.is-sel span { font-weight: 600; color: var(--ink); }
.set { gap: 0; }
.set .doc-head { margin-bottom: 2px; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.set .doc-head + .set-row { border-top: 0; }
.set-row > div { min-width: 0; }
.set-row b { display: block; font-size: 0.94rem; font-weight: 600; }
.set-row span { display: block; font-size: 0.8rem; color: var(--ink-3); }
.set-row em { flex-shrink: 0; font-style: normal; font-size: 0.8rem; font-weight: 600; white-space: nowrap; color: var(--ink-2); background: var(--bg-2); border-radius: var(--r-pill); padding: 4px 10px; }
.set .doc-foot { margin-top: 4px; }
.sw { flex-shrink: 0; position: relative; width: 42px; height: 24px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--line); cursor: pointer; transition: background 0.2s ease; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease; }
.sw[aria-pressed="true"] { background: var(--acc); }
.sw[aria-pressed="true"]::after { transform: translateX(18px); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { background: var(--card); border-radius: var(--r-stage); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-soft); }
.case-tag { justify-self: start; font-size: 0.74rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); padding: 3px 10px; border-radius: var(--r-pill); }
.case h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.15; }
.case li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 0.9rem; }
.case li span { flex: 1; color: var(--ink-3); }
.case li em { font-style: normal; color: var(--ink-4); white-space: nowrap; font-variant-numeric: tabular-nums; }
.case li em:not(:empty)::after { content: " →"; }
.case li b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- ИИ-помощники: чат, помощники, правила, журнал ---------- */
.chat { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-stage); box-shadow: var(--shadow-card); display: grid; grid-template-rows: auto 1fr auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.chat-head b { display: block; font-size: 0.95rem; }
.chat-head span { font-size: 0.78rem; color: var(--ink-3); }
.chat-log { height: 440px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cm { max-width: 88%; border-radius: 18px; padding: 10px 14px; font-size: 0.92rem; line-height: 1.45; animation: roleIn 0.35s ease both; }
.cm small { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 0.68rem; color: var(--acc); }
.cm-a { align-self: flex-start; background: var(--bg-2); border-bottom-left-radius: 6px; }
.cm-u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.cm ul { display: grid; gap: 4px; margin-top: 6px; }
.cm li { position: relative; padding-left: 14px; }
.cm li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.cm-typing { align-self: flex-start; padding: 13px 14px; border-radius: 18px 18px 18px 6px; background: var(--bg-2); }
.cm-res { align-self: stretch; display: grid; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--acc-line); background: rgba(15, 122, 82, 0.04); animation: roleIn 0.35s ease both; }
.cm-res-top b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.025em; color: var(--acc); }
.cm-res-top span { font-size: 0.84rem; color: var(--ink-3); }
.cm-act { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-done { padding-top: 10px; border-top: 1px solid var(--acc-line); font-size: 0.88rem; color: var(--ink-2); animation: roleIn 0.35s ease both; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--line-2); }
.chat-chips button { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 8px 14px; font-size: 0.86rem; color: var(--ink-2); text-align: left; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease; }
.chat-chips button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.chat-chips button:disabled { opacity: 0.45; cursor: default; }
.chat-chips button.is-done { border-style: dashed; color: var(--ink-3); }
.pm-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-list li { font-size: 0.86rem; padding: 7px 14px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); }
.section--alt .pm-list li { background: var(--card); }
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agent { background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 10px; align-content: start; }
.section--alt .agent { background: var(--card); }
.agent h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.1; }
.agent > p { color: var(--ink-3); font-size: 0.95rem; }
.agent dl { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 0.88rem; }
.agent dt { font-size: 0.72rem; color: var(--ink-4); }
.agent dd { color: var(--ink-2); }
.agent dl div:last-child dd { color: var(--acc); font-weight: 600; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-soft); }
.rule .sw { margin-top: 2px; }
.rule small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.rule p { margin-top: 4px; font-size: 0.98rem; color: var(--ink-2); transition: color 0.25s ease; }
.rule p b { font-weight: 600; color: var(--acc); }
.rule.is-off p, .rule.is-off p b { color: var(--ink-4); }
.rule-n { display: inline-block; margin-top: 10px; font-size: 0.78rem; color: var(--ink-3); }
.jr ol { display: grid; }
.jr li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line-2); }
.jr li:first-child { border-top: 0; }
.jr time { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); }
.jr li b { display: block; font-size: 0.94rem; font-weight: 600; }
.jr li span { display: block; font-size: 0.82rem; color: var(--ink-3); }
.jr em { font-style: normal; font-family: var(--mono); font-size: 0.74rem; color: var(--acc); text-align: right; white-space: nowrap; }

/* ---------- один счёт: баланс, УПД, маркировка ---------- */
.bal-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bal-top div { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.bal-top span { font-size: 0.74rem; color: var(--ink-3); }
.bal-top b { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bal-bar { display: flex; gap: 3px; height: 12px; }
.bal-bar i { flex: 0 1 var(--w); border-radius: 4px; background: var(--ink); }
.bal-bar i:nth-child(2) { background: #48484a; }
.bal-bar i:nth-child(3) { background: #6e6e73; }
.bal-bar i:nth-child(4) { background: #a1a1a6; }
.bal-bar i.free { background: var(--line-2); }
.bal-list { display: grid; gap: 10px; }
.bal-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; font-size: 0.88rem; }
.bal-list em { font-style: normal; font-size: 0.78rem; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.bal-list i { grid-column: 1 / -1; position: relative; height: 5px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.bal-list i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 3px; background: var(--acc); }
.bal-list .off span { color: var(--ink-4); text-decoration: line-through; }
.bal-auto { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 0.86rem; color: var(--ink-2); }
.checklist--one { grid-template-columns: 1fr; }
.upd-rows { display: grid; }
.upd-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 0.88rem; }
.upd-rows li:first-child { border-top: 0; }
.upd-rows em { font-style: normal; font-family: var(--mono); font-size: 0.8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.upd-rows .sub { margin: 4px -10px; padding: 9px 10px; border: 0; border-radius: 8px; background: var(--bg-2); font-weight: 600; }
.upd-rows .tot { font-weight: 600; font-size: 0.96rem; }
.admock { position: relative; display: grid; place-items: center; padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px); border-radius: var(--r-stage); background: var(--bg-2); }
.section--alt .admock { background: var(--card); }
.am-card { width: min(420px, 100%); background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); }
.am-img { position: relative; height: 150px; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, #eef3f0, #e2eae5); overflow: hidden; }
.am-img i { position: absolute; display: block; }
.am-img i:nth-child(1) { left: 0; right: 0; bottom: 0; height: 34px; background: #d3ddd7; }
.am-img i:nth-child(2) { left: 50%; bottom: 34px; width: 190px; height: 88px; margin-left: -95px; border: 2px solid #b9c6be; border-bottom: 0; border-radius: 95px 95px 0 0; background: #fff; }
.am-img i:nth-child(3) { left: 50%; bottom: 34px; width: 54px; height: 46px; margin-left: -27px; border-radius: 4px 4px 0 0; background: #b9c6be; }
.am-body { display: grid; gap: 6px; padding: 16px 18px 14px; }
.am-body small { font-size: 0.74rem; color: var(--ink-4); }
.am-body b { font-size: 1.05rem; line-height: 1.3; }
.am-body p { font-size: 0.88rem; color: var(--ink-3); }
.am-btn { justify-self: start; margin-top: 6px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 0.84rem; font-weight: 600; }
.am-mark { position: relative; margin: 0 18px 16px; padding: 8px 10px; border-radius: 8px; background: var(--bg-2); font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--ink-3); }
.am-mark > span:last-child { position: relative; }
.am-mark .hl { left: 0; right: 0; top: 0; bottom: 0; border-radius: 8px; }
.am-mark .tbd { background: rgba(0, 0, 0, 0.05); }
.admock .ill-stamp { right: clamp(12px, 2.4vw, 26px); top: clamp(12px, 2.4vw, 22px); }

/* ---------- пульс рынка ---------- */
.puls { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-stage); box-shadow: var(--shadow-card); overflow: hidden; }
.pl-filters { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 18px clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line-2); }
.pl-f { display: grid; gap: 6px; min-width: 0; }
.pl-f > span { font-size: 0.76rem; font-weight: 600; color: var(--ink-3); }
.pl-f select, .pl-f input { width: 100%; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background-color: var(--bg-2); color: var(--ink); font: inherit; font-size: 0.96rem; }
.pl-f select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.pl-f select:focus, .pl-f input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.pl-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border-bottom: 1px solid var(--line-2); }
.pl-kpis div { display: grid; gap: 4px; align-content: start; min-width: 0; padding: 16px clamp(12px, 1.6vw, 22px); background: var(--card); }
.pl-kpis span { font-size: 0.74rem; color: var(--ink-3); }
.pl-kpis b { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 0.85rem + 0.75vw, 1.55rem); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity 0.25s ease; }
.pl-kpis .main b { color: var(--acc); }
.puls.is-swap [data-pk], .puls.is-swap [data-pdelta] { opacity: 0.35; }
.pl-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.pl-trend { display: grid; gap: 10px; align-content: start; padding: 20px clamp(16px, 2.4vw, 28px); border-right: 1px solid var(--line-2); }
.pl-cap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pl-cap { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.pl-delta { font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.02em; white-space: nowrap; transition: opacity 0.25s ease; }
.pl-delta.up { color: var(--no); }
.pl-delta.down { color: var(--acc); }
.pl-chart { position: relative; height: 180px; }
.pl-spark { display: block; width: 100%; height: 100%; overflow: visible; }
.pl-grid line { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-area { fill: rgba(15, 122, 82, 0.08); }
.pl-line { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pl-last { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 5px rgba(15, 122, 82, 0.16); }
.pl-weeks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.pl-rank { display: grid; gap: 12px; align-content: start; padding: 20px clamp(16px, 2.4vw, 28px); }
.pl-rank [data-prank] { display: grid; gap: 10px; }
.pl-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 0.86rem; }
.pl-row i { display: block; height: 10px; width: var(--w); border-radius: 5px; background: var(--ink); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pl-row:first-child i { background: var(--acc); }
.pl-row b { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-cmp { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 10px 28px; align-items: end; padding: 18px clamp(16px, 2.4vw, 28px) 22px; border-top: 1px solid var(--line-2); background: var(--bg-3); }
.pl-scale { position: relative; height: 50px; }
.pl-scale::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 6px; border-radius: 3px; background: var(--line-2); }
.pl-band { position: absolute; left: 25%; width: 50%; top: 20px; height: 6px; border-radius: 3px; background: rgba(15, 122, 82, 0.35); }
.pl-med { position: absolute; left: 50%; top: 14px; width: 2px; height: 18px; margin-left: -1px; background: var(--acc); }
.pl-me { position: absolute; left: var(--x, 50%); top: 9px; width: 14px; height: 28px; margin-left: -7px; border-radius: 7px; background: var(--ink); box-shadow: 0 0 0 3px #fff; transition: left 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pl-lo, .pl-hi { position: absolute; top: 34px; transform: translateX(-50%); font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); white-space: nowrap; }
.pl-lo { left: 25%; }
.pl-hi { left: 75%; }
.pl-verdict { grid-column: 1 / -1; font-size: 0.95rem; color: var(--ink-2); }
.pl-verdict b { color: var(--acc); }
.pl-verdict b.no { color: var(--no); }
.puls--mini { background: none; border: 0; box-shadow: none; overflow: visible; }
.pl-mini { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.pl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-stage); background: var(--bg-2); }
.pl-steps > div { display: grid; gap: 8px; padding: 0 clamp(10px, 1.6vw, 20px); border-left: 1px solid var(--line); }
.pl-steps > div:first-child { padding-left: 0; border-left: 0; }
.pl-steps span { min-height: 2.9em; font-size: 0.82rem; color: var(--ink-3); }
.pl-steps b { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1rem + 1.5vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity 0.25s ease; }
.pl-steps small { font-size: 0.8rem; line-height: 1.4; color: var(--ink-4); }
.pl-steps .main b { color: var(--acc); }
.puls--mini .pl-rank { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-stage); background: var(--bg-2); }
.puls--mini .fineprint { margin-top: 14px; }
.gap3 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 14px; align-items: stretch; }
.gap3 > div { display: grid; gap: 6px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-card); background: var(--bg-2); }
.gap3 span { font-size: 0.84rem; color: var(--ink-3); }
.gap3 b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.gap3 p { font-size: 0.92rem; color: var(--ink-3); }
.gap3 .main { background: var(--ink); }
.gap3 .main span, .gap3 .main p { color: rgba(255, 255, 255, 0.65); }
.gap3 .main b { color: #8fe0b8; }
.gap3 > i { align-self: center; font-style: normal; font-family: var(--display); font-size: 2rem; color: var(--ink-4); }
.duo { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-card); }
.duo-card.ok { border-color: var(--acc-line); background: rgba(15, 122, 82, 0.03); }
.duo-card small { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); }
.duo-card b { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.duo-card li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 0.92rem; }
.duo-card li span { color: var(--ink-3); }
.duo-card em { font-style: normal; font-weight: 600; white-space: nowrap; }
.duo-card em.no { color: var(--no); }
.duo-card em.yes { color: var(--acc); }
.sub-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 40px; align-items: center; padding: clamp(24px, 3.6vw, 48px); border-radius: var(--r-stage); background: var(--ink); color: #fff; }
.sub-copy { display: grid; gap: 8px; }
.sub-copy b { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.sub-copy > span { color: rgba(255, 255, 255, 0.65); }
.offer-form.sub-form { margin-top: 0; }
.sub-done { grid-column: 1 / -1; font-size: 0.95rem; color: #8fe0b8; }

/* ---------- главная: «Один счёт» карточкой между секциями ---------- */
.band { padding: 0 0 clamp(72px, 9vw, 130px); }
.band-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-stage); background: var(--bg-2); }
.band-copy { display: grid; gap: 18px; align-content: start; }
.band-copy .points { margin-top: 8px; }
.band-copy .sec-foot { margin-top: 6px; }
.band-card .ill--panel { background: var(--card); }

/* секции, которые на главной сменили фон */
.section--alt .team { background: var(--card); }
.section:not(.section--alt) .loop-back span { background: var(--bg); }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: clamp(40px, 5vw, 64px) 0 36px; font-size: 0.86rem; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-grid h4 { font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-4); }
.footer-bottom a { color: inherit; }
.mobile-cta { display: none; }

/* ---------- модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 22, 0.45); }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 30px 28px 26px; display: grid; gap: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5); }
.modal-card--wide { width: min(680px, 100%); }
.modal-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; padding-right: 40px; }
.modal-card .muted { font-size: 0.94rem; }
[data-more-body] > p { margin-top: 16px; }
.modal-close { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; background: var(--bg-2); border-radius: 50%; cursor: pointer; font-size: 0.9rem; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select { font: inherit; font-size: 1rem; min-height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: var(--bg-2); color: var(--ink); min-width: 0; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-3); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.form-error { font-size: 0.82rem; color: var(--no); }
.form-done { display: grid; gap: 10px; padding: 8px 0 4px; }
.form-done b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.03em; }
.gift-line { font-size: 0.86rem; color: var(--acc); background: var(--acc-soft); border-radius: 12px; padding: 10px 12px; }
.gift-line s { color: var(--ink-4); }
.is-reg .gift-line { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-visual { height: 480px; }
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px, 4vw, 44px) 18px; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25); }
  .nav.open a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .nav.open .btn { display: inline-flex; margin-top: 14px; border-bottom: 0; color: #fff; padding: 0 22px; }
  .lb-roles, .lb-links { display: none; }
  .lb-role { margin-left: auto; }
  .lb-row > .btn { margin-left: auto; }
  .lb-role + .btn { margin-left: 0; }
  .flow { grid-template-columns: minmax(140px, 180px) minmax(40px, 1fr) minmax(190px, 220px) minmax(24px, 0.4fr) minmax(250px, 300px); }
  .strike { grid-template-columns: 1fr; }
  .strike-sum { position: static; }
  .strike-result { width: 100%; min-height: 0; position: relative; }
  .strike.is-done .strike-grid { display: none; }
  .protocol { grid-template-columns: 1fr 1fr; }
  .protocol .lead-card { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(420px, 100%); }
  .callouts--left .callout { text-align: left; padding-right: 0; padding-left: 26px; }
  .callouts--left .callout::after { right: auto; left: 0; }
  .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop li::after { display: none; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .script { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .skills, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gift-strip { grid-template-columns: minmax(0, 1fr) auto; }
  .gift-strip .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .flow { --flow-dir: v; grid-template-columns: 1fr 1fr; grid-template-areas: "src src" "hub hub" "mods mods" "out out"; row-gap: 56px; min-height: 0; }
  .flow-col-title { position: static; display: block; margin-bottom: 10px; }
  .flow-src { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .flow-src li { white-space: normal; font-size: 0.76rem; line-height: 1.25; padding: 7px 8px; min-height: 44px; min-width: 0; overflow-wrap: anywhere; }
  .flow-hub { width: 2px; height: 46px; }
  .flow-hub span { top: 50%; left: 14px; transform: translateY(-50%); }
  .flow-mods { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow-mods .flow-col-title { grid-column: 1 / -1; margin-bottom: 0; }
  .module { padding: 12px 12px 13px; align-content: start; }
  .module-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .module p { display: none; }
  .flow-out { max-width: 440px; width: 100%; justify-self: center; }
  .flow-stage { padding-top: 26px; }
  .role-panel { grid-template-columns: 1fr; gap: 14px; }
  .strike-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .brief, .pilot, .markdemo, .calc, .pair, .transcript { grid-template-columns: 1fr; }
  .grid-3, .modes, .channels { grid-template-columns: 1fr 1fr; }
  .fit, .need, .checklist { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .rule3, .fork { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .team-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--ink-3); font-size: 0.86rem; }
  .team-row > :nth-child(3) { grid-column: 1 / -1; grid-row: 3; font-size: 0.86rem; }
  .team-row .sum { grid-column: 2; grid-row: 1; }
  .team-row:first-child { display: none; }
  .zone { grid-template-columns: 1fr; }
  .zone > .zone-mid { writing-mode: horizontal-tb; transform: none; padding: 10px 18px; }
  .bars-row { grid-template-columns: 110px minmax(0, 1fr) 96px; gap: 10px; }
  .speed-row { grid-template-columns: 120px minmax(0, 1fr) 70px; gap: 10px; }
  .gallery-head { align-items: start; flex-direction: column; }
  .ph-grid { grid-template-columns: 1fr; }
  .ph-grid .ill { width: min(560px, 100%); }
  .offer { grid-template-columns: 1fr; }
  .offer .ill--kit { width: min(520px, 100%); justify-self: center; }
  .boxcmp { grid-template-columns: 1fr; }
  .dfun-row { grid-template-columns: minmax(0, 1fr) 64px; gap: 6px 12px; }
  .dfun-row i { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-row { min-height: 56px; gap: 12px; }
  .hero-visual { height: auto; padding: 150px 14px 14px; }
  .fn-src, .fn-drop { display: none; }
  .lead-card--hero { position: relative; right: auto; top: auto; transform: none; width: 100%; }
  .fn-cap { position: static; margin-top: 10px; text-align: center; }
  .role-pills button { padding: 7px 12px; font-size: 0.84rem; }
  .strike-grid { gap: 8px; }
  .ctr { min-height: 112px; padding: 14px 14px 16px; }
  .ctr b { font-size: 0.96rem; }
  .local-bar { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; min-height: 52px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); transform: translateY(160%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .mobile-cta.is-on { transform: none; }
  .site-footer { padding-bottom: 100px; }
  .field-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .modes, .channels, .loop, .stages, .script, .weeks, .skills, .stats, .protocol { grid-template-columns: 1fr; }
  .callouts--right .callout, .callouts--left .callout { padding-left: 22px; }
  .weeks { border-top: 0; border-left: 2px solid var(--ink); row-gap: 22px; }
  .weeks li { padding: 0 0 0 22px; }
  .weeks li::before { left: -7px; top: 4px; }
  .weeks time { margin-top: 0; }
  .tr-lines li { grid-template-columns: 38px 64px minmax(0, 1fr); font-size: 0.9rem; }
  .doc-rows div, .pilot-card .doc-rows div { grid-template-columns: 1fr; gap: 2px; }
  .bars-row { grid-template-columns: 1fr auto; }
  .bars-row .bars-track { grid-column: 1 / -1; grid-row: 2; }
  .bars-row.head { display: none; }
  .speed-row { grid-template-columns: 1fr auto; }
  .speed-row .speed-track { grid-column: 1 / -1; grid-row: 2; }
  .map-row { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; }
  .map-row > span { padding: 9px 10px; font-size: 0.8rem; }
  .gal-card { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpath li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .lpath time { grid-column: 1 / -1; }
  .gift-strip { grid-template-columns: 1fr; }
  .gs-price { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 12px; }
}
@media (max-width: 520px) {
  .hero-actions .btn, .final-actions .btn, .sec-foot .btn, .sr-actions .btn, .offer-form .btn, .gift-strip .btn { width: 100%; }
  .btn-lg { white-space: normal; text-align: center; padding: 0 20px; }
  .flow-src li { font-size: 0.72rem; padding: 6px 7px; min-height: 40px; }
  .flow-src li::before { display: none; }
  .lc-rows div { grid-template-columns: 84px minmax(0, 1fr); }
  .ctr-n { display: none; }
  .gallery { grid-auto-columns: 84%; }
}
/* ---------- адаптив новых страниц: робот, помощники, один счёт, пульс ---------- */
@media (max-width: 1100px) {
  .nav.open { max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open .dd { display: block; }
  .nav.open .dd::after { display: none; }
  .nav.open .dd-btn { width: 100%; padding: 18px 0 4px; font-size: 0.8rem; font-weight: 600; color: var(--ink-4); pointer-events: none; }
  .nav.open .dd-btn::after { display: none; }
  .nav.open .dd-menu { position: static; width: auto; padding: 0; gap: 0; opacity: 1; visibility: visible; transform: none; border: 0; border-radius: 0; box-shadow: none; background: none; transition: none; }
  .nav.open .dd-menu a { border-radius: 0; }
  .nav.open .dd-menu a:hover, .nav.open .dd-menu a[aria-current="page"] { background: none; }
  .nav.open .dd-menu span { display: none; }
  .nav.open .dd-menu b { font-size: 1.05rem; font-weight: 400; }
  .nav.open .dd-menu a[aria-current="page"] b { font-weight: 600; }
  .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dlg-body { grid-template-columns: 1fr; }
  .cases, .rules, .pl-body, .pl-cmp, .pl-mini, .sub-card, .band-card { grid-template-columns: 1fr; }
  .pl-trend { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .pl-filters { grid-template-columns: 1fr 1fr; }
  .pl-filters .pl-f:first-child { grid-column: 1 / -1; }
  .gap3 { grid-template-columns: 1fr; gap: 8px; }
  .gap3 > i { justify-self: center; line-height: 1; }
  .band-card .ill { width: min(560px, 100%); justify-self: center; }
  .split > .lead-card { justify-self: start; }
}
@media (max-width: 700px) {
  .agents, .duo { grid-template-columns: 1fr; }
  .pl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-steps { grid-template-columns: 1fr; gap: 16px; }
  .pl-steps > div { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pl-steps > div:first-child { padding-top: 0; border-top: 0; }
  .pl-steps span { min-height: 0; }
  .pl-row { grid-template-columns: 96px minmax(0, 1fr) 76px; gap: 8px; font-size: 0.82rem; }
  .bal-top { grid-template-columns: 1fr 1fr; }
  .bal-top div:first-child { grid-column: 1 / -1; }
  .jr li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .jr em { text-align: left; }
  .set-row { align-items: flex-start; }
  .callme { flex-direction: column; align-items: flex-start; }
  .chat-log { height: 400px; padding: 14px; }
  .puls--mini .picker { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * clamp(16px, 4vw, 44px)); margin-right: calc(-1 * clamp(16px, 4vw, 44px)); padding: 0 clamp(16px, 4vw, 44px) 4px; }
  .puls--mini .picker::-webkit-scrollbar { display: none; }
  .puls--mini .picker button { flex-shrink: 0; white-space: nowrap; }
  .cm { max-width: 94%; }
  .rule { padding: 18px; gap: 12px; }
}
@media (max-width: 520px) {
  .pl-filters { grid-template-columns: 1fr; }
  .dlg-tabs button { padding: 7px 12px; font-size: 0.84rem; }
  .case li { flex-wrap: wrap; }
  .case li span { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ill-dot, .loop-run, .lpath-run, .art-head, .art-scan, .chip { display: none; }
  .cm-typing { display: none; }
  .ck, .ill-card.slide, .ill-stamp, .pop, .tg-msg { opacity: 1; }
  .hl { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив: источники в трёх группах ---------- */
@media (max-width: 1100px) {
  .fa { grid-template-columns: 1fr; }
  .mode-info { grid-template-columns: 1fr; }
  .mode-desc { min-height: 0; }
  .flow.flow--groups { grid-template-columns: minmax(226px, 256px) minmax(36px, 1fr) minmax(190px, 220px) minmax(20px, 0.4fr) minmax(264px, 310px); }
  .fg { padding: 11px 12px 12px; }
  .fg-ch li { font-size: 0.7rem; padding: 3px 7px; }
}
@media (max-width: 900px) {
  .flow.flow--groups { grid-template-columns: 1fr 1fr; }
  .flow-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fg { align-content: start; }
  .fg-ch li { white-space: normal; }
  .fa-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .flow-groups { grid-template-columns: 1fr; gap: 10px; }
  .fg-sub { font-size: 0.74rem; }
  .who { flex-wrap: wrap; }
  .who div { flex: 1 1 140px; }
  .mode-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
  .mode-tabs button { padding: 10px 8px; font-size: 0.86rem; border-radius: 17px; white-space: normal; }
  .fa-c b { font-size: 1.1rem; }
}

/* =====================================================================
   Единый сайт (edin): новые блоки поверх стилей «Потока»
   ===================================================================== */
:root { --rec: #d8473f; }

/* ---------- шапка: меню по карте, Telegram и MAX, вход, «Позвонить ИИ» ---------- */
.header-row { position: relative; gap: 0; }
.nav { margin-left: 34px; gap: 24px; }
.header-side { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.msg { display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2); text-decoration: none; }
.msg:hover { border-color: var(--ink); color: var(--ink); }
.header-login { font-size: 0.9rem; color: var(--ink-2); text-decoration: none; padding: 0 8px 0 6px; }
.header-login:hover { color: var(--ink); }
.header-side .header-cta { margin-left: 2px; }
.nav-extra { display: none; }
.dd-soon { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; opacity: 0.5; cursor: default; }
.dd-soon b { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.dd-soon span { font-size: 0.8rem; color: var(--ink-3); }
.dd--mega { position: static; }
.dd--mega::after { content: none; }
.dd--mega > .dd-btn { padding-block: 22px; }
.dd--mega .dd-menu { left: 50%; top: 100%; width: min(900px, calc(100vw - 48px)); grid-template-columns: 1.15fr 0.85fr 1fr; gap: 4px 14px; padding: 14px; transform: translate(-50%, 6px); }
.dd--mega:hover .dd-menu, .dd--mega:focus-within .dd-menu, .dd--mega.open .dd-menu { transform: translate(-50%, 0); }
.mg-col { display: grid; gap: 1px; align-content: start; }
.mg-h { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); padding: 6px 12px 6px; }
.nav .dd-mega a { padding: 8px 12px; }
.footer-grid--5 { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.footer-call { margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- первый экран главной: дескриптор слева, запись звонка справа ---------- */
.hero--call { overflow: visible; }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hc-text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero--call h1 { font-size: clamp(2.5rem, 1.3rem + 3.3vw, 4.7rem); }
.hero--call .h1-b { display: inline; margin: 0; font-size: 1em; line-height: inherit; letter-spacing: inherit; color: var(--acc); }
.gift-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--acc-line); background: var(--acc-soft); color: var(--acc); font-size: 0.86rem; text-decoration: none; }
.gift-pill:hover { background: rgba(15, 122, 82, 0.14); }
.gift-pill b { font-weight: 700; }
.call-ai { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.call-ai:hover { border-color: var(--ink); }
.ca-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h3l1.5 4-2 1.3a11 11 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ca-txt b { display: block; font-weight: 600; font-size: 0.98rem; }
.ca-txt small { display: block; color: var(--ink-3); font-size: 0.8rem; }
.hc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; padding-top: 18px; border-top: 1px solid var(--line-2); }
.hc-stats b { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.hc-stats .tbd, .gift-note .tbd { font-size: inherit; }
.hcall { background: var(--card); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: var(--shadow-card); padding: 20px 20px 18px; display: grid; gap: 14px; min-width: 0; }
.hcall-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.82rem; }
.hcall-rec { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hcall-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(216, 71, 63, 0.12); }
.hcall-meta { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.hcall-player { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bg-2); }
.hcall-lines { max-height: 244px; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); padding-right: 4px; }
.hcall-lines::-webkit-scrollbar { display: none; }
.hcall-lines .tr-lines { gap: 10px; padding-bottom: 36px; }
.hcall-lines .tr-lines li { grid-template-columns: 36px 46px minmax(0, 1fr); font-size: 0.88rem; line-height: 1.45; }
.hcall:not(.is-armed) .tr-lines li { opacity: 1; }
.hcall-sum { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.hcall-cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.hcall-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hcall-chips span { font-size: 0.78rem; padding: 4px 10px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); }
.hcall-chips span.ok { background: var(--acc-soft); color: var(--acc); font-weight: 600; }
.hcall .dlg-res { margin: 0; }
.gift-note { font-size: 0.9rem; color: var(--ink-3); margin-top: 16px; }
.gift-note a { color: var(--acc); }
.dlg-more { margin: 0; }
.dlg-more a { font-weight: 600; color: var(--acc); text-decoration: none; }
.dlg-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- первые экраны внутренних страниц ---------- */
.ph-text--wide { max-width: 60rem; }
.ph-grid > .lead-card--static { justify-self: center; width: min(400px, 100%); }
.lead-card--static { box-shadow: var(--shadow-card); }

/* ---------- шаги, цепочки, плитки-ссылки ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.steps4 li { counter-increment: st; display: grid; gap: 8px; align-content: start; padding: 22px 22px 24px; border-radius: var(--r-card); background: var(--bg-2); }
.section--alt .steps4 li { background: var(--card); }
.steps4 li::before { content: counter(st, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; color: var(--acc); }
.steps4 b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.steps4 span { color: var(--ink-3); font-size: 0.94rem; }
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.chain li { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.chain li span { font-weight: 400; font-size: 0.88rem; color: var(--ink-3); }
.chain li + li::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--ink-4); font-weight: 400; }
.tile--link { text-decoration: none; border: 1px solid transparent; transition: border-color 0.2s ease; }
.tile--link:hover { border-color: var(--ink); }
.section--alt .tile { background: var(--card); }

/* ---------- секундомер ---------- */
.stopwatch { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: stretch; }
.sw-clock { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-card); background: var(--bg-2); }
.section--alt .sw-clock { background: var(--card); }
.sw-clock.sw-ai { background: var(--acc-soft); }
.sw-k { font-size: 0.86rem; color: var(--ink-3); }
.sw-clock b { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sw-ai b { color: var(--acc); }
.sw-clock small { font-size: 0.84rem; color: var(--acc); min-height: 1.3em; }
.sw-btns { display: grid; gap: 10px; align-content: center; }

/* ---------- запуск: сайт → сценарий ---------- */
.launch { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.ln-steps { display: grid; gap: 10px; counter-reset: ln; }
.ln-steps li { counter-increment: ln; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.ln-steps li::before { content: counter(ln); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.ln-steps li.is-on { border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.4); }
.ln-steps li.is-on::before { background: var(--ink); color: #fff; }
.ln-steps b { font-weight: 600; }
.ln-steps span { font-size: 0.9rem; color: var(--ink-3); }
.ln-box { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-soft); }
.ln-form { display: grid; gap: 8px; }
.ln-form label, .cbx-form label { font-size: 0.86rem; font-weight: 600; }
.ln-row { display: flex; gap: 8px; }
.ln-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 0.98rem; }
.ln-row input:focus { outline: 2px solid var(--acc-line); outline-offset: 1px; border-color: var(--acc); }
.ln-row input[aria-invalid="true"] { border-color: var(--no); }
.ln-row .btn { min-height: 48px; }
.ln-card { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--bg-2); }
.ln-cap { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.ln-card dl { display: grid; gap: 8px; }
.ln-card dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: baseline; transition: opacity 0.3s ease; }
.ln-card dt { font-size: 0.76rem; color: var(--ink-3); }
.ln-card dd { font-size: 0.92rem; }
.ln-card dl div.is-wait { opacity: 0.2; }
.ln-card .btn { justify-self: start; }

/* ---------- кабинет: три экрана ---------- */
.cab { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-stage); box-shadow: var(--shadow-card); padding: clamp(16px, 2.2vw, 24px); display: grid; gap: 16px; min-width: 0; }
.cab-top { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.cab-top > b { font-weight: 600; }
.cab-tabs { margin-left: auto; display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.cab-tabs button { border: 0; background: none; border-radius: var(--r-pill); padding: 7px 14px; font: inherit; font-size: 0.84rem; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.cab-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.cab-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.cab-kpis div { padding: 12px 14px; border-radius: 14px; background: var(--bg-2); display: grid; gap: 2px; }
.cab-kpis span { font-size: 0.74rem; color: var(--ink-3); }
.cab-kpis b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cab-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.88rem; }
.cab-table th { text-align: left; font-size: 0.74rem; font-weight: 500; color: var(--ink-3); padding: 8px 10px; }
.cab-table td { padding: 11px 10px; border-top: 1px solid var(--line-2); }
.cab-table td:first-child { font-family: var(--mono); font-size: 0.8rem; }
.cb-st { display: inline-block; font-size: 0.76rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-3); }
.cb-st.ok { background: var(--acc-soft); color: var(--acc); }
.cb-st.run { background: rgba(176, 125, 22, 0.1); color: #8a6212; }
.cb-st.no { color: var(--ink-4); text-decoration: line-through; }
.cab-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.cab-k { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); margin-bottom: 8px; }
.cab-tl { display: grid; gap: 8px; }
.cab-tl li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; font-size: 0.9rem; }
.cab-tl time { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); padding-top: 2px; }
.cab-res { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; background: var(--bg-2); font-size: 0.9rem; }
.cab-res .cab-k { margin: 6px 0 0; }
.tg { display: grid; gap: 10px; max-width: 560px; padding: 16px; border-radius: 20px; background: #e9eef2; }
.tg-msg { justify-self: start; max-width: 92%; display: grid; gap: 6px; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: #fff; font-size: 0.9rem; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.tg-msg b { font-size: 0.84rem; color: var(--acc); }
.tg-me { justify-self: end; border-radius: 16px 16px 6px 16px; background: #dcf1d6; }
.tg-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.tg-btns span { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 10px; background: var(--bg-2); color: var(--acc); }
.cab-note { font-size: 0.78rem; color: var(--ink-4); }

/* ---------- три модели, как мы считаем ---------- */
.mdls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mdl { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card); }
.mdl--main { border-color: var(--ink); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45); }
.mdl-k { font-size: 0.82rem; color: var(--ink-3); }
.mdl > b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.mdl-d { font-size: 0.94rem; color: var(--ink-3); }
.mdl ul { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.mdl li { position: relative; padding-left: 18px; font-size: 0.9rem; }
.mdl li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 600; }
.mdl-p { margin-top: auto; padding-top: 8px; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.mdl-p .tbd { font-size: inherit; }
.howcount { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 20px; border-radius: 18px; background: var(--acc-soft); font-size: 0.9rem; }
.howcount b { margin-right: 8px; }
.howcount span { padding: 4px 12px; border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); }
.mdls + .howcount + .fineprint { margin-top: 10px; }

/* ---------- интеграции ---------- */
.integr { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ig-core { display: grid; gap: 6px; align-content: center; justify-items: start; padding: 24px; border-radius: var(--r-card); background: var(--ink); color: #fff; }
.ig-core .logo-mark { width: 34px; height: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round'%3E%3Cpath d='M2.5 5.5c5 0 5.5 6.5 10.5 6.5M2.5 18.5c5 0 5.5-6.5 10.5-6.5M2.5 12H13' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M13 12h7.5' stroke='%238fe0b8' stroke-width='3.2'/%3E%3C/svg%3E"); }
.ig-core b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; }
.ig-core span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ig { display: grid; gap: 10px; align-content: start; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); }
.section:not(.section--alt) .ig { background: var(--bg-2); border-color: transparent; }
.ig-h { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ig div { display: flex; flex-wrap: wrap; gap: 6px; }
.ig div span { font-size: 0.84rem; padding: 4px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); }

/* ---------- отрасли, группы каналов, сценарии, кейсы ---------- */
.nts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nt { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-card); background: var(--bg-2); text-decoration: none; border: 1px solid transparent; transition: border-color 0.2s ease; }
.section--alt .nt { background: var(--card); }
.nt:hover { border-color: var(--ink); }
.nt b { font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.nt-case { font-size: 0.86rem; color: var(--acc); font-weight: 600; }
.nt-q { font-size: 0.8rem; color: var(--ink-3); }
.gcards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; align-items: start; }
.gcard { display: grid; gap: 4px; padding: 18px 20px 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line-2); text-decoration: none; transition: border-color 0.2s ease; }
.gcard:hover { border-color: var(--ink); }
.gcard-more { margin-top: 10px; font-weight: 600; font-size: 0.88rem; color: var(--acc); }
.sclinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sclinks a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--bg-2); text-decoration: none; border: 1px solid transparent; }
.section--alt .sclinks a { background: var(--card); }
.sclinks a:hover { border-color: var(--ink); }
.sclinks b { font-weight: 600; }
.sclinks span { font-size: 0.84rem; color: var(--ink-3); }
.kcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kcard { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-card); background: var(--card); text-decoration: none; border: 1px solid transparent; }
.kcard:hover { border-color: var(--ink); }
.kc-n { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-4); letter-spacing: 0.03em; }
.kcard > b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.2; }
.kcard ul { display: grid; gap: 6px; }
.kcard li { display: grid; gap: 1px; font-size: 0.82rem; padding-top: 6px; border-top: 1px solid var(--line-2); }
.kcard li span { color: var(--ink-3); }
.kcard li em { font-style: normal; color: var(--ink-3); }
.kcard li b { color: var(--acc); }
.kc-more { font-size: 0.86rem; font-weight: 600; color: var(--acc); }
.case-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; }
.case-story { display: grid; gap: 16px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-card); background: var(--card); }
.cs-k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.case-table { padding: clamp(14px, 2vw, 22px); border-radius: var(--r-card); background: var(--card); overflow-x: auto; }
.case-table table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.case-table th { text-align: left; font-size: 0.76rem; font-weight: 500; color: var(--ink-3); padding: 8px 10px; }
.case-table td { padding: 12px 10px; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.case-table td:nth-child(2) { color: var(--ink-3); }
.case-table td b { color: var(--acc); }
.talk { margin-top: 16px; padding: 20px 22px; border-radius: var(--r-card); border: 1px solid var(--line); }
.talk-lines { display: grid; gap: 8px; }
.talk-lines li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; }
.talk-lines .who { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.talk-lines .sys .who { color: var(--acc); }
.nb { display: grid; gap: 12px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-card); border: 1px solid var(--line-2); }
.nb-cap { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.nb-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.nb-rows span { font-size: 0.92rem; color: var(--ink-3); }
.nb-rows b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nb-rows .main b { color: var(--acc); font-size: 1.8rem; }

/* ---------- тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto auto auto 1fr auto; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line-2); }
.plan--main { border-color: var(--ink); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45); }
.plan-k { font-size: 0.82rem; color: var(--acc); font-weight: 600; }
.plan > b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.plan-d { font-size: 0.94rem; color: var(--ink-3); }
.plan-p { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.plan-p .tbd { font-size: inherit; }
.plan-p small { font-family: var(--body); font-size: 0.8rem; font-weight: 400; color: var(--ink-3); }
.plan ul { display: grid; gap: 7px; align-content: start; }
.plan li { position: relative; padding-left: 18px; font-size: 0.9rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 600; }
.plan .btn { justify-self: start; margin-top: 8px; }
.who-tbl { min-width: 720px; }
.who-tbl tbody th a { text-decoration: none; }
.who-tbl tbody th a:hover { text-decoration: underline; }
.who-tbl tr.is-main th, .who-tbl tr.is-main td { background: rgba(15, 122, 82, 0.05); }

/* ---------- демо, голоса, ролики, онбординг ---------- */
.callbox { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: clamp(20px, 3vw, 34px); border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-soft); }
.cbx-num { display: grid; gap: 8px; }
.cbx-cap { font-size: 0.9rem; font-weight: 600; color: var(--acc); }
.cbx-num > b { font-family: var(--display); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); letter-spacing: -0.02em; justify-self: start; }
.cbx-num > span { font-size: 0.92rem; color: var(--ink-3); }
.cbx-qr { display: grid; place-items: center; width: 132px; aspect-ratio: 1; max-width: 100%; border-radius: 18px; border: 1.5px dashed var(--line); background: repeating-linear-gradient(45deg, transparent 0 7px, var(--bg-2) 7px 14px); text-align: center; }
.cbx-qr span { font-size: 0.74rem; color: var(--ink-3); background: var(--card); padding: 4px 8px; border-radius: 8px; line-height: 1.3; }
.cbx-form { display: grid; gap: 8px; }
.cbx-done { font-size: 0.9rem; color: var(--acc); background: var(--acc-soft); padding: 12px 14px; border-radius: 12px; }
.cm-num { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); }
.cm-num b { font-family: var(--display); font-size: 1.5rem; }
.cm-num .cbx-qr { width: 96px; }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.voice { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 18px; border-radius: var(--r-card); background: var(--card); }
.voice p { grid-column: 1 / -1; font-size: 0.9rem; color: var(--ink-3); }
.voice b { display: block; font-weight: 600; }
.voice span { font-size: 0.82rem; color: var(--ink-3); }
.v-play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.v-play::after { content: ""; position: absolute; left: 17px; top: 14px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.voice-note { margin-top: 12px; font-size: 0.9rem; color: var(--acc); }
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vid { aspect-ratio: 16 / 10; max-width: 100%; display: grid; align-content: end; gap: 2px; padding: 18px; border-radius: var(--r-card); background: linear-gradient(160deg, var(--card), var(--bg-2)); border: 1px solid var(--line-2); position: relative; }
.vid-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: var(--ink); opacity: 0.85; }
.vid-play::after { content: ""; position: absolute; left: 22px; top: 18px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vid b { font-weight: 600; }
.vid > span:last-child { font-size: 0.8rem; color: var(--ink-3); }
.ob-chat { display: grid; gap: 10px; padding: 18px; border-radius: 28px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.ob-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.ob-head b { font-weight: 600; }
.ob-head span:last-child { margin-left: auto; font-size: 0.76rem; color: var(--acc); }
.ob-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round'%3E%3Cpath d='M2.5 5.5c5 0 5.5 6.5 10.5 6.5M2.5 18.5c5 0 5.5-6.5 10.5-6.5M2.5 12H13' stroke='%230f7a52' stroke-width='2'/%3E%3Cpath d='M13 12h7.5' stroke='%230f7a52' stroke-width='3.2'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ob-msg { justify-self: start; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: var(--bg-2); font-size: 0.9rem; line-height: 1.45; }
.ob-me { justify-self: end; border-radius: 16px 16px 6px 16px; background: var(--ink); color: #fff; }
.ob-input { margin-top: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-4); }

/* ---------- главная: кому не подходим, финал ---------- */
.nofit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.nofit div { padding: 20px 22px; border-radius: var(--r-card); border: 1px dashed var(--line); display: grid; gap: 6px; }
.nofit b { font-weight: 600; }
.nofit p { font-size: 0.92rem; color: var(--ink-3); }
.start-form { display: flex; gap: 10px; width: min(520px, 100%); }
.start-form input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 1rem; }
.start-form input:focus { outline: 2px solid var(--acc-line); border-color: var(--acc); }

/* ---------- адаптив новых блоков ---------- */
@media (max-width: 1240px) {
  .nav { margin-left: 24px; gap: 18px; }
  .msg { display: none; }
}
@media (max-width: 1100px) {
  .header-side { margin-left: auto; }
  .header-login { display: none; }
  .header-side .header-cta { display: inline-flex; }
  .burger { margin-left: 6px; order: 5; }
  .nav.open .nav-extra { display: grid; gap: 10px; justify-items: start; padding-top: 14px; }
  .nav.open .dd--mega .dd-menu { transform: none; width: auto; grid-template-columns: 1fr; padding: 0; }
  .nav.open .mg-h { padding: 14px 0 2px; }
  .nav.open .dd--mega > .dd-btn { padding: 18px 0 4px; }
  .footer-grid--5 { grid-template-columns: 1fr 1fr; }
  .hc-grid { grid-template-columns: 1fr; }
  .hcall { max-width: 640px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nts, .kcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sclinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integr { grid-template-columns: 1fr; }
  .gcards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .launch, .case-grid, .cab-card, .callbox { grid-template-columns: 1fr; }
  .callbox .cbx-qr { display: none; }
  .mdls, .plans, .voices, .vids, .nofit { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li + li::before { display: none; }
  .stopwatch { grid-template-columns: 1fr 1fr; }
  .sw-btns { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
  .cab-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-tabs { margin-left: 0; }
}
@media (max-width: 700px) {
  .hc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--call h1 { font-size: clamp(2.2rem, 1.4rem + 4vw, 3rem); }
  .steps4, .sclinks, .nts, .kcards, .ig-grid { grid-template-columns: 1fr; }
  .footer-grid--5 { grid-template-columns: 1fr 1fr; }
  .start-form { flex-direction: column; }
  .ln-row { flex-direction: column; }
  .msg { display: none; }
  .header-side .header-cta { padding: 0 12px; }
}
@media (max-width: 520px) {
  .chain, .stopwatch { grid-template-columns: 1fr; }
  .hcall { padding: 16px 14px 14px; border-radius: 22px; }
  .hcall-lines .tr-lines li { grid-template-columns: 40px minmax(0, 1fr); }
  .hcall-lines .tr-lines time { display: none; }
  .footer-grid--5 { grid-template-columns: 1fr; }
}
p.sec-foot { display: block; }
.hc-stats > div > span { display: block; margin-top: 3px; font-size: 0.8rem; line-height: 1.35; color: var(--ink-3); }
.hc-stats span.tbd { display: inline; margin: 0; font-size: inherit; line-height: inherit; color: var(--ink-3); }
.hero--call h1 { font-size: clamp(2.4rem, 1.3rem + 2.9vw, 4.1rem); }
.cab, .ln-box, .launch > *, .integr > *, .callbox > * { min-width: 0; }
.cab { grid-template-columns: minmax(0, 1fr); }
main { overflow-x: clip; }
@media (max-width: 420px) {
  h1, .h2 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
  .hero--call h1 { font-size: 2.05rem; }
}
.ph-grid > * { min-width: 0; }
.nb-rows > div { flex-wrap: wrap; }

/* ---------- SEO-страницы, первая волна (19 окт): каталог агентов, статья блога, список статей ---------- */
.tile .points { margin-top: 6px; gap: 12px; }
.tile .points b { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.tile .points span { font-size: 0.92rem; }
.agc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agc { background: var(--bg-2); border-radius: var(--r-card); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.section--alt .agc { background: var(--card); }
.agc h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.agc > p:not(.agc-k) { color: var(--ink-3); font-size: 0.95rem; }
.agc-k { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ink-4); }
.agc-k span { font-weight: 600; color: var(--acc); background: var(--acc-soft); padding: 2px 9px; border-radius: var(--r-pill); }
.agc-sys { display: flex; flex-wrap: wrap; gap: 6px; }
.agc-sys span { font-size: 0.78rem; color: var(--ink-2); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: var(--r-pill); }
.agc-sys .tbd { border: 0; }
.agc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.agc--own, .section--alt .agc--own { background: transparent; border: 1px dashed var(--line); }

.art-meta { margin-top: 14px; font-size: 0.86rem; color: var(--ink-4); }
.art { max-width: 46rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; font-size: 1.04rem; }
.art > * { min-width: 0; }
.art-cta .btn { white-space: normal; text-align: center; }
.art h2 { font-family: var(--display); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin-top: 28px; scroll-margin-top: 130px; }
.art p, .art li { color: var(--ink-2); }
.art ul, .art ol { display: grid; gap: 10px; }
.art ul > li { position: relative; padding-left: 20px; }
.art ul > li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.art ol { counter-reset: ao; }
.art ol > li { counter-increment: ao; position: relative; padding-left: 30px; }
.art ol > li::before { content: counter(ao); position: absolute; left: 0; top: 0.18em; font-family: var(--mono); font-size: 0.8rem; color: var(--acc); }
.art b { color: var(--ink); font-weight: 600; }
.art p a, .art li a, .art-more a { color: var(--acc); text-underline-offset: 3px; }
.art-toc { background: var(--bg-2); border-radius: var(--r-card); padding: 22px 24px; }
.art-toc p { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.art-toc ol { gap: 6px; }
.art-sec { padding-top: clamp(16px, 3vw, 40px); }
.art .art-toc a { color: var(--ink-2); text-decoration: none; }
.art .art-toc a:hover { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.art-table { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-small); }
.art-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.art-table th, .art-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--line-2); }
.art-table thead th { border-top: 0; background: var(--bg-2); font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.art-table tbody th { font-weight: 600; color: var(--ink); }
.art-table td { color: var(--ink-3); }
.art-more { margin-top: -4px; font-size: 0.95rem; }
.art-note { font-size: 0.92rem; color: var(--ink-3) !important; padding: 14px 16px; border-left: 3px solid var(--acc-line); background: var(--bg-3); border-radius: 0 var(--r-small) var(--r-small) 0; }
.art-cta { margin-top: 28px; background: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.art-cta b { color: #fff; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.art-cta p { color: rgba(255, 255, 255, 0.72); }
.art-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.art-cta .btn-primary { background: #fff; color: var(--ink); }
.art-cta .btn-primary:hover { background: #f0f0f2; }
.art-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.art-cta .btn-ghost:hover { border-color: #fff; }

.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-card); background: var(--bg-2); text-decoration: none; min-width: 0; }
.section--alt .post { background: var(--card); }
.post:first-child { grid-column: 1 / -1; }
.post h2 { font-family: var(--display); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.18; }
.post:first-child h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.post p:not(.post-k) { color: var(--ink-3); }
.post-k { font-size: 0.8rem; color: var(--acc); font-weight: 600; }
a.post:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.post--soon, .section--alt .post--soon { background: transparent; border: 1px dashed var(--line); }
.post--soon .post-k { color: var(--ink-4); }
.post--soon h2 { color: var(--ink-2); }
.optout { max-width: 560px; }

@media (max-width: 900px) { .agc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .agc-grid, .posts { grid-template-columns: 1fr; }
  .art { font-size: 1rem; }
  .art-toc { padding: 18px; }
  .art-table th, .art-table td { padding: 10px 8px; hyphens: auto; overflow-wrap: break-word; }
}

/* ---------- вторая волна SEO (19 окт): калькулятор стоимости привлечения, группа статей, карточка в статье ---------- */
.cac { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cac-in { display: grid; gap: 10px; background: var(--bg-2); border-radius: var(--r-card); padding: 22px; }
.cac-in label { display: grid; gap: 4px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.cac-in input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; min-width: 0; }
.cac-in input:focus { outline: 2px solid var(--acc-line); outline-offset: 1px; border-color: var(--acc); }
.cac-out { display: grid; gap: 10px; align-content: start; border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 22px; }
.cac-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.cac-out span { font-size: 0.9rem; color: var(--ink-3); }
.cac-out b { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cac-out .main b { color: var(--acc); font-size: 1.6rem; }
.cac-note { font-size: 0.9rem; color: var(--ink-2); }
.post--group { background: var(--bg-2); grid-column: 1 / -1; }
.section--alt .post--group { background: var(--card); }
.post-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.post-links a { display: inline-block; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.post-links a:hover { border-color: var(--ink); }
.art .lead-card { max-width: 420px; }
.art .nb { margin: 4px 0; }
.art .talk { margin: 4px 0; }
.art .talk-lines { gap: 8px; counter-reset: none; }
.art .talk-lines li { grid-template-columns: 76px minmax(0, 1fr); }
.art .talk-lines > li { padding-left: 0; }
.art .talk-lines > li::before { content: none; }
.art-formula { font-family: var(--mono); font-size: 0.92rem; color: var(--ink) !important; background: var(--bg-2); border-radius: var(--r-small); padding: 14px 16px; }
@media (max-width: 640px) { .cac { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .art-table table { font-size: 0.8rem; } .art-table th, .art-table td { padding: 8px 6px; } }

/* ---------- третья волна: лидогенерация в Telegram ---------- */
.tgo-niches { display: flex; flex-wrap: wrap; gap: 8px; }
.tgo-niches li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line-2); font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.section:not(.section--alt) .tgo-niches li { background: var(--bg-2); border-color: transparent; }
.tgo { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.tgo-tabs { display: grid; gap: 8px; }
.tgo-tabs button { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); font: inherit; color: var(--ink-2); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.tgo-tabs button:hover { border-color: var(--line); }
.tgo-tabs button span { grid-row: span 2; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); padding-top: 4px; }
.tgo-tabs button b { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.tgo-tabs button small { font-size: 0.8rem; color: var(--ink-3); }
.tgo-tabs button[aria-selected="true"] { border-color: var(--acc-line); background: var(--acc-soft); }
.tgo-tabs button[aria-selected="true"] span { color: var(--acc); }
.tgo-chat { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-stage); box-shadow: var(--shadow-card); overflow: hidden; min-width: 0; }
.tgo-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.tgo-ava { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-weight: 600; color: var(--ink-2); }
.tgo-head > div { min-width: 0; flex: 1; }
.tgo-head b { display: block; font-size: 0.95rem; }
.tgo-head > div span { display: block; font-size: 0.78rem; color: var(--ink-3); }
.tgo-via { flex: none; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.tgo-log { display: flex; flex-direction: column; gap: 8px; padding: 18px; min-height: 470px; background: var(--bg-3); }
.tgo-m { max-width: 82%; padding: 9px 13px 6px; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; animation: tgIn 0.4s ease both; animation-delay: calc(var(--i, 0) * 0.45s); }
.tgo-m time { display: block; text-align: right; font-size: 0.66rem; color: var(--ink-4); margin-top: 2px; }
.tgo-in { align-self: flex-start; background: var(--card); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.tgo-out { align-self: flex-end; background: #e4f2eb; border-bottom-right-radius: 6px; }
.tgo-res { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.84rem; color: var(--ink-3); animation: tgIn 0.4s ease both; animation-delay: calc(var(--i, 0) * 0.45s); }
.tgo-res b { display: inline-block; margin-right: 8px; font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); }
.tgo-res--ok b { background: var(--acc-soft); color: var(--acc); }
.tgo-res--hot b { background: #fff3dc; color: #8a5300; }
.tgo-res--no b { color: var(--ink-4); }
@keyframes tgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tgo-m, .tgo-res { animation: none; } }
.tgo-cab { align-items: center; }
.tgd { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-stage); box-shadow: var(--shadow-card); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; min-width: 0; }
.tgd-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tgd-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.tgd-top b { font-size: 1rem; }
.tgd-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--acc); white-space: nowrap; }
.tgd-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.tgd-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tgd-nums div { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.tgd-nums b { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tgd-nums span { font-size: 0.76rem; color: var(--ink-3); }
.tgd-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 124px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 0.88rem; }
.tgd-list li > div { min-width: 0; }
.tgd-list b { font-weight: 600; }
.tgd-list small { display: block; font-size: 0.76rem; color: var(--ink-3); }
.tgd-list em { font-style: normal; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-chip { justify-self: end; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.st-chip.ok { background: var(--acc-soft); color: var(--acc); }
.st-chip.hot { background: #fff3dc; color: #8a5300; }
.st-chip.no { color: var(--ink-4); }
.tile .tgo-price { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); }
.tile .tgo-price .tbd { padding: 0 0.12em; border-radius: 0.14em; }
.tgo-plan--main { border: 1px solid var(--acc-line); }
@media (max-width: 900px) {
  .tgo { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tgo-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .tgo-tabs button { flex: none; display: block; padding: 8px 14px; border-radius: var(--r-pill); }
  .tgo-tabs button span, .tgo-tabs button small { display: none; }
  .tgo-tabs button b { font-size: 0.88rem; white-space: nowrap; }
}
@media (max-width: 700px) {
  .tgo-log { min-height: 0; padding: 14px; }
  .tgo-m { max-width: 90%; }
  .tgd-nums { grid-template-columns: 1fr 1fr; }
  .tgd-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .tgd-list li > div { grid-column: 1; grid-row: 1; }
  .tgd-list .st-chip { grid-column: 2; grid-row: 1; }
  .tgd-list em { grid-column: 1 / -1; grid-row: 2; white-space: normal; font-size: 0.84rem; color: var(--ink-3); }
}

/* ---------- white label: таблица на три варианта ---------- */
.cmp--3 tbody th { width: 14%; }

/* ---------- статус сервиса ---------- */
.st-sum { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 22px; border-radius: var(--r-card); background: var(--acc-soft); border: 1px solid var(--acc-line); }
.st-sum i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 5px rgba(15, 122, 82, 0.15); }
.st-sum b { font-size: 1.1rem; }
.st-sum span { margin-left: auto; font-size: 0.86rem; color: var(--ink-3); }
.st-list { border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--card); }
.st-row { display: grid; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.st-row:first-child { border-top: 0; }
.st-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.st-row-top b { font-weight: 600; font-size: 0.95rem; }
.st-row-top span { flex: none; font-size: 0.84rem; color: var(--ink-3); }
.st-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 28px; }
.st-bars i { border-radius: 2px; background: #47ad83; }
.st-bars i.w { background: #e3a93c; }
.st-bars i.d { background: #d65a4f; }
.st-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.74rem; color: var(--ink-4); }
.st-axis .st-30 { display: none; }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 0.8rem; color: var(--ink-3); }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend i { width: 10px; height: 10px; border-radius: 2px; background: #47ad83; }
.st-legend i.w { background: #e3a93c; }
.st-legend i.d { background: #d65a4f; }
.st-inc { display: grid; gap: 12px; }
.st-inc article { display: grid; gap: 6px; padding: 18px 22px; border-radius: var(--r-card); background: var(--bg-2); }
.section--alt .st-inc article { background: var(--card); }
.st-inc b { font-weight: 600; }
.st-inc p:not(.st-date) { color: var(--ink-3); font-size: 0.95rem; }
.st-date { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); }
@media (max-width: 700px) {
  .st-bars { grid-template-columns: repeat(30, minmax(0, 1fr)); }
  .st-bars i:nth-child(-n+60) { display: none; }
  .st-axis .st-90 { display: none; }
  .st-axis .st-30 { display: inline; }
  .st-row { padding: 14px 16px; }
  .st-sum span { margin-left: 0; flex-basis: 100%; }
}

/* ---------- подвал: строка каналов ---------- */
.footer-ch { margin-top: 28px; font-size: 0.84rem; color: var(--ink-3); line-height: 1.8; }
.footer-ch span { font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.footer-ch a { color: inherit; text-decoration: none; }
.footer-ch a:hover { color: var(--ink); text-decoration: underline; }
.is-partner .gift-line, .is-partner [data-vol] { display: none; }

/* ---------- страницы каналов: пример письма ---------- */
.chl-ex { align-items: start; }
.chl-letter { display: grid; gap: 12px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); font-size: 0.98rem; min-width: 0; }
.chl-subj { padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.chl-subj span { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--ink-4); margin-right: 6px; }
.chl-letter p:last-child { font-size: 0.86rem; color: var(--ink-3); }

/* ---------- шапка: «Реклама» — все 26 каналов по группам ---------- */
.dd--ch .dd-menu { width: min(1040px, calc(100vw - 48px)); grid-template-columns: 2fr 1fr 1fr; gap: 6px 18px; }
.mg-list { display: grid; gap: 1px; }
.mg-col--wide .mg-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); grid-auto-flow: column; column-gap: 6px; }
.nav .dd-mega a.mg-h { display: flex; padding: 6px 12px; border-radius: 10px; color: var(--ink-4); }
.nav .dd-mega a.mg-h:hover { background: none; color: var(--acc); }
.mg-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line-2); }
.nav .dd-mega .mg-foot a { display: inline; padding: 0; border-radius: 0; font-size: 0.86rem; font-weight: 600; color: var(--acc); }
.nav .dd-mega .mg-foot a:hover { background: none; text-decoration: underline; }
@media (max-width: 1100px) {
  .nav.open .dd--ch .mg-col { gap: 0; }
  .nav.open .dd--ch a.mg-h { padding: 14px 0 6px; font-size: 0.68rem; }
  .nav.open .mg-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
  .nav.open .mg-list a { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
  .nav.open .mg-list a b { font-size: 0.88rem; font-weight: 500; }
  .nav.open .mg-list a[aria-current="page"] { border-color: var(--acc-line); background: var(--acc-soft); }
  .nav.open .mg-foot { flex-direction: column; gap: 10px; padding: 14px 0 6px; margin-top: 8px; }
}

/* ---------- CTA-блоки: полоса на пятую часть экрана, одно действие ---------- */
.cta-sec { padding: clamp(10px, 1.8vw, 22px) 0; }
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3.2vw, 52px); align-items: center; min-height: 176px; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 4vw, 56px); border-radius: var(--r-stage); }
.cta-text, .cta-act { display: grid; gap: 8px; min-width: 0; align-content: center; }
.cta-k { justify-self: start; font-size: 0.84rem; font-weight: 600; color: var(--acc); }
.cta-h { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.15vw, 1.95rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.cta-h-b { color: var(--ink-3); }
.cta-sub { font-size: 0.95rem; color: var(--ink-3); max-width: 38em; }
.cta-pts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.92rem; color: var(--ink-2); }
.cta-pts li { position: relative; padding-left: 16px; }
.cta-pts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.cta-note { font-size: 0.82rem; color: var(--ink-3); }
.cta-link { justify-self: start; font-size: 0.92rem; font-weight: 500; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cta-link b { font-weight: 700; }
.cta-act > .btn { justify-self: start; }
.cta-done { font-size: 0.9rem; }
.cta-form--2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cta-form--2 input { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 0.98rem; min-width: 0; }
.cta-form--2 input:focus { outline: 2px solid var(--acc-line); outline-offset: 1px; border-color: var(--acc); }
.cta-form--2 .btn { grid-column: 1 / -1; min-height: 48px; }
.cta-form--2 .cta-done { grid-column: 1 / -1; }
.cta-form [aria-invalid="true"] { border-color: var(--no); }
/* скины */
.cta--light { background: var(--bg-2); }
.cta--line { background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.cta--mint { background: #e7f3ed; }
.cta--dark { background: #1d1d1f; color: #fff; }
.cta--acc { background: var(--acc); color: #fff; }
.cta--dark .cta-h-b, .cta--acc .cta-h-b { color: rgba(255, 255, 255, 0.55); }
.cta--dark .cta-sub, .cta--dark .cta-note, .cta--dark .cta-done { color: rgba(255, 255, 255, 0.66); }
.cta--acc .cta-sub, .cta--acc .cta-note { color: rgba(255, 255, 255, 0.8); }
.cta--dark .cta-k { color: #8fe0b8; }
.cta--acc .cta-k { color: #fff; }
.cta--dark .btn-primary, .cta--dark .cta-btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta--acc .cta-btn { background: #fff; color: var(--acc); border-color: #fff; }
.cta--dark .ln-row input { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.cta--dark .ln-row input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta--dark .tbd, .cta--acc .tbd { background: rgba(255, 255, 255, 0.14); color: inherit; }
.cta--mint .cta-form--2 input, .cta--light .cta-form--2 input { background: #fff; }
/* «Остывает»: часы чтения */
.cta-clock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.15); font-family: var(--mono); font-size: 0.74rem; font-weight: 500; }
.cta-clock b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cta-clock i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ctaBlink 1.6s ease-in-out infinite; }
@keyframes ctaBlink { 50% { opacity: 0.25; } }
/* пилот: три шага */
.cta-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cta-steps li { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: 0.84rem; color: rgba(255, 255, 255, 0.85); }
.cta-steps b { font-family: var(--mono); font-weight: 500; color: #8fe0b8; margin-right: 6px; }
/* человек */
.cta-person { display: flex; align-items: center; gap: 14px; }
.cta-ava { position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 0.7rem; color: var(--ink-3); }
.cta-ava .tbd { background: none; padding: 0; }
.cta-ava::after { content: ""; position: absolute; right: 1px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: #2fb877; border: 2px solid var(--card); }
.cta-person p { display: grid; gap: 1px; }
.cta-person b { font-weight: 600; }
.cta-person p span { font-size: 0.84rem; color: var(--ink-3); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* «Пульс»: ниша → цена лида */
.cta-pulse { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; }
.cta-sel select { width: 100%; height: 48px; padding: 0 40px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-size: 0.95rem; color: var(--ink); appearance: none; -webkit-appearance: none; }
.cta-num { display: grid; justify-items: end; }
.cta-num b { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1; color: var(--acc); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cta-num span { font-size: 0.76rem; color: var(--ink-3); }
.cta-pulse .cta-note { grid-column: 1 / -1; }
/* подарок */
.cta-gift { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.cta-gift b { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.3rem); letter-spacing: -0.045em; line-height: 1; color: var(--acc); }
.cta-gift span { font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .cta { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 18px; padding: 24px 22px; border-radius: 26px; }
}
@media (max-width: 520px) {
  .cta-form--2 { grid-template-columns: minmax(0, 1fr); }
  .cta-pulse { grid-template-columns: minmax(0, 1fr); }
  .cta-num { justify-items: start; }
  .cta-act > .btn, .cta-btns .btn { justify-self: stretch; flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .cta-clock i { animation: none; } }
.cta--dark .btn-primary:hover, .cta--dark .cta-btn:hover { background: #e8e8ed; }
.cta--acc .cta-btn:hover { background: #eef6f1; }

/* ---------- служебная страница «CTA-блоки: концепт» ---------- */
.ctx-list { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.ctx { margin-top: clamp(28px, 3.4vw, 48px); }
.ctx:first-child { margin-top: 0; }
.ctx-cap { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 22px; align-items: start; padding-bottom: 6px; }
.ctx-n { font-family: var(--mono); font-size: 0.8rem; color: var(--acc); padding-top: 6px; }
.ctx-cap h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.ctx-cap > div > p { margin-top: 4px; color: var(--ink-3); font-size: 0.92rem; }
.ctx-dl { display: grid; gap: 6px; font-size: 0.86rem; }
.ctx-dl div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; }
.ctx-dl dt { color: var(--ink-4); }
.ctx-dl dd { color: var(--ink-2); }
.ctx-map { display: grid; gap: 6px; max-width: 640px; counter-reset: none; }
.ctx-map li { padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); font-size: 0.92rem; color: var(--ink-3); }
.ctx-map li.c { border: 0; color: #fff; font-weight: 600; }
.ctx-map li.c span { font-weight: 400; opacity: 0.75; margin-left: 6px; }
.ctx-map li.acc { background: var(--acc); }
.ctx-map li.dark { background: #1d1d1f; }
.ctx-map li.light { background: #d9d9de; color: var(--ink); }
.ctx-map li.line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
@media (max-width: 860px) {
  .ctx-cap { grid-template-columns: minmax(0, 1fr); }
  .ctx-n { padding-top: 0; }
}

/* ---------- трипваеры: файл, записи, канал, первый платный шаг ---------- */
.tw-head { display: flex; align-items: center; gap: 18px; }
.tw-head > div { display: grid; gap: 6px; min-width: 0; }
.tw-doc { position: relative; flex: none; width: 70px; height: 90px; padding: 30px 10px 10px; display: grid; gap: 6px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.tw-doc::after { content: ""; position: absolute; right: 0; top: 0; width: 16px; height: 16px; background: var(--line-2); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.tw-doc b { position: absolute; left: 8px; top: 9px; padding: 2px 5px; border-radius: 4px; font-family: var(--mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; background: #c4483c; }
.tw-doc--xls b { background: #1d7a45; }
.tw-doc--doc b { background: #2f5fb3; }
.tw-doc i { display: block; height: 4px; border-radius: 2px; background: var(--line-2); }
.tw-doc i:nth-of-type(2) { width: 82%; } .tw-doc i:nth-of-type(4) { width: 64%; } .tw-doc i:nth-of-type(5) { width: 74%; }
.tw-list { display: grid; }
.tw-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.92rem; }
.tw-list li:first-child { border-top: 0; }
.tw-list em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); }
.tw-play { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; position: relative; }
.tw-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.tw-posts { display: grid; gap: 6px; }
.tw-posts li { padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); font-size: 0.88rem; color: var(--ink-2); }
.tw-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.tw-price b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.tw-price b .tbd { background: rgba(255, 255, 255, 0.16); padding: 0 0.1em; border-radius: 0.14em; }
.tw-price span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.8); }
.cta--acc .cta-pts { color: rgba(255, 255, 255, 0.9); }
.cta--acc .cta-pts li::before { background: #fff; }
.cta--dark .cta-btn { justify-self: start; }

/* ---------- утепление: цифра, миф и факт, тест, отзыв, день менеджера ---------- */
.ws-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 14px; }
.ws-n { display: grid; gap: 4px; }
.ws-n b { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); white-space: nowrap; letter-spacing: -0.04em; line-height: 1; color: var(--ink-3); }
.ws-n--ai b { color: var(--acc); }
.ws-n b .tbd { background: none; padding: 0; color: inherit; }
.ws-n span { font-size: 0.8rem; color: var(--ink-3); }
.ws-or { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); padding-bottom: 28px; }
.wm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wm p { padding: 14px 16px; border-radius: 16px; font-size: 0.9rem; }
.wm-l { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.wm-m { background: var(--bg-2); color: var(--ink-3); }
.wm-m .wm-l { color: var(--ink-4); }
.wm-f { background: var(--acc-soft); color: var(--ink); }
.wm-f .wm-l { color: var(--acc); }
.cta--myth .cta-h { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.wq-list { display: grid; }
.wq-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.wq-list li:first-child { border-top: 0; }
.wq-btns { display: inline-flex; flex: none; gap: 4px; }
.wq-btns button { min-width: 48px; padding: 6px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: inherit; font-size: 0.82rem; color: var(--ink-2); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.wq-btns button[aria-pressed="true"][data-q="1"] { background: var(--acc); border-color: var(--acc); color: #fff; }
.wq-btns button[aria-pressed="true"][data-q="0"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.wq-res { font-size: 0.95rem; color: var(--ink-2); }
.wq-res b { color: var(--acc); }
.wq-cta { justify-self: start; }
.wq-quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; }
.wq-quote .tbd { background: rgba(255, 255, 255, 0.6); }
.wd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wd > div { padding: 14px 16px; border-radius: 16px; background: var(--bg-2); display: grid; gap: 6px; align-content: start; }
.wd p { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.wd ul { display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink-3); }
.wd-new { background: var(--acc-soft) !important; }
.wd-new p { color: var(--acc); }
.wd-new ul { color: var(--ink); }

/* ---------- большие CTA: почти на экран ---------- */
.big-sec { padding: clamp(12px, 2vw, 24px) 0; }
.big { position: relative; overflow: hidden; border-radius: var(--r-stage); padding: clamp(28px, 4.4vw, 64px); }
.big-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(78vh, 680px); }
.big-sec .offer { min-height: min(82vh, 760px); }
.big-text, .big-act { display: grid; gap: 16px; min-width: 0; align-content: center; }
.big-k { font-size: 1.05rem; font-weight: 600; color: var(--acc); }
.big-h { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2vw, 3.05rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.big-h-b { color: var(--ink-3); }
.big-sub { font-size: 1.02rem; color: var(--ink-3); max-width: 34em; }
.big--dark { background: var(--ink); color: #fff; }
.big--dark .big-k { color: #8fe0b8; }
.big--dark .big-h-b, .big--dark .big-sub, .big--dark .cta-note { color: rgba(255, 255, 255, 0.6); }
.big--light { background: var(--bg-2); }
.big--line { background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.big--acc { background: var(--acc); color: #fff; }
.big--acc .big-k { color: #fff; opacity: 0.85; }
.big--acc .big-h-b { color: rgba(255, 255, 255, 0.6); }
.big--dark .cta-btn, .big--acc .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.big--dark .big-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.big--dark .big-ghost:hover { border-color: #fff; }
.big-sec .offer-h { font-family: var(--display); }
/* калькулятор потерь */
.loss-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.loss-in label { display: grid; gap: 6px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.loss-in input, .loss-in select { height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-size: 1rem; min-width: 0; }
.loss-in select option { color: var(--ink); }
.loss-out { display: grid; border-radius: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.loss-out p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.loss-out p:first-child { border-top: 0; }
.loss-out span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.loss-out b { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.loss-out .main b { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); color: #ff8a7a; }
/* пилот: договор */
.big-steps li { background: #fff; color: var(--ink-2); }
.big-steps b { color: var(--acc); }
.pb-card { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); padding: 22px 24px 26px; transform: rotate(-1.5deg); }
.pb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.pb-h span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.pb-card table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 0.9rem; }
.pb-card th { text-align: left; font-size: 0.74rem; font-weight: 500; color: var(--ink-4); padding: 8px 0; }
.pb-card td { padding: 10px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.pb-card td:last-child { white-space: nowrap; }
.pb-card td i { font-style: normal; color: var(--acc); font-weight: 700; margin-left: 4px; }
.pb-stamp { position: absolute; right: 18px; bottom: -14px; }
/* восемь подрядчиков → одно окно */
.bo-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bo-chips li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-size: 0.9rem; transition: opacity 0.5s ease calc(var(--i) * 0.08s); }
.bo-chips li span { color: var(--ink-4); font-size: 0.8rem; }
.bo-chips li::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--ink-3); transform: scaleX(0); transform-origin: left center; transition: transform 0.5s ease calc(0.3s + var(--i) * 0.08s); }
.big--okno.is-on .bo-chips li { opacity: 0.55; }
.big--okno.is-on .bo-chips li::after, html:not(.js) .bo-chips li::after { transform: scaleX(1); }
.bo-one { margin-top: 6px; display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--acc); color: #fff; transform: translateY(10px); opacity: 0; transition: transform 0.5s ease 1.1s, opacity 0.5s ease 1.1s; }
.big--okno.is-on .bo-one, html:not(.js) .bo-one { transform: none; opacity: 1; }
.bo-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.bo-one b { font-size: 1.1rem; }
.bo-one span { font-size: 0.86rem; opacity: 0.8; }
/* демо-звонок крупно */
.big-num { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); letter-spacing: -0.03em; }
.big-num .tbd { background: rgba(255, 255, 255, 0.16); color: #fff; }
.big-qr { display: flex; align-items: center; gap: 16px; }
.big-qr p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); max-width: 20em; }
.big--acc .cbx-qr { background: #fff; color: var(--ink-3); }
.big-k2 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.big-steps2 { display: grid; gap: 8px; counter-reset: bs; }
.big-steps2 li { counter-increment: bs; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); font-size: 0.95rem; }
.big-steps2 li::before { content: counter(bs, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem; opacity: 0.7; padding-top: 2px; }
.big--acc .cbx-form label { font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); }
.big--acc .ln-row input { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.big--acc .ln-row input::placeholder { color: rgba(255, 255, 255, 0.6); }
@media (max-width: 960px) {
  .big-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .big-sec .offer { min-height: 0; }
}
@media (max-width: 520px) {
  .big { padding: 24px 20px; border-radius: 26px; }
  .loss-in, .wm, .wd, .bo-chips { grid-template-columns: minmax(0, 1fr); }
  .ws-vs { grid-template-columns: minmax(0, 1fr); }
  .ws-or { padding: 0; }
  .wq-list li { flex-wrap: wrap; }
  .big-qr { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .bo-chips li, .bo-chips li::after, .bo-one { transition: none; } }
.ctx-group { padding-bottom: clamp(8px, 1.5vw, 16px); }
.ctx-group .lead { margin-top: 14px; max-width: 46em; }
.ctx-list + .ctx-list { border-top: 1px solid var(--line-2); }
.ctx-pw { display: grid; gap: 8px; counter-reset: pw; margin-top: 6px; }
.ctx-pw li { counter-increment: pw; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; font-size: 0.94rem; color: var(--ink-2); }
.ctx-pw li::before { content: counter(pw); font-family: var(--mono); font-size: 0.76rem; color: #c4483c; padding-top: 2px; }
.ctx-pw--w li::before { color: var(--acc); }
.pb-card table { table-layout: fixed; }
.pb-card th:first-child { width: 48%; }
.pb-card td { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .pb-card { transform: none; padding: 18px 16px 24px; }
  .pb-card table { font-size: 0.82rem; }
  .pb-card td:last-child { white-space: normal; }
  .pb-h { flex-direction: column; gap: 2px; }
}
.cta-h, .big-h, .big-sec .offer-h { overflow-wrap: break-word; }
@media (max-width: 520px) {
  .cta-h, .big-h, .big-sec .offer-h { hyphens: auto; hyphenate-limit-chars: 12 5 5; }
  .big-h, .big-sec .offer-h { font-size: 1.75rem; }
}
.ws-n b .tbd, .tw-price b .tbd, .big-num .tbd, .pb-card .tbd, .wq-quote .tbd, .wm .tbd, .wd .tbd, .loss-out .tbd { font-size: inherit; }

/* ---------- блоки на страницах: отступы вокруг (раскладка 20 окт) ---------- */
main > .cta-sec, main > .big-sec { padding: clamp(24px, 3.4vw, 48px) 0; }
.section:not(.section--alt):has(+ .cta-sec), .section:not(.section--alt):has(+ .big-sec) { padding-bottom: clamp(44px, 5vw, 72px); }
.cta-sec + .section:not(.section--alt), .big-sec + .section:not(.section--alt) { padding-top: clamp(44px, 5vw, 72px); }
/* блок посреди статьи: статья закрывается и продолжается после него */
.section.art-sec.art-sec--cut { padding-bottom: clamp(20px, 3vw, 36px); }
.section.art-sec.art-sec--cont { padding-top: clamp(4px, 1vw, 12px); }
.art-sec--cont .art > h2:first-child { margin-top: 12px; }

/* ---------- шапка всегда сверху, оглавление страницы — панелью внизу (20 окт) ---------- */
html { scroll-padding-top: 84px; }
.site-header { position: sticky; top: 0; z-index: 35; background: rgba(255, 255, 255, 0.97); }
.strike-sum { top: 84px; }
.art h2 { scroll-margin-top: 96px; }
.local-bar {
  top: auto; bottom: 14px; left: 50%; right: auto; width: min(1180px, calc(100% - 32px));
  border: 1px solid var(--line-2); border-radius: 20px; background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.35), 0 2px 8px -4px rgba(0, 0, 0, 0.12);
  transform: translate(-50%, calc(100% + 28px));
}
.local-bar.is-on { transform: translate(-50%, 0); }
.local-bar .wrap { width: auto; max-width: none; margin: 0; padding: 0 8px 0 22px; }
.local-bar .lb-row { min-height: 54px; }
.lb-role-menu { top: auto; bottom: calc(100% + 10px); }
body:has([data-localbar]) .site-footer { padding-bottom: 110px; }
@media (max-width: 1100px) {
  .nav.open { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .local-bar .lb-row { gap: 14px; }
  .local-bar .lb-links { gap: 14px; }
}
.local-bar .lb-name { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.local-bar .lb-links, .local-bar .lb-role, .local-bar .lb-row > .btn { flex-shrink: 0; }

/* ---------- графические элементы (концепт 20 окт, tools/gfx.py): иконки, интерфейс, сцены, шаги, хаб, цифры ---------- */
.gx-svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.gx-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); flex-shrink: 0; }
.gx-ic--acc { background: var(--acc-soft); color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc-line); }
.gx-ic--lg { width: 56px; height: 56px; border-radius: 16px; }
.gx-ic--lg .gx-svg { width: 28px; height: 28px; }
.gx-ic--xl { width: 84px; height: 84px; border-radius: 24px; box-shadow: var(--shadow-soft); }
.gx-ic--xl .gx-svg { width: 40px; height: 40px; stroke-width: 1.4; }
.tile--ic > .gx-ic { margin-bottom: 10px; }
.gx-mono { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); letter-spacing: 0.02em; }
.gx-foot { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }

/* витрина иконок */
.gx-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.gx-set li { display: grid; justify-items: center; gap: 10px; padding: 18px 6px 14px; border-radius: 18px; background: var(--bg-2); text-align: center; }
.section--alt .gx-set li { background: #fff; }
.gx-set span:last-child { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.gx-ilist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.gx-ilist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.gx-ilist div { display: grid; gap: 3px; padding-top: 2px; }
.gx-ilist b { font-weight: 600; }
.gx-ilist span { color: var(--ink-3); font-size: 0.95rem; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gx-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.92rem; }
.gx-chips .gx-svg { width: 20px; height: 20px; color: var(--ink-2); }
.gx-niches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gx-niches .tile { min-height: 168px; align-content: space-between; }

/* кусочки интерфейса */
.gx-ui { position: relative; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-card); padding: 14px 16px 16px; font-size: 13px; line-height: 1.35; color: var(--ink); text-align: left; }
.gx-ui-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gx-ui-h b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.gx-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--acc); }
.gx-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: blink 1.6s ease-in-out infinite; }
.gx-wave { display: flex; align-items: center; gap: 3px; height: 46px; }
.gx-wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: var(--ink); opacity: 0.82; animation: gxEq var(--t, 1s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes gxEq { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.gx-said { color: var(--ink-2); }
.gx-crit { display: flex; flex-wrap: wrap; gap: 5px; }
.gx-crit em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-line); border-radius: 99px; padding: 1px 8px; }
.gx-crit em::before { content: "✓ "; }
.gx-note { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; border-radius: 20px; padding: 12px 14px; }
.gx-app { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); }
.gx-logo { width: 22px; height: 22px; }
.gx-note-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; margin-bottom: 2px; }
.gx-note-h span { color: var(--ink-4); font-size: 11.5px; }
.gx-note p:last-child { font-size: 12.5px; color: var(--ink-2); }
.gx-hours li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; min-height: 26px; border-top: 1px solid var(--line-2); padding-top: 5px; }
.gx-hours li > span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.gx-slot { display: grid; gap: 2px; margin-bottom: 6px; padding: 8px 10px; border-radius: 8px; border-left: 3px solid var(--acc); background: var(--acc-soft); }
.gx-slot span { font-size: 12px; color: var(--ink-3); }
.gx-slot em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--acc); }
.gx-rows { display: grid; gap: 10px; }
.gx-rows li { display: grid; grid-template-columns: 116px minmax(0, 1fr) 62px; align-items: center; gap: 10px; font-size: 12.5px; }
.gx-rows li span { white-space: nowrap; }
.gx-rows li em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--ink-3); background: var(--bg-2); border-radius: 99px; padding: 1px 6px; }
.gx-rows i, .gx-bar2 i { position: relative; height: 8px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.gx-rows i::after, .gx-bar2 i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: left center; transform: scaleX(var(--w)); }
.gx-rows li.stop i::after { background: #c7c7cc; }
.gx-rows b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.gx-rows li.stop b { color: var(--ink-4); }
[data-ill].is-on .gx-rows i::after, [data-ill].is-on .gx-bar2 i::after { animation: gxGrow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes gxGrow { from { transform: scaleX(0); } }
.gx-thr { display: inline-block; width: 14px; border-top: 1.5px dashed var(--ink-4); vertical-align: middle; margin-right: 6px; }
.gx-rule p:not(.gx-foot) { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.gx-k { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); padding-top: 2px; }
.gx-tgl { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--acc); }
.gx-tgl i { position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.gx-crm dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.gx-crm dt { color: var(--ink-3); }
.gx-crm dd { font-weight: 500; }
.gx-rec { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--bg-2); font-size: 12px; color: var(--ink-3); }
.gx-play { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.gx-play::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.gx-list2 li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.gx-list2 em { font-style: normal; font-size: 11px; color: var(--ink-3); background: var(--bg-2); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.gx-list2 em.ok { color: var(--acc); background: var(--acc-soft); font-weight: 500; }
.gx-list2 em.no { color: var(--ink-4); }
.gx-prog { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.gx-prog i { display: block; height: 100%; background: var(--acc); transform-origin: left center; transform: scaleX(var(--w)); }
.gx-chat { gap: 8px; }
.gx-msg { max-width: 88%; padding: 8px 12px; border-radius: 16px; font-size: 12.5px; }
.gx-msg.out { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.gx-msg.in { justify-self: start; background: var(--bg-2); border-bottom-left-radius: 5px; }
.gx-typing { justify-self: start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 16px; background: var(--bg-2); }
.gx-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: tdot 1.2s ease-in-out infinite; }
.gx-typing i:nth-child(2) { animation-delay: 0.15s; }
.gx-typing i:nth-child(3) { animation-delay: 0.3s; }
.gx-uiset { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gx-uiset figure { display: grid; gap: 10px; }
.gx-uiset figcaption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); padding-left: 4px; }

/* коллаж, сцены, хаб, документы — внутри иллюстраций с масштабом */
.gx-pos { position: absolute; }
.ill--gx-col { overflow: visible; }
.ill-svg .t-ok { fill: var(--acc); font-weight: 500; }
.ill-svg .t-sm { font-size: 10.5px; fill: var(--ink-4); }
.ill-svg .gx-night { fill: #ebebf0; }
.ill-svg .gx-bd { fill: #d2d2d7; }
.ill-svg .gx-bar { fill: #d2d2d7; }
.ill-svg .gx-bar.ok { fill: var(--acc); }
.gx-pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink-4); animation: gxPop 3.2s ease-in-out var(--d, 0s) infinite; }
.gx-pin.ok { background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
@keyframes gxPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.gx-live-dot { position: absolute; width: 7.2px; height: 7.2px; margin: -3.6px 0 0 -3.6px; border-radius: 50%; background: var(--acc); opacity: 0; animation: gxLive 6s ease-in-out var(--d, 0s) infinite; }
@keyframes gxLive { 0%, 30% { opacity: 0; transform: scale(0.4); } 40%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.gx-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.gx-node i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.gx-core { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; align-content: center; gap: 6px; width: 116px; height: 116px; border-radius: 34px; background: #fff; box-shadow: var(--shadow-card); }
.gx-core .gx-logo { width: 40px; height: 40px; }
.gx-core b { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.ill--gx-hub { background: var(--bg-2); border-radius: var(--r-stage); }
.gx-paper { box-shadow: var(--shadow-card); }
.gx-paper .ill-stamp { right: 14px; bottom: 14px; }
.gx-terms { display: grid; margin-top: 4px; }
.gx-terms li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line-2); font-size: 12px; }
.gx-terms em { font-style: normal; font-weight: 600; }
.gx-sign { display: block; width: 52%; height: 26px; border-bottom: 1px solid var(--line); }

/* шаги на линии */
.gx-steps { position: relative; }
.gx-steps ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gx-steps li { display: grid; gap: 6px; justify-items: start; align-content: start; }
.gx-steps li .gx-ic { position: relative; z-index: 1; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 0 0 8px var(--bg); }
.section--alt .gx-steps li .gx-ic { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 8px var(--bg-2); }
.gx-steps li .gx-ic--acc { box-shadow: inset 0 0 0 1px var(--acc-line), 0 0 0 8px var(--bg); }
.section--alt .gx-steps li .gx-ic--acc { box-shadow: inset 0 0 0 1px var(--acc-line), 0 0 0 8px var(--bg-2); }
.gx-steps b { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.gx-steps span { color: var(--ink-3); font-size: 0.95rem; }
.gx-track { position: absolute; left: 22px; right: calc((100% - 60px) / 4 - 22px); top: 21px; height: 1.5px; background: var(--line); }
.gx-run { position: absolute; left: 0; top: -3px; width: 100%; height: 7px; animation: gxRun 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.gx-run::before { content: ""; position: absolute; left: -3.5px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
@keyframes gxRun { 0% { transform: translateX(0); opacity: 0; } 8%, 90% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
[data-ill]:not(.is-on) .gx-run { animation-play-state: paused; }

/* логотипы, цифры, сравнение, кейсы */
.gx-logos { display: grid; gap: 14px; }
.gx-cap { font-family: var(--mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.04em; }
.gx-logos ul { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.gx-logos li { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--ink-4); }
.gx-clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gx-clients span { display: grid; place-items: center; height: 72px; border-radius: 16px; background: var(--bg-2); font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); text-align: center; padding: 0 8px; }
.section--alt .gx-clients span { background: #fff; }
.gx-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gx-nums > div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.gx-nums p { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.gx-nums b { font-family: var(--display); font-size: clamp(2.6rem, 1.5rem + 2.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.gx-nums em { font-style: normal; font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--ink-3); }
.gx-nums span { color: var(--ink-3); font-size: 0.94rem; }
.gx-nums b .tbd { font-size: inherit; }
.gx-vs { display: grid; gap: 22px; max-width: 920px; }
.gx-vs-key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.86rem; color: var(--ink-3); }
.gx-vs-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: #c7c7cc; }
.gx-vs-key .ai::before { background: var(--acc); }
.gx-vs ul { display: grid; gap: 24px; }
.gx-vs li { display: grid; gap: 8px; }
.gx-vs li > p { font-weight: 600; }
.gx-bar2 { display: grid; grid-template-columns: minmax(0, 1fr) 70px; align-items: center; gap: 14px; }
.gx-bar2 i { height: 12px; border-radius: 6px; }
.gx-bar2 i::after { background: #c7c7cc; }
.gx-bar2.ai i::after { background: var(--acc); }
.gx-bar2 span { font-family: var(--mono); font-size: 0.82rem; text-align: right; color: var(--ink-3); }
.gx-bar2.ai span { color: var(--acc); font-weight: 500; }
.gx-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gx-case { display: grid; gap: 6px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--bg-2); text-decoration: none; transition: transform 0.25s ease; }
.section--alt .gx-case { background: #fff; }
.gx-case:hover { transform: translateY(-2px); }
.gx-case-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gx-mono-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; }
.gx-case b { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.gx-case > span { color: var(--ink-3); font-size: 0.95rem; }
.gx-case svg { width: 100%; height: 60px; margin: 12px 0 6px; }
.gx-case polyline { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gx-case em { font-style: normal; font-size: 0.9rem; font-weight: 500; }

/* карточки-разделы с картинкой */
.gx-svcs { display: grid; gap: 16px; }
.gx-svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-stage); background: var(--bg-2); text-decoration: none; }
.section--alt .gx-svc { background: #fff; }
.gx-svc-t { display: grid; align-content: start; gap: 14px; padding-right: 20px; }
.gx-svc-t .gx-mono { font-size: 12px; }
.gx-svc-t b { font-family: var(--display); font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.gx-svc-t > span { color: var(--ink-3); max-width: 30em; }
.gx-svc-v { position: relative; min-height: 250px; border-radius: 24px; background: #fff; overflow: hidden; }
.section--alt .gx-svc-v { background: var(--bg-2); }
.gx-svc-v > .gx-ic { position: absolute; left: 26px; top: 26px; }
.gx-svc-ui { position: absolute; right: -14px; bottom: -14px; width: min(310px, 78%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gx-svc:hover .gx-svc-ui { transform: translate(-4px, -4px); }
.gx-arr { position: absolute; right: calc(clamp(22px, 3vw, 36px) + 18px); top: calc(clamp(22px, 3vw, 36px) + 12px); font-style: normal; font-size: 1.35rem; color: var(--ink-3); transition: transform 0.2s ease, color 0.2s ease; }
.gx-svc:hover .gx-arr { transform: translate(3px, -3px); color: var(--ink); }

/* фото и предметы */
.gx-photo { display: grid; gap: 10px; }
.gx-photo-box { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: var(--r-stage); background: var(--bg-2); padding: 20px; text-align: center; }
.section--alt .gx-photo-box { background: #fff; }
.gx-photo figcaption { font-size: 0.86rem; color: var(--ink-3); }
.gx-img { margin: 0; display: grid; gap: 10px; }
.gx-img img { display: block; width: 100%; height: auto; border-radius: var(--r-stage); background: #f5f5f7; }
.gx-img figcaption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); padding-left: 4px; }
.gx-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1100px) {
  .gx-uiset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-niches, .gx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gx-ilist, .gx-cases, .gx-imgs, .gx-uiset { grid-template-columns: minmax(0, 1fr); }
  .gx-steps ol { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gx-steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; }
  .gx-steps li .gx-ic { grid-row: span 2; margin-bottom: 0; }
  .gx-track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1.5px; height: auto; }
  .gx-run { left: -3px; top: 0; width: 7px; height: 100%; animation-name: gxRunY; }
  .gx-run::before { left: 0; top: -3.5px; }
  @keyframes gxRunY { 0% { transform: translateY(0); opacity: 0; } 8%, 90% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
  .gx-svc { grid-template-columns: minmax(0, 1fr); }
  .gx-svc-t { padding-right: 34px; }
  .gx-photo-box { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .gx-nums { grid-template-columns: minmax(0, 1fr); }
  .gx-niches { grid-template-columns: minmax(0, 1fr); }
  .gx-niches .tile { min-height: 0; grid-template-columns: 56px minmax(0, 1fr); align-items: center; }
  .gx-niches .tile .gx-ic { margin-bottom: 0; }
  .gx-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-rows li { grid-template-columns: 100px minmax(0, 1fr) 58px; }
}
.is-idle .gx-wave i, .is-idle .gx-run, .is-idle .gx-pin, .is-idle .gx-live-dot { animation-play-state: paused; }
[data-ill]:not(.is-on) .gx-wave i { animation-play-state: paused; }
/* служебная страница графики */
.gx-gap { height: clamp(28px, 3.4vw, 48px); }
.gx-gap--s { height: 12px; }
.gx-cols { gap: 28px 20px; }
.gx-fig { margin: 0; display: grid; gap: 10px; }
.gx-fig > figcaption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); padding-left: 4px; }
.gx-cols .ill--gx-col { background: var(--bg-2); border-radius: var(--r-stage); overflow: hidden; }
.section--alt .gx-cols .ill--gx-col { background: #fff; }
.gx-split { align-items: center; }
.gx-after .tile { align-content: start; }
.gx-after .gx-ui { margin-top: 10px; box-shadow: var(--shadow-soft); }
.ph-grid > .ill--gx-col { width: 100%; }
/* текст внутри кусочков интерфейса не наследует стили плиток */
.gx-ui b { font-family: var(--body); font-size: inherit; font-weight: 600; letter-spacing: normal; line-height: inherit; }
.gx-ui .gx-ui-h b { font-size: 13.5px; letter-spacing: -0.01em; }
.gx-ui p { font-size: 12.5px; color: var(--ink-2); }
.gx-ui .gx-said { font-size: 13px; }
.gx-ui .gx-note-h { color: var(--ink); }
.gx-ui .gx-foot { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.gx-ui .gx-msg.out { color: #fff; }
.gx-svc-ui { top: 70px; bottom: auto; right: -12px; width: min(320px, 80%); }
.gx-rows li { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
.gx-ui-h { flex-wrap: wrap; }
.gx-list2 span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .gx-svc-v { min-height: 300px; }
  .gx-svc-ui { left: 16px; right: 16px; width: auto; top: 98px; }
}
.gx-ui { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .ill--gx-col { overflow: hidden; } }

/* ---------- графика на страницах (раскладка 20 окт) ---------- */
.gx-pic { margin: 0; }
.gx-pic img { display: block; width: 100%; height: auto; border-radius: var(--r-stage); background: #f5f5f7; }
.gx-pic--hero img { aspect-ratio: 5 / 4; object-fit: cover; }
.ph-grid--gx { align-items: center; }
.ph-grid--gx > .ill { width: 100%; }
.gx-ic--n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.gx-steps ol { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.gx-track { right: calc((100% - (var(--n, 4) - 1) * 20px) / var(--n, 4) - 22px); }
.gcard--pic { padding-top: 10px; }
.gcard-pic { margin: 0 -10px 12px; }
.gcard-pic img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.gx-aside { max-width: 600px; }
.gx-hubwrap { max-width: 860px; margin: 0 auto; }
@media (max-width: 760px) {
  .gx-steps ol { grid-template-columns: minmax(0, 1fr); }
  .ph-grid--gx > .gx-pic--hero { max-width: 460px; }
}
.gx-imgs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gx-imgs .gx-img img { border-radius: 20px; }
@media (max-width: 1100px) { .gx-imgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gx-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- добивка графики (20 окт): значки в меню, иконки над цифрами, агенты, отрасли ---------- */
.mg-ic { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; color: var(--ink-3); stroke-width: 1.7; }
.dd-menu a:hover .mg-ic, .dd-menu a[aria-current="page"] .mg-ic { color: var(--ink); }
@media (max-width: 1100px) { .mg-ic { display: none; } }
.stats--ic .stat-ic { width: 22px; height: 22px; margin-bottom: 8px; color: var(--ink-3); }
.agc--ic > .gx-ic { margin-bottom: 4px; }
.nt--pic { padding-top: 8px; }
.nt-pic { margin: 0 -12px 6px; }
.nt-pic img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }

/* ---------- доводы по ролям карточками (правка 20 окт: выбор «для кого» убран, все доводы сразу на странице) ---------- */
.role-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.flow-foot .role-cards { margin-top: 0; }
.rc { background: var(--bg-2); border-radius: var(--r-card); padding: 20px 18px 22px; display: grid; gap: 8px; align-content: start; }
.section--alt .rc { background: var(--card); }
.rc > .gx-ic { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 4px; }
.rc > .gx-ic .gx-svg { width: 20px; height: 20px; }
.rc b { font-family: var(--display); font-size: 1.04rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.rc p { color: var(--ink-3); font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 1100px) { .role-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .role-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .role-cards { grid-template-columns: minmax(0, 1fr); } .rc { padding: 18px 16px; } }
.sec-mountains .ill { width: 100%; margin-top: clamp(4px, 1.5vw, 16px); }
/* один счёт: три группы каналов карточками (правка 20 окт) */
.sc-grp { position: absolute; width: 178px; padding: 10px 12px 11px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); display: grid; gap: 4px; }
.sc-grp b { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 600; }
.sc-grp b i { font-style: normal; font-family: var(--mono); font-size: 9.5px; font-weight: 400; color: var(--acc); }
.sc-grp span { font-size: 11px; line-height: 1.35; color: var(--ink-3); }
/* кейсы «до и после»: заголовки разной длины не сдвигают строки с цифрами (правка 20 окт) */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .cases { row-gap: 0; }
    .cases .case { grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
    .cases .case h3 { align-self: start; }
  }
}
.gx-list2 em.live { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.gx-list2 em.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--rec); vertical-align: 1px; }
.gx-split + .grid-4 { margin-top: clamp(28px, 4vw, 48px); }
/* группы каналов: три карточки одного размера, «Подробнее» внизу (правка 20 окт) */
.gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.gcard { grid-template-rows: auto auto auto 1fr auto; }
.gcard .fg-ch { align-self: start; }
@media (max-width: 1100px) { .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .gcards { grid-template-columns: 1fr; } }
/* документы в разделе: блок по центру, строки условий не переносятся (правка 20 окт) */
.gx-aside { margin-left: auto; margin-right: auto; }
.gx-terms em { white-space: nowrap; }
.faq-more { margin-top: 18px; font-size: 0.95rem; color: var(--ink-3); }
@media (max-width: 480px) {
  .role-cards { gap: 8px; }
  .rc { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; padding: 14px 14px 16px; }
  .rc > .gx-ic { grid-row: span 2; margin: 0; }
}
@media (max-width: 480px) { .admock .ill-stamp { right: 22px; } }   /* штамп «ЕРИР» на «Одном счёте» не вылезает за край на телефоне */
