/* ==========================================================================
   ZELLIX — дизайн-система
   Светлая тема, тёмно-фиолетовый бренд WARNAX
   ========================================================================== */

:root {
  --brand-950: #1B0B33;
  --brand-900: #2A0F52;
  --brand-800: #361168;
  --brand-700: #4B1D8F;
  --brand-600: #5B21B6;
  --brand-500: #7C3AED;
  --brand-400: #9F67F5;
  --brand-300: #C4B5FD;
  --brand-100: #EFE7FF;
  --brand-50: #F7F2FF;
  --lav: #F4EEFF;
  --lav-2: #E9DFFB;

  --ink: #17121F;
  --ink-2: #3D3648;
  --muted: #6C6579;
  --muted-2: #6B6478;
  --white: #fff;
  --bg: #FFFFFF;
  --bg-2: #F6F3FC;
  --line: #E9E3F4;
  --line-2: #DED5EE;

  --green: #12A66A;
  --red: #E5484D;
  --amber: #F5A524;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(30, 10, 60, .06);
  --shadow-md: 0 12px 30px -12px rgba(45, 15, 90, .18);
  --shadow-lg: 0 30px 70px -28px rgba(45, 15, 90, .32);
  --shadow-brand: 0 14px 34px -10px rgba(75, 29, 143, .45);

  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
::selection { background: var(--brand-300); color: var(--brand-950); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section + .section { padding-top: 0; }
.grad {
  background: linear-gradient(100deg, var(--brand-600) 0%, var(--brand-500) 45%, #A855F7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ─── Типографика ─────────────────────────────────────────────────────── */
h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-100);
  border: 1px solid var(--lav-2); padding: 7px 13px; border-radius: var(--r-full);
  margin-bottom: 22px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section-head h2 { margin: 0; }

/* ─── Кнопки ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1.5px solid transparent; border-radius: var(--r-full);
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; cursor: pointer; transition: .18s ease;
  white-space: nowrap; text-decoration: none;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(75, 29, 143, .55); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-white { background: #fff; color: var(--brand-800); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); }
.btn-white:hover { color: var(--brand-800); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ─── Хедер ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(30, 10, 60, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { display: block; filter: drop-shadow(0 6px 12px rgba(75, 29, 143, .28)); }
.logo--img { padding: 0; }
.logo-full { display: block; width: auto; height: 28px; object-fit: contain; }
.footer-brand-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo-plate { display: inline-flex; background: #fff; padding: 7px 10px; border-radius: 10px; }
.footer-logo-plate .logo-full { height: 24px; }
.footer-tagline { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.logo-text { display: flex; flex-direction: column; font-weight: 800; font-size: 19px; letter-spacing: .04em; line-height: 1.05; color: var(--ink); }
.logo-text span { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }
.logo-text-light { color: #fff; }
.logo-text-light span { color: rgba(255, 255, 255, .55); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.nav-link:hover, .nav-link.is-active { background: var(--brand-50); color: var(--brand-700); }
.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 330px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .16s ease;
}
.nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: block; padding: 11px 13px; border-radius: 13px; color: var(--ink); }
.nav-menu a:hover { background: var(--brand-50); }
.nav-menu b { display: block; font-size: 14.5px; font-weight: 700; }
.nav-menu span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-login { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.link-login:hover { color: var(--brand-700); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 11px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .2s; }
.mobile-nav { display: none; }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 66px 0 54px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: #D8C6FF; top: -220px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #E7D9FF; bottom: -200px; left: -140px; opacity: .7; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(75, 29, 143, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 29, 143, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.hero-bullets li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hero-bullets svg { color: var(--brand-500); flex: none; }
.hero-stats { display: flex; gap: 34px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-800); }
.hero-stats span { font-size: 12.5px; color: var(--muted); }
.hero--compact { padding: 46px 0 30px; }
.hero--compact h1 { font-size: clamp(32px, 4vw, 48px); }
.hero--compact .hero-lead { margin-bottom: 22px; }

/* ─── Чат-карточка ────────────────────────────────────────────────────── */
.hero-chat { position: relative; }
.chat-hint {
  font-size: 12.5px; font-weight: 700; color: var(--brand-700);
  background: #fff; border: 1px solid var(--lav-2);
  padding: 8px 14px; border-radius: var(--r-full);
  display: inline-block; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-chat .chat-hint { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.chat-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(75, 29, 143, .12);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(43, 13, 86, .45), 0 0 0 8px rgba(255, 255, 255, .55);
  z-index: 1;
}
.chat-glow {
  position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(circle at 60% 20%, rgba(124, 58, 237, .45), transparent 60%);
  filter: blur(40px);
}
.chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #FCFAFF); }
.chat-ava {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-800));
  box-shadow: 0 8px 18px -6px rgba(91, 33, 182, .55);
}
.chat-id { display: flex; flex-direction: column; min-width: 0; }
.chat-id b { font-size: 15px; font-weight: 800; }
.chat-id span { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18, 166, 106, .15); display: inline-block; }
.chat-tag { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 5px 9px; border-radius: var(--r-full); }
.chat-body { padding: 16px 16px 8px; height: 296px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--lav-2); border-radius: 6px; }
.msg { display: flex; max-width: 88%; animation: msgIn .25s ease both; }
.msg--bot { align-self: flex-start; }
.msg--user { align-self: flex-end; }
.msg-bubble { padding: 11px 14px; border-radius: 16px; font-size: 13.8px; line-height: 1.45; }
.msg--bot .msg-bubble { background: var(--lav); color: var(--ink); border-bottom-left-radius: 5px; }
.msg--user .msg-bubble { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; border-bottom-right-radius: 5px; }
.msg-time { display: block; font-size: 10px; opacity: .78; margin-top: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 13px 15px; background: var(--lav); border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-quick { display: flex; gap: 7px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button {
  flex: none; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-full); cursor: pointer; transition: .15s;
}
.chat-quick button:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
.chat-form { display: flex; gap: 8px; padding: 0 12px 12px; }
.chat-form input {
  flex: 1; min-width: 0; border: 1px solid var(--line-2); background: var(--bg);
  border-radius: var(--r-full); padding: 12px 16px; font-size: 13.5px; font-family: inherit; color: var(--ink); outline: none;
}
.chat-form input:focus { border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.chat-form button {
  width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff;
  display: grid; place-items: center; transition: .15s;
}
.chat-form button:hover { transform: scale(1.06); }
.chat-form button:disabled { opacity: .5; transform: none; cursor: default; }
.chat-foot { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; color: var(--muted-2); padding: 0 14px 13px; }
.chat-card { --chat-main: #4B1D8F; --chat-accent: #5B21B6; }
.chat-ava { background: linear-gradient(135deg, var(--chat-accent), var(--chat-main)); overflow: hidden; }
.chat-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.chat-form button { background: linear-gradient(135deg, var(--chat-accent), var(--chat-main)); }
.msg--user .msg-bubble { background: linear-gradient(135deg, var(--chat-accent), var(--chat-main)); }
.chat-consent { padding: 0 16px 8px; font-size: 10.8px; line-height: 1.45; color: var(--muted); }
.chat-consent a { color: var(--brand-600); }
.chat-consent.consent-row { display: flex; gap: 7px; align-items: flex-start; }
.chat-consent.consent-row input { margin: 2px 0 0; flex: none; accent-color: var(--brand-600); }
.chat-consent.is-error { color: var(--red); }
.chat-contact { padding: 0 16px 10px; display: flex; flex-direction: column; gap: 7px; }
.chat-contact b { font-size: 12px; }
.chat-contact input { border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; font-size: 12px; font-family: inherit; outline: none; background: #fff; }
.chat-contact input:focus { border-color: var(--brand-400); }
.chat-contact button { border: 0; border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); cursor: pointer; font-family: inherit; }
.contact-error { color: var(--red); font-size: 10.5px; }
.chat-card--compact .chat-body { height: 250px; }

/* ─── Trust strip ─────────────────────────────────────────────────────── */
.trust-strip {
  margin-top: 48px; display: flex; align-items: center; gap: 22px; flex-wrap: nowrap;
  padding: 18px 26px; background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(10px);
  overflow: hidden;
}
.trust-label { flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.marquee { flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-logo { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--bc, var(--ink-2)); opacity: .72; transition: opacity .2s; }
.brand-logo:hover { opacity: 1; }
.brand-logo img { height: 20px; width: 20px; object-fit: contain; filter: grayscale(1); opacity: .85; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─── Карточки проблем ────────────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: .2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lav-2); }
.problem-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-100), #fff 70%);
  border: 1px solid var(--lav-2); color: var(--brand-700);
  transition: .22s ease;
}
.problem-icon::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(124, 58, 237, .18), transparent 62%);
}
.problem-icon svg { width: 27px; height: 27px; position: relative; z-index: 1; }
.problem-card:hover .problem-icon {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  border-color: transparent; color: #fff;
  box-shadow: 0 12px 26px -12px rgba(75, 29, 143, .6);
}
.problem-card:hover .problem-icon::after { opacity: 0; }
.problem-card h3 { margin-bottom: 9px; }
.problem-card p { color: var(--muted); font-size: 14.5px; }
.solution-line {
  margin-top: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--brand-50); border: 1px solid var(--lav-2);
  border-radius: 16px; padding: 16px 22px; font-size: 14.5px; color: var(--ink-2);
}
.solution-line b { color: var(--brand-800); }
.solution-line a { margin-left: auto; font-weight: 700; }

/* ─── Фичи ────────────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; transition: .22s ease; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.feature-card:hover .feature-icon { background: var(--brand-600); color: #fff; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700); margin-bottom: 18px; transition: .2s;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 16px; margin-bottom: 7px; }
.feature-card p { font-size: 13.8px; color: var(--muted); line-height: 1.5; }

/* ─── Шаги ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-num { font-size: 34px; font-weight: 800; color: var(--lav-2); letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.8px; color: var(--muted); }
.step-meta { display: inline-block; margin-top: 14px; font-size: 11.5px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: var(--r-full); padding: 5px 10px; }

/* ─── Демо-код ────────────────────────────────────────────────────────── */
.how-demo {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, var(--brand-950), var(--brand-800) 60%, var(--brand-700));
  border-radius: var(--r-xl); padding: 42px; color: #fff; position: relative; overflow: hidden;
}
.how-demo::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(159, 103, 245, .35); filter: blur(70px); right: -60px; top: -80px; }
.how-demo-text { position: relative; z-index: 1; }
.how-demo-text h3 { font-size: 26px; margin-bottom: 12px; }
.how-demo-text p { color: rgba(255, 255, 255, .75); font-size: 14.5px; margin-bottom: 22px; max-width: 440px; }
.how-demo-code { position: relative; z-index: 1; background: rgba(10, 4, 22, .55); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 16px; }
.code-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.code-tabs span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 7px; color: rgba(255, 255, 255, .5); }
.code-tabs .is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.how-demo-code pre { margin: 0; overflow-x: auto; }
.how-demo-code code { font-family: 'Cascadia Code', 'Consolas', monospace; font-size: 12.5px; line-height: 1.7; color: #D8CCF5; }
.code-note { margin-top: 12px; font-size: 11.5px; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 7px; }

/* ─── Каналы ──────────────────────────────────────────────────────────── */
.channels-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.channel-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.channel-list li { display: flex; align-items: baseline; gap: 14px; padding: 13px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.channel-list b { min-width: 88px; font-size: 14px; color: var(--brand-800); }
.channel-list span { font-size: 13.5px; color: var(--muted); }
.phone-mock {
  width: 300px; margin: 0 auto; background: #fff; border: 10px solid var(--brand-950);
  border-radius: 38px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.channels-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, .16), transparent 60%); filter: blur(20px); }
.phone-top { display: flex; justify-content: space-between; padding: 12px 20px 6px; font-size: 11px; font-weight: 700; }
.phone-top i { width: 62px; height: 17px; background: var(--brand-950); border-radius: 10px; }
.phone-chat { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; min-height: 330px; background: #F8F5FE; }
.pmsg { font-size: 12.3px; padding: 10px 12px; border-radius: 14px; max-width: 88%; line-height: 1.4; }
.pmsg-in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.pmsg-out { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.pmsg span { display: block; font-size: 9px; opacity: .6; margin-top: 3px; }
.phone-input { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 16px; font-size: 11.5px; color: var(--muted-2); border-top: 1px solid var(--line); }
.phone-input b { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* ─── Цифры ───────────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: linear-gradient(180deg, #fff, var(--brand-50)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; color: var(--brand-800); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 13px; color: var(--muted); }

/* ─── Тарифы ──────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 28px 24px; transition: .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-popular {
  border: 1.5px solid var(--brand-500);
  box-shadow: 0 26px 60px -26px rgba(75, 29, 143, .45);
  background: linear-gradient(180deg, #fff, var(--brand-50));
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--r-full);
}
.price-top h3 { font-size: 20px; margin-bottom: 5px; }
.price-top p { font-size: 12.5px; color: var(--muted); min-height: 34px; }
.price-value { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 3px; }
.price-value b { font-size: 32px; font-weight: 800; letter-spacing: -.035em; }
.price-value span { font-size: 13px; color: var(--muted); }
.price-year { font-size: 11.5px; color: var(--muted-2); margin-bottom: 18px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.price-list li { display: flex; gap: 8px; font-size: 13.2px; color: var(--ink-2); align-items: flex-start; line-height: 1.4; }
.price-list svg { flex: none; color: var(--brand-500); margin-top: 2px; }
.price-note {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px dashed var(--line-2); border-radius: 16px; padding: 16px 22px;
  font-size: 13.5px; color: var(--muted);
}
.price-note b { color: var(--brand-800); }
.price-note a { margin-left: auto; font-weight: 700; }

/* ─── Сравнение ───────────────────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.compare th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .col-us { background: var(--brand-50); color: var(--brand-800); font-weight: 700; }
.compare th.col-us { background: var(--brand-100); color: var(--brand-800); }

/* ─── Калькулятор (тизер и страница) ──────────────────────────────────── */
.calc-teaser-inner {
  display: grid; grid-template-columns: 1fr .85fr; gap: 50px; align-items: center;
  background: linear-gradient(135deg, var(--brand-50), #fff 60%);
  border: 1px solid var(--lav-2); border-radius: var(--r-xl); padding: 48px;
}
.calc-teaser h2 { margin-bottom: 14px; }
.calc-teaser p { color: var(--muted); margin-bottom: 24px; max-width: 480px; }
.calc-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); }
.calc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.calc-row b { color: var(--ink); font-size: 15px; }
.calc-preview input[type=range] { width: 100%; margin-bottom: 18px; }
.calc-result { background: var(--brand-950); color: #fff; border-radius: 16px; padding: 18px; margin-top: 8px; }
.calc-result span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.calc-result b { display: block; font-size: 20px; font-weight: 800; }
.calc-result small { font-size: 11.5px; color: rgba(255, 255, 255, .6); }

.calc-box { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.calc-controls { padding: 38px; }
.calc-field { margin-bottom: 28px; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 12px; gap: 16px; }
.calc-field output { font-size: 22px; font-weight: 800; color: var(--brand-700); letter-spacing: -.02em; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300)); outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-600); box-shadow: 0 4px 10px rgba(75, 29, 143, .35); cursor: grab;
}
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-600); cursor: grab; }
.calc-hint { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-2); margin-top: 7px; }
.calc-formula { font-size: 12px; color: var(--muted-2); background: var(--bg-2); padding: 12px 14px; border-radius: 10px; }
.calc-out { background: linear-gradient(160deg, var(--brand-950), var(--brand-800)); color: #fff; padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.calc-out-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: rgba(255, 255, 255, .5); font-weight: 700; }
.calc-answers { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 4px 0 24px; }
.calc-divider { height: 1px; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.calc-plan { font-size: 26px; font-weight: 800; margin-top: 4px; }
.calc-price { font-size: 15px; color: var(--brand-300); margin: 4px 0 22px; }
.calc-note { font-size: 11px; color: rgba(255, 255, 255, .55); text-align: center; margin-top: 12px; }
.calc-explain { max-width: 760px; margin: 40px auto 0; }
.calc-explain h3 { margin-bottom: 12px; }
.calc-explain p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }

/* ─── Usecases / решения ──────────────────────────────────────────────── */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.usecase-num { font-size: 12px; font-weight: 800; color: var(--brand-400); margin-bottom: 14px; letter-spacing: .06em; }
.usecase-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.usecase-card p { font-size: 13.5px; color: var(--muted); }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; color: var(--ink); transition: .2s; }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); color: var(--ink); }
.solution-tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 5px 9px; border-radius: var(--r-full); margin-bottom: 18px; }
.solution-card h3 { font-size: 18px; margin-bottom: 8px; }
.solution-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.solution-arrow { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--brand-600); }

/* ─── Кейсы ───────────────────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.case-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: var(--r-full); padding: 5px 11px; margin-bottom: 16px; }
.case-card h3 { font-size: 19px; margin-bottom: 9px; }
.case-card p { font-size: 13.8px; color: var(--muted); flex: 1; }
.case-metric { margin-top: 18px; font-size: 13px; font-weight: 800; color: var(--brand-700); border-top: 1px solid var(--line); padding-top: 14px; }
.cases-link { text-align: center; margin-top: 30px; }
.case-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--lav-2); border-radius: var(--r-xl); padding: 44px; }
.case-detail h2 { font-size: 28px; margin: 14px 0 14px; }
.case-detail p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.case-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.case-points li { font-size: 13.5px; font-weight: 600; padding-left: 20px; position: relative; }
.case-points li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-500); font-weight: 800; }
.case-detail-side { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-2); padding-left: 34px; }
.case-quote { font-size: 15.5px; line-height: 1.6; font-weight: 600; color: var(--ink-2); }
.case-author { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: .2s; }
.faq-list details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--brand-600); border-radius: 2px; transition: .2s; }
.faq-plus::before { width: 12px; height: 2px; top: 8px; left: 3px; }
.faq-plus::after { width: 2px; height: 12px; left: 8px; top: 3px; }
.faq-list details[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── CTA band ────────────────────────────────────────────────────────── */
.cta-band { padding: 70px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--brand-950), var(--brand-800) 45%, var(--brand-600));
  border-radius: var(--r-xl); padding: 48px 52px; color: #fff; position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(159, 103, 245, .4); filter: blur(80px); top: -180px; right: 80px; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ─── SEO-текст ───────────────────────────────────────────────────────── */
.seo-section { padding-bottom: 60px; }
.seo-text { max-width: 900px; }
.seo-text h2 { font-size: 26px; margin-bottom: 20px; }
.seo-text h3 { font-size: 18px; margin: 26px 0 10px; }
.seo-text p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.seo-text a { font-weight: 600; }
.seo-text ul { margin: 10px 0 14px; padding-left: 0; list-style: none; }
.seo-text li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--muted); font-size: 14.5px; }
.seo-text li::before { content: '•'; position: absolute; left: 4px; color: var(--brand-500); }

/* ─── Формы ───────────────────────────────────────────────────────────── */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: 13px; padding: 13px 15px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: var(--bg); outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.form-note { font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 12px; }
.form-success { margin-top: 16px; background: #EAFBF3; border: 1px solid #B9EBD5; color: #0B7A4B; border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.contact-list > * { display: flex; flex-direction: column; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.contact-list b { font-size: 15px; }
.contact-list span { font-size: 12.5px; color: var(--muted); }

/* ─── Блог ────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; color: var(--ink); transition: .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.blog-cover { height: 150px; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(135deg, var(--brand-800), var(--brand-500)); }
.blog-cover-2 { background: linear-gradient(135deg, #3B0F73, #7C3AED); }
.blog-cover-3 { background: linear-gradient(135deg, #2A0F52, #A855F7); }
.blog-cover-4 { background: linear-gradient(135deg, #4B1D8F, #9F67F5); }
.blog-cover span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: rgba(255, 255, 255, .16); padding: 6px 11px; border-radius: var(--r-full); backdrop-filter: blur(6px); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted-2); margin-bottom: 12px; }
.blog-body h2 { font-size: 20px; margin-bottom: 9px; line-height: 1.25; }
.blog-body p { font-size: 13.8px; color: var(--muted); flex: 1; }
.blog-more { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--brand-600); }

.article-hero { padding: 40px 0 30px; background: linear-gradient(180deg, var(--brand-50), transparent); border-bottom: 1px solid var(--line); }
.article-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.article-head h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0; }
.article-lead { font-size: 17px; color: var(--muted); max-width: 640px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.article-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--brand-700); background: var(--brand-100); padding: 5px 10px; border-radius: var(--r-full); }
.article-section { padding-top: 46px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.article-body { max-width: 760px; font-size: 16px; }
.article-body h2 { font-size: 26px; margin: 34px 0 14px; }
.article-body h3 { font-size: 19px; margin: 26px 0 10px; }
.article-body p { color: var(--ink-2); margin-bottom: 14px; line-height: 1.72; }
.article-body ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.article-body li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-2); line-height: 1.6; }
.article-body li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-500); font-weight: 800; }
.article-body code { background: var(--brand-50); border: 1px solid var(--lav-2); border-radius: 6px; padding: 2px 6px; font-size: 13px; font-family: 'Cascadia Code', Consolas, monospace; }
.article-cta { margin-top: 36px; background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--lav-2); border-radius: var(--r-lg); padding: 26px; }
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.aside-card b { font-size: 14px; margin-bottom: 4px; }
.aside-card a { font-size: 13px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.aside-card a:last-child { border-bottom: 0; }
.aside-card a:hover { color: var(--brand-700); }
.aside-cta p { font-size: 12.5px; color: var(--muted); }

/* ─── Хлебные крошки ──────────────────────────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs i { font-style: normal; opacity: .5; }
.breadcrumbs span { color: var(--ink-2); font-weight: 600; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-950); color: rgba(255, 255, 255, .7); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { font-size: 13.5px; margin: 16px 0; max-width: 300px; color: rgba(255, 255, 255, .55); }
.footer-mail { font-size: 14px; font-weight: 700; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); margin-bottom: 6px; font-weight: 800; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ─── Анимации появления ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2, .6, .2, 1), transform .55s cubic-bezier(.2, .6, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── 404 ─────────────────────────────────────────────────────────────── */
.notfound { text-align: center; padding: 100px 0; }
.chat-paywall { margin: 8px 12px 12px; background: #FFF4E5; border: 1px solid #FFD8A8; color: #8A5300; border-radius: 12px; padding: 11px 13px; font-size: 12.5px; line-height: 1.5; }
.chat-lead-note { margin: 0 12px 12px; background: #EAFBF3; border: 1px solid #B9EBD5; color: #0B7A4B; border-radius: 10px; padding: 9px 12px; font-size: 11.5px; font-weight: 600; }
.chat-lead-note[hidden] { display: none; }
.nf-code { font-size: 110px; font-weight: 800; letter-spacing: -.06em; color: var(--lav-2); line-height: 1; }
.notfound h1 { margin: 10px 0 14px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; }

/* ─── Юридические страницы ────────────────────────────────────────────── */
.legal { padding-top: 60px; }
.legal-inner { max-width: 800px; }
.legal-inner h1 { font-size: 34px; margin-bottom: 24px; }
.legal-text h3 { font-size: 17px; margin: 26px 0 8px; }
.legal-text p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; line-height: 1.7; }

/* ─── Адаптив ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions .link-login { display: none; }
  .mobile-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); padding: 20px 24px 40px; overflow-y: auto; z-index: 89;
    border-top: 1px solid var(--line);
  }
  .mobile-nav.is-open { display: block; }
  .m-link { display: block; padding: 14px 0; font-size: 17px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
  .m-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .m-group > span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 8px; }
  .m-group a { display: block; padding: 8px 0; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
  .m-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
  .hero-grid, .channels-grid, .calc-teaser-inner, .faq-grid, .form-wrap, .article-hero-inner, .article-layout, .case-detail { grid-template-columns: 1fr; }
  .hero-chat { max-width: 520px; }
  .hero-chat .chat-hint { position: static; transform: none; margin-bottom: 12px; }
  .faq-copy { position: static; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .aside-card { flex: 1; min-width: 240px; }
  .feature-grid, .usecase-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-detail-side { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .header-actions .btn-primary { display: none; }
  .header-inner { gap: 10px; }
  .section { padding: 64px 0; }
  .hero { padding: 34px 0 40px; }
  h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-lead { font-size: 16px; }
  .hero-cta .btn { flex: 1; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .trust-strip { padding: 16px; gap: 14px; }
  .problem-grid, .feature-grid, .usecase-grid, .solution-grid, .price-grid, .steps, .stats-row, .blog-grid, .case-grid { grid-template-columns: 1fr; }
  .how-demo { padding: 28px; }
  .calc-box { grid-template-columns: 1fr; }
  .calc-controls, .calc-out { padding: 26px; }
  .calc-answers { font-size: 38px; }
  .cta-inner { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .chat-body { height: 300px; }
  .article-body { font-size: 15px; }
  .case-points { grid-template-columns: 1fr; }
  .phone-mock { width: 270px; }
  .price-note a { margin-left: 0; }
}
