/* Поехали Бизнес — пятая концепция, серьёзная версия «Поехали» для среднего и крупного бизнеса.
   Тема «Белый» (выбрана из двух набросков 7 окт): белый и светло-серый, крупный строчный шрифт, чёрные кнопки-таблетки,
   зелёный — только для «лид прошёл». Никаких сгенерированных картинок: главный предмет — карточка лида и документы.
   Пыль из «Космоса» (dust.js) — только на главной: воронка в первом экране и поток по схеме. */

:root {
  color-scheme: light;
  --bg: #ffffff; --bg-2: #f5f5f7; --bg-3: #fbfbfd; --card: #ffffff;
  --ink: #1d1d1f; --ink-2: #424245; --ink-3: #6e6e73; --ink-4: #86868b;
  --line: #d2d2d7; --line-2: #e8e8ed;
  --acc: #0f7a52; --acc-soft: rgba(15, 122, 82, 0.09); --acc-line: rgba(15, 122, 82, 0.32);
  --no: #b42318;
  --dust-ink: #1d1d1f; --dust-acc: #0f7a52; --dust-mute: #a1a1a6;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-card: 22px; --r-stage: 32px; --r-pill: 980px; --r-small: 12px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 60px -24px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 30px -18px rgba(0, 0, 0, 0.16);
}

/* ---------- основа ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--acc); }
.fineprint { font-size: 0.78rem; color: var(--ink-4); line-height: 1.5; }
.muted { color: var(--ink-3); }
.tbd { color: var(--ink-3); background: var(--bg-2); border-radius: 6px; padding: 0 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--body); font-size: 0.98rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.04rem; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.86rem; }
.link-btn { background: none; border: 0; padding: 6px 0; font-size: 0.88rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- шапка ---------- */
.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); position: relative; flex-shrink: 0; }
.logo-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--acc); }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo-tag { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line); padding: 1px 7px; border-radius: var(--r-pill); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.9rem; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .btn { display: none; }
.header-cta { margin-left: 4px; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 10px; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, background 0.2s ease; }
.burger span { top: 19px; }
.burger span::before, .burger span::after { content: ""; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* липкая панель: страница, разделы или роли, кнопка */
.local-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line-2);
  transform: translateY(-101%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.local-bar.is-on { transform: none; }
.lb-row { display: flex; align-items: center; gap: 18px; min-height: 56px; }
.lb-name { font-family: var(--display); font-weight: 700; font-size: 1.04rem; letter-spacing: -0.02em; white-space: nowrap; text-decoration: none; }
.lb-name i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.lb-links { display: flex; gap: 20px; margin-left: auto; font-size: 0.82rem; color: var(--ink-3); }
.lb-links a { text-decoration: none; white-space: nowrap; }
.lb-links a:hover, .lb-links a.is-here { color: var(--ink); }
.lb-roles { display: flex; gap: 4px; margin-left: auto; }
.lb-roles button, .role-pills button {
  border: 1px solid transparent; background: none; cursor: pointer; white-space: nowrap;
  border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.82rem; color: var(--ink-3);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.lb-roles button:hover, .role-pills button:hover { color: var(--ink); }
.lb-roles button[aria-pressed="true"] { color: var(--ink); background: var(--bg-2); border-color: var(--line-2); }
.lb-role { position: relative; }
.lb-role-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.8rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.lb-role-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lb-role-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-card); padding: 6px; display: grid; min-width: 230px; }
.lb-role-menu button { text-align: left; border: 0; background: none; border-radius: 10px; padding: 9px 12px; font-size: 0.86rem; cursor: pointer; }
.lb-role-menu button:hover { background: var(--bg-2); }
.lb-role-menu button[aria-pressed="true"] { font-weight: 600; }
.lb-role-menu button[aria-pressed="true"]::after { content: " ✓"; color: var(--acc); }

/* ---------- главная: первый экран ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 0; overflow: hidden; }
.hero-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 3.6vw, 52px); }
.hero-title { display: grid; gap: 18px; }
.hero-side { display: grid; gap: 24px; padding-bottom: 6px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.7rem, 1.3rem + 3.9vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; }
.h1-a, .h2-a { color: var(--ink); }
.h1-b, .h2-b { color: var(--ink-4); }
.hero .h1-b { display: block; margin-top: 0.22em; font-size: 0.46em; line-height: 1.12; letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--ink-3); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; z-index: 1; height: clamp(440px, 38vw, 530px); background: var(--bg-2); border-radius: var(--r-stage); }
.dust-layer { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; display: block; }
.fn-src { position: absolute; left: clamp(22px, 3vw, 44px); top: 50%; transform: translateY(-50%); z-index: 1; display: grid; gap: 15px; }
.fn-src li { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.02em; color: var(--ink-3); white-space: nowrap; line-height: 1; }
.fn-gate { position: absolute; z-index: 1; width: 1px; background: var(--line); }
.fn-gate span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); white-space: nowrap; letter-spacing: 0.04em; }
.fn-gate.is-v span { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translateY(-50%); }
.fn-drop { position: absolute; z-index: 1; font-family: var(--mono); font-size: 0.62rem; color: var(--ink-4); white-space: nowrap; }
.fn-cap { position: absolute; right: clamp(22px, 3vw, 44px); bottom: 14px; z-index: 1; font-size: 0.72rem; color: var(--ink-4); }
.lead-card--hero { position: absolute; right: clamp(22px, 3vw, 44px); top: 50%; transform: translateY(-50%); width: min(360px, 44%); z-index: 2; }

/* ---------- карточка лида ---------- */
.lead-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 18px 20px; display: grid; gap: 13px;
  transition: border-color 0.6s ease;
}
.lead-card.is-new { border-color: var(--acc-line); }
.lc-chrome { display: flex; justify-content: space-between; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line-2); font-size: 0.72rem; color: var(--ink-3); }
.lc-app { font-weight: 600; }
.lc-id { font-family: var(--mono); }
.lc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; }
.lc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.lead-card--no .lc-status i { background: var(--ink-4); box-shadow: 0 0 0 4px var(--bg-2); }
.lc-time { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.lc-rows { display: grid; gap: 8px; }
.lc-rows div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.lc-rows dt { font-size: 0.74rem; color: var(--ink-3); }
.lc-rows dd { font-size: 0.9rem; line-height: 1.35; color: var(--ink); transition: opacity 0.35s ease; }
.lead-card.is-swapping .lc-rows dd, .lead-card.is-swapping .lc-rec [data-h], .lead-card.is-swapping .lc-rec [data-f] { opacity: 0; }
.lc-crit { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-crit span { font-size: 0.74rem; font-weight: 500; padding: 4px 10px 4px 9px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-3); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.lc-crit span::before { content: "○ "; }
.lc-crit span.ok { color: var(--acc); border-color: var(--acc-line); background: var(--acc-soft); }
.lc-crit span.ok::before { content: "✓ "; }
.lc-crit span.no { color: var(--ink-4); text-decoration: line-through; }
.lc-crit span.no::before { content: "— "; }
.lc-rec { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-small); background: var(--bg-2); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.play-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; flex-shrink: 0; }
.play-ico::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.lc-wave { display: flex; gap: 2px; align-items: center; height: 14px; margin-left: auto; }
.lc-wave i { width: 2px; border-radius: 1px; background: var(--ink-4); }
.lc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lc-actions span { text-align: center; font-size: 0.78rem; font-weight: 600; padding: 8px 4px; border-radius: var(--r-small); border: 1px solid var(--line); color: var(--ink-2); }
.lc-actions span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.lc-note { font-size: 0.78rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- роли ---------- */
.roles { position: relative; z-index: 1; margin-top: clamp(36px, 4.4vw, 60px); }
.roles-head { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.roles-label { font-size: 0.86rem; font-weight: 600; }
.role-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.role-pills button { border-color: var(--line); padding: 8px 16px; font-size: 0.9rem; color: var(--ink-2); }
.role-pills button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.role-panels { padding-top: 22px; }
.role-panel { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 36px; }
.role-panel li { display: grid; gap: 6px; align-content: start; animation: roleIn 0.45s ease both; }
.role-panel li:nth-child(2) { animation-delay: 0.05s; }
.role-panel li:nth-child(3) { animation-delay: 0.1s; }
.role-panel b { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.role-panel span { font-size: 0.92rem; color: var(--ink-3); line-height: 1.5; }
@keyframes roleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.82rem; color: var(--ink-3); }
.hero .trust { position: relative; z-index: 1; padding-top: clamp(26px, 3vw, 40px); padding-bottom: clamp(36px, 4vw, 56px); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }

/* доводы для выбранной роли; выбор хранится в body[data-role] */
[data-role-show] { display: none; }
body[data-role="owner"] [data-role-show="owner"], body[data-role="sales"] [data-role-show="sales"], body[data-role="mkt"] [data-role-show="mkt"],
body[data-role="fin"] [data-role-show="fin"], body[data-role="it"] [data-role-show="it"] { display: block; }
body[data-role="owner"] .role-panel[data-role-show="owner"], body[data-role="sales"] .role-panel[data-role-show="sales"], body[data-role="mkt"] .role-panel[data-role-show="mkt"],
body[data-role="fin"] .role-panel[data-role-show="fin"], body[data-role="it"] .role-panel[data-role-show="it"] { display: grid; }
.role-note { font-size: 0.98rem; color: var(--ink-2); max-width: 46em; animation: roleIn 0.45s ease both; }
.role-note b { color: var(--ink); }
.role-notes { margin-top: 28px; }

/* ---------- секции ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--alt { background: var(--bg-2); }
.sec-head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); color: var(--ink-3); max-width: 40em; }
.sec-head.center .lead { margin: 0 auto; }
.sec-foot { margin-top: clamp(24px, 3vw, 36px); display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }

/* сетки и плитки */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--bg-2); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.section--alt .tile { background: var(--card); }
.tile-n { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); letter-spacing: 0.04em; }
.tile b, .tile h3 { font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tile p { color: var(--ink-3); font-size: 0.96rem; }
.tile .kv { display: grid; gap: 4px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 0.88rem; }
.tile .kv span { color: var(--ink-4); font-size: 0.74rem; }
.tile .tag { justify-self: start; font-size: 0.74rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); padding: 3px 10px; border-radius: var(--r-pill); }

/* документ: критерии, отчёт, итог архива */
.doc { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-card); border: 1px solid var(--line-2); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 14px; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.doc-head b { font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.02em; }
.doc-head span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); text-align: right; }
.doc-rows { display: grid; gap: 9px; }
.doc-rows div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 0.9rem; }
.doc-rows dt { font-size: 0.76rem; color: var(--ink-3); }
.doc-foot { font-size: 0.74rem; color: var(--ink-4); padding-top: 10px; border-top: 1px solid var(--line-2); }
.doc-stamp { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 600; color: var(--acc); background: var(--acc-soft); border-radius: var(--r-pill); padding: 4px 11px; }
.doc-stamp::before { content: "✓"; }
.doc-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc-big div { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.doc-big b { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.doc-big span { font-size: 0.76rem; color: var(--ink-3); }
.doc-list { display: grid; gap: 8px; font-size: 0.88rem; }
.doc-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.doc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-list em { font-style: normal; font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; }
.doc-list em.up { color: var(--acc); font-weight: 600; }
.doc-list em.off { color: var(--ink-4); text-decoration: line-through; }

/* разбивка «текст + предмет» */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split .sec-head { margin-bottom: 28px; }
.points { display: grid; gap: 18px; }
.points li { display: grid; gap: 4px; padding-left: 20px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.points b { font-weight: 600; }
.points span { color: var(--ink-3); font-size: 0.95rem; }

/* ---------- схема потока ---------- */
.flow-stage { position: relative; background: var(--bg); border-radius: var(--r-stage); padding: clamp(56px, 5vw, 76px) clamp(18px, 3vw, 44px) clamp(22px, 3vw, 34px); }
.flow {
  --flow-dir: h;
  position: relative; display: grid;
  grid-template-columns: minmax(150px, 196px) minmax(70px, 1fr) minmax(200px, 240px) minmax(36px, 0.5fr) minmax(280px, 340px);
  grid-template-areas: "src hub mods gap2 out";
  align-items: center; min-height: 470px;
}
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flow > :not(svg):not(canvas) { position: relative; z-index: 1; }
.flow > .dust-layer { position: absolute; z-index: 0; }
.flow-col-title { position: absolute; top: -32px; left: 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.flow-src-col { grid-area: src; position: relative; }
.flow-src { display: grid; gap: 6px; position: relative; }
.flow-src li { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: var(--r-small); background: var(--bg-2); border: 1px solid transparent; font-size: 0.84rem; color: var(--ink-2); white-space: nowrap; transition: color 0.4s ease, border-color 0.4s ease; }
.flow-src li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); flex-shrink: 0; transition: background 0.4s ease; }
.flow-src li.is-hot { color: var(--ink); border-color: var(--ink); }
.flow-src li.is-hot::before { background: var(--ink); }
.flow-src li.yours { border-style: dashed; border-color: var(--line); }
.flow-hub { grid-area: hub; justify-self: center; width: 46%; height: 2px; position: relative; }
.flow-hub span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.flow-mods { grid-area: mods; display: grid; gap: clamp(48px, 7vw, 96px); position: relative; }
.module { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); padding: 14px 16px 15px; display: grid; gap: 9px; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.module-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.module b { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; }
.module small { font-family: var(--mono); font-size: 0.64rem; color: var(--ink-3); letter-spacing: 0.04em; }
.module p { font-size: 0.8rem; line-height: 1.45; color: var(--ink-3); }
.module .verdict { font-family: var(--mono); font-size: 0.7rem; min-height: 1.4em; color: var(--ink-3); }
.module.is-active { border-color: var(--ink); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35); }
.module.is-reject .verdict { color: var(--ink-4); text-decoration: line-through; }
.eq { display: flex; align-items: center; gap: 3px; height: 24px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--ink); opacity: 0.35; transform: scaleY(0.15); }
.module.is-active .eq i { opacity: 1; animation: eq 0.9s ease-in-out infinite; animation-delay: calc(var(--d) * -0.13s); }
@keyframes eq { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(1); } }
.typing { display: grid; gap: 5px; height: 24px; align-content: center; }
.typing i { display: block; height: 4px; border-radius: 2px; background: var(--ink); opacity: 0.18; }
.typing i:nth-child(1) { width: 78%; }
.typing i:nth-child(2) { width: 52%; justify-self: end; }
.module.is-active .typing i { animation: breathe 1.2s ease-in-out infinite; }
.module.is-active .typing i:nth-child(2) { animation-delay: -0.6s; }
@keyframes breathe { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.6; } }
.flow-out { grid-area: out; position: relative; }
.flow-line { fill: none; stroke: var(--line-2); stroke-width: 1.2; transition: stroke 0.5s ease; }
.flow-line--beam { stroke: var(--ink-4); stroke-width: 1.6; }
.flow-line.is-hot { stroke: var(--ink-3); }
.flow-dash { display: none; }
.flow-dot { fill: var(--ink); }
.flow-halo { fill: var(--acc); opacity: 0.18; }
.flow-top { transition: opacity 0.25s ease; }
.flow-log { margin-top: 18px; min-height: 3.9em; font-family: var(--mono); font-size: 0.7rem; line-height: 1.3; color: var(--ink-4); display: grid; gap: 2px; }
.flow-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-log div:first-child { color: var(--ink-2); }
.flow-log .ok { color: var(--acc); }
.flow-log .no { color: var(--ink-4); text-decoration: line-through; }
.flow-foot { display: grid; gap: 14px; margin-top: 28px; }

/* ---------- вычеркнуть подрядчиков ---------- */
.strike { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.strike-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; transition: opacity 0.5s ease, filter 0.5s ease; }
.ctr { position: relative; display: grid; gap: 8px; align-content: start; text-align: left; min-height: 132px; padding: 18px 18px 20px; border-radius: 20px; border: 1px solid transparent; background: var(--bg-2); cursor: pointer; overflow: hidden; transition: background 0.3s ease, border-color 0.3s ease; }
.ctr:hover { background: #ececf0; }
.ctr-n { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4); }
.ctr b { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s ease; }
.ctr-m { font-size: 0.84rem; color: var(--ink-3); margin-top: auto; }
.ctr-line { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: var(--ink); transform: scaleX(0) rotate(-6deg); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1); }
.ctr[aria-pressed="true"] { background: var(--bg); border-color: var(--line-2); }
.ctr[aria-pressed="true"] b, .ctr[aria-pressed="true"] .ctr-m { color: var(--ink-4); }
.ctr[aria-pressed="true"] .ctr-line { transform: scaleX(1) rotate(-6deg); }
.strike-sum { border-radius: var(--r-card); padding: 22px 22px 20px; display: grid; gap: 16px; background: var(--bg-2); position: sticky; top: 76px; }
.ss-title { font-size: 0.86rem; font-weight: 600; }
.strike-sum dl { display: grid; gap: 12px; }
.strike-sum dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.strike-sum dt { font-size: 0.88rem; color: var(--ink-3); }
.strike-sum dd { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; transition: color 0.3s ease; font-variant-numeric: tabular-nums; }
.strike-sum dd.is-down { color: var(--acc); }
.strike-sum dd[data-k="owner"] { font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.ss-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ss-note { font-size: 0.74rem; color: var(--ink-4); line-height: 1.45; }
.strike-result { position: absolute; left: 0; top: 0; width: calc(100% - 300px - clamp(20px, 3vw, 40px)); min-height: 100%; display: grid; align-content: center; gap: 16px; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-card); animation: resIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.strike-result h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 16em; }
.strike-result > p:not(.eyebrow) { color: var(--ink-3); max-width: 36em; }
.sr-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.strike.is-done .strike-grid { opacity: 0.12; filter: grayscale(1); pointer-events: none; }
@keyframes resIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }

/* ---------- планёрка ---------- */
.dispute { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.bubble { max-width: 520px; padding: 16px 20px; border-radius: 22px; background: var(--card); font-size: 1.04rem; line-height: 1.45; box-shadow: var(--shadow-soft); }
.bubble .who { display: block; font-size: 0.76rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.bubble.left { border-bottom-left-radius: 6px; }
.bubble.right { justify-self: end; border-bottom-right-radius: 6px; }
.verdict-card { justify-self: center; margin-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-card); border: 1px solid var(--acc-line); }
.verdict-card .vc-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); position: relative; flex-shrink: 0; }
.verdict-card .vc-ico::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--acc); font-weight: 700; }
.verdict-card b { display: block; font-size: 0.95rem; }
.verdict-card span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.verdict-card a { font-weight: 600; font-size: 0.9rem; color: var(--acc); text-decoration: none; }
.dispute-after { text-align: center; max-width: 40em; margin: clamp(28px, 3vw, 40px) auto 0; font-size: 1.1rem; color: var(--ink-2); }

/* ---------- протокол: карточка и подписи вокруг ---------- */
.protocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.callouts { display: grid; gap: clamp(28px, 4vw, 56px); }
.callout { display: grid; gap: 6px; position: relative; }
.callout b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.callout span { color: var(--ink-3); font-size: 0.94rem; }
.callouts--left .callout { text-align: right; padding-right: 26px; }
.callouts--right .callout { padding-left: 26px; }
.callouts--left .callout::after, .callouts--right .callout::after { content: ""; position: absolute; top: 0.7em; width: 14px; height: 1px; background: var(--ink-4); }
.callouts--left .callout::after { right: 0; }
.callouts--right .callout::after { left: 0; }
.transcript { margin-top: clamp(36px, 5vw, 64px); background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.section--alt .transcript { background: var(--card); }
.tr-side { display: grid; gap: 14px; align-content: start; }
.tr-side b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; }
.tr-player { display: flex; align-items: center; gap: 12px; }
.tr-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; flex-shrink: 0; }
.tr-play::after { content: ""; position: absolute; left: 18px; top: 15px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tr-play.is-playing::after { left: 16px; top: 15px; width: 4px; height: 16px; border: 0; background: #fff; box-shadow: 9px 0 0 #fff; }
.tr-track { flex: 1; display: grid; gap: 6px; }
.tr-bar { height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 2px; transition: width 0.25s linear; }
.tr-clock { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); display: flex; justify-content: space-between; }
.tr-lines { display: grid; gap: 12px; align-content: start; }
.tr-lines li { display: grid; grid-template-columns: 44px 80px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; opacity: 0.32; transition: opacity 0.35s ease; }
.tr-lines li.on { opacity: 1; }
.transcript:not(.is-armed) .tr-lines li { opacity: 1; }
.tr-lines time { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); padding-top: 3px; }
.tr-lines .who { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); padding-top: 1px; }
.tr-lines .sys .who { color: var(--acc); }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.calc-in { background: var(--card); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; align-content: start; box-shadow: var(--shadow-soft); }
.range { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range label { font-size: 0.92rem; color: var(--ink-2); }
.range output { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-2) var(--p, 50%)); }
.range input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
.range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.calc-out { border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); background: var(--ink); color: #fff; display: grid; gap: 22px; align-content: space-between; }
.calc-out .co-label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.calc-out .calc-big { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 8px; }
.calc-rows { display: grid; gap: 12px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; }
.calc-rows span { color: rgba(255, 255, 255, 0.62); }
.calc-rows b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.calc-out .btn-primary { background: #fff; color: var(--ink); justify-self: start; }
.calc-out .btn-primary:hover { background: #f0f0f2; }

/* ---------- команда ---------- */
.team { border-radius: var(--r-stage); background: var(--bg-2); overflow: hidden; }
.team-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.5fr 0.7fr; gap: 16px; padding: 18px clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--line-2); align-items: baseline; font-size: 0.94rem; }
.team-row:first-child { border-top: 0; font-size: 0.76rem; color: var(--ink-4); padding-top: 22px; padding-bottom: 12px; }
.team-row b { font-weight: 600; }
.team-row .us { color: var(--acc); }
.team-row .sum { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.team-row--total { background: var(--ink); color: #fff; font-weight: 600; }
.team-row--total .us { color: #8fe0b8; }
.team-row--total .muted { color: rgba(255, 255, 255, 0.6); }
.skills { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-card); border: 1px solid var(--line-2); }
.skill span { font-size: 0.86rem; color: var(--ink-4); text-decoration: line-through; }
.skill b { font-weight: 600; font-size: 0.98rem; }

/* ---------- петля ---------- */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; counter-reset: loop; }
.loop li { background: var(--card); border-radius: 20px; padding: 18px 18px 20px; display: grid; gap: 8px; position: relative; box-shadow: var(--shadow-soft); }
.loop li::before { counter-increment: loop; content: "0" counter(loop); font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.loop li b { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.02em; line-height: 1.25; }
.loop li span { font-size: 0.86rem; color: var(--ink-3); }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-4); border-right: 1.5px solid var(--ink-4); transform: translateY(-50%) rotate(45deg); }
.loop-back { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--ink-3); white-space: nowrap; }
.loop-back::before, .loop-back::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-4) 0 6px, transparent 6px 12px); }

/* ---------- галерея «что внутри» с плюсами ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 3.6vw, 44px); }
.gallery-head .sec-head { margin-bottom: 0; }
.gal-nav { display: flex; gap: 10px; flex-shrink: 0; }
.gal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e8e8ed; cursor: pointer; position: relative; }
.gal-nav button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); }
.gal-nav [data-gal-prev]::after { transform: translate(-30%, -50%) rotate(-135deg); }
.gal-nav [data-gal-next]::after { transform: translate(-70%, -50%) rotate(45deg); }
.gal-nav button:disabled { opacity: 0.4; cursor: default; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 28px; }
.gallery::-webkit-scrollbar { display: none; }
.gal-card { scroll-snap-align: start; position: relative; min-height: 420px; border-radius: 28px; background: var(--card); padding: 28px 26px 74px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-soft); }
.gal-card .gc-tag { font-size: 0.84rem; font-weight: 600; color: var(--ink-3); }
.gal-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.12; }
.gal-card p { color: var(--ink-3); font-size: 0.95rem; }
.gc-plus { position: absolute; right: 20px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; }
.gc-plus::before, .gc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%); }
.gc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.gc-more { display: none; }
.gc-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gc-mini span { font-size: 0.74rem; padding: 4px 10px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); }

/* ---------- сравнение ---------- */
.cmp-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--bg-2); -webkit-overflow-scrolling: touch; }
.section--alt .cmp-scroll { background: var(--card); }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 0.9rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.cmp thead th { border-top: 0; font-size: 0.82rem; color: var(--ink-3); font-weight: 600; padding-top: 22px; }
.cmp tbody th { font-weight: 600; color: var(--ink-2); width: 16%; }
.cmp td { color: var(--ink-3); }
.cmp .us { color: var(--ink); font-weight: 600; background: rgba(15, 122, 82, 0.05); }
.cmp thead .us { color: var(--acc); }

/* ---------- кому подходит ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { border-radius: var(--r-stage); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.fit-yes { background: var(--bg-2); }
.fit-no { border: 1px solid var(--line-2); }
.section--alt .fit-yes { background: var(--card); }
.fit h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.025em; }
.fit ul { display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 1rem; }
.fit-yes li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.fit-no li::before { content: "—"; color: var(--ink-4); }
.fit-no li { color: var(--ink-3); }

/* ---------- форматы работы ---------- */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.mode { border-radius: var(--r-stage); background: var(--bg-2); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; position: relative; }
.section--alt .mode { background: var(--card); }
.mode--main, .section--alt .mode--main { background: var(--ink); color: #fff; }
.mode-top { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.mode--main .mode-top { color: rgba(255, 255, 255, 0.6); }
.mode h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.mode > p { color: var(--ink-3); font-size: 0.96rem; }
.mode--main > p { color: rgba(255, 255, 255, 0.72); }
.mode-price { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.mode--main .mode-price { border-color: rgba(255, 255, 255, 0.14); }
.mode-price span { font-size: 0.76rem; color: var(--ink-4); }
.mode--main .mode-price span { color: rgba(255, 255, 255, 0.55); }
.mode-price b { font-size: 1rem; }
.mode--main .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }
.mode ul { display: grid; gap: 9px; font-size: 0.92rem; }
.mode li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; }
.mode li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.mode--main li::before { color: #8fe0b8; }
.mode .btn { justify-self: start; margin-top: 6px; }
.mode--main .btn-primary { background: #fff; color: var(--ink); }
.mode--main .btn-primary:hover { background: #f0f0f2; }
.mode-badge { position: absolute; right: 22px; top: 22px; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); color: #fff; }
.mode-start { font-size: 0.8rem; color: var(--ink-3); }
.mode--main .mode-start { color: rgba(255, 255, 255, 0.6); }

/* ---------- вопросы ---------- */
.faq { display: grid; max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.25rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 24px; color: var(--ink-3); max-width: 44em; }

/* ---------- финал ---------- */
.final { text-align: center; display: grid; justify-items: center; gap: 22px; padding: clamp(80px, 10vw, 150px) 0; }
.final .h2 { max-width: 15em; }
.final .lead { margin: 0 auto; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- внутренние страницы ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.crumbs { font-size: 0.82rem; color: var(--ink-4); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 15em; }
.page-hero .hero-sub { margin-top: 24px; max-width: 40em; }
.page-hero .hero-actions { margin-top: 30px; }
.anchors { margin-top: clamp(34px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 8px; }
.anchors a { font-size: 0.88rem; padding: 8px 15px; border-radius: var(--r-pill); background: var(--bg-2); text-decoration: none; color: var(--ink-2); }
.anchors a:hover { background: #e8e8ed; color: var(--ink); }
.stats { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { font-size: 0.9rem; color: var(--ink-3); }

/* ступени */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { background: var(--card); border-radius: var(--r-card); padding: 24px 22px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-soft); }
.stage h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.03em; }
.stage small { font-size: 0.78rem; color: var(--ink-4); }
.stage p { color: var(--ink-3); font-size: 0.94rem; }
.stage dl { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); margin-top: 4px; font-size: 0.88rem; }
.stage dt { font-size: 0.72rem; color: var(--ink-4); }
.stage .you dd { color: var(--acc); font-weight: 600; }

/* бриф: минуты и документ */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.minutes li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 1rem; }
.minutes li:last-child { border-bottom: 1px solid var(--line-2); }
.minutes time { font-family: var(--mono); font-size: 0.8rem; color: var(--acc); padding-top: 2px; }

/* граница ответственности */
.zone { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border-radius: var(--r-stage); overflow: hidden; }
.zone > div { padding: clamp(22px, 3vw, 34px); display: grid; gap: 8px; align-content: start; }
.zone-us { background: var(--ink); color: #fff; }
.zone-us span { color: rgba(255, 255, 255, 0.6); }
.zone-them { background: var(--bg-2); }
.section--alt .zone-them { background: var(--card); }
.zone-them span { color: var(--ink-3); }
.zone > .zone-mid { background: var(--acc); color: #fff; padding: 0 18px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.06em; }
.zone small { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; }
.zone b { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.zone-rules { margin-top: 14px; font-size: 0.86rem; color: var(--ink-3); }

/* недели */
.weeks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.weeks li { padding: 18px 18px 0 0; display: grid; gap: 6px; align-content: start; position: relative; }
.weeks li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.section--alt .weeks li::before { background: var(--bg-2); }
.weeks li:last-child::before { background: var(--acc); border-color: var(--acc); }
.weeks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.weeks time { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4); margin-top: 6px; }
.weeks b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.weeks p { font-size: 0.9rem; color: var(--ink-3); }

/* пилот */
.pilot { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.pilot .sec-head { margin-bottom: 26px; }
.pilot-card { background: var(--ink); color: #fff; border-radius: var(--r-stage); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.pilot-card .doc-rows div { grid-template-columns: 150px minmax(0, 1fr); }
.pilot-card dt { color: rgba(255, 255, 255, 0.55); }
.pilot-card .doc-head { border-color: rgba(255, 255, 255, 0.14); }
.pilot-card .doc-head span { color: rgba(255, 255, 255, 0.55); }
.pilot-card .doc-foot { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.55); }
.pilot-card .tbd { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); }

/* нужно — не нужно */
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.need > div { border-radius: var(--r-stage); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.need-yes { background: var(--bg-2); }
.section--alt .need-yes { background: var(--card); }
.need-no { border: 1px solid var(--line); }
.need h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.need li { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 1rem; }
.need-no li { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }

/* каналы и подбор */
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.picker button { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill); padding: 9px 16px; font-size: 0.9rem; cursor: pointer; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.picker button:hover { border-color: var(--ink); }
.picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker-out { min-height: 1.6em; margin-bottom: 30px; font-size: 1rem; color: var(--ink-2); }
.picker-out b { color: var(--acc); }
.ch-group + .ch-group { margin-top: 26px; }
.ch-group-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink-3); }
.ch-group-title span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4); }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channel { background: var(--card); border-radius: 20px; padding: 20px 20px 22px; display: grid; gap: 8px; align-content: start; border: 1px solid transparent; transition: border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-soft); }
.channel b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.channel p { color: var(--ink-3); font-size: 0.92rem; }
.channel small { font-size: 0.8rem; color: var(--ink-4); padding-top: 8px; border-top: 1px solid var(--line-2); margin-top: 4px; }
.channels-all.is-picking .channel { opacity: 0.38; }
.channels-all.is-picking .channel.is-pick { opacity: 1; border-color: var(--acc); box-shadow: 0 16px 40px -24px rgba(15, 122, 82, 0.5); }
.soon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.soon span { font-size: 0.84rem; padding: 7px 14px; border-radius: var(--r-pill); border: 1px dashed var(--line); color: var(--ink-3); }
.soon span i { font-style: normal; color: var(--ink-4); }

/* правило остановки: три числа и столбики */
.rule3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.rule3 div { background: var(--bg-2); border-radius: var(--r-card); padding: 22px; display: grid; gap: 6px; }
.section--alt .rule3 div { background: var(--card); }
.rule3 > div > span { font-size: 0.82rem; color: var(--ink-3); }
.rule3 b { font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.035em; line-height: 1.05; }
.bars { background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(20px, 3vw, 34px); display: grid; gap: 14px; }
.section--alt .bars { background: var(--card); }
.bars-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px; gap: 16px; align-items: center; font-size: 0.92rem; }
.bars-row.head { font-size: 0.74rem; color: var(--ink-4); }
.bars-row.head > span:nth-child(2) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.bars-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; height: 62px; }
.bars-track i { display: block; width: 16px; justify-self: center; background: var(--ink); border-radius: 8px; height: calc(var(--v) * 6px + 6px); transform-origin: bottom; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars.is-hidden .bars-track i { transform: scaleY(0); }
.bars-row.off .bars-track i { background: var(--ink-4); }
.bars-row .res { font-size: 0.82rem; font-weight: 600; }
.bars-row .res.up { color: var(--acc); }
.bars-row .res.off { color: var(--ink-4); text-decoration: line-through; }
.bars-foot { font-size: 0.78rem; color: var(--ink-4); }

/* таблица отчёта */
.rep-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-card); }
.rep { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; }
.rep th, .rep td { padding: 15px 18px; text-align: left; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.rep thead th { border-top: 0; font-size: 0.76rem; color: var(--ink-4); font-weight: 600; padding-top: 20px; }
.rep tfoot td { font-weight: 600; background: var(--bg-2); }
.rep .up { color: var(--acc); font-weight: 600; }
.rep .off { color: var(--ink-4); text-decoration: line-through; }

/* сценарий-развилка */
.script { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.script li { background: var(--card); border-radius: 18px; padding: 18px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow-soft); }
.script small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.script b { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; }
.script p { font-size: 0.88rem; color: var(--ink-3); }
.fork { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fork > div { border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.fork .f-yes { background: var(--acc); color: #fff; }
.fork .f-yes small, .fork .f-yes p { color: rgba(255, 255, 255, 0.82); }
.fork .f-no { background: var(--card); border: 1px solid var(--line-2); }
.fork .f-wait { background: var(--card); border: 1px dashed var(--line); }
.fork small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); }
.fork b { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.fork p { font-size: 0.9rem; color: var(--ink-3); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

/* отметка продаж */
.markdemo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.md-card .lc-actions button { font: inherit; text-align: center; font-size: 0.86rem; font-weight: 600; padding: 11px 4px; border-radius: var(--r-small); border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.md-card .lc-actions button:hover { border-color: var(--ink); }
.md-card .lc-actions button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.md-out { background: var(--card); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; min-height: 220px; align-content: center; box-shadow: var(--shadow-soft); }
.md-out b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.025em; }
.md-out p { color: var(--ink-3); }
.md-out [data-for] { animation: roleIn 0.4s ease both; }

/* скорость ответа */
.speed { background: var(--bg-2); border-radius: var(--r-stage); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.speed-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 100px; gap: 16px; align-items: center; font-size: 0.94rem; }
.speed-track { height: 12px; background: var(--card); border-radius: 6px; overflow: hidden; }
.speed-track i { display: block; height: 100%; width: var(--w); background: var(--ink-4); border-radius: 6px; transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.speed-row.us .speed-track i { background: var(--acc); }
.speed-row.us b { color: var(--acc); }
.speed.is-hidden .speed-track i { width: 0; }
.speed-row b { font-variant-numeric: tabular-nums; text-align: right; }

/* безопасность: матрица доступов, поля CRM, пакет документов */
.access-scroll { overflow-x: auto; border-radius: var(--r-stage); background: var(--card); box-shadow: var(--shadow-card); }
.access { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9rem; }
.access th, .access td { padding: 15px 16px; border-top: 1px solid var(--line-2); text-align: center; }
.access th:first-child, .access td:first-child { text-align: left; }
.access thead th { border-top: 0; font-size: 0.78rem; color: var(--ink-3); font-weight: 600; padding-top: 20px; }
.access tbody th { font-weight: 600; }
.access .y { color: var(--acc); font-weight: 700; }
.access .n { color: var(--ink-4); }
.access .p { color: var(--ink-2); font-size: 0.8rem; }
.mapping { display: grid; gap: 8px; }
.map-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; align-items: center; }
.map-row > span { background: var(--card); border-radius: 12px; padding: 11px 14px; font-size: 0.88rem; box-shadow: var(--shadow-soft); min-width: 0; overflow-wrap: anywhere; }
.map-row > span:last-child { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.map-row i { height: 1px; background: var(--ink-4); position: relative; }
.map-row i::after { content: ""; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-top: 1px solid var(--ink-4); border-right: 1px solid var(--ink-4); transform: rotate(45deg); }
.map-row.head > span { background: none; box-shadow: none; font-size: 0.76rem; color: var(--ink-4); font-family: var(--body); padding: 0 4px; }
.map-row.head i { background: none; }
.map-row.head i::after { display: none; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 0.98rem; }
.checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: var(--acc-soft); border: 1px solid var(--acc-line); margin-top: 2px; }
.checklist li span { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 2px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos span { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; padding: 12px 18px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-soft); }
.logos span.dim { color: var(--ink-3); font-weight: 500; }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: clamp(40px, 5vw, 64px) 0 36px; font-size: 0.86rem; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-grid h4 { font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-4); }
.footer-bottom a { color: inherit; }
.mobile-cta { display: none; }

/* ---------- модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 22, 0.45); }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 30px 28px 26px; display: grid; gap: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5); }
.modal-card--wide { width: min(680px, 100%); }
.modal-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; padding-right: 40px; }
.modal-card .muted { font-size: 0.94rem; }
[data-more-body] > p { margin-top: 16px; }
.modal-close { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; background: var(--bg-2); border-radius: 50%; cursor: pointer; font-size: 0.9rem; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select { font: inherit; font-size: 1rem; min-height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: var(--bg-2); color: var(--ink); min-width: 0; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-3); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.form-error { font-size: 0.82rem; color: var(--no); }
.form-done { display: grid; gap: 10px; padding: 8px 0 4px; }
.form-done b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.03em; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-visual { height: 480px; }
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px, 4vw, 44px) 18px; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25); }
  .nav.open a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .nav.open .btn { display: inline-flex; margin-top: 14px; border-bottom: 0; color: #fff; padding: 0 22px; }
  .lb-roles, .lb-links { display: none; }
  .lb-role { margin-left: auto; }
  .lb-row > .btn { margin-left: auto; }
  .lb-role + .btn { margin-left: 0; }
  .flow { grid-template-columns: minmax(140px, 180px) minmax(40px, 1fr) minmax(190px, 220px) minmax(24px, 0.4fr) minmax(250px, 300px); }
  .strike { grid-template-columns: 1fr; }
  .strike-sum { position: static; }
  .strike-result { width: 100%; min-height: 0; position: relative; }
  .strike.is-done .strike-grid { display: none; }
  .protocol { grid-template-columns: 1fr 1fr; }
  .protocol .lead-card { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(420px, 100%); }
  .callouts--left .callout { text-align: left; padding-right: 0; padding-left: 26px; }
  .callouts--left .callout::after { right: auto; left: 0; }
  .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop li::after { display: none; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .script { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .skills, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .flow { --flow-dir: v; grid-template-columns: 1fr 1fr; grid-template-areas: "src src" "hub hub" "mods mods" "out out"; row-gap: 56px; min-height: 0; }
  .flow-col-title { position: static; display: block; margin-bottom: 10px; }
  .flow-src { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .flow-src li { white-space: normal; font-size: 0.76rem; line-height: 1.25; padding: 7px 8px; min-height: 44px; min-width: 0; overflow-wrap: anywhere; }
  .flow-hub { width: 2px; height: 46px; }
  .flow-hub span { top: 50%; left: 14px; transform: translateY(-50%); }
  .flow-mods { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow-mods .flow-col-title { grid-column: 1 / -1; margin-bottom: 0; }
  .module { padding: 12px 12px 13px; align-content: start; }
  .module-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .module p { display: none; }
  .flow-out { max-width: 440px; width: 100%; justify-self: center; }
  .flow-stage { padding-top: 26px; }
  .role-panel { grid-template-columns: 1fr; gap: 14px; }
  .strike-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .brief, .pilot, .markdemo, .calc, .pair, .transcript { grid-template-columns: 1fr; }
  .grid-3, .modes, .channels { grid-template-columns: 1fr 1fr; }
  .fit, .need, .checklist { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .rule3, .fork { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .team-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--ink-3); font-size: 0.86rem; }
  .team-row > :nth-child(3) { grid-column: 1 / -1; grid-row: 3; font-size: 0.86rem; }
  .team-row .sum { grid-column: 2; grid-row: 1; }
  .team-row:first-child { display: none; }
  .zone { grid-template-columns: 1fr; }
  .zone > .zone-mid { writing-mode: horizontal-tb; transform: none; padding: 10px 18px; }
  .bars-row { grid-template-columns: 110px minmax(0, 1fr) 96px; gap: 10px; }
  .speed-row { grid-template-columns: 120px minmax(0, 1fr) 70px; gap: 10px; }
  .gallery-head { align-items: start; flex-direction: column; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-row { min-height: 56px; gap: 12px; }
  .hero-visual { height: auto; padding: 150px 14px 14px; }
  .fn-src, .fn-drop { display: none; }
  .lead-card--hero { position: relative; right: auto; top: auto; transform: none; width: 100%; }
  .fn-cap { position: static; margin-top: 10px; text-align: center; }
  .role-pills button { padding: 7px 12px; font-size: 0.84rem; }
  .strike-grid { gap: 8px; }
  .ctr { min-height: 112px; padding: 14px 14px 16px; }
  .ctr b { font-size: 0.96rem; }
  .local-bar { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; min-height: 52px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); transform: translateY(160%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .mobile-cta.is-on { transform: none; }
  .site-footer { padding-bottom: 100px; }
  .field-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .modes, .channels, .loop, .stages, .script, .weeks, .skills, .stats, .protocol { grid-template-columns: 1fr; }
  .callouts--right .callout, .callouts--left .callout { padding-left: 22px; }
  .weeks { border-top: 0; border-left: 2px solid var(--ink); row-gap: 22px; }
  .weeks li { padding: 0 0 0 22px; }
  .weeks li::before { left: -7px; top: 4px; }
  .weeks time { margin-top: 0; }
  .tr-lines li { grid-template-columns: 38px 64px minmax(0, 1fr); font-size: 0.9rem; }
  .doc-rows div, .pilot-card .doc-rows div { grid-template-columns: 1fr; gap: 2px; }
  .bars-row { grid-template-columns: 1fr auto; }
  .bars-row .bars-track { grid-column: 1 / -1; grid-row: 2; }
  .bars-row.head { display: none; }
  .speed-row { grid-template-columns: 1fr auto; }
  .speed-row .speed-track { grid-column: 1 / -1; grid-row: 2; }
  .map-row { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; }
  .map-row > span { padding: 9px 10px; font-size: 0.8rem; }
  .gal-card { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-actions .btn, .final-actions .btn, .sec-foot .btn, .sr-actions .btn { width: 100%; }
  .btn-lg { white-space: normal; text-align: center; padding: 0 20px; }
  .flow-src li { font-size: 0.72rem; padding: 6px 7px; min-height: 40px; }
  .flow-src li::before { display: none; }
  .lc-rows div { grid-template-columns: 84px minmax(0, 1fr); }
  .ctr-n { display: none; }
  .gallery { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
