/* ==========================================================================
   LeadGenerator — дизайн v1
   Мир: тёплая бумага, чернильный гротеск, один киноварный акцент,
   векторные абстракции (точечная волна, каркасная сфера, пиксельный туман)
   и нарисованные от руки иконки (rough.js) из папки assets/.
   Структура index.html не изменена — только оформление.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight-Italic-var.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/Caveat-var.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Бренд: для быстрой смены достаточно этих переменных */
  --brand: #ff4a1c;          /* киноварь — декор, иконки, крупный текст */
  --brand-dark: #d4360a;     /* кнопки с белым текстом (AA) */
  --accent: #ff4a1c;
  --accent-ink: #bd2e06;     /* мелкий акцентный текст на бумаге (AA) */
  --accent-soft: rgba(255, 74, 28, 0.12);
  --navy: #111110;           /* тёмные секции */

  --paper: #f4f1eb;
  --paper-2: #ebe7df;
  --card: #fbfaf7;
  --ink: #151412;
  --ink-2: #3b3934;
  --muted: #655f56;
  --faint: #888175;
  --line: rgba(21, 20, 18, 0.14);
  --line-strong: rgba(21, 20, 18, 0.28);
  --light: #f7f4ee;
  --light-muted: #aaa498;
  --light-line: rgba(247, 244, 238, 0.16);

  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 30px;
  --container: 1320px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 1px rgba(21, 20, 18, 0.04), 0 24px 48px -28px rgba(21, 20, 18, 0.28);

  --i-check: url("assets/i-check-acc.svg");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--faint) var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--brand);
}
body.menu-open { overflow: hidden; }

::selection { background: var(--brand); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--faint); border-radius: 10px; border: 3px solid var(--paper); }

h1, h2, h3 { margin: 0; font-weight: 450; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.1vw, 60px); line-height: 1.02; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; }
dd { margin: 0; }
a { color: inherit; }
svg { display: block; }
code { font-size: 0.9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
mark {
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 0 0.3em;
  border-radius: 6px;
  font-weight: 500;
}
input, select, textarea, button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
summary:focus-visible { outline-offset: -2px; border-radius: var(--radius); }

[hidden] { display: none !important; }

.tone { color: var(--faint); }
.accent { color: #ee4010; }
.section--dark .accent, .pricing-section .accent, .final-cta .accent { color: var(--brand); }

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

.section { padding: var(--section) 0; position: relative; }
.section--compact { padding: 0 0 var(--section); }
.section--soft { background: var(--paper-2); }
#team { overflow: hidden; }
.section--dark {
  background: var(--navy);
  color: var(--light);
  overflow: hidden;
  isolation: isolate;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0 -10% auto auto;
  width: min(1100px, 90vw);
  aspect-ratio: 1350 / 720;
  background: url("assets/pixels.svg") center / contain no-repeat;
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}
.section--dark strong { color: var(--light); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--light);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Подписи разделов: «/ подпись», как в референсе ---------- */
.eyebrow {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted);
  letter-spacing: 0;
}
.eyebrow::before { content: "/ "; color: var(--brand); }
.eyebrow--light { color: var(--light-muted); }

/* ---------- Заголовки секций: заголовок слева, пояснение справа, линия ---------- */
.section-heading {
  display: grid;
  gap: 24px;
  padding-bottom: 36px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 { max-width: 22ch; }
.section-heading > p:last-child { color: var(--muted); max-width: 52ch; font-size: 16px; }
.section-heading--center {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 64px;
}
.section-heading--center .eyebrow { grid-column: 1 / -1; margin-bottom: -6px; }
.section-heading--center h2 { grid-column: 1; }
.section-heading--center > p:last-child { grid-column: 2; }
.section-heading--center h2:last-child { grid-column: 1 / -1; max-width: 24ch; }
.section-heading--split {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 64px;
}
.section-heading--split h2 { max-width: 21ch; }
.section-heading--split > p { max-width: 46ch; }
.section-heading--light { border-color: var(--light-line); }
.section-heading--light h2 { color: var(--light); }
.section-heading--light > p:last-child { color: var(--light-muted); }

/* ---------- Кнопки ---------- */
.button {
  --btn-bg: var(--ink);
  --btn-fg: var(--light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.button:hover { --btn-bg: var(--brand-dark); }
.button:active { transform: scale(0.98); }
.button--accent { --btn-bg: var(--brand-dark); --btn-fg: #fff; }
.button--accent::after,
.button--secondary::after,
.button--ghost-light::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: url("assets/i-plus-light.svg") center / contain no-repeat;
  transition: transform 0.5s var(--ease);
}
.button--accent:hover { --btn-bg: var(--ink); }
.button:hover::after { transform: rotate(90deg); }
.button--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--accent-ink);
  border-color: var(--brand);
}
.button--secondary::after { background-image: url("assets/i-plus-acc.svg"); }
.button--secondary:hover { --btn-bg: var(--brand-dark); --btn-fg: #fff; border-color: var(--brand-dark); }
.button--secondary:hover::after { background-image: url("assets/i-plus-light.svg"); }
.button--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--light);
  border-color: var(--light-line);
}
.button--ghost-light:hover { --btn-bg: var(--light); --btn-fg: var(--ink); border-color: var(--light); }
.button--ghost-light:hover::after { background-image: url("assets/i-plus-ink.svg"); }
.button--small { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.button--full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { text-decoration-color: var(--brand); color: var(--accent-ink); }
.text-link--light { color: var(--light); text-decoration-color: var(--light-line); }
.text-link--light:hover { color: var(--light); }

.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line);
}
.text-button:hover { color: var(--ink); }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 241, 235, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 28px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-spark-acc.svg") center / contain no-repeat;
  transition: transform 0.8s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(60deg); }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}
.main-nav a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.header-cta {
  --btn-bg: transparent;
  --btn-fg: var(--accent-ink);
  border-color: var(--brand);
}
.header-cta::after {
  content: "";
  width: 12px;
  height: 12px;
  background: url("assets/i-plus-acc.svg") center / contain no-repeat;
}
.header-cta:hover { --btn-bg: var(--brand-dark); --btn-fg: #fff; }
.header-cta:hover::after { background-image: url("assets/i-plus-light.svg"); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 27px; }

/* ---------- 1. Первый экран ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(72px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.hero-glow { position: absolute; pointer-events: none; z-index: -1; }
.hero-glow--one {
  /* точечная топография — из референса Boost Capital */
  top: 0;
  right: -12%;
  width: min(1200px, 95vw);
  aspect-ratio: 4 / 3;
  background: url("assets/dots-wave.svg") center / contain no-repeat;
  opacity: 0.9;
}
.hero-glow--two {
  top: calc(var(--header-h) + 28px);
  left: calc(50% - 64px);
  width: 76px;
  height: 76px;
  background: url("assets/scribble-burst.svg") center / contain no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-copy h1 { max-width: 14ch; }
.hero .text-link--light { color: var(--ink); text-decoration-color: var(--line-strong); }
.hero .text-link--light:hover { color: var(--accent-ink); text-decoration-color: var(--brand); }
.scribble { position: relative; white-space: nowrap; color: var(--ink); }
.scribble::after {
  content: "";
  position: absolute;
  inset: -16% -9% -20% -8%;
  background: url("assets/scribble-lasso.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.hero-lead {
  margin-top: 36px;
  max-width: 54ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  max-width: 680px;
}
.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.4;
}
.check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  font-size: 0;
  color: transparent;
  background: var(--i-check) center / contain no-repeat;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 40px;
}
.microcopy { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 52ch; }

.hero-visual { position: relative; padding: 48px 0 56px; }
.dashboard-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
}
.dashboard-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}
.dashboard-topline > div { display: inline-flex; align-items: center; gap: 10px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.dashboard-badge {
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1;
  color: var(--accent-ink);
  transform: rotate(-4deg);
}
.dashboard-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.dashboard-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.dashboard-title-row strong { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.trend-pill {
  flex: none;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.funnel {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 6px;
}
.funnel-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-s);
  background: var(--paper);
}
.funnel-item:last-child { background: var(--ink); color: var(--light); }
.funnel-icon { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.funnel-item:last-child .funnel-icon { color: var(--brand); }
.funnel-item small { display: block; font-size: 12px; color: var(--muted); }
.funnel-item:last-child small { color: var(--light-muted); }
.funnel-item strong { display: block; font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; }
.funnel-arrow {
  height: 22px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-arrow-ink.svg") center / contain no-repeat;
}
.mini-chart { display: grid; gap: 12px; }
.chart-header { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.chart-header span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-bars {
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
}
.chart-bars i {
  flex: 1;
  height: var(--height);
  border-radius: 6px 6px 2px 2px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 1.4px, transparent 1.4px 6px);
  border: 1.4px solid var(--ink);
  border-bottom: 0;
}
.chart-bars i:last-child { background: var(--brand); border-color: var(--brand); }
.dashboard-footer { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--card);
  font-size: 11px;
  font-weight: 600;
  margin-left: -8px;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(2) { background: var(--ink); color: var(--light); }
.avatar-stack span:nth-child(3) { background: var(--brand); color: #fff; }
.dashboard-footer p { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.floating-note {
  position: absolute;
  display: grid;
  line-height: 1.05;
  font-family: var(--hand);
  color: var(--ink);
  pointer-events: none;
}
.floating-note strong { font-size: 30px; font-weight: 600; }
.floating-note span { font-size: 22px; color: var(--muted); }
.floating-note--top { top: -8px; right: 6%; transform: rotate(-5deg); text-align: right; }
.floating-note--top::after {
  content: "";
  position: absolute;
  right: 104%;
  top: 8px;
  width: 70px;
  height: 58px;
  background: url("assets/scribble-arrow.svg") center / contain no-repeat;
  transform: scaleX(-1) rotate(-10deg);
  opacity: 0.8;
}
.floating-note--bottom { bottom: -6px; left: -2%; transform: rotate(3deg); }
.floating-note--bottom strong { color: var(--accent-ink); }

/* ---------- 2. Доверие: большие цифры с вертикальными линиями ---------- */
.trust-strip { padding: 0 0 var(--section); }
.trust-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 24px 64px;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.trust-heading .eyebrow { margin: 0; }
.trust-heading h2 { font-size: clamp(26px, 2.6vw, 38px); max-width: 26ch; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 64px;
}
.trust-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.trust-grid article:first-child { padding-left: 0; border-left: 0; }
.trust-grid strong {
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.trust-grid span { font-size: 14.5px; color: var(--muted); line-height: 1.4; max-width: 18ch; }
.trust-grid .trust-proof strong { color: var(--brand); }
.trust-grid .trust-proof span { color: var(--accent-ink); font-family: var(--hand); font-size: 20px; line-height: 1.1; }
.verification-note { margin-top: 40px; font-size: 13.5px; color: var(--muted); }

/* ---------- 3. Проблема: редакционный список строк ---------- */
.problem-grid { display: grid; counter-reset: problem; }
.problem-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 56px;
  gap: 24px 40px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.problem-card::after {
  content: "";
  grid-column: 4;
  grid-row: 1;
  width: 48px;
  height: 48px;
  justify-self: end;
  background: url("assets/i-page-ink.svg") center / contain no-repeat;
  transition: transform 0.6s var(--ease);
}
.problem-card:hover::after { transform: rotate(-8deg) scale(1.08); }
.problem-card:nth-child(2)::after { background-image: url("assets/i-eye-ink.svg"); }
.problem-card:nth-child(3)::after { background-image: url("assets/i-chain-ink.svg"); }
.problem-card:nth-child(4)::after { background-image: url("assets/i-stairs-ink.svg"); }
.problem-card:nth-child(5)::after { background-image: url("assets/i-coins-acc.svg"); }
.card-number { font-size: 14px; color: var(--muted); padding-top: 8px; font-variant-numeric: tabular-nums; }
.problem-card h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 450; }
.problem-card p { color: var(--muted); font-size: 15.5px; padding-top: 6px; max-width: 46ch; }
.problem-card--accent .card-number,
.problem-card--accent h3 { color: var(--accent-ink); }

.insight-callout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.insight-callout p { font-size: 17px; max-width: 70ch; color: var(--ink-2); }
.insight-callout p strong { color: var(--ink); }
.insight-icon {
  width: 48px;
  height: 48px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-alert-acc.svg") center / contain no-repeat;
}

/* ---------- 4. Калькулятор ---------- */
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: stretch;
}
.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
}
.calc-field { display: grid; gap: 6px; align-content: start; }
.calc-field label { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.calc-field input {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  padding: 6px 0 8px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.3s var(--ease);
  -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field input:hover { border-bottom-color: var(--ink); }
.calc-field input:focus { outline: none; border-bottom-color: var(--brand); }
.calc-field small { font-size: 13px; color: var(--muted); line-height: 1.4; }

.calculator-result {
  position: relative;
  display: grid;
  gap: 24px;
  align-content: start;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: var(--light);
  overflow: hidden;
  isolation: isolate;
}
.calculator-result::before {
  content: "";
  position: absolute;
  right: -40%;
  top: -30%;
  width: 150%;
  aspect-ratio: 1350 / 720;
  background: url("assets/pixels.svg") center / contain no-repeat;
  opacity: 0.55;
  z-index: -1;
}
.result-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.result-kicker { display: block; font-size: 13.5px; color: var(--light-muted); margin-bottom: 8px; }
.result-head h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 450; letter-spacing: -0.035em; }
.scenario-badge {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--light-line);
  font-size: 13px;
  color: var(--light);
  white-space: nowrap;
}
.scenario-badge.is-warning { border-color: #e9b44c; color: #f3cf85; }
.scenario-badge.is-strong { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
}
.result-grid article {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-line);
}
.result-grid article:nth-child(odd) { padding-right: 16px; }
.result-grid article:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--light-line); }
.result-grid span { font-size: 13px; color: var(--light-muted); }
.result-grid strong {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-grid article:nth-child(n+5) strong { color: #ff7a52; }
.scenario-copy { font-size: 15px; color: #d6d1c7; line-height: 1.55; }
.result-disclaimer { font-size: 12.5px; color: var(--light-muted); line-height: 1.5; }

/* ---------- 5. Ранний кейс (шаблон) ---------- */
.draft-case {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-l);
  border: 1.5px dashed var(--line-strong);
  position: relative;
}
.draft-case h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 20px; max-width: 18ch; }
.draft-case-copy > p:not(.eyebrow):not(.case-caveat) { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.placeholder-label {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1.1;
  color: var(--accent-ink);
  transform: rotate(-2deg);
}
.case-caveat { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 56ch; }
.draft-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  border-top: 1px solid var(--line);
}
.draft-metrics div {
  display: grid;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.draft-metrics div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.draft-metrics span { font-size: 13px; color: var(--muted); }
.draft-metrics strong { font-size: clamp(20px, 1.8vw, 26px); font-weight: 450; letter-spacing: -0.03em; color: var(--faint); }

/* ---------- 6. Механизм (тёмная секция с пиксельным туманом) ---------- */
.system-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
}
.system-steps li {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 28px 0 44px;
  border-top: 1px solid var(--light-line);
  transition: border-color 0.4s var(--ease);
}
.system-steps li:hover { border-top-color: var(--brand); }
.system-steps li > span {
  font-family: var(--hand);
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
}
.system-steps h3 { font-size: 21px; margin-bottom: 10px; color: var(--light); }
.system-steps p { font-size: 15px; color: var(--light-muted); line-height: 1.5; }
.feedback-loop {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  background: rgba(247, 244, 238, 0.03);
}
.feedback-loop > span {
  width: 48px;
  height: 48px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-loop-acc.svg") center / contain no-repeat;
}
.feedback-loop p { color: var(--light-muted); font-size: 16px; max-width: 70ch; }

/* ---------- 7. Состав запуска ---------- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.deliverable-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}
.deliverable-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-search-ink.svg") left center / contain no-repeat;
  transition: transform 0.6s var(--ease);
}
.deliverable-card:hover .deliverable-icon { transform: rotate(-6deg) translateY(-2px); }
.deliverable-card:nth-child(2) .deliverable-icon { background-image: url("assets/i-pen-ink.svg"); }
.deliverable-card:nth-child(3) .deliverable-icon { background-image: url("assets/i-layout-ink.svg"); }
.deliverable-card:nth-child(4) .deliverable-icon { background-image: url("assets/i-megaphone-acc.svg"); }
.deliverable-card:nth-child(5) .deliverable-icon { background-image: url("assets/i-chart-ink.svg"); }
.deliverable-card:nth-child(6) .deliverable-icon { background-image: url("assets/i-sliders-ink.svg"); }
.deliverable-card h3 { font-size: 24px; font-weight: 450; letter-spacing: -0.03em; }
.deliverable-card p { color: var(--muted); font-size: 15.5px; max-width: 38ch; }
.deliverable-card strong {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ink);
}
.deliverable-card > span:last-child { font-size: 15px; color: var(--ink); max-width: 38ch; }

.scope-boundaries {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.scope-boundaries > div:first-child {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; }
.plain-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-2);
}
.plain-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("assets/i-plus-muted.svg") center / contain no-repeat;
}
.ownership-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-content: center;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--light);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ownership-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  background: url("assets/globe-light.svg") center / contain no-repeat;
  z-index: -1;
}
.ownership-icon {
  width: 60px;
  height: 60px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-circleCheck-acc.svg") center / contain no-repeat;
}
.ownership-card h3 { font-size: 26px; font-weight: 450; letter-spacing: -0.03em; margin-bottom: 10px; }
.ownership-card p { color: var(--light-muted); font-size: 15.5px; max-width: 46ch; }

/* ---------- 8. Квалификация ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fit-card {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-l);
}
.fit-card--yes { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fit-card--no { border: 1.5px dashed var(--line-strong); }
.fit-label {
  display: block;
  margin-bottom: 20px;
  font-family: var(--hand);
  font-size: 34px;
  line-height: 1;
  transform: rotate(-2deg);
  transform-origin: left;
}
.fit-card--yes .fit-label { color: var(--accent-ink); }
.fit-card--no .fit-label { color: var(--muted); }
.fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.fit-card li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.45;
}
.fit-card li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: center / contain no-repeat;
}
.fit-card--yes li::before { background-image: var(--i-check); }
.fit-card--no li::before { background-image: url("assets/i-cross-muted.svg"); }
.fit-card--no li { color: var(--ink-2); }
.center-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.center-cta p { font-size: 18px; max-width: 58ch; color: var(--ink-2); }

/* ---------- 9. Кейсы и отзывы ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--paper-2) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.case-cover span {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
}
.case-cover--beauty { background-image: url("assets/cover-beauty.svg"); }
.case-cover--estate { background-image: url("assets/cover-estate.svg"); }
.case-cover--auto { background-image: url("assets/cover-auto.svg"); }
.case-body { padding: 24px 28px 28px; display: grid; gap: 10px; align-content: start; }
.case-body .placeholder-label { margin-bottom: 0; font-size: 20px; }
.case-body h3 { font-size: 26px; font-weight: 450; letter-spacing: -0.03em; }
.case-body dl { margin: 10px 0 0; display: grid; }
.case-body dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.case-body dt { font-size: 13px; color: var(--muted); }
.case-body dd { font-size: 14px; color: var(--faint); font-weight: 500; }

.review-placeholder {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
}
.review-placeholder > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.review-placeholder h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 450; letter-spacing: -0.03em; }
.review-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-slots article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong);
}
.photo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 0;
  color: transparent;
  background: url("assets/portrait.svg") center 30% / 180% no-repeat;
  border: 1px solid var(--line);
}
.review-slots p { font-size: 15px; font-weight: 500; }
.review-slots small { font-size: 13.5px; color: var(--muted); }
.case-caveat--center { margin: 48px 0 0; font-size: 14px; }

/* ---------- 10. Команда ---------- */
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  position: relative;
  isolation: isolate;
}
.team-layout::before {
  /* каркасная сфера — из референса Boost Capital */
  content: "";
  position: absolute;
  left: -14%;
  top: -18%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  background: url("assets/globe-ink.svg") center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
}
.team-copy h2 { max-width: 16ch; }
.team-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 50ch; }
.lead-person {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.lead-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  font-size: 0;
  color: transparent;
  background: url("assets/portrait.svg") center / cover no-repeat;
}
.lead-person span { font-size: 13px; color: var(--muted); }
.lead-person h3 { font-size: 26px; font-weight: 450; letter-spacing: -0.03em; margin: 2px 0 6px; }
.lead-person p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.team-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.team-facts span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
}
.role-list { display: grid; border-bottom: 1px solid var(--line); }
.role-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: transform 0.5s var(--ease);
}
.role-list article:hover { transform: translateX(8px); }
.role-list article > span { font-family: var(--hand); font-size: 28px; line-height: 1; color: var(--brand); }
.role-list h3 { font-size: 24px; font-weight: 450; letter-spacing: -0.03em; margin-bottom: 8px; }
.role-list p { color: var(--muted); font-size: 15.5px; }
.role-list small {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--hand);
  font-size: 20px;
  line-height: 1.1;
  color: var(--accent-ink);
}

/* ---------- 11. Процесс: строки-этапы ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.timeline li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.timeline li:hover { border-color: var(--brand); transform: translateX(6px); }
.timeline-day {
  font-family: var(--hand);
  font-size: 28px;
  line-height: 1;
  color: var(--accent-ink);
  white-space: nowrap;
}
.timeline li > div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
}
.timeline h3 { font-size: 22px; font-weight: 450; letter-spacing: -0.03em; }
.timeline p { color: var(--muted); font-size: 15.5px; }
.timeline-month { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--light); }
.timeline-month .timeline-day { color: var(--brand); }
.timeline-month > div p { color: var(--light-muted); }
.client-needs {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 40px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.client-needs h3 { font-size: 26px; font-weight: 450; letter-spacing: -0.03em; }
.client-needs > div { display: flex; flex-wrap: wrap; gap: 10px; }
.client-needs span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 15px;
}
.client-needs span::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("assets/i-plus-acc.svg") center / contain no-repeat;
}

/* ---------- 12. Стоимость ---------- */
.pricing-section {
  background: var(--navy);
  color: var(--light);
  overflow: hidden;
  isolation: isolate;
}
.pricing-section::before {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -30%;
  width: min(1300px, 110vw);
  aspect-ratio: 4 / 3;
  background: url("assets/dots-wave.svg") center / contain no-repeat;
  opacity: 0.4;
  z-index: -1;
  transform: rotate(180deg);
}
.pricing-section h2 { color: var(--light); }
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--ink);
}
.price-card-head { display: grid; gap: 10px; }
.price-card-head > span { font-size: 14px; color: var(--muted); }
.price-card-head > strong {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: var(--ink) !important;
}
.price-card-head p { color: var(--ink-2); font-size: 16px; }
.price-card-head em { font-family: var(--hand); font-style: normal; font-size: 1.4em; color: var(--accent-ink); padding: 0 2px; }
.price-lines { display: grid; border-top: 1px solid var(--line); }
.price-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.price-lines span { font-size: 15.5px; color: var(--ink-2); }
.price-lines strong {
  flex: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}
.price-lines .price-total { border-bottom: 0; padding-top: 20px; }
.price-total span, .price-total strong { font-size: 20px; color: var(--accent-ink) !important; font-weight: 550; }
.price-card > .button { min-height: 60px; font-size: 16px; }
.price-card > small { font-size: 13.5px; color: var(--muted); text-align: center; }
.pricing-options { display: grid; gap: 0; }
.pricing-options > .eyebrow { margin-bottom: 8px; }
.pricing-options > article {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--light-line);
}
.pricing-options article span { font-size: 15px; color: var(--light-muted); }
.pricing-options article strong { font-size: 28px; font-weight: 450; letter-spacing: -0.035em; }
.pricing-options article small { font-size: 13px; color: var(--light-muted); opacity: 0.85; }
.channel-tip {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  background: rgba(247, 244, 238, 0.04);
  position: relative;
}
.channel-tip strong { display: block; font-family: var(--hand); font-size: 26px; font-weight: 600; color: var(--brand) !important; margin-bottom: 8px; }
.channel-tip p { font-size: 15px; color: #d6d1c7; }

/* ---------- 13. Риски ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.risk-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 0 24px 8px;
  border-left: 1px solid var(--line);
}
.risk-grid article:first-child { padding-left: 0; border-left: 0; }
.risk-grid article::before {
  content: "";
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: url("assets/i-key-ink.svg") left center / contain no-repeat;
}
.risk-grid article:nth-child(2)::before { background-image: url("assets/i-wallet-ink.svg"); }
.risk-grid article:nth-child(3)::before { background-image: url("assets/i-doc-ink.svg"); }
.risk-grid article:nth-child(4)::before { background-image: url("assets/i-gauge-acc.svg"); }
.risk-grid article:nth-child(5)::before { background-image: url("assets/i-box-ink.svg"); }
.risk-grid article > span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.risk-grid h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.risk-grid p { font-size: 15px; color: var(--muted); }
.guarantee-box {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.guarantee-box > div span {
  display: block;
  width: 48px;
  height: 48px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-info-ink.svg") center / contain no-repeat;
}
.guarantee-box p { font-size: 16px; color: var(--ink-2); max-width: 90ch; }
.guarantee-box p strong { color: var(--ink); }

/* ---------- 14. FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h2 { margin-bottom: 20px; }
.faq-intro p:not(.eyebrow) { color: var(--muted); font-size: 16px; max-width: 40ch; margin-bottom: 32px; }
.faq-list { display: grid; gap: 8px; }
.faq-list details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-list details:hover { border-color: var(--line-strong); }
.faq-list details[open] { border-color: var(--line); background: #fff; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  background: url("assets/i-plus-acc.svg") center / contain no-repeat;
  transition: transform 0.5s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; max-width: 64ch; }

/* ---------- 15. Финальный CTA и форма ---------- */
.final-cta {
  background: var(--navy);
  color: var(--light);
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -10%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  background: url("assets/globe-light.svg") center / contain no-repeat;
  z-index: -1;
  opacity: 0.8;
}
.final-cta::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -20%;
  width: min(1100px, 100vw);
  aspect-ratio: 4 / 3;
  background: url("assets/dots-wave.svg") center / contain no-repeat;
  opacity: 0.35;
  z-index: -1;
}
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.final-copy h2 { color: var(--light); max-width: 15ch; }
.final-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--light-muted); font-size: 18px; max-width: 48ch; }
.next-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; }
.next-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--light-line);
}
.next-steps li > span {
  font-family: var(--hand);
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
}
.next-steps p { display: grid; gap: 2px; }
.next-steps strong { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.next-steps small { font-size: 14.5px; color: var(--light-muted); }
.contact-alternative {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  display: grid;
  gap: 4px;
  position: relative;
}
.contact-alternative > span { font-family: var(--hand); font-size: 24px; color: var(--brand); line-height: 1.1; }
.contact-alternative p { font-size: 16px; color: #d6d1c7; }
.contact-alternative a { color: var(--light); text-underline-offset: 4px; text-decoration-color: var(--light-muted); }
.contact-alternative a:hover { text-decoration-color: var(--brand); }
.contact-alternative small { font-size: 12.5px; color: var(--light-muted); }

.brief-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.form-progress i { flex: 1; height: 1px; background: var(--line-strong); }
.progress-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.progress-step:disabled { cursor: default; opacity: 0.7; }
.progress-step span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.progress-step.is-active { color: var(--ink); }
.progress-step.is-active span { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.form-step { display: grid; gap: 18px; }
.field-row { display: grid; gap: 7px; }
.field-row label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field-row label > span[aria-hidden] { color: var(--accent-ink); }
.field-row label > span:not([aria-hidden]) { color: var(--muted); font-weight: 400; margin-left: 4px; }
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field-row select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background: var(--card) url("assets/i-chevron-ink.svg") right 14px center / 20px no-repeat;
  cursor: pointer;
}
.field-row textarea { resize: vertical; min-height: 96px; }
.field-row input::placeholder,
.field-row textarea::placeholder { color: #8a8479; }
.field-row input:hover,
.field-row select:hover,
.field-row textarea:hover { border-color: var(--ink-2); }
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.field-row.is-invalid input,
.field-row.is-invalid select,
.field-row.is-invalid textarea { border-color: var(--accent-ink); background-color: #fff6f2; }
.field-error { font-size: 13px; color: var(--accent-ink); font-weight: 500; }
.field-error:empty { display: none; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand-dark); flex: none; }
.consent-row a { color: var(--ink); text-underline-offset: 3px; }
.consent-row.is-invalid { color: var(--accent-ink); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 4px; }
.form-microcopy { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 12px; }
.success-icon {
  width: 80px;
  height: 80px;
  font-size: 0;
  color: transparent;
  background: url("assets/i-circleCheck-acc.svg") center / contain no-repeat;
}
.form-success h3 { font-size: 30px; font-weight: 450; letter-spacing: -0.035em; }
.form-success p { color: var(--muted); font-size: 15px; max-width: 42ch; }

/* ---------- Подвал ---------- */
.site-footer { padding: 88px 0 32px; position: relative; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid .brand--footer { font-size: 26px; font-weight: 550; }
.brand--footer .brand-mark { width: 34px; height: 34px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-grid > div:first-child p { margin-top: 12px; font-size: 22px; line-height: 1.25; letter-spacing: -0.025em; max-width: 22ch; }
.footer-grid strong { font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.footer-grid a, .footer-grid span, .footer-grid small { font-size: 15px; width: fit-content; }
.footer-grid a { text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
.footer-grid a:hover { text-decoration-color: var(--brand); color: var(--accent-ink); }
.footer-grid small { font-size: 13px; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 13px;
  color: var(--muted);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 480px;
  height: 480px;
  background: url("assets/globe-ink.svg") center / contain no-repeat;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.mobile-cta { display: none; }
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 460px;
  padding: 14px 14px 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--light);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.cookie-banner p { font-size: 14px; line-height: 1.4; }
.cookie-banner a { color: var(--light); text-underline-offset: 3px; }
.cookie-banner .button { --btn-bg: var(--light); --btn-fg: var(--ink); flex: none; }
.cookie-banner .button:hover { --btn-bg: var(--brand-dark); --btn-fg: #fff; }

/* ---------- Авторский момент движения: лассо вокруг «за 10 дней» рисуется ---------- */
@media (prefers-reduced-motion: no-preference) {
  .scribble::after { animation: draw-lasso 1.4s 0.5s var(--ease) both; }
  .hero-glow--two { animation: burst 1s 1.2s var(--ease) both; }
  @keyframes draw-lasso {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
  }
  @keyframes burst {
    from { opacity: 0; transform: scale(0.4) rotate(-30deg); }
    to { opacity: 1; transform: none; }
  }
}

/* ========================= Адаптив ========================= */
@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .trust-grid article:nth-child(4) { padding-left: 0; border-left: 0; }
  .system-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .risk-grid article:nth-child(4) { padding-left: 0; border-left: 0; }
  .review-placeholder { grid-template-columns: 1fr; }
  .review-placeholder > div:first-child { position: static; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 30px;
    letter-spacing: -0.035em;
    text-decoration: none;
    color: var(--ink);
  }
  .site-header:has(.main-nav.is-open) { background: var(--paper); border-bottom-color: var(--line); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .hero-grid,
  .calculator-shell,
  .draft-case,
  .team-layout,
  .pricing-layout,
  .faq-layout,
  .final-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-glow--two { left: auto; right: 6%; }
  .section-heading--split,
  .section-heading--center { grid-template-columns: 1fr; }
  .section-heading--center > p:last-child { grid-column: 1; }
  .trust-heading { grid-template-columns: 1fr; }
  .problem-card { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .problem-card h3 { grid-column: 2; }
  .problem-card::after { grid-column: 3; width: 40px; height: 40px; }
  .problem-card p { grid-column: 2 / -1; padding-top: 0; }
  .deliverables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-boundaries, .fit-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .faq-intro { position: static; }
  .client-needs { grid-template-columns: 1fr; }
  .timeline li > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .brand { font-size: 17px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-lead { font-size: 17px; margin-top: 24px; }
  .hero-points { grid-template-columns: 1fr; margin-top: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { white-space: normal; text-align: center; padding: 14px 24px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-glow--one { right: -60%; width: 180vw; top: 20px; opacity: 0.6; }
  .hero-glow--two { display: none; }
  .dashboard-card { padding: 20px; }
  .funnel { grid-template-columns: 1fr; }
  .funnel-arrow { transform: rotate(90deg); height: 20px; }
  .floating-note--top::after { display: none; }
  .floating-note strong { font-size: 24px; }
  .floating-note span { font-size: 18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid article,
  .trust-grid article:nth-child(4) { padding: 0 16px; border-left: 1px solid var(--line); }
  .trust-grid article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .section-heading { margin-bottom: 40px; padding-bottom: 28px; }
  .problem-card { grid-template-columns: minmax(0, 1fr) 40px; gap: 12px 16px; padding: 24px 0; }
  .card-number { grid-column: 1; padding: 0; }
  .problem-card h3 { grid-column: 1; }
  .problem-card::after { grid-column: 2; grid-row: 1 / 3; }
  .problem-card p { grid-column: 1 / -1; }
  .insight-callout, .feedback-loop { grid-template-columns: 1fr; padding: 24px; }
  .insight-callout .text-link { justify-self: start; }
  .calculator-form { grid-template-columns: 1fr; gap: 28px; }
  .result-grid article:nth-child(even) { padding-left: 14px; }
  .draft-metrics div:nth-child(even) { padding-left: 16px; }
  .system-steps { grid-template-columns: 1fr; }
  .system-steps li { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; }
  .deliverables-grid, .case-grid, .review-slots { grid-template-columns: 1fr; }
  .center-cta { flex-direction: column; align-items: stretch; }
  .button { white-space: normal; text-align: center; }
  .lead-person { grid-template-columns: 88px minmax(0, 1fr); padding: 14px; gap: 16px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .price-lines > div { flex-direction: column; gap: 4px; }
  .risk-grid { grid-template-columns: 1fr; row-gap: 0; }
  .risk-grid article, .risk-grid article:nth-child(4) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
  }
  .risk-grid article::before { grid-row: 1 / 4; margin: 0; width: 40px; height: 40px; }
  .guarantee-box { grid-template-columns: 1fr; padding: 24px; }
  .faq-list summary { padding: 18px 20px; font-size: 16.5px; }
  .faq-list details p { padding: 0 20px 20px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; margin-bottom: 76px; }
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    min-height: 54px;
    border-radius: 999px;
    background: var(--brand-dark);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.5);
  }
  .mobile-cta::after { content: ""; width: 14px; height: 14px; background: url("assets/i-plus-light.svg") center / contain no-repeat; }
  .cookie-banner { left: 12px; right: 12px; bottom: 76px; border-radius: var(--radius); max-width: none; }
}

@media (max-width: 420px) {
  .trust-grid strong { font-size: 40px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid article:nth-child(n) { padding: 14px 0; border-left: 0; }
  .draft-metrics { grid-template-columns: 1fr; }
  .draft-metrics div:nth-child(n) { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .mobile-cta, .cookie-banner, .hero-glow { display: none !important; }
  .section--dark, .pricing-section, .final-cta { background: #fff; color: #000; }
}
.footer-grid .brand--footer span:last-child { font-size: 26px; width: auto; }

/* ==========================================================================
   v2 — визуал первого экрана: нарисованные от руки схемы вместо карточки
   ========================================================================== */
.hero-visual { padding: 0; align-self: center; }
.hero-art { margin: 0; }
.hero-art-svg { display: block; width: 100%; height: auto; overflow: visible; }
.art-hand { font-family: var(--hand); }
.art-sans { font-family: var(--font); letter-spacing: -0.03em; }
.hero-glow--one { opacity: 0.35; }


.pulse { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: art-draw 1.4s var(--d, 0s) var(--ease) forwards;
  }
  .hero-art .cloud { animation: art-fade 1.2s var(--ease) both; }
  .hero-art .page { animation: art-rise 1s 0.5s var(--ease) both; }
  .pulse { animation: art-pulse 2.6s 1.8s ease-in-out infinite; }
  @keyframes art-draw { to { stroke-dashoffset: 0; } }
  @keyframes art-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes art-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes art-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
}

@media (max-width: 980px) {
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* v2: композиция первого экрана под крупную иллюстрацию */
.hero-glow--one, .hero-glow--two { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; }
.hero-copy h1 { font-size: clamp(44px, 5.4vw, 82px); }
.hero-visual { margin-right: -3%; }
.hero-art text {
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 6px;
  stroke-linejoin: round;
}
.hero-grid { align-items: start; }
.hero-visual { align-self: start; margin-top: clamp(0px, 2vw, 32px); }
@media (max-width: 980px) { .hero-visual { margin-top: 8px; } }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { margin-right: 0; } }

/* v2.1 — первый экран помещается в экран ноутбука (MacBook 14″ ≈ 1512×860 в браузере) */
.hero { padding-top: calc(var(--header-h) + clamp(20px, 3.2vh, 40px)); padding-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 981px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 4vw, 72px); } }
.hero .eyebrow { margin-bottom: clamp(12px, 2vh, 20px); }
.hero-copy h1 {
  font-size: clamp(40px, min(4.6vw, 7.4vh), 76px);
  line-height: 0.98;
  max-width: 15ch;
}
.hero-lead { margin-top: clamp(16px, 2.6vh, 28px); font-size: clamp(16px, 1.15vw, 18px); max-width: 56ch; }
.hero-points { margin-top: clamp(16px, 2.8vh, 32px); }
.hero-points li { padding: clamp(8px, 1.2vh, 12px) 0; font-size: 15px; }
.hero-actions { margin-top: clamp(20px, 3vh, 32px); }
.microcopy { margin-top: 12px; }
.hero-visual { margin-top: 0; }
.hero-art-svg { max-height: calc(100vh - var(--header-h) - 48px); }
@media (max-width: 980px) { .hero-art-svg { max-height: none; } }
@media (max-width: 680px) { .hero-copy h1 { font-size: clamp(36px, 10.4vw, 48px); } }
.scribble::after { inset: -16% -7% -20% -4%; }

/* ==========================================================================
   v3 — анимации и иллюстрации (работают вместе с motion.js)
   Всё под классом .motion: без JS или при «уменьшить движение» страница статична.
   ========================================================================== */

/* ---------- Иконки, нарисованные от руки (inline SVG) ---------- */
.hand-icon { color: var(--ink); display: block; }
.hand-icon.is-acc { color: var(--brand); }
.hand-icon.is-muted { color: var(--faint); }
.hand-icon svg { width: 100%; height: 100%; display: block; overflow: visible; }
.has-hand.hand-icon, .hand-icon.has-hand { background-image: none !important; font-size: 0; }
.hand-icon--problem { grid-column: 4; grid-row: 1; justify-self: end; width: 48px; height: 48px; transition: transform 0.6s var(--ease); }
.problem-card.has-hand::after { display: none; }
.problem-card:hover .hand-icon--problem { transform: rotate(-8deg) scale(1.08); }
.risk-grid article.has-hand::before { display: none; }
.hand-icon--risk { width: 48px; height: 48px; margin-bottom: 18px; }
.fit-card li.has-hand::before { display: none; }
.hand-bullet { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.hand-icon--done { width: 30px; height: 30px; justify-self: end; }
.deliverable-icon.hand-icon { width: 52px; }

.motion .hand-icon path[pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease) calc(var(--pi, 0) * 90ms + 120ms);
}
.motion .hand-icon .hf, .motion .hand-icon path:not([pathLength]) { opacity: 0; transition: opacity 0.5s ease 0.5s; }
.motion .hand-icon.is-drawn path[pathLength] { stroke-dashoffset: 0; }
.motion .hand-icon.is-drawn .hf, .motion .hand-icon.is-drawn path:not([pathLength]) { opacity: 1; }

@media (max-width: 980px) {
  .hand-icon--problem { grid-column: 3; width: 40px; height: 40px; }
}
@media (max-width: 680px) {
  .hand-icon--problem { grid-column: 2; grid-row: 1 / 3; }
  .risk-grid article.has-hand { grid-template-columns: 48px minmax(0, 1fr); }
  .hand-icon--risk { grid-row: 1 / 4; margin: 0; width: 40px; height: 40px; }
}

/* ---------- Интро первого экрана ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0 0.1em; margin: -0.06em 0 -0.1em; }
.wi { display: inline-block; }
.motion .split .wi { transform: translateY(110%) rotate(3deg); transform-origin: left bottom; transition: transform 1.1s var(--ease) calc(var(--wi, 0) * 42ms); }
.motion.is-loaded .hero .split .wi,
.motion .split.is-in .wi { transform: none; }
.motion .hero .split .wi { transition-delay: calc(0.12s + var(--wi, 0) * 55ms); }
.motion .scribble::after { animation-delay: 1.15s !important; }
.motion .intro { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.motion.is-loaded .intro { opacity: 1; transform: none; }
.motion .hero-art { opacity: 0; transition: opacity 1s ease 0.2s; }
.motion.is-loaded .hero-art { opacity: 1; }

/* ---------- Живая иллюстрация «Поток» ---------- */
.hero-art { position: relative; transform-style: preserve-3d; will-change: transform; }
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art.is-live .cloud, .hero-art.is-live .particles { visibility: hidden; }

/* ---------- Появление при прокрутке ---------- */
.motion .rv { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--ri, 0) * 70ms); }
.motion .rv.is-in { opacity: 1; transform: none; }
.motion .section-heading, .motion .trust-heading { position: relative; border-color: transparent; }
.motion .section-heading::after, .motion .trust-heading::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.2s;
}
.motion .section-heading::after { bottom: -1px; }
.motion .trust-heading::after { top: -1px; }
.motion .section-heading--light::after { background: var(--light-line); }
.motion .section-heading.is-in::after, .motion .trust-heading.is-in::after { transform: scaleX(1); }

/* рукописное подчёркивание акцентов */
.accent.has-uline { position: relative; }
.uline { position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.2em; color: var(--brand); pointer-events: none; }
.uline svg { width: 100%; height: 100%; display: block; overflow: visible; }
.accent.is-multiline .uline { display: none; }
.motion .uline path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) 0.9s; }
.motion .is-in .uline path, .motion .split.is-in .uline path { stroke-dashoffset: 0; }
.uline path { stroke-width: 3px; }

/* ---------- Счётчики и калькулятор ---------- */
.trust-grid strong, .price-card-head > strong, .result-grid strong { font-variant-numeric: tabular-nums; }
.result-grid strong.bump { animation: bump 0.65s var(--ease); }
@keyframes bump { 0% { transform: translateY(0); } 30% { transform: translateY(-4px); color: var(--brand); } 100% { transform: none; } }
.result-grid strong { display: inline-block; }

/* ---------- Пиксельный туман ---------- */
.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; image-rendering: auto; }
.section--dark.has-pixels::before, .calculator-result.has-pixels::before, .pricing-section.has-pixels::before { display: none; }
.pricing-section, .section--dark { position: relative; }

/* ---------- 3D-сферы ---------- */
.globe-canvas { position: absolute; pointer-events: none; z-index: -1; aspect-ratio: 1; }
.team-layout.has-globe::before, .final-cta.has-globe::before, .ownership-card.has-globe::after { display: none; }
.team-layout > .globe-canvas { left: -12%; top: -16%; width: min(640px, 72vw); }
.final-cta > .globe-canvas { right: -6%; top: -8%; width: min(760px, 86vw); }
.ownership-card > .globe-canvas { right: -80px; bottom: -110px; width: 300px; }
@media (max-width: 980px) {
  .team-layout > .globe-canvas { left: auto; right: -30%; top: -8%; width: 90vw; opacity: 0.7; }
  .final-cta > .globe-canvas { right: -30%; top: -4%; width: 110vw; opacity: 0.6; }
}

/* ---------- Путь через этапы «Механизма» ---------- */
.system-steps { position: relative; }
.system-steps > li { position: relative; z-index: 1; transition: border-color 0.5s var(--ease); }
.steps-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.steps-path path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sp-base { stroke: transparent; }
.sp-line { stroke: var(--brand); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sp-line--2 { stroke-width: 1; opacity: 0.5; transform: translate(0.8px, 1.6px); }
.sp-head { fill: var(--brand); filter: drop-shadow(0 0 10px rgba(255, 74, 28, 0.9)); transition: opacity 0.3s; }
.system-steps > li > span { display: inline-block; transition: transform 0.6s var(--ease), color 0.4s; transform-origin: left center; }
.motion .system-steps > li { border-top-color: var(--light-line); }
.motion .system-steps > li:not(.is-lit) > span { color: var(--light-muted); }
.motion .system-steps > li.is-lit > span { transform: scale(1.3) rotate(-4deg); color: var(--brand); }
.motion .system-steps > li:not(.is-lit) h3 { color: var(--light-muted); transition: color 0.5s; }
.motion .system-steps > li.is-lit h3 { color: var(--light); transition: color 0.5s; }

/* ---------- Процесс: галочки по мере прокрутки ---------- */
.motion .timeline li { grid-template-columns: 160px minmax(0, 1fr) 34px; }
.motion .timeline li:not(.timeline-month) { transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease); }
.motion .timeline li.is-done:not(.timeline-month) { border-color: rgba(255, 74, 28, 0.35); background: #fff; }
.timeline-month .hand-icon--done { color: var(--brand); }
@media (max-width: 680px) {
  .motion .timeline li { grid-template-columns: minmax(0, 1fr) 30px; }
  .motion .timeline li > div { grid-column: 1; }
  .motion .timeline li .timeline-day { grid-column: 1; }
  .motion .timeline li .hand-icon--done { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

/* ---------- Иллюстрация «Разорванная цепочка» ---------- */
.illo { margin: 0; }
.illo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.illo--broken { margin: -8px 0 40px; max-width: 1100px; }
.illo--broken text { paint-order: stroke; stroke: var(--paper-2); stroke-width: 6px; stroke-linejoin: round; }
.bc-leak circle { opacity: 0; }
.motion .illo--broken .bc-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) 0.4s; }
.motion .illo--broken.is-in .bc-lines path { stroke-dashoffset: 0; }
.motion .illo--broken .bc-node { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 0.6s var(--ease), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i) * 0.18s + 0.1s); }
.motion .illo--broken.is-in .bc-node { opacity: 1; transform: none; }
.motion .illo--broken.is-in .bc-leak circle { animation: leak 2.4s cubic-bezier(0.55, 0, 1, 0.45) infinite; animation-delay: calc(var(--i) * 0.37s + 1.4s); }
.illo--broken:not(.rv) .bc-leak circle, html:not(.motion) .bc-leak circle { opacity: 0.8; }
@keyframes leak {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(70px); }
}
.bc-node { cursor: default; }
@media (max-width: 680px) { .illo--broken { margin: 0 -8px 28px; } }

/* ---------- Иллюстрация «Разбивка стоимости» ---------- */
.illo--price { margin: 4px 0 -4px; }
.illo--price text { paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.motion .illo--price .pb-seg { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 0.25s + 0.3s); }
.motion .illo--price.is-in .pb-seg { transform: none; }

/* ---------- Магнитные кнопки ---------- */
.magnetic { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 0.5s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.case-card { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); will-change: transform; }
.case-cover { transition: background-position 0.6s var(--ease); }

/* ---------- FAQ ---------- */
.faq-list details p { overflow: hidden; }
.faq-list details.is-closing summary::after { transform: rotate(0deg); }

/* ---------- Прогресс чтения и шапка ---------- */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; z-index: 80; pointer-events: none; }
.motion .site-header { transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand-mark.hand-icon { transition: none; }

/* ---------- Форма: отправка на сервер ---------- */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: #fff1ec;
  color: var(--accent-ink);
  font-size: 14px;
  line-height: 1.45;
}
.button:disabled { opacity: 0.7; cursor: progress; }
