@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Лендинг сервиса распознавания речи и разбора звонков.
   Мир: голосовые сообщения мессенджера — синее поле, белые скруглённые «пузыри», волна как единственный орнамент. */

:root {
  --bg: #f2f6fb;
  --surface: #ffffff;
  --surface-2: #e9f1fa;
  --ink: #0c1a2b;
  --ink-2: #44566c;
  --ink-3: #56677b;
  --line: #d9e3ee;
  --blue: #1d74d0;
  --blue-hover: #1663b5;
  --blue-soft: #dcebfb;
  --blue-softer: #eef5fd;
  --blue-ink: #0f4f93;
  --on-blue: #ffffff;
  --on-blue-2: #edf5fe;
  --btn-ink: #ffffff;
  --field: #1d6cc0;            /* синее поле первого экрана */
  --field-deep: #0f2c4c;       /* тёмное поле раздела точности */
  --bubble-out: #e1f0ff;       /* реплика клиента */
  --bubble-meta: #4f6276;
  --bar-idle: #b7d2ef;
  --ok: #1a8f52;
  --ok-soft: #dcf3e6;
  --bad: #c83c33;
  --bad-soft: #fbe3e1;
  --wait: #b86a0c;
  --wait-soft: #fcecd6;
  --unsure: #c27a12;
  --shadow: 0 1px 2px rgb(12 26 43 / .06), 0 8px 24px -8px rgb(12 26 43 / .14);
  --shadow-lg: 0 2px 4px rgb(12 26 43 / .05), 0 24px 56px -20px rgb(12 26 43 / .28);
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1621;
    --surface: #17212b;
    --surface-2: #1d2a37;
    --ink: #eef3f8;
    --ink-2: #a9b8c8;
    --ink-3: #8193a6;
    --line: #26364a;
    --blue: #4a9ff0;
    --blue-hover: #6cb2f4;
    --blue-soft: #1d3b5c;
    --blue-softer: #172c42;
    --blue-ink: #8cc4fa;
    --on-blue: #ffffff;
    --on-blue-2: #dde9f6;
    --btn-ink: #08192c;
    --field: #1c4f86;
    --field-deep: #0a121b;
    --bubble-out: #2b5278;
    --bubble-meta: #c4daf0;
    --bar-idle: #4f7aa6;
    --ok: #4cc283;
    --ok-soft: #173a2a;
    --bad: #f07b72;
    --bad-soft: #3d1f1e;
    --wait: #f0aa52;
    --wait-soft: #3a2a14;
    --unsure: #f0b354;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 56px -20px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1621;
  --surface: #17212b;
  --surface-2: #1d2a37;
  --ink: #eef3f8;
  --ink-2: #a9b8c8;
  --ink-3: #8193a6;
  --line: #26364a;
  --blue: #4a9ff0;
  --blue-hover: #6cb2f4;
  --blue-soft: #1d3b5c;
  --blue-softer: #172c42;
  --blue-ink: #8cc4fa;
  --on-blue: #ffffff;
  --on-blue-2: #dde9f6;
  --btn-ink: #08192c;
  --field: #1c4f86;
  --field-deep: #0a121b;
  --bubble-out: #2b5278;
  --bubble-meta: #c4daf0;
  --bar-idle: #4f7aa6;
  --ok: #4cc283;
  --ok-soft: #173a2a;
  --bad: #f07b72;
  --bad-soft: #3d1f1e;
  --wait: #f0aa52;
  --wait-soft: #3a2a14;
  --unsure: #f0b354;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 56px -20px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.55 var(--font);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: var(--btn-ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- кнопки ---------- */
.btn {
  --b: var(--blue); --c: var(--btn-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--b); color: var(--c);
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
}
.btn:hover { background: var(--blue-hover); color: var(--c); }
.btn:active { transform: scale(.97); }
.btn-light { --b: #ffffff; --c: #0f4f93; }
.btn-light:hover { background: #eaf3fd; color: #0f4f93; }
.btn-ghost-light { --b: rgb(255 255 255 / .14); --c: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); }
.btn-ghost-light:hover { background: rgb(255 255 255 / .24); color: #fff; }
.btn-soft { --b: var(--blue-soft); --c: var(--blue-ink); }
.btn-soft:hover { background: var(--blue-soft); filter: brightness(.96); color: var(--blue-ink); }
.btn-s { min-height: 42px; padding: 0 18px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 2px; }
.nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 9px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.get-ext { gap: 8px; white-space: nowrap; }
.get-ext .icon { width: 20px; height: 20px; }
.get-ext .short { display: none; }
@media (max-width: 1360px) { .nav { display: none; } }
@media (max-width: 960px) { .get-ext .long { display: none; } .get-ext .short { display: inline; } }
.theme-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
}
.theme-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
.login-wrap { position: relative; }
.login-pop {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px));
  background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow-lg); padding: 22px;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: opacity .18s, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.login-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.login-pop p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.login-pop .btn { width: 100%; margin-top: 14px; }
.login-pop .login-note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.login-pop .login-note a { color: inherit; }
.login-who.off, .login-pop form.signed { display: none; }
.login-pop [role="tabpanel"][hidden] { display: none; }

/* ---------- поля форм ---------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 12px; }
.field label, .label { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink); font: 400 17px/1.4 var(--font);
  transition: border-color .15s, background-color .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.input:focus { outline: none; border-color: var(--blue); background: var(--surface); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; min-height: 0; }
.err:empty { display: none; }

/* ---------- первый экран ---------- */
.hero { padding: 12px 0 0; }
.hero-panel {
  position: relative;
  background: var(--field);
  color: var(--on-blue);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-panel::before {
  /* мягкий свет сверху слева и чуть глубже к правому нижнему углу — поверх --field, работает в обеих темах */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(255 255 255 / .16), transparent 62%),
    linear-gradient(155deg, transparent 45%, rgb(6 24 48 / .32));
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28);
  color: #fff; font-size: 15.5px; line-height: 1.3; text-decoration: none; transition: background-color .2s;
}
.hero-pill:hover { background: rgb(255 255 255 / .22); color: #fff; }
.hero-pill .icon { width: 20px; height: 20px; flex: none; }
.hero-pill .icon:last-child { width: 16px; height: 16px; opacity: .8; }
.hero-copy h1 { font-size: clamp(40px, 5.4vw, 74px); letter-spacing: -0.035em; line-height: 1.02; }
.hero-copy .lead { margin-top: 24px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--on-blue-2); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note + .hero-note { margin-top: 10px; }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--on-blue-2); }
.hero-note .icon { width: 20px; height: 20px; }

/* чат-окно с примером */
.chat {
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-l); box-shadow: 0 30px 80px -30px rgb(4 24 48 / .55);
  padding: 16px; display: grid; gap: 12px;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 8px; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.chat-head b { display: block; font-size: 16px; line-height: 1.25; }
.chat-head small { color: var(--ink-3); font-size: 14px; }
.chat-head .tag { margin-left: auto; }

.voice {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
  background: var(--blue-softer); border-radius: 22px 22px 22px 8px; padding: 12px 16px 12px 12px;
}
.play {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue); color: var(--btn-ink);
  display: grid; place-items: center; cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1), background-color .2s;
}
.play:hover { background: var(--blue-hover); }
.play:active { transform: scale(.92); }
.play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.play .i-pause { display: none; }
.voice.playing .play .i-play { display: none; }
.voice.playing .play .i-pause { display: block; }
.wave-box { min-width: 0; }
.wave {
  position: relative; display: flex; align-items: center; gap: 2px; height: 40px; cursor: pointer; touch-action: none;
}
.wave i { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: var(--bar-idle); height: calc(var(--h) * 100%); transition: background-color .15s; }
.wave i.on { background: var(--blue); }
.wave .step {
  /* шаги-ключевые моменты на волне: точки, которые загораются, когда головка проходит их */
  position: absolute; bottom: -12px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--blue); left: var(--x); transition: background-color .2s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.wave .step.lit { background: var(--blue); transform: scale(1.3); }
.wave-meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.wave-meta .tnum { color: var(--blue-ink); font-weight: 600; }

.transcript {
  height: 250px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 4px 2px 2px;
  display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
}
.line { max-width: 86%; padding: 9px 14px 10px; border-radius: 18px; font-size: 16px; line-height: 1.42; transition: opacity .3s, background-color .3s, box-shadow .3s; }
.line .who { display: flex; gap: 8px; align-items: baseline; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.line .who time { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.line.a { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.line.a .who { color: var(--blue-ink); }
.line.c { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 6px; }
.line.c .who { color: var(--ok); }
.line.c .who time { color: var(--bubble-meta); }
.line.now { box-shadow: 0 0 0 2px var(--blue); }
.line.enter { animation: line-in .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes line-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.unsure { text-decoration: underline dotted var(--unsure) 2px; text-underline-offset: 4px; color: inherit; cursor: help; }

.summary { border: 1.5px solid var(--line); border-radius: 22px; padding: 14px 16px; display: grid; gap: 10px; }
.summary-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.summary-top b { font-size: 16px; }
.summary p { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.moments { display: flex; flex-wrap: wrap; gap: 6px; }
.moment {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--blue-softer); color: var(--ink); border-radius: 999px; padding: 6px 12px 6px 6px;
  font: 500 14px/1.2 var(--font); text-align: left; transition: background-color .2s, color .2s;
}
.moment time { background: var(--blue); color: var(--btn-ink); border-radius: 999px; padding: 3px 8px; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; }
.moment:hover { background: var(--blue-soft); }
.moment.lit { background: var(--blue); color: var(--btn-ink); }
.moment.lit time { background: #fff; color: var(--blue-ink); }

.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.wait { background: var(--wait-soft); color: var(--wait); }
.tag.blue { background: var(--blue-soft); color: var(--blue-ink); }
.tag.plain::before { display: none; }
.demo-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.ex-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }


/* ---------- разделы ---------- */
.section { padding: clamp(80px, 11vw, 148px) 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { color: var(--ink-2); font-size: 20px; line-height: 1.5; max-width: 46ch; }
.sec-head.solo { grid-template-columns: 1fr; }
.sec-head.solo p { max-width: 60ch; }

/* панель-интерфейс: общий вид пересобранных экранов кабинета */
.ui { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow); }

/* карточка звонка */
.call-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.call-points { display: grid; gap: 0; }
.call-points li { list-style: none; padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.call-points li:last-child { border-bottom: 1px solid var(--line); }
.call-points { margin: 0; padding: 0; }
.call-points .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; }
.call-points b { display: block; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 4px; }
.call-points span { color: var(--ink-2); font-size: 17px; }

.card { padding: clamp(18px, 2.4vw, 28px); }
.card-meta { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; flex-wrap: wrap; }
.card h3 { margin: 6px 0 14px; font-size: clamp(22px, 2.2vw, 28px); }
.card-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mini-voice { display: flex; align-items: center; gap: 12px; background: var(--blue-softer); border-radius: 999px; padding: 6px 16px 6px 6px; margin: 16px 0 18px; }
.mini-voice .play { width: 38px; height: 38px; }
.mini-voice .play svg { width: 16px; height: 16px; }
.mini-voice .wave { height: 26px; flex: 1; pointer-events: none; }
.mini-voice small { color: var(--ink-3); font-size: 14px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button {
  border: 0; background: transparent; color: var(--ink-2); font: 600 15px/1 var(--font);
  padding: 11px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 10px 16px; font-size: 16px; margin-top: 16px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.kv .moments { margin-top: 2px; }
.crm-note { margin-top: 18px; background: var(--surface-2); border-radius: 16px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.crm-note b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 14px; }

.score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.score-num { width: 64px; height: 64px; border-radius: 20px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.score span { color: var(--ink-2); font-size: 16px; }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.checks .mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.checks .mark svg { width: 14px; height: 14px; stroke-width: 3; }
.checks .no .mark { background: var(--bad-soft); color: var(--bad); }
.checks .yes .mark { background: var(--ok-soft); color: var(--ok); }
.checks em { display: block; font-style: normal; font-size: 14.5px; color: var(--bad); margin-top: 2px; }
.checks .yes em { color: var(--ink-3); }
.checks .w { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.advice { margin-top: 14px; background: var(--blue-softer); border-radius: 16px; padding: 14px 16px; font-size: 15.5px; }
.advice b { color: var(--blue-ink); }
.tr-lines { display: flex; flex-direction: column; gap: 8px; }

/* дашборд */
.dash { padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; background: var(--surface-2); }
.dash-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 6px; }
.dash-bar b { font-size: 17px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); }
.chip.on { background: var(--blue); border-color: var(--blue); color: var(--btn-ink); }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-radius: var(--r-m); overflow: hidden; }
.kpis div { padding: 18px 18px 16px; display: grid; gap: 2px; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis small { color: var(--ink-3); font-size: 14px; }
.kpis b { font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.kpis span { font-size: 13px; color: var(--ink-3); }
.kpis .g b { color: var(--ok); }
.kpis .r b { color: var(--bad); }
.kpis .y b { color: var(--wait); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.pane { background: var(--surface); border-radius: var(--r-m); padding: 18px; }
.pane h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pane h3 span { font-weight: 500; font-size: 14px; color: var(--ink-3); }
.callback { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--wait-soft); }
.callback + .callback { margin-top: 8px; }
.callback b { font-size: 15px; }
.callback p { font-size: 14.5px; color: var(--ink-2); }
.callback small { color: var(--wait); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.stack { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 170px; }
.stack .col { display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; justify-content: flex-start; }
.stack .col i { display: block; border-radius: 6px; background: var(--c); height: calc(var(--n) * 33.333% - 3px); transform-origin: bottom; }
.stack-x { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 8px; font-size: 13px; color: var(--ink-3); text-align: center; }
.reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.reasons li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 15px; }
.reasons .track { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.reasons .track i { display: block; height: 100%; width: var(--w); background: var(--bad); border-radius: 99px; }
.reasons small { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* отчёт */
.report-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.report { padding: clamp(20px, 2.6vw, 32px); }
.report .when { color: var(--ink-3); font-size: 14px; }
.report h3 { margin: 6px 0 10px; }
.report > p { color: var(--ink-2); font-size: 17px; }
.funnel { margin: 18px 0; }
.funnel-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.funnel-bar i { display: block; background: var(--c); flex: var(--n); }
.funnel .legend { margin: 10px 0 0; }
.todo { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.todo li { counter-increment: t; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.todo li::before { content: counter(t); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.todo b { font-size: 16.5px; display: block; }
.todo span { font-size: 14.5px; color: var(--ink-3); display: block; margin-top: 2px; }
.todo q { display: block; margin-top: 8px; background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 15px; color: var(--ink-2); quotes: "«" "»"; }
.side-copy { position: sticky; top: 112px; }
.side-copy h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.1; }
.side-copy p { color: var(--ink-2); font-size: 19px; margin-top: 16px; max-width: 42ch; }

/* для кого */
.roles { display: grid; }
.role { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 64px; padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.role:last-child { border-bottom: 1px solid var(--line); }
.role h3 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.role h3 small { display: block; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 10px; line-height: 1.4; }
.role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.role li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 19px; line-height: 1.45; }
.role li svg { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; stroke-width: 2.4; }
.role li b { font-weight: 600; }

/* точность */
.deep { background: var(--field-deep); color: #eef4fb; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 72px); margin-top: clamp(80px, 11vw, 148px); }
.deep .sec-head p { color: #a9bdd3; }
.deep a { color: #8cc4fa; }
.seg { display: inline-flex; background: rgb(255 255 255 / .08); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; color: #c5d5e6; font: 600 16px/1 var(--font); padding: 12px 20px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: #0f2c4c; }
.bars { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(150px, 260px) 1fr 72px; gap: 18px; align-items: center; font-size: 17px; }
.bars .name small { display: block; color: #8ea6bf; font-size: 13.5px; }
.bars .bar { height: 40px; border-radius: 12px; background: rgb(255 255 255 / .06); overflow: hidden; }
.bars .bar i { display: block; height: 100%; width: 100%; transform: scaleX(var(--p)); transform-origin: left; background: #5d7f9f; border-radius: 12px; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.bars .val { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.bars li.us .name { font-weight: 700; color: #fff; }
.bars li.us .bar i { background: #4a9ff0; }
.bars li.us .val { color: #8cc4fa; }
.method { margin-top: 28px; font-size: 14.5px; color: #93a9c1; line-height: 1.55; max-width: 92ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.fact { background: rgb(255 255 255 / .06); border-radius: var(--r-m); padding: 22px; }
.fact b { display: block; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.035em; line-height: 1.05; color: #fff; }
.fact span { display: block; margin-top: 8px; font-size: 16.5px; color: #b3c5d8; }

/* отрасли и настройки */
.inds { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.ind { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 18px; font-weight: 500; }
.ind svg { color: var(--blue); }
.ind.lead { background: var(--field); border-color: var(--field); color: #fff; }
.ind.lead svg { color: #fff; }
.ind.lead small { font-size: 14px; opacity: .85; font-weight: 500; }
.settings { display: grid; grid-template-columns: 250px 1fr; overflow: hidden; }
.set-nav { background: var(--surface-2); padding: 14px; display: grid; gap: 2px; align-content: start; }
.set-nav button { text-align: left; border: 0; background: transparent; color: var(--ink-2); font: 500 16px/1.2 var(--font); padding: 12px 14px; border-radius: 14px; cursor: pointer; }
.set-nav button:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.set-nav button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.set-body { padding: clamp(18px, 2.6vw, 30px); min-height: 380px; }
.set-body h3 { font-size: 20px; letter-spacing: -0.01em; }
.set-body > div > p { color: var(--ink-2); font-size: 16px; margin: 6px 0 16px; }
.set-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.set-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 16px; }
.set-list li .w { margin-left: auto; color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.set-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue)); flex: none; }
.funnel-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.funnel-steps span { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); font-size: 16px; }
.funnel-steps svg { color: var(--ink-3); width: 18px; height: 18px; }
.versions { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }

/* подключение */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; }
.plate { border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); }
.plate h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.025em; }
.plate > p { margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.plate.tel { background: var(--field); color: #fff; }
.plate.tel > p { color: var(--on-blue-2); }
.flow { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: rgb(255 255 255 / .12); border-radius: 18px; padding: 12px 16px 12px 12px; font-size: 17px; }
.flow li .ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: #0f4f93; display: grid; place-items: center; }
.flow li small { display: block; color: var(--on-blue-2); font-size: 14.5px; }
.plate.api { background: var(--surface); box-shadow: var(--shadow); }
.api-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.api-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; color: var(--ink-2); }
.api-points svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.code { margin-top: 20px; border-radius: 20px; background: #0c1724; color: #d8e5f2; overflow: hidden; }
.code .tabs { background: transparent; padding: 10px 10px 0; }
.code .tabs button { color: #8ea6bf; font-size: 14px; padding: 9px 14px; }
.code .tabs button[aria-selected="true"] { background: #1c2c3f; color: #fff; box-shadow: none; }
.code pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font: 400 13.5px/1.6 var(--mono); tab-size: 2; }
.code pre[hidden] { display: none; }
.code .k { color: #8cc4fa; }
.code .s { color: #a5e0b4; }
.code .c { color: #6f87a0; }
.api-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Россия, цена */
.trust { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.trust .plate { background: var(--surface); border: 1px solid var(--line); }
.trust .ru h3 { font-size: clamp(30px, 3.4vw, 46px); }
.trust ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.trust li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 18px; color: var(--ink-2); }
.trust li svg { color: var(--blue); width: 24px; height: 24px; }
.trust .price { background: var(--blue-soft); border: 0; display: flex; flex-direction: column; }
.trust .price h3 { color: var(--blue-ink); }
.trust .price > p { color: var(--ink); }
.trust .price .btn { margin-top: auto; align-self: flex-start; }
.trust .price .sec { margin-top: 24px; }

/* формы */
.forms { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; }
.form-plate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); position: relative; }
.form-plate.trial { background: var(--field); color: #fff; border: 0; }
.form-plate h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.025em; }
.form-plate > p { margin: 10px 0 22px; color: var(--ink-2); font-size: 18px; }
.form-plate.trial > p { color: var(--on-blue-2); }
.form-plate.trial .label, .form-plate.trial .field label { color: var(--on-blue-2); }
.form-plate.trial .input { background: rgb(255 255 255 / .96); border-color: transparent; color: #0c1a2b; }
.form-plate.trial .input::placeholder { color: #5f7186; }
.form-plate.trial .err { color: #ffd9d6; }
.drop {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  border: 2px dashed rgb(255 255 255 / .55); border-radius: 22px; padding: 20px; cursor: pointer;
  background: rgb(255 255 255 / .08); transition: background-color .2s, border-color .2s; position: relative;
}
.drop:hover, .drop.over { background: rgb(255 255 255 / .16); border-color: #fff; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #0f4f93; display: grid; place-items: center; }
.drop b { display: block; font-size: 18px; }
.drop span { display: block; font-size: 15px; color: var(--on-blue-2); }
.drop.has { border-style: solid; border-color: #fff; }
.drop[aria-invalid="true"] { border-color: #ffb4ad; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.form-plate.trial .consent { color: var(--on-blue-2); }
.form-plate.trial .consent a { color: #fff; }
.form-plate.trial .consent input { accent-color: #fff; }
.form-plate .btn { margin-top: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row2 .field + .field { margin-top: 0; }
.row2 + .field { margin-top: 12px; }
.done {
  position: absolute; inset: 0; border-radius: inherit; background: inherit; display: grid; place-content: center; text-align: center;
  padding: 32px; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.done.show { opacity: 1; pointer-events: auto; }
.done .ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.form-plate.trial .done .ico { background: #fff; color: #0f4f93; }
.done .ico svg { width: 30px; height: 30px; stroke-width: 2.6; }
.done h3 { font-size: 28px; }
.done p { color: var(--ink-2); font-size: 17px; max-width: 34ch; margin: 0 auto; }
.form-plate.trial .done p { color: var(--on-blue-2); }

/* вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px 64px; align-items: start; }
.faq h2 { position: sticky; top: 104px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative;
  font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d74d0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 52px 24px 0; color: var(--ink-2); font-size: 18px; max-width: 68ch; }

/* финал и подвал */
.close { margin-top: clamp(80px, 11vw, 148px); }
.close .hero-panel { grid-template-columns: 1fr auto; padding-block: clamp(36px, 5vw, 64px); }
.close h2 { color: #fff; }
.close p { color: var(--on-blue-2); font-size: 20px; margin-top: 14px; max-width: 46ch; }
.foot { padding: 48px 0 40px; color: var(--ink-3); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot .brand { font-size: 17px; }
.foot .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
.foot .brand-mark svg { width: 18px; height: 18px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }

/* появление: контент виден по умолчанию, анимация только как усиление */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.js .rise.in { opacity: 1; transform: none; }
.js .grow i { transform: scaleY(0); transition: transform .8s cubic-bezier(.16, 1, .3, 1) calc(var(--d, 0) * 60ms); }
.js .grow.in i { transform: none; }

/* расширение для браузера */
.ext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 14px; align-items: stretch; }
.ext-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.ext-cta span { color: var(--on-blue-2); font-size: 15.5px; }
.ext-pop { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ext-top { display: flex; align-items: center; gap: 10px; }
.ext-top b { font-size: 17px; white-space: nowrap; }
.ext-top .tag { margin-left: auto; }
.ext-logo { width: 34px; height: 34px; border-radius: 11px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.ext-logo .icon { width: 20px; height: 20px; }
.ext-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--surface-2); border-radius: 16px; padding: 4px; }
.ext-modes span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.ext-modes span.on { background: var(--surface); color: var(--blue-ink); font-weight: 600; box-shadow: var(--shadow); }
.ext-modes .icon { width: 20px; height: 20px; }
.ext-chat { display: flex; flex-direction: column; gap: 8px; }
.ext-export { display: flex; flex-wrap: wrap; gap: 6px; }
.ext-export span { padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); font-size: 13.5px; font-weight: 600; }
.ext-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 28px; }
.ext-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
.ext-points b { color: var(--ink); }
.ext-points .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.ext > * { min-width: 0; }

/* ---------- тарифы расширения (лендинг и /pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px; background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow); }
.plan h4 { font-size: 20px; letter-spacing: -0.015em; }
.plan .sum { font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.plan .sum small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan .sum:not(:has(small))::after { content: "\00a0"; display: block; margin-top: 4px; font-size: 15px; }
.plan .hrs { font-size: 17px; color: var(--ink-2); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .hrs + .btn { margin-top: 18px; }
.plan.free { background: var(--blue-softer); box-shadow: none; }
.plans-note { margin-top: 16px; color: var(--ink-3); font-size: 15.5px; }
.plans-note a { color: var(--blue); }

/* ---------- документы: /privacy, /terms, /consent, /pricing ---------- */
.doc { padding: clamp(36px, 6vw, 72px) 0 24px; }
.doc .wrap { max-width: 860px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.doc-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.doc-nav a:hover { color: var(--ink); }
.doc-nav a[aria-current] { background: var(--blue-soft); color: var(--blue-ink); box-shadow: none; }
.doc h1 { font-size: clamp(32px, 4.4vw, 52px); }
.doc .ed { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.doc h2 { font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.doc p { margin: 10px 0 0; }
.doc ul, .doc ol { margin: 10px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc b { color: var(--ink); font-weight: 600; }
.doc a:not(.btn) { color: var(--blue); }
.doc .lead { font-size: 19px; color: var(--ink-2); margin-top: 16px; }
.doc .card { margin-top: 24px; padding: 22px 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--shadow); }
.doc .card p:first-child { margin-top: 0; }
.doc .plans { margin-top: 32px; }
.doc.wide .wrap { max-width: var(--wrap); }
.doc.wide .narrow { max-width: 860px; }
.top-doc .top-actions .btn { white-space: nowrap; }
.foot .req { flex-basis: 100%; font-size: 14px; line-height: 1.6; }
.foot .req a { color: inherit; }

@media (max-width: 1240px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy .lead { max-width: 44ch; }
  .sec-head, .call-grid, .report-grid, .connect, .ext, .trust, .forms, .faq { grid-template-columns: 1fr; }
  .ext-points { grid-template-columns: 1fr 1fr; }
  .faq h2 { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; }
  .side-copy { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top .wrap { height: 64px; gap: 12px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .top .try, .top .get-ext { display: none; }
  .hero { padding-top: 4px; }
  .hero-panel { border-radius: 28px; padding: 26px 18px 18px; margin-inline: -8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .chat { padding: 12px; border-radius: 22px; }
  .transcript { height: 230px; }
  .line { max-width: 92%; font-size: 15.5px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div + div { border-left: 0; }
  .kpis div { border-top: 1px solid var(--line); }
  .kpis div:nth-child(-n + 2) { border-top: 0; }
  .kpis div:nth-child(even) { border-left: 1px solid var(--line); }
  .kpis div:first-child { grid-column: 1 / -1; }
  .kpis div:first-child + div { border-left: 0; border-top: 1px solid var(--line); }
  .kpis div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .kpis div:nth-child(4) { border-left: 0; }
  .kpis div:nth-child(5) { border-left: 1px solid var(--line); }
  .stack { height: 130px; gap: 6px; }
  .stack-x { gap: 6px; font-size: 12px; }
  .callback { grid-template-columns: 1fr auto; }
  .callback .avatar { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .bars li { grid-template-columns: 1fr 64px; gap: 6px 12px; }
  .bars .name { grid-column: 1 / -1; }
  .bars .bar { height: 30px; grid-column: 1; grid-row: 2; }
  .bars .val { grid-row: 2; font-size: 19px; }
  .facts { grid-template-columns: 1fr; }
  .deep, .close .hero-panel { border-radius: 28px; margin-inline: -8px; }
  .settings { grid-template-columns: 1fr; }
  .set-nav { display: flex; overflow-x: auto; gap: 4px; padding: 10px; scrollbar-width: none; }
  .set-nav button { white-space: nowrap; padding: 10px 14px; }
  .api-points { grid-template-columns: 1fr; }
  .ext-points { grid-template-columns: 1fr; }
  .hero-pill { font-size: 14.5px; margin-bottom: 18px; }
  .row2 { grid-template-columns: 1fr; }
  .row2 .field + .field { margin-top: 12px; }
  .close .hero-panel { grid-template-columns: 1fr; }
  .role li { font-size: 17.5px; }
  .qa p { padding-right: 0; font-size: 17px; }
  .foot .links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .grow i { transform: none; }
}

/* элементы сеток не должны распирать колонку длинным кодом */
.connect > *, .forms > *, .trust > *, .call-grid > *, .report-grid > *, .dash-grid > *, .hero-panel > * { min-width: 0; }
@media (max-width: 760px) {
  .wave { gap: 1.5px; }
  .wave i { min-width: 1px; }
}
.chat-title { min-width: 0; }
.wave-meta { gap: 4px 12px; flex-wrap: wrap; }
.seg button { white-space: nowrap; }
@media (max-width: 760px) {
  .chat-head b { font-size: 15px; }
  .wave-meta .roles-n { display: none; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 12px 10px; font-size: 15px; }
  .ind.lead small { display: none; }
}
@media (max-width: 760px) {
  .btn { padding: 0 18px; font-size: 16px; }
}
.transcript { scrollbar-width: none; }
.transcript::-webkit-scrollbar { display: none; }
.transcript .line:first-child { margin-top: auto; }
.brand-sep { display: inline-block; width: 1.5px; height: .95em; margin: 0 9px; background: var(--line); vertical-align: -0.12em; border-radius: 1px; }
.brand-sub { font-weight: 500; color: var(--ink-2); }

.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface-2); border-radius: 16px; padding: 4px; margin-bottom: 16px; }
.login-tabs button { border: 0; background: transparent; color: var(--ink-2); font: 600 14.5px/1.2 var(--font); padding: 10px 6px; border-radius: 12px; cursor: pointer; }
.login-tabs button small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.login-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.login-pop form[hidden] { display: none; }
