/* Lead Control — светлая адаптивная дизайн-система. Без внешних шрифтов и CDN. */
:root {
  --bg: #FAF9F5;
  --text: #1F1E1D;
  --body: #4A4540;
  --muted: #6B645C;
  --accent: #AE4E2A;
  --accent-hover: #8F3F21;
  --dark: #2A2522;
  --card: #FFFFFF;
  --soft: #F3EFE8;
  --border: #E6DFD4;
  --line: #EFEAE2;
  --tint: #F7E7DE;
  --input: #8F877D;
  --warn: #B42318;
  --warn-dot: #E5484D;
  --warn-bg: #FEF3F2;
  --warn-border: #FECDCA;
  --on-dark: #E9DFD6;
  --on-dark-accent: #F2A27F;
  --error: #B42318;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
  --shadow: 0 18px 40px -24px rgba(42, 37, 34, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 740; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.icon { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--soft { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: var(--on-dark-accent); }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--dark); background: var(--tint); border-radius: 8px; padding: 5px 10px; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--dark); background: var(--tint); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.badge--outline { background: var(--card); border: 1px solid var(--border); font-weight: 600; }

.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
.lead-text { color: var(--body); font-size: clamp(17px, 1.5vw, 20px); }
.note { font-size: 14px; color: var(--muted); }
.note--sm { font-size: 12.5px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.section-head .h2 { max-width: 680px; }
.section-head p { max-width: 460px; color: var(--muted); }
.section-head--stack { display: block; }
.section-head--stack p { margin-top: 16px; max-width: 720px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #3B3430; color: #fff; }
.btn--outline { background: var(--card); color: var(--text); border-color: #D9D0C4; font-weight: 600; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--dark); font-weight: 700; }
.btn--light:hover { background: var(--tint); color: var(--dark); }
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; text-decoration: none; }
.text-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .94); border-bottom: 1px solid var(--border); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand svg { width: 32px; height: 32px; }
.brand-name { font-weight: 750; font-size: 19px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { font-weight: 650; }
.nav-cta-mobile { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.035em; font-weight: 780; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead-text { margin-top: 26px; max-width: 560px; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 15px; color: var(--body); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof .icon { width: 18px; height: 18px; color: var(--accent); }

.subhero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }
.subhero h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -.03em; font-weight: 780; max-width: 900px; }
.subhero .lead-text { margin-top: 22px; max-width: 700px; }
.subhero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; margin-top: 28px; }
.subhero-grid h1 { max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }
.subhero .tag { margin-bottom: 20px; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.disclaimer .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

/* Мокап чата */
.demo { background: var(--soft); border: 1px solid var(--border); border-radius: 28px; padding: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.chat { background: var(--card); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 750; font-size: 14px; flex: none; }
.chat-title { line-height: 1.25; font-weight: 650; font-size: 15px; }
.chat-title small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-alert { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--warn); }
.chat-alert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn-dot); flex: none; }
.chat-time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.chat-client { font-size: 17px; font-weight: 650; }
.chat-context { background: var(--soft); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--body); }
.chat-context b { color: var(--text); font-weight: 600; }
.chat-wait { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--body); }
.chat-wait .icon { color: var(--warn); width: 18px; height: 18px; }
.chat-wait b { color: var(--text); }
.chat-progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.chat-progress span { display: block; height: 100%; background: var(--warn-dot); border-radius: 99px; }
.chat-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.chat-buttons span { min-height: 44px; border-radius: 12px; border: 1px solid #D9D0C4; background: var(--card); display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 10px; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.chat-buttons span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.chat-buttons--3 span:last-child { grid-column: 1 / -1; }
.kpis-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi-mini { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.kpi-mini small { display: block; font-size: 13px; color: var(--muted); }
.kpi-mini strong { display: block; font-size: 34px; font-weight: 760; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-mini span { font-size: 13px; color: var(--accent); }
.kpi-mini span.warn { color: var(--warn); }
.states { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.state { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--input); }
.dot--warn { background: var(--warn-dot); }
.dot--ok { background: var(--accent); }

/* Карточки отраслей */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { border: 1px solid var(--border); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.case-card:hover { color: var(--text); border-color: #DCC3B3; box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.icon-box { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-box .icon { width: 26px; height: 26px; }
.case-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.case-card h3 { font-size: 23px; letter-spacing: -.01em; margin-top: 4px; }
.case-card p { color: var(--body); font-size: 16px; }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.bullets li { display: flex; gap: 10px; align-items: baseline; }
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; transform: translateY(-2px); }
.case-card .text-link { margin-top: auto; padding-top: 12px; color: var(--accent); }

/* Шаги */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 22px; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--accent); font-weight: 700; }
.steps h3 { font-size: 21px; margin: 10px 0 8px; letter-spacing: -.01em; }
.steps p { color: var(--body); font-size: 16px; }

/* Сплит-блоки */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.split p + p, .split .h2 + p { margin-top: 18px; }
.split > div > p { color: var(--body); }

/* Дашборд */
.dash { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 24px 48px -32px rgba(42, 37, 34, .4); min-width: 0; }
.dash--lg { border-radius: 28px; padding: clamp(16px, 2.6vw, 32px); }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-title { font-weight: 700; font-size: 17px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dash--lg .dash-title { font-size: 19px; font-weight: 750; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-top: 18px; }
.kpi { border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.kpi small { display: block; font-size: 12.5px; color: var(--muted); }
.kpi strong { display: block; font-size: 26px; font-weight: 760; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; font-size: 12.5px; color: var(--muted); }
.kpi--warn { background: var(--warn-bg); border-color: var(--warn-border); }
.kpi--warn small, .kpi--warn span { color: #912018; }
.kpi--warn strong { color: var(--warn); }
.dash--lg .kpi { padding: 16px; border-radius: 16px; }
.dash--lg .kpi strong { font-size: 32px; }
.panel { border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-width: 0; }
.panel-title { font-weight: 650; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.table-wrap { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 8px 6px; }
.table td { padding: 10px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table td:first-child { font-weight: 600; }
.table .warn { color: var(--warn); }
.bar { display: flex; align-items: center; gap: 8px; }
.bar i { flex: 1; height: 8px; background: var(--line); border-radius: 99px; position: relative; overflow: hidden; min-width: 60px; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent); border-radius: 99px; }
.seg-static { display: flex; gap: 4px; flex-wrap: wrap; background: var(--soft); padding: 4px; border-radius: 12px; font-size: 14px; }
.seg-static span { min-height: 36px; padding: 0 14px; border-radius: 9px; display: flex; align-items: center; color: var(--body); }
.seg-static span.on { background: var(--card); color: var(--dark); font-weight: 650; box-shadow: 0 1px 3px rgba(42, 37, 34, .2); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 170px; margin-top: 18px; border-bottom: 1px solid var(--border); }
.chart div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; }
.chart .m { background: #D6CBBE; border-radius: 4px 4px 0 0; }
.chart .h { background: var(--accent); }
.chart-axis { display: flex; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.chart-axis span { flex: 1; text-align: center; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.legend i.m { background: #D6CBBE; }
.alerts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.alert-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--warn-bg); font-size: 14.5px; }
.alert-item .dot { margin-top: 8px; }
.alert-item--muted { background: var(--soft); }

/* Преимущества / функции */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; min-width: 0; }
.feature > .icon { width: 28px; height: 28px; color: var(--accent); }
.feature h3 { font-size: 19px; margin: 16px 0 6px; letter-spacing: -.01em; }
.feature p { color: var(--body); font-size: 15.5px; }
.feature-num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.feature-num + h3 { margin-top: 8px; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; font-size: 16px; }
.checklist li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.checklist .icon { color: var(--accent); margin-top: 3px; }
.modules { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.module b { font-weight: 650; }
.module span { font-size: 15px; color: var(--body); }
.module small { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }

/* Таймлайн */
.timeline { list-style: none; display: flex; flex-direction: column; margin-top: 32px; }
.timeline li { display: flex; gap: 18px; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-num { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.timeline li:last-child .timeline-num { background: var(--accent); color: #fff; }
.timeline-text { padding-top: 4px; }

/* Схема процесса */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.flow-node { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flow-node .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.flow-node b { font-size: 17px; }
.flow-node span { font-size: 15px; color: var(--body); }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.flow-arrow .icon { width: 24px; height: 24px; }

/* Инфо-блок */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; }
.callout .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.callout--warn { background: var(--warn-bg); border-color: var(--warn-border); }
.callout--warn .icon { color: var(--warn); }
.cta-band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; background: var(--dark); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.cta-band p { color: var(--on-dark); margin-top: 14px; max-width: 640px; }

/* Форма заявки */
.lead-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.lead-intro { background: var(--dark); color: #fff; padding: clamp(28px, 4vw, 56px); }
.lead-intro h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
.lead-intro > p { margin-top: 18px; color: var(--on-dark); }
.benefits { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefits .check { flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(242, 162, 127, .18); color: var(--on-dark-accent); display: flex; align-items: center; justify-content: center; }
.benefits .check .icon { width: 16px; height: 16px; }
.lead-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.lead-alt p { color: var(--on-dark); margin-bottom: 14px; }
.lead-alt .btn { min-height: 48px; }
.lead-alt-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.header-contacts { display: flex; gap: 8px; align-items: center; }.lead-form { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 14.5px; font-weight: 600; }
.field-label .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.input { width: 100%; min-height: 50px; border: 1px solid var(--input); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--card); transition: border-color .15s, box-shadow .15s; }
textarea.input { padding: 12px 14px; min-height: 104px; resize: vertical; }
select.input { padding-right: 40px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B645C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(174, 78, 42, .22); }
.input[aria-invalid="true"] { border-color: var(--error); }
.help { font-size: 13.5px; color: var(--muted); }
.channels { border: 0; margin: 0; padding: 0; min-width: 0; }
.channels legend { font-size: 14.5px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--soft); border-radius: 14px; padding: 5px; }
.seg label { position: relative; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-size: 15px; color: var(--body); cursor: pointer; transition: background-color .15s; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--card); color: var(--dark); font-weight: 650; box-shadow: 0 1px 3px rgba(42, 37, 34, .2); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 1px; }
.seg label.is-checked { background: var(--card); color: var(--dark); font-weight: 650; box-shadow: 0 1px 3px rgba(42, 37, 34, .2); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--body); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { min-height: 54px; font-size: 17px; font-weight: 700; }
.form-status { min-height: 1.5em; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 12px; padding: 12px 14px; }
.form-status.is-pending { color: var(--body); }
.form-note { font-size: 13px; color: var(--muted); margin-top: -6px; }

/* Лендинг /start */
.offer-card { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.offer-list { margin: 14px 0 18px; display: flex; flex-direction: column; }
.offer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offer-row:last-child { border-bottom: 0; }
.offer-row dt { color: var(--body); }
.offer-row dd { margin: 0; font-weight: 760; font-size: 22px; color: var(--accent); text-align: right; white-space: nowrap; }
.offer-row:last-child dd { font-size: 17px; color: var(--dark); white-space: normal; max-width: 50%; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card { position: relative; }
.case-card.is-recommended { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.case-card.is-recommended::after { content: "Ваша отрасль"; position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.footer-bottom--solo { border-top: 0; padding-top: 28px; }
.footer-bottom--solo a { color: var(--muted); }

/* Текстовые страницы */
.plain-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.plain-head h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 780; max-width: 900px; }
.plain-head p { margin-top: 20px; max-width: 720px; color: var(--body); font-size: clamp(17px, 1.5vw, 20px); }
.plain-head .btn { margin-top: 32px; }
.prose { max-width: 800px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p { color: var(--body); }
.center-page { min-height: 60vh; display: flex; align-items: center; }

/* Подвал */
.footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding: 40px 0 24px; }
.footer-top p { margin-top: 12px; font-size: 14.5px; color: var(--muted); max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; align-content: flex-start; }
.footer-links a { color: var(--text); text-decoration: none; padding: 6px 0; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 20px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Адаптив */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-arrow { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px -24px rgba(42, 37, 34, .4); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-cta-mobile { display: flex; margin-top: 16px; border-bottom: 0; color: #fff; font-size: 16px; padding: 0 20px; }
  .nav .nav-cta-mobile:hover { color: #fff; }
  .hero-grid, .subhero-grid, .split, .split--even, .lead-wrap, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid, .subhero-grid { gap: 40px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 60px; }
  .brand-name { font-size: 18px; }
  .section-head { margin-bottom: 28px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .proof { flex-direction: column; gap: 8px; }
  .features, .features--3, .modules, .steps, .steps--3, .flow, .form-row { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none; }
  .header-contacts .btn { padding: 0 14px; }
  .lead-alt-buttons .btn { flex: 1 1 100%; }
  .offer-row:last-child dd { max-width: 55%; }
  .case-card { padding: 22px; }
  .lead-wrap { border-radius: 22px; }
  .kpi-mini strong { font-size: 28px; }
  .chat-body { padding: 14px; }
  .demo { border-radius: 22px; }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 480px) {
  .site-header:has(.header-contacts) .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .lead-section, .footer, .menu-toggle { display: none; }
}
