/* ==========================================================================
   Lekalio — лендинг
   Структура: 1. Токены  2. База  3. Компоненты  4. Секции  5. Меню  6. Адаптив
   ========================================================================== */

/* 1. Токены ---------------------------------------------------------------- */
:root {
  --ink: #0a2a33;
  --night: #06212a;
  --night-2: #0a2f45;
  --teal: #00776f;
  --blue: #1e5fd6;
  --mint: #35e6d4;
  --sky: #2f8cff;
  --text: #3f5860;
  --muted: #5b6570;
  --line: #dce6ea;
  --bg: #eef3f5;
  --white: #fff;

  --ok-bg: #ddf1e7;   --ok: #17603f;
  --wait-bg: #f6e8cb; --wait: #7a4e05;
  --err-bg: #f7dede;  --err: #9c2f2f;
  --view-bg: #e4eef6; --view: #1e3a8a;

  --g-brand: linear-gradient(135deg, #00776f 0%, #1e5fd6 100%);
  --g-bright: linear-gradient(135deg, #35e6d4 0%, #2f8cff 100%);

  --font-body: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --font-logo: 'Sora', 'Golos Text', sans-serif;

  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 12px 32px rgba(10, 42, 51, 0.06);
  --container: 1200px;
}

/* 2. База ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 3. Компоненты ------------------------------------------------------------ */

/* Заголовки секций */
.section { padding: 88px 0; }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section__title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin-bottom: 48px;
}
.section__head .section__title { margin-bottom: 0; }
.section__lead { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 820px; }
.eyebrow {
  font-size: 13px; line-height: 1.4; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--mint);
}
.label {
  font-size: 12px; line-height: 1.4; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; color: var(--muted);
}
.note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.grad-text {
  background: linear-gradient(90deg, #35e6d4 0%, #5aa9ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* Логотип: высота знака = высоте заглавной буквы (1cap) */
.logo {
  display: inline-flex; align-items: baseline; gap: .32em;
  font-family: var(--font-logo); font-weight: 700; font-size: 28px; line-height: 1;
  letter-spacing: -0.02em;
}
.logo__mark { height: 1cap; width: auto; aspect-ratio: 44 / 32; flex: none; }
.logo--light { color: #f4f7f6; }
.logo--dark { color: var(--ink); font-size: 26px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 12px;
  font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .burger:focus-visible, .drawer__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn--primary { background: var(--g-bright); color: var(--night); box-shadow: 0 8px 24px rgba(47, 140, 255, .28); }
.btn--ghost { border: 1px solid rgba(244, 247, 246, .4); color: #f4f7f6; }
.btn--sm { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 700; }

/* Градиентная рамка */
.gborder {
  border-radius: var(--radius-lg); padding: 1px;
  background: linear-gradient(135deg, rgba(53, 230, 212, .9), rgba(47, 140, 255, .25));
}
.gborder--soft { border-radius: var(--radius); background: linear-gradient(135deg, rgba(53, 230, 212, .65), rgba(47, 140, 255, .15)); }

/* Плитка с иконкой */
.tile {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--g-brand); box-shadow: 0 8px 20px rgba(30, 95, 214, .28);
}
.tile--dark {
  width: 48px; height: 48px; box-shadow: none;
  background: linear-gradient(135deg, rgba(53, 230, 212, .25), rgba(47, 140, 255, .25));
  border: 1px solid rgba(53, 230, 212, .45);
}
.ico { flex: none; }

/* Бейджи статусов */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px;
  border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap;
}
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--wait { background: var(--wait-bg); color: var(--wait); }
.badge--err { background: var(--err-bg); color: var(--err); }

/* Карточки */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card, .role {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.card { padding: 28px; }
.card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }
.card p, .role p:last-child { color: var(--text); }
.role { position: relative; overflow: hidden; padding: 30px 28px 28px; gap: 10px; }
.role::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--g-brand); }
.role__tag { font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--teal); }
.role h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }

.surface {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.surface__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.surface__head h3, .surface > h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.surface__head span { font-size: 13px; color: var(--muted); }

/* Полосы прогресса */
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.4; }
.bar__row span { color: var(--text); }
.bar__track { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #00776f 0%, #1e5fd6 100%); }

/* 4. Секции ---------------------------------------------------------------- */

/* Фоны секций */
.section--pale { background: linear-gradient(180deg, #f4f8f8 0%, #e4eef6 100%); }
.section--pale-rev { background: linear-gradient(180deg, #e4eef6 0%, #f4f8f8 100%); }
.section--mint { background: linear-gradient(180deg, #e4eef6 0%, #ddf3f0 100%); }
.section--control { background: linear-gradient(180deg, #ddf3f0 0%, #e9f1f6 100%); }
.section--dark {
  color: #f4f7f6;
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(47, 140, 255, .3), rgba(47, 140, 255, 0) 70%),
    radial-gradient(700px 420px at 0% 100%, rgba(53, 230, 212, .2), rgba(53, 230, 212, 0) 70%),
    linear-gradient(180deg, #06212a 0%, #0a2a3e 100%);
}
.section--dark .section__lead { color: #c2d8dd; }

/* Hero */
.hero {
  color: #f4f7f6;
  background:
    radial-gradient(640px 460px at 88% 40%, rgba(47, 140, 255, .42), rgba(47, 140, 255, 0) 70%),
    radial-gradient(720px 520px at 8% 96%, rgba(53, 230, 212, .26), rgba(53, 230, 212, 0) 70%),
    linear-gradient(160deg, #06212a 0%, #0a2f45 100%);
}
.header { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; color: #d4e4e7; }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { color: var(--night); }
.burger {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 12px;
  border: 1px solid rgba(244, 247, 246, .35); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 1px; background: #f4f7f6; }
.hero__body { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding: 56px 0 96px; }
.hero__text { flex: 1 1 0; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.6; color: #c2d8dd; }
.hero__actions { display: flex; gap: 16px; padding-top: 8px; }
.hero__card { flex: 0 0 500px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }

.campaign { border-radius: 19px; background: #fbfaf7; color: var(--ink); overflow: hidden; }
.campaign__head { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.campaign__title { font-size: 20px; line-height: 1.4; font-weight: 700; }
.campaign__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid #e6e2d9;
}
.campaign__row div { display: flex; flex-direction: column; gap: 2px; }
.campaign__row b { font-size: 16px; line-height: 1.4; font-weight: 600; }
.campaign__row span:not(.badge) { font-size: 14px; line-height: 1.4; color: var(--muted); }
.campaign__foot {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px;
  background: linear-gradient(90deg, #00776f 0%, #1e5fd6 100%);
  color: #fff; font-size: 15px; font-weight: 600;
}

/* Сравнение «было / стало» */
.panel {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; border: 1px solid;
}
.panel figcaption { font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.panel--bad { border-color: #ebd2d2; } .panel--bad figcaption { color: var(--err); }
.panel--good { border-color: #cfe5db; } .panel--good figcaption { color: var(--ok); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: s; }
.steps::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 23px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #00776f 0%, #1e5fd6 100%); opacity: .5;
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.step__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--g-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  box-shadow: 0 0 0 6px #eaf5f6;
}
.step h3 { font-size: 19px; line-height: 1.4; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text); padding: 0 8px; }

/* Статусы и права */
.pipeline--narrow { display: none; }
.control__row { margin-top: 24px; align-items: stretch; }
.flow { display: flex; flex-direction: column; gap: 22px; }
.flow__item {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px;
  border-radius: 14px; background: #fff; border: 1.5px solid #9fb8be;
}
.flow__item:not(:last-child)::after {
  content: '↓'; position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%);
  color: var(--blue); font-weight: 700; font-size: 18px; line-height: 20px;
}
.flow__item b { font-size: 16px; line-height: 1.4; }
.flow__item span { font-size: 13px; line-height: 1.4; color: var(--text); }
.flow__item--final { background: var(--g-brand); border-color: transparent; color: #fff; }
.flow__item--final span { color: #fff; }
.flow__return {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px; border: 1.5px dashed #b45309;
  color: #8a4a08; font-size: 14px; line-height: 1.4; font-weight: 600;
}

.matrix { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 8px; font-size: 14px; }
.matrix th { font-weight: 600; text-align: left; }
.matrix thead th { font-size: 13px; color: var(--muted); text-align: center; padding: 0 4px; }
.matrix thead th:first-child { width: 34%; }
.matrix tbody th { padding-right: 8px; color: var(--ink); }
.matrix td { padding: 0 4px; text-align: center; }
.pill { display: block; padding: 6px 4px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.pill--edit { background: var(--ok-bg); color: var(--ok); }
.pill--view { background: var(--view-bg); color: var(--view); }
.pill--lock { background: #f0e4e4; color: #7a1f1f; }

/* Блок для руководителя */
.manager { display: flex; align-items: center; justify-content: space-between; gap: 72px; }
.manager__text { flex: 1 1 0; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.manager__text .section__title { margin-bottom: 0; }
.points { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point h3 { font-size: 18px; line-height: 1.4; font-weight: 700; }
.point p { font-size: 15px; line-height: 1.6; color: #b9d2d8; }
.manager > .gborder { flex: 0 0 540px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.dash { border-radius: 19px; background: #fff; color: var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dash .bar__row { font-size: 14px; }
.kpis { display: flex; gap: 10px; }
.kpi {
  flex: 1 1 0; min-width: 0; padding: 14px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #e6f6f4 0%, #e4ecfb 100%); display: flex; flex-direction: column; gap: 2px;
}
.kpi b { font-size: 28px; line-height: 1.2; font-weight: 700; }
.kpi span { font-size: 13px; line-height: 1.4; color: var(--text); }
.materials li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid #e1e8eb; font-size: 14px; }

/* Возможности */
.grid--features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  background: linear-gradient(160deg, #0e3f4c, #0a2b3d) padding-box,
              linear-gradient(135deg, rgba(53, 230, 212, .65), rgba(47, 140, 255, .15)) border-box;
  border: 1px solid transparent;
}
.feature h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin-bottom: 6px; color: #f4f7f6; }
.feature p { font-size: 15px; line-height: 1.5; color: #b9d2d8; }

/* Для кого */
.aud { position: relative; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.aud::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--g-brand); }
.aud h3 { font-size: 24px; line-height: 1.3; font-weight: 700; }
.aud p { color: var(--text); }

/* CTA */
.cta {
  color: #f4f7f6; padding: 96px 0;
  background:
    radial-gradient(600px 360px at 90% 10%, rgba(53, 230, 212, .35), rgba(53, 230, 212, 0) 70%),
    linear-gradient(135deg, #0a2a33 0%, #1e3a8a 100%);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.cta .section__title { margin-bottom: 12px; }
.cta .section__lead { color: #c9d6ee; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: none; }
.cta__actions p { font-size: 15px; color: #c9d6ee; }

/* Подвал */
.cta__inner > div { min-width: 0; flex: 1; }
.lead-form { flex: 0 1 420px; min-width: 0; width: 100%; display: grid; gap: 8px; }
.lead-form > label { font-size: 15px; font-weight: 600; }
.lead-form > label span { font-weight: 400; }
.lead-form input:not([type="checkbox"]), .lead-form textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #a6c4d4;
  border-radius: 6px; background: #fff; color: #0a2a33; font: inherit; font-size: 16px;
  margin-bottom: 6px;
}
.lead-form textarea { resize: vertical; min-height: 100px; max-height: 300px; }
.lead-form input:focus-visible, .lead-form textarea:focus-visible { outline: 3px solid #35e6d4; outline-offset: 2px; }
.lead-form .lead-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; margin: 6px 0; }
.lead-form__consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: #35e6d4; }
.lead-form .btn { width: 100%; border: 0; border-radius: 6px; white-space: normal; }
.lead-form .btn:disabled { opacity: .65; cursor: wait; }
.lead-form__status { min-height: 48px; font-size: 14px; overflow-wrap: anywhere; }
.lead-form__status[data-state="error"] { color: #9c2f2f; }
.lead-form__status[data-state="success"] { color: #17603f; }
.lead-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 899px) { .lead-form { flex: none; max-width: 560px; } }
.btn[data-demo-open] { border: 0; }
.lead-dialog {
  width: 520px; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px);
  border: 1px solid #dce6ea; border-radius: 8px; padding: 28px; color: #0a2a33;
  background: #fff; overflow-y: auto; box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
}
.lead-dialog::backdrop { background: rgba(3, 15, 20, .7); }
.lead-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lead-dialog__header h2 { font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.lead-dialog__close { flex: none; min-height: 44px; border: 0; padding: 8px 0 8px 8px; background: transparent; font-size: 14px; color: #3f5860; }
.lead-dialog .lead-form { max-width: none; }
.lead-dialog .lead-form__consent { font-weight: 400; }
.lead-success { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 0 12px; text-align: center; }
.lead-success__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #00776f; color: #fff; font-size: 36px; line-height: 1; }
.lead-success h2 { font-size: 30px; line-height: 1.2; letter-spacing: 0; }
.lead-success p { max-width: 320px; font-size: 18px; color: #3f5860; }
.lead-success .lead-dialog__close { padding: 8px 16px; }
.lead-success:focus { outline: none; }
.lead-dialog [hidden] { display: none; }
@media (max-width: 480px) {
  .lead-dialog { padding: 20px; }
  .lead-dialog__header { gap: 10px; }
  .lead-dialog__header h2 { font-size: 22px; }
}

.footer { background: #eef3f5; padding: 64px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__nav { display: flex; gap: 32px; font-size: 15px; color: var(--text); }
.footer__nav a:hover { color: var(--ink); }
.footer p { font-size: 14px; color: var(--muted); }

/* 5. Мобильное меню (off-canvas) ------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s linear .3s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(3, 15, 20, .62); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 86vw);
  padding: 0 20px 24px; display: flex; flex-direction: column; color: #f4f7f6; overflow-y: auto;
  background:
    radial-gradient(260px 240px at 100% 0%, rgba(47, 140, 255, .35), rgba(47, 140, 255, 0) 70%),
    radial-gradient(260px 240px at 0% 100%, rgba(53, 230, 212, .22), rgba(53, 230, 212, 0) 70%),
    linear-gradient(170deg, #06212a 0%, #0a2f45 100%);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .4);
  transform: translateX(105%); transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { height: 68px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.drawer__top .logo { font-size: 20px; }
.drawer__close {
  width: 44px; height: 44px; padding: 0; border-radius: 12px; background: transparent;
  border: 1px solid rgba(244, 247, 246, .35); display: flex; align-items: center; justify-content: center;
}
.drawer__nav { display: flex; flex-direction: column; margin-top: 12px; }
.drawer__nav a { padding: 16px 0; border-bottom: 1px solid rgba(244, 247, 246, .14); font-size: 22px; line-height: 1.3; font-weight: 600; }
.drawer__bottom { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.drawer__bottom .btn { width: 100%; }
.drawer__bottom p { text-align: center; font-size: 14px; color: #9fb8be; }

/* 6. Адаптив --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .hero__card { flex-basis: 440px; }
  .manager { gap: 40px; }
  .manager > .gborder { flex-basis: 480px; }
}

@media (max-width: 899px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header { height: 68px; }
  .logo { font-size: 22px; }
  .hero__body { flex-direction: column; align-items: stretch; gap: 32px; padding: 28px 0 48px; }
  .hero__text { max-width: none; gap: 20px; }
  .hero__card { flex: none; }
  .manager { flex-direction: column; align-items: stretch; }
  .manager__text { max-width: none; }
  .manager > .gborder { flex: none; }
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .section__title { margin-bottom: 28px; }
  .section__head { margin-bottom: 28px; }
  .section__lead, .lead { font-size: 16px; }
  .grid--2, .grid--3, .grid--features { grid-template-columns: 1fr; gap: 16px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .cta__actions { align-self: stretch; }
  .card { padding: 22px; }
  .panel { padding: 20px 16px; }
  .surface { padding: 22px; }
  .feature { padding: 18px; }
  .aud { gap: 8px; }
  .aud h3 { font-size: 22px; }
  .cta { padding: 56px 0; }
  .footer { padding: 36px 0; }
  .campaign__row { flex-wrap: wrap; }

  /* шаги — вертикальная линия слева */
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 23px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, #00776f 0%, #1e5fd6 100%); }
  .step { flex-direction: row; flex-wrap: wrap; align-items: flex-start; text-align: left; gap: 4px 16px; }
  .step__num { width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 5px #e4f3f3; }
  .step h3 { flex: 1 1 calc(100% - 60px); padding-top: 9px; font-size: 18px; }
  .step p { flex: 0 0 100%; padding: 0 0 0 60px; margin-top: -8px; }

  /* статусы — вертикальный список вместо широкой схемы */
  .pipeline--wide { display: none; }
  .pipeline--narrow { display: block; }
  .matrix { font-size: 12px; }
  .matrix thead th { font-size: 11px; }
  .matrix thead th:first-child { width: 33%; }
  .matrix tbody th { font-size: 11px; line-height: 1.3; hyphens: auto; }
  .pill { font-size: 11px; line-height: 16px; padding: 6px 0; }
  .matrix td { padding: 0 2px; }
  .kpi b { font-size: 24px; }
}
