/* ============ Токены ============ */
:root {
  --bg: #f6f5f1;
  --bg-2: #ffffff;
  --bg-3: #efeee8;
  --ink: #0f1115;
  --ink-2: #464b55;
  --muted: #8a8f98;
  --line: #e4e2da;
  --accent: #4f46e5;
  --accent-2: #7c6cff;
  --accent-soft: #ecebff;
  --lime: #d9f46b;
  --hot: #ff5a36;
  --hot-soft: #ffe9e3;
  --warm: #e89a0c;
  --warm-soft: #fff3d6;
  --cold: #2f8fe8;
  --cold-soft: #e3f0fd;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 17, 21, .04), 0 12px 32px -12px rgba(15, 17, 21, .14);
  --shadow-lg: 0 2px 4px rgba(15, 17, 21, .04), 0 40px 80px -24px rgba(30, 27, 90, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ============ База ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mut { color: var(--muted); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
::selection { background: var(--lime); color: var(--ink); }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .2s, box-shadow .3s var(--ease), border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .6); transform: translateY(-1px); }
.btn--ghost { background: var(--bg-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

/* ============ Прогресс и шапка ============ */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--lime)); transform-origin: 0 50%; transform: scaleX(0); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header.is-scrolled { background: rgba(246, 245, 241, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 24px; white-space: nowrap; letter-spacing: -.03em; text-decoration: none; }
.logo__mark { width: 1.25em; height: 1.25em; margin-left: .14em; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: rgba(15, 17, 21, .06); color: var(--ink); }
.nav__cta { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 50%; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .2);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { background: none; }
  .nav__cta { display: inline-flex; margin-top: 18px; height: 52px; }
}

/* ============ Анимации появления ============ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].is-in .wi { transform: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 128px 0 72px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: #c9c6ff; top: -160px; right: -120px; }
.blob--2 { width: 380px; height: 380px; background: var(--lime); bottom: -120px; right: 28%; opacity: .45; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #ffd2c4; top: 30%; left: -140px; opacity: .5; animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.06); } 66% { transform: translate(-25px, 25px) scale(.96); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 90, 54, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }
.hero__title { margin-top: 22px; font-size: clamp(40px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hl { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
/* После разбиения на слова подсветка переезжает на каждое слово, чтобы анимироваться вместе с ним */
.is-split .hl { background: none; }
.hl .wi { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
.hero__lead { margin-top: 24px; max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 560px; }
.hero__facts li { border-top: 1px solid var(--line); padding-top: 14px; }
.hero__facts b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero__facts span:not([data-count]) { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }

.hero__visual { position: relative; display: flex; justify-content: center; min-height: 620px; align-items: center; }
.phone--hero { transform: rotate(-3deg); animation: phoneIn 1.4s var(--ease) .2s both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(80px) rotate(-8deg) scale(.92); } }

.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; animation: chipIn 1s var(--ease) both; }
.chip .ic { color: var(--accent); }
.chip--a { top: 30%; left: -10%; animation-delay: .7s; }
.chip--b { top: 14%; right: -6%; animation-delay: .9s; }
.chip--c { bottom: 24%; left: -8%; animation-delay: 1.1s; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; }
.chip__dot--hot { background: var(--hot); }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }

/* ============ Телефон / Telegram ============ */
.phone { width: 300px; flex-shrink: 0; aspect-ratio: 9 / 19; padding: 10px; border-radius: 48px; background: #16181d; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2e36; position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 20px; background: #000; z-index: 5; }
.phone__screen { height: 100%; border-radius: 39px; overflow: hidden; }
.tg {
  display: flex; flex-direction: column;
  background-color: #c8e2ad;
  background-image:
    radial-gradient(rgba(255, 255, 255, .35) 1.2px, transparent 1.6px),
    radial-gradient(circle at 20% 20%, #d8ecb4 0, transparent 50%),
    radial-gradient(circle at 80% 70%, #b5d9be 0, transparent 55%),
    linear-gradient(170deg, #cfe8b2, #e5ebb3 50%, #b8dcc0);
  background-size: 16px 16px, 100% 100%, 100% 100%, 100% 100%;
  font-size: 12.5px; line-height: 1.38;
}
.tg__head { display: flex; align-items: center; gap: 8px; padding: 50px 12px 8px; }
.tg__back { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .75); font-size: 20px; line-height: 1; padding-bottom: 2px; }
.tg__title { flex: 1; text-align: center; background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 4px 10px; line-height: 1.2; }
.tg__title b { display: block; font-size: 13.5px; }
.tg__title small { color: #7d8790; font-size: 11px; }
.tg__av { width: 34px; height: 34px; }
.tg__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 6px 10px 8px; overflow: hidden; }
.tg__input { display: flex; align-items: center; gap: 6px; padding: 6px 10px 22px; }
.tg__clip, .tg__mic { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .8); flex-shrink: 0; }
.tg__field { flex: 1; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #9aa3ab; padding: 0 12px; display: flex; align-items: center; }

.m { position: relative; max-width: 84%; padding: 6px 9px 6px; border-radius: 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); word-wrap: break-word; }
.m i { font-style: normal; float: right; margin: 6px 0 -3px 8px; font-size: 10px; color: #8f9aa3; line-height: 1; }
.m.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.m.out { align-self: flex-end; background: #e1f7c9; border-bottom-right-radius: 4px; }
.m.out i { color: #5fae5a; }
.m a { color: #2a7cd1; }
.m.typing { padding: 10px 12px; }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 1.5px; border-radius: 50%; background: #9aa3ab; animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.m.pop { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.kbd { align-self: flex-start; max-width: 84%; display: flex; flex-wrap: wrap; gap: 4px; animation: pop .45s var(--ease) both; }
.kbd span { flex: 1 1 auto; text-align: center; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); font-weight: 500; font-size: 11.5px; color: #24323d; transition: background .2s, transform .2s; }
.kbd span.on { background: #fff; transform: scale(.95); box-shadow: 0 0 0 2px #5aa0e6 inset; }
.tg__body.fade { transition: opacity .5s; opacity: 0; }

.card-msg { max-width: 94%; font-size: 11.5px; }
.card-msg .t { display: block; font-size: 12.5px; margin-bottom: 6px; }
.card-msg .t span { font-weight: 500; }
.card-msg p { margin: 0 0 8px; }
.card-msg em { color: #39424a; }
.card-msg .lnk { margin: 0; color: #2a7cd1; }

/* Уведомление */
.notify { position: absolute; z-index: 4; right: -6%; bottom: 7%; width: 300px; padding: 12px 14px 14px; border-radius: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); font-size: 13px; opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.notify.show { opacity: 1; transform: none; }
.notify__top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.notify__top b { display: block; font-size: 13.5px; line-height: 1.2; }
.notify__top small { color: var(--muted); font-size: 12px; }
.notify__av { width: 34px; height: 34px; }
.notify__title { font-weight: 700; margin-bottom: 6px; }
.notify__row { line-height: 1.5; }
.notify__row a { color: #2a7cd1; }
#heroScore { font-variant-numeric: tabular-nums; }
.notify__sum { margin-top: 8px; font-style: italic; color: var(--ink-2); line-height: 1.4; }
.notify__btn { margin-top: 10px; padding: 9px; text-align: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.notify--static { position: static; opacity: 1; transform: none; width: 100%; max-width: 340px; }

/* ============ Бегущая строка ============ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 38s linear infinite; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--accent); font-size: .7em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Секции ============ */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.04em; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.section__head p a { color: var(--accent); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section__head--split p { margin: 0; }
.section__head--center { text-align: center; margin-inline: auto; }
.kicker { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kicker--light { color: var(--lime); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.card.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin: 22px 0 10px; }
.card p { color: var(--ink-2); }
.card__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; }
.card__ic--a { background: var(--accent-soft); color: var(--accent); }
.card__ic--b { background: var(--hot-soft); color: var(--hot); }
.card__ic--c { background: #eef9cf; color: #5c7a00; }
.card--flat { padding: 28px; background: transparent; }
.card--flat h3 { margin-top: 0; font-size: 20px; }
.cards3--tight { margin-top: 28px; }

/* ============ Как работает ============ */
.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.how__stage { position: relative; }
.stage { position: sticky; top: 110px; height: 520px; border-radius: 28px; background: linear-gradient(160deg, #eceaff, #f4f8e2); overflow: hidden; }
.stage__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.stage__panel.is-active { opacity: 1; transform: none; }
.how__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 28px; border-left: 2px solid var(--line); position: relative; opacity: .35; transition: opacity .5s; }
.step::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.step.is-active { opacity: 1; }
.step.is-active::before { transform: scaleY(1); }
.step__n { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.step h3 { font-size: clamp(24px, 2.8vw, 34px); margin: 10px 0 14px; }
.step p { color: var(--ink-2); font-size: 17px; max-width: 460px; }

.b { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.b.in { background: #fff; border-bottom-left-radius: 4px; align-self: flex-start; }
.b.out { background: #e1f7c9; border-bottom-right-radius: 4px; align-self: flex-end; }
.b small { color: var(--muted); }
.mini-chat, .mini-contact { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.kb { display: flex; flex-wrap: wrap; gap: 5px; }
.kb span { flex: 1 1 auto; text-align: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 500; }
.kb span.on { background: #fff; box-shadow: 0 0 0 2px var(--accent) inset; }
.share-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; font-weight: 600; color: #2a7cd1; box-shadow: var(--shadow); }
.consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3d7a12; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .6); align-self: flex-start; }
.mini-score { width: 100%; max-width: 380px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.mini-score__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 14px; }

.crit { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 12px; font-size: 14px; }
.crit i { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 500; }
.crit > span { font-variant-numeric: tabular-nums; font-weight: 600; }
.crit .bar { grid-column: 1 / -1; }
.crit small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; line-height: 1.35; }
.bar { height: 6px; border-radius: 6px; background: var(--bg-3); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.stage__panel:not(.is-active) .bar span { transform: scaleX(0); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--hot { background: var(--hot-soft); color: #c4320f; }
.badge--warm { background: var(--warm-soft); color: #9a6200; }
.badge--cold { background: var(--cold-soft); color: #1b67ad; }

/* ============ Боты ============ */
.bots__rail { display: flex; justify-content: center; gap: 40px; padding: 8px var(--gutter) 24px; }
.bot-shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.bot-shot:nth-child(2) { transform: translateY(40px); }
.bot-shot:nth-child(2).reveal:not(.is-in) { transform: translateY(72px); }
.bot-shot figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.bot-shot .phone { transition: transform .6s var(--ease); }
.bot-shot:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag--violet { background: var(--accent-soft); color: var(--accent); }
.tag--hot { background: var(--hot-soft); color: #c4320f; }
.tag--cold { background: var(--cold-soft); color: #1b67ad; }
.bots__notes { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bots__notes li { display: flex; gap: 12px; padding: 20px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.bots__notes .ic { color: var(--accent); margin-top: 3px; }
.bots__notes code { background: var(--bg-3); padding: 1px 5px; border-radius: 5px; }

/* ============ Админка ============ */
.admin { background: linear-gradient(180deg, var(--bg) 0, #eeedf8 100%); }
.tabs { position: relative; display: flex; gap: 6px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 15px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs__timer { position: absolute; left: 0; bottom: 0; width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tabs__timer span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.browser { border-radius: 20px; background: var(--bg-2); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.browser__bar { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 16px; background: #f3f2ee; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; max-width: 460px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; background: #fff; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.browser__url .ic { color: #28a745; width: 14px; height: 14px; }

.app { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; font-size: 14px; }
.app > * { min-width: 0; }
.app__side { border-right: 1px solid var(--line); padding: 18px 12px; background: #fbfbf9; }
.app__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 8px 18px; font-size: 14px; }
.app__brand svg { width: 24px; height: 24px; }
.app__nav { display: flex; flex-direction: column; gap: 2px; }
.app__nav span { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); transition: background .25s, color .25s; white-space: nowrap; }
.app__nav span.is-active { background: var(--ink); color: #fff; }
.app__main { position: relative; padding: 24px; min-width: 0; }
.panel { display: none; animation: panelIn .55s var(--ease); }
.panel.is-active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel__head h4 { font-size: 22px; letter-spacing: -.02em; }
.panel__head h4 small { font-size: 14px; color: var(--muted); font-weight: 400; }
.seg { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
.seg span { padding: 4px 10px; border-radius: 6px; color: var(--muted); }
.seg span.on { background: var(--ink); color: #fff; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; background: #fff; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile, .box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.tile small { color: var(--muted); font-size: 13px; }
.tile b { display: block; font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash2 { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; margin-top: 12px; }
.box { display: flex; flex-direction: column; gap: 6px; }
.box > small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.big { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.big-sm { font-size: 18px; font-weight: 600; margin: 4px 0; }
.chart { flex: 1; min-height: 120px; display: flex; align-items: flex-end; gap: 6px; margin-top: 10px; }
.chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--hot) 0 var(--hh), #c9c6ff var(--hh) 100%); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.chart span:nth-child(n) { animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 6px 0 0; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.inp { display: flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); font-size: 13px; background: #fff; }
.inp.sel { min-height: 34px; }
.inp.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.tbl-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: #faf9f6; }
.hl-row { animation: rowFlash 2.4s var(--ease) .3s; }
@keyframes rowFlash { 0%, 100% { background: transparent; } 20%, 60% { background: #fff6dc; } }
.lead-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; align-items: start; }
.row-sb { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.it { font-style: italic; font-size: 13px; margin-bottom: 8px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.crit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crit-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cc-top { display: grid; grid-template-columns: 1fr 64px; gap: 8px; }
.cc-top .inp:first-child { font-weight: 600; color: var(--ink); }
.cc-top .w { justify-content: center; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.ta { min-height: 64px; align-items: flex-start; line-height: 1.4; }
.thresholds { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.thresholds em { font-style: normal; font-weight: 700; padding: 2px 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.q-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.q-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.q-list li.drag { box-shadow: var(--shadow); transform: rotate(-.6deg) translateX(10px); border-color: var(--accent); }
.q-list .grip { color: var(--muted); margin-top: 2px; }
.q-n { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; background: var(--bg-3); font-size: 12px; font-weight: 700; }
.q-list b { font-weight: 600; margin-right: 8px; }
.q-t { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }
.q-t--c { background: var(--accent-soft); color: var(--accent); }
.opts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.opts span { font-size: 12px; padding: 3px 9px; border-radius: 6px; border: 1px dashed var(--line); color: var(--ink-2); }
.embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.embed-grid .box { gap: 8px; }
.code { margin: 0 0 8px; padding: 14px; border-radius: 10px; background: #14161c; color: #d6dbe3; font-size: 12.5px; line-height: 1.6; overflow-x: auto; }
.tg-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #edf9e4; color: #2f6b0e; font-size: 13px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 10px; font-size: 13.5px; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--bg-3); position: relative; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.swatches { display: flex; gap: 8px; margin-bottom: 4px; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.swatches span.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }

.admin__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.admin__feats .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.admin__feats b { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.admin__feats p { color: var(--ink-2); font-size: 15px; }

/* ============ Калькулятор ============ */
.calc { display: grid; grid-template-columns: 1.6fr 1fr; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.calc__left { padding: clamp(20px, 3.5vw, 40px); }
.calc__right { padding: clamp(24px, 3.5vw, 40px); background: linear-gradient(165deg, #f1f0ff, #f7fbe7); display: flex; flex-direction: column; align-items: center; gap: 20px; border-left: 1px solid var(--line); }
.calc__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.calc__presets > span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.pill { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: all .25s; }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.calc__head, .crow { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 20px; align-items: center; }
.calc__head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.crow { padding: 16px 0; border-bottom: 1px solid var(--line); }
.crow__name { font-weight: 600; }
.crow__name small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.ctl { display: flex; align-items: center; gap: 10px; }
.ctl output { min-width: 42px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; font-size: 15px; }
.ctl--w output { color: var(--accent); }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) 0 var(--p, 50%), var(--bg-3) var(--p, 50%) 100%); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 6px rgba(79, 70, 229, .35); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); }
.ctl--s input[type="range"] { background: linear-gradient(90deg, var(--ink) 0 var(--p, 50%), var(--bg-3) var(--p, 50%) 100%); }
.ctl--s input[type="range"]::-webkit-slider-thumb { border-color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.calc__formula { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--bg); font-size: 14px; }
.calc__formula code { font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
.calc__math { color: var(--accent) !important; font-weight: 600; }
.gauge { position: relative; width: min(240px, 100%); aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge__track { stroke: rgba(15, 17, 21, .07); }
.gauge__val { stroke: var(--hot); stroke-linecap: round; stroke-dasharray: 364.4; stroke-dashoffset: 364.4; transition: stroke-dashoffset 1s var(--ease), stroke .4s; }
.gauge__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__label b { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__label small { color: var(--muted); font-size: 14px; }
.status-pill { padding: 8px 18px; border-radius: 999px; font-weight: 700; background: var(--hot-soft); color: #c4320f; transition: background .3s, color .3s; }
.status-pill.warm { background: var(--warm-soft); color: #9a6200; }
.status-pill.cold { background: var(--cold-soft); color: #1b67ad; }
.thr { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.thr label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; color: var(--ink-2); }
.thr output { font-weight: 700; color: var(--ink); }
.thr input { grid-column: 1 / -1; }
.calc__note { font-size: 13px; color: var(--muted); line-height: 1.45; text-align: center; }

/* ============ Интеграции ============ */
.integrations { background: var(--bg-2); border-top: 1px solid var(--line); }
.int__group { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 18px; letter-spacing: -.01em; }
.int-grid + .int__group { margin-top: 48px; }
.live-dot, .soon-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.soon-dot { background: var(--warm); box-shadow: 0 0 0 4px rgba(232, 154, 12, .18); }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.int { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .9s var(--ease) var(--d, 0s); }
.int.is-in:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.int__ic { width: 44px; height: 44px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 12px; background: var(--c, var(--muted)); color: #fff; font-size: 20px; }
.int b { font-size: 16px; letter-spacing: -.01em; }
.int small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.int--soon { background: transparent; border-style: dashed; }
.int--soon .int__ic { background: var(--bg-3); color: var(--ink-2); }
.int__ask { margin-top: 32px; color: var(--ink-2); }
.int__ask a { color: var(--accent); font-weight: 600; }

/* ============ 152-ФЗ ============ */
.safe { background: var(--ink); color: #fff; border-radius: 40px; margin: 0 12px; }
.safe__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.safe h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.04em; }
.safe__copy p { margin-top: 20px; color: #b6bac3; font-size: 18px; max-width: 440px; }
.safe__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.safe__list li { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.safe__list li:hover { background: rgba(255, 255, 255, .09); }
.safe__list .ic { width: 24px; height: 24px; color: var(--lime); margin-top: 2px; }
.safe__list b { display: block; font-size: 17px; margin-bottom: 4px; }
.safe__list span { color: #b6bac3; font-size: 15px; }

/* ============ Цены ============ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.plan.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; }
.plan__for { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan__price { margin: 28px 0; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li .ic { color: var(--accent); margin-top: 3px; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan--featured .plan__for, .plan--featured .plan__price small, .plan--featured .plan__price span { color: #a3a8b2; }
.plan--featured li { color: #d6d9df; }
.plan--featured li .ic { color: var(--lime); }
.plan--featured .btn--primary { background: var(--lime); color: var(--ink); }
.plan--featured .btn--primary:hover { background: #fff; box-shadow: none; }
.plan__badge { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; }
.pricing__note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* ============ FAQ ============ */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq__grid .section__head { position: sticky; top: 110px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1115' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq__list details > div { overflow: hidden; }
.faq__list details p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; }
.faq__list details[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ============ CTA ============ */
.cta__box { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: clamp(28px, 5vw, 64px); border-radius: 36px; background: var(--accent); color: #fff; overflow: hidden; overflow: clip; }
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__bg span { position: absolute; border-radius: 50%; filter: blur(60px); }
.cta__bg span:first-child { width: 420px; height: 420px; background: #8b7dff; top: -160px; left: -100px; animation: float 16s ease-in-out infinite; }
.cta__bg span:last-child { width: 300px; height: 300px; background: var(--lime); opacity: .35; bottom: -140px; right: 30%; animation: float 20s ease-in-out infinite reverse; }
.cta__copy, .chatbox { position: relative; min-width: 0; }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.04em; }
.cta__copy > p { margin-top: 18px; font-size: 18px; color: #dcdaff; max-width: 480px; }
.cta__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.cta__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cta__list .ic { color: var(--lime); }
.chatbox { border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); overflow: hidden; }
.chatbox__intro { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.chatbox__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chatbox__av { width: 40px; height: 40px; }
.chatbox__head b { display: block; line-height: 1.2; }
.chatbox__head small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.chatbox__msgs { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 4px; }
.chatbox__msgs .b { background: var(--bg); box-shadow: none; animation: pop .6s var(--ease) both; }
.chatbox__msgs .b:nth-child(2) { animation-delay: .5s; }
.chatbox__note { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.chatbox__frame { position: relative; height: min(640px, 78vh); }
.chatbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.chatbox__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 14px; background: #fff; transition: opacity .4s; }
.chatbox__loading span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.chatbox__loading.is-hidden { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chatbox__fallback { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.chatbox__fallback b { font-size: 17px; line-height: 1.3; }
.chatbox__fallback p { color: var(--ink-2); font-size: 14px; }
.chatbox__fallback--overlay { position: absolute; inset: 0; z-index: 2; justify-content: center; background: #fff; animation: pop .4s var(--ease) both; }

/* ============ Подвал ============ */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer__nav a:hover { color: var(--ink); }
.footer small { color: var(--muted); }

/* ============ Страницы документов ============ */
.doc-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.doc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.doc-back { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.doc-back:hover { color: var(--ink); }
.doc { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.035em; }
.doc-meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0; padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc a { color: var(--accent); }
.doc b { color: var(--ink); }
/* Место для данных оператора — подсвечено, пока не заполнено */
.ph { background: #fff3a8; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ============ Адаптив ============ */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__facts { margin-inline: auto; text-align: left; }
  .hero__visual { min-height: 640px; max-width: 560px; width: 100%; margin: 0 auto; }
  .bots__rail { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); gap: 20px; padding-bottom: 32px; scrollbar-width: none; }
  .bots__rail::-webkit-scrollbar { display: none; }
  .bot-shot { scroll-snap-align: start; }
  .bot-shot:nth-child(2), .bot-shot:nth-child(2).reveal:not(.is-in) { transform: none; }
  .bot-shot.reveal { opacity: 1; transform: none; }
  .app { grid-template-columns: 170px 1fr; }
  .dash2 { grid-template-columns: 1fr 1fr; }
  .dash2 .box:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc__right { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; align-items: center; justify-items: center; }
  .calc__right .gauge { grid-row: span 3; }
  .calc__right .thr, .calc__right .calc__note { justify-self: stretch; }
  .calc__note { text-align: left; }
}

@media (max-width: 860px) {
  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .section__head--split p { margin-top: 18px; }
  .cards3, .admin__feats, .bots__notes, .plans { grid-template-columns: 1fr; }
  .admin__feats { gap: 28px; }
  .plans { max-width: 480px; margin: 0 auto; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__stage { position: sticky; top: 72px; z-index: 2; margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter); background: var(--bg-2); }
  .stage { position: relative; top: 0; height: 300px; }
  .stage__panel { padding: 16px; }
  .stage__panel > * { transform: scale(.82); }
  .step { min-height: 0; padding: 40px 0 40px 22px; }
  .step:first-child { margin-top: 24px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app > * { min-width: 0; }
.app__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .app__brand { display: none; }
  .app__nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .app__nav::-webkit-scrollbar { display: none; }
  .app__main { padding: 16px; }
  .lead-grid, .embed-grid, .crit-list { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .wide { grid-column: 1 / -1; }
  .safe__inner, .faq__grid, .cta__box { grid-template-columns: 1fr; gap: 40px; }
  .faq__grid .section__head { position: static; margin-bottom: 0; }
  .safe { border-radius: 28px; margin: 0 8px; }
  .int-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 104px 0 48px; }
  .hero__title { font-size: clamp(36px, 10.5vw, 48px); }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 12px; }
  .hero__facts b { font-size: 24px; }
  .hero__visual { min-height: 600px; }
  .phone { width: 272px; }
  .phone--hero { transform: none; }
  .notify { right: 50%; margin-right: -150px; bottom: -6px; width: 300px; max-width: calc(100vw - 32px); }
  .chip--a { top: 1%; left: 0; }
  .chip--b { top: 34%; right: -4px; }
  .chip--c { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .dash2 { grid-template-columns: 1fr; }
  .dash2 .box:nth-child(2) { grid-column: auto; }
  .tile b { font-size: 26px; }
  .int-grid { grid-template-columns: 1fr; }
  .int { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .int__ic { margin: 0; }
  .int b { flex: 1; }
  .int small { flex-basis: 100%; }
  .calc__head { display: none; }
  .crow { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .crow__name { grid-column: 1 / -1; }
  .ctl { flex-wrap: wrap; gap: 4px 8px; }
  .ctl::before { content: attr(data-label); width: 100%; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .calc__right { display: flex; }
  .faq__list summary { font-size: 17px; padding: 20px 0; }
  .faq__list details p { padding-right: 0; }
  .plan { padding: 26px; }
  .plan__price { font-size: 38px; }
  .chatbox__intro { padding: 20px; }
  .cta__box { border-radius: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .wi { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
