/* Поехали — v3 «Одна кнопка».
   Тихо, точно, взросло. Чёрный, белый, свет и один поток. Крупный гротеск, много воздуха,
   моноширинный — только для данных: время звонка, критерии, цена лида. Движение медленное и ровное. */
:root {
  color-scheme: dark;
  --bg: #06080c;
  --bg-2: #0b0f15;          /* поверхности */
  --bg-3: #111620;          /* поверхности поверх поверхностей */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #eef2f8;
  --text-2: #9aa5b4;        /* второстепенный */
  --text-3: #66717f;        /* подписи */
  --muted-h: #78838f;       /* приглушённая строка заголовка */
  --ice: #9ad8f5;           /* поток и звонок */
  --ice-glow: rgba(154, 216, 245, 0.45);
  --lilac: #b9a6f2;         /* переписка */
  --ok: #9fe3c0;            /* критерий выполнен */
  --warn: #f0b79a;          /* не прошёл */

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.2rem + 5.6vw, 6.4rem);

  --radius: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.eyebrow {
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em;
  color: var(--text-3);
}
.h2 {
  font-size: var(--step-3); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06;
  max-width: 22ch;
}
.h2 .dim { color: var(--muted-h); }
.lead { font-size: var(--step-1); color: var(--text-2); max-width: 60ch; }
.muted { color: var(--text-2); }
.fineprint { font-size: 0.78rem; color: var(--text-3); }
.tbd {
  font-family: var(--mono); font-size: 0.9em; color: var(--ice);
  border-bottom: 1px dashed currentColor; white-space: nowrap;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: #eef3fa; color: #06090d;
  font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 40px -8px rgba(180, 214, 255, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.btn:hover { background: #fff; box-shadow: 0 0 56px -4px rgba(190, 220, 255, 0.7); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 60px; padding: 16px 34px; font-size: 1.1rem; }
.btn-ghost {
  background: transparent; color: #c9d3e0; border-color: var(--line-2); box-shadow: none; font-weight: 500;
}
.btn-ghost:hover { background: rgba(146, 196, 255, 0.06); border-color: rgba(190, 220, 255, 0.5); color: #fff; box-shadow: none; }
/* «кнопка» в кнопке: кольцо и точка — знак марки */
.knob {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid currentColor; position: relative;
}
.knob::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor;
  animation: knob 3.2s ease-in-out infinite;
}
@keyframes knob { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.play-ico {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex-shrink: 0;
}
.play-ico::after {
  content: ""; position: absolute; left: 6px; top: 4.5px;
  border-left: 6px solid currentColor; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 8, 12, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--text); position: relative; flex-shrink: 0;
  box-shadow: 0 0 18px -2px var(--ice-glow);
}
.logo-mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 10px 1px var(--ice-glow);
}
.logo-text { display: grid; line-height: 1.05; }
.logo-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.03em; }
.logo-desc { font-size: 0.7rem; color: var(--text-3); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: var(--radius); text-decoration: none;
  color: var(--text-2); font-size: 0.93rem; font-weight: 500;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.header-cta { margin-left: 10px; min-height: 42px; padding: 9px 18px; font-size: 0.93rem; box-shadow: none; }
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 1.1rem;
}

/* ---------- первый экран ---------- */
.hero {
  position: relative; text-align: center;
  padding: clamp(56px, 11vh, 140px) 0 clamp(40px, 6vh, 72px);
  display: grid; justify-items: center;
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  width: min(1100px, 100vw); height: clamp(240px, 34vw, 440px); pointer-events: none;
  background: radial-gradient(closest-side, rgba(146, 196, 255, 0.16), rgba(146, 196, 255, 0.05) 55%, transparent 78%);
  filter: blur(18px);
}
.hero > * { position: relative; }
.hero .eyebrow { margin-bottom: clamp(18px, 3vh, 30px); }
.hero h1 {
  font-size: var(--step-4); font-weight: 700; letter-spacing: -0.048em; line-height: 0.95;
  max-width: 15ch;
}
.hero h1 span { display: block; }
.hero h1 .dim { color: var(--muted-h); }
.hero h1 .lit { color: #f6f9ff; text-shadow: 0 0 44px rgba(160, 205, 255, 0.38); }
.hero-sub {
  margin-top: clamp(20px, 3.2vh, 34px); max-width: 60ch;
  font-size: var(--step-1); line-height: 1.56; color: var(--text-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(26px, 4vh, 40px); }
.hero-note { margin-top: 14px; max-width: 52ch; font-size: var(--step--1); color: var(--text-3); }
.trust {
  margin-top: clamp(28px, 5vh, 52px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  font-family: var(--mono); font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.02em;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 5px; height: 5px; background: var(--ice); transform: rotate(45deg); opacity: 0.7; }

/* ---------- схема потока ---------- */
.flow-section { padding-top: clamp(24px, 4vw, 48px); }
.flow-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: clamp(20px, 2.6vw, 32px); margin-bottom: clamp(28px, 4vw, 52px);
}
.flow-head .eyebrow { line-height: 1.7; }

.flow {
  --flow-dir: h;
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(70px, 1fr) minmax(200px, 250px) minmax(36px, 0.55fr) minmax(270px, 330px);
  grid-template-areas: "src hub mods gap2 out";
  align-items: center;
  min-height: 460px;
}
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flow > :not(svg) { position: relative; z-index: 1; }
.flow-col-title {
  position: absolute; top: -30px; left: 0;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-3); white-space: nowrap;
}

.flow-src-col { grid-area: src; position: relative; }
.flow-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.flow-src li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 10px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 0.84rem; color: var(--text-2); white-space: nowrap;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.flow-src li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex-shrink: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.flow-src li.is-hot { color: var(--text); border-color: rgba(154, 216, 245, 0.45); box-shadow: 0 0 24px -8px var(--ice-glow); }
.flow-src li.is-hot::before { background: var(--ice); box-shadow: 0 0 10px 2px var(--ice-glow); }
.flow-src li.yours { border-style: dashed; }
.flow-src .soon { margin-left: auto; font-family: var(--mono); font-size: 0.62rem; color: var(--text-3); }

.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(--text-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: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--bg-2);
  padding: 14px 16px 15px; display: grid; gap: 10px;
  transition: border-color 0.5s ease, box-shadow 0.5s 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(--text-3); letter-spacing: 0.04em; }
.module p { font-size: 0.8rem; line-height: 1.45; color: var(--text-2); }
.module .verdict { font-family: var(--mono); font-size: 0.7rem; min-height: 1.4em; color: var(--text-3); transition: color 0.3s ease; }
.module.is-active { border-color: rgba(154, 216, 245, 0.55); box-shadow: 0 0 40px -12px var(--ice-glow); }
.module[data-flow-module="chat"].is-active { border-color: rgba(185, 166, 242, 0.55); box-shadow: 0 0 40px -12px rgba(185, 166, 242, 0.45); }
.module.is-reject { border-color: rgba(240, 183, 154, 0.45); }
.module.is-reject .verdict { color: var(--warn); }
/* звонок: эквалайзер */
.eq { display: flex; align-items: center; gap: 3px; height: 26px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--ice); opacity: 0.5; transform: scaleY(0.15); transform-origin: center; }
.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: 26px; align-content: center; }
.typing i { display: block; height: 4px; border-radius: 2px; background: var(--lilac); opacity: 0.35; }
.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.3; } 50% { opacity: 0.9; } }

.flow-out { grid-area: out; position: relative; }

/* линии */
.flow-line { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1.2; transition: stroke 0.5s ease; }
.flow-line--beam { stroke: rgba(200, 230, 255, 0.55); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(154, 216, 245, 0.8)); }
.flow-line.is-hot { stroke: rgba(154, 216, 245, 0.4); }
.flow-dash {
  fill: none; stroke: var(--ice); stroke-width: 1.6; stroke-linecap: round; opacity: 0.45;
  stroke-dasharray: 1.5 30; animation: flowdash 2.2s linear infinite;
}
.flow-dash.flow-line--chat { stroke: var(--lilac); }
.flow-dash.flow-line--beam { opacity: 0.9; stroke-dasharray: 2 14; animation-duration: 1.1s; }
@keyframes flowdash { to { stroke-dashoffset: -31.5; } }
.flow-dot { fill: #fff; }
.flow-halo { fill: var(--ice); opacity: 0.28; }
.flow-top.is-chat .flow-halo { fill: var(--lilac); }
.flow-top { transition: opacity 0.25s ease; filter: drop-shadow(0 0 6px rgba(154, 216, 245, 0.9)); }

.flow-log {
  margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); min-height: 4.8em;
}
.flow-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.6s ease, opacity 0.6s ease; }
.flow-log div:first-child { color: var(--text-2); }
.flow-log .ok { color: var(--ok); }
.flow-log .no { color: var(--warn); }
.flow-caption { margin-top: 10px; }

/* ---------- карточка лида ---------- */
.lead-card {
  border: 1px solid var(--line-2); border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--bg-2);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  padding: 16px 18px 16px; display: grid; gap: 13px;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}
.lead-card.is-new { border-color: rgba(154, 216, 245, 0.55); box-shadow: 0 0 60px -20px var(--ice-glow), 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.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.78rem; font-weight: 600; color: var(--text); }
.lc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px 1px rgba(159, 227, 192, 0.6); }
.lc-time { font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); }
.lc-rows { margin: 0; display: grid; gap: 7px; }
.lc-rows div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.lc-rows dt { font-family: var(--mono); font-size: 0.66rem; color: var(--text-3); letter-spacing: 0.02em; }
.lc-rows dd { margin: 0; font-size: 0.86rem; line-height: 1.35; color: var(--text); transition: opacity 0.35s ease; }
.lead-card.is-swapping .lc-rows dd, .lead-card.is-swapping .lc-rec span { opacity: 0; }
.lc-crit { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-crit span {
  font-family: var(--mono); font-size: 0.68rem; padding: 3px 8px 3px 7px; border-radius: 3px;
  border: 1px solid var(--line-2); color: var(--text-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(--ok); border-color: rgba(159, 227, 192, 0.35); background: rgba(159, 227, 192, 0.06); }
.lc-crit span.ok::before { content: "✓ "; }
.lc-rec {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-2);
}
.lc-rec .play-ico { color: var(--ice); width: 22px; height: 22px; }
.lc-rec .play-ico::after { left: 8px; top: 6px; }
.lc-wave { display: flex; gap: 2px; align-items: center; height: 14px; margin-left: auto; }
.lc-wave i { width: 2px; border-radius: 1px; background: var(--text-3); }
.lc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lc-actions span {
  text-align: center; font-size: 0.74rem; font-weight: 600; padding: 7px 4px; border-radius: 4px;
  border: 1px solid var(--line-2); color: var(--text-2);
}
.lc-actions span:first-child { color: var(--text); border-color: rgba(154, 216, 245, 0.4); }
.lc-foot { font-size: 0.7rem; color: var(--text-3); line-height: 1.4; }

/* ---------- модалка «Поехали» ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 7, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: clamp(22px, 4vw, 34px); display: grid; gap: 16px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 80px -40px var(--ice-glow);
}
.modal-card h2 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.035em; }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--text-2); cursor: pointer; font-size: 1rem;
}
.modal-close:hover { color: var(--text); border-color: var(--line-2); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; color: var(--text-2); }
.field input {
  min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2);
  font: inherit; font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(154, 216, 245, 0.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--text-2); }
.check input { margin-top: 3px; accent-color: var(--ice); }
.form-error { font-size: 0.8rem; color: var(--warn); }
.countdown { display: grid; justify-items: center; gap: 12px; padding: 18px 0 6px; text-align: center; }
.countdown-num {
  font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1;
  color: #f6f9ff; text-shadow: 0 0 50px rgba(160, 205, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.countdown-num.go { font-size: clamp(2.6rem, 2rem + 4vw, 4.4rem); }
.countdown p { color: var(--text-2); max-width: 40ch; }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.06em; color: var(--text-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 0.76rem; color: var(--text-3);
}

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px 9px; font-size: 0.88rem; }
}
@media (max-width: 920px) {
  .burger { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 18px;
    background: rgba(6, 8, 12, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .header-cta { margin: 8px 0 0; min-height: 48px; }

  .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; hyphens: auto; overflow-wrap: anywhere; }
  .flow-src .soon { display: none; }
  .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; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .flow-src li { font-size: 0.72rem; padding: 6px 7px; min-height: 40px; }
  .flow-src li::before { display: none; }
  .hero-actions .btn { width: 100%; }
  .lc-rows div { grid-template-columns: 80px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ======================================================================
   Этап 2: блоки главной
   ====================================================================== */
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 760px; align-content: start; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .h2 { max-width: 24ch; }
.center-text { text-align: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .sec-head { margin-bottom: 0; }
.split--rev > :first-child { order: 2; }

/* появление при прокрутке — только если есть JS */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* --- по частям --- */
.pieces { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 8px; }
.piece {
  border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg-2);
  padding: 13px 14px; display: grid; gap: 4px;
  transform: rotate(var(--r)); animation: drift 7s ease-in-out infinite; animation-delay: var(--d);
}
.piece b { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em; }
.piece span { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); }
.piece:nth-child(3n+2) { margin-top: 18px; }
.piece:nth-child(3n) { margin-top: -6px; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.pieces-cap { grid-column: 1 / -1; margin-top: 18px; font-family: var(--mono); font-size: 0.76rem; color: var(--text-3); text-align: center; }

/* --- спор --- */
.dispute { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.bubble {
  max-width: 440px; padding: 16px 20px 17px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--bg-2); font-size: var(--step-1); line-height: 1.4; letter-spacing: -0.02em;
}
.bubble .who { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.04em; }
.bubble.left { border-bottom-left-radius: 3px; justify-self: start; }
.bubble.right { border-bottom-right-radius: 3px; justify-self: end; text-align: left; }
.js .dispute .bubble.right { transition-delay: 0.25s; }
.verdict-card {
  justify-self: center; margin-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(159, 227, 192, 0.3); background: rgba(159, 227, 192, 0.04);
}
.verdict-card b { display: block; font-size: 0.92rem; }
.verdict-card span { font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); }
.vc-ico { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ok); position: relative; flex-shrink: 0; }
.vc-ico::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ok); font-size: 0.9rem; }
.vc-link { font-size: 0.86rem; color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(154, 216, 245, 0.4); }
.dispute .verdict-card { opacity: 1; }

/* --- протокол и расшифровка --- */
.protocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.protocol-card { display: grid; gap: 24px; }
.lead-card--big { padding: 20px 22px; gap: 15px; }
.lead-card--big .lc-rows dd { font-size: 0.95rem; }
.notes { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.notes li { counter-increment: n; position: relative; padding-left: 38px; color: var(--text-2); font-size: 0.92rem; }
.notes li::before {
  content: counter(n); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; color: var(--ice);
}
.notes b { color: var(--text); font-weight: 600; }
.transcript {
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); padding: 18px 18px 16px;
  display: grid; gap: 14px; position: sticky; top: 92px;
}
.tr-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.tr-head b { display: block; font-size: 0.95rem; }
.tr-head .mono { font-size: 0.68rem; color: var(--text-3); }
.tr-play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(154, 216, 245, 0.5); background: rgba(154, 216, 245, 0.06);
  color: var(--ice); display: grid; place-items: center; cursor: pointer;
}
.tr-play .play-ico { border: 0; width: 14px; height: 14px; }
.tr-play .play-ico::after { left: 3px; top: 1px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.tr-play.is-playing .play-ico::after { border: 0; left: 1px; top: 1px; width: 4px; height: 12px; background: currentColor; box-shadow: 7px 0 0 currentColor; }
.tr-clock { font-size: 0.8rem; color: var(--text-2); }
.tr-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: 0; background: var(--ice); box-shadow: 0 0 10px var(--ice-glow); transition: width 0.25s linear; }
.tr-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tr-lines li { display: grid; grid-template-columns: 38px 62px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 0.88rem; transition: opacity 0.4s ease; }
.tr-lines .t { font-family: var(--mono); font-size: 0.66rem; color: var(--text-3); }
.tr-lines .s { font-family: var(--mono); font-size: 0.66rem; color: var(--ice); }
.tr-lines .s.c { color: var(--text-2); }
.tr-lines p { color: var(--text); line-height: 1.45; }
.tr-lines p[data-crit]::after {
  content: "✓ " attr(data-crit); margin-left: 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 0.64rem; color: var(--ok); padding: 1px 6px; border: 1px solid rgba(159, 227, 192, 0.3); border-radius: 3px;
}
.transcript.is-armed .tr-lines li { opacity: 0.18; }
.transcript.is-armed .tr-lines li.on { opacity: 1; }
.boundary {
  margin-top: clamp(32px, 5vw, 56px); padding: 20px 0 0; border-top: 1px dashed var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: center; text-align: center;
  font-size: var(--step-2); font-weight: 600; letter-spacing: -0.03em;
}
.boundary .mono { font-size: 0.7rem; font-weight: 400; color: var(--text-3); letter-spacing: 0.04em; }

/* --- команда --- */
.team { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.team-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.5fr 0.7fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: baseline; font-size: 0.92rem; color: var(--text-2); }
.team-row:first-child { border-top: 0; }
.team-row b { color: var(--text); font-weight: 600; }
.team-row .mono { text-align: right; color: var(--text); font-size: 0.85rem; }
.team-th { background: rgba(255, 255, 255, 0.02); font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.03em; }
.team-th span:last-child { text-align: right; }
.team-total { background: linear-gradient(90deg, rgba(154, 216, 245, 0.06), transparent 70%); }
.team-total b { color: var(--text); }
.team + .fineprint { margin-top: 10px; }
.skills { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.skills div { background: var(--bg); padding: 14px 18px; font-size: 0.92rem; color: var(--text-2); display: grid; gap: 4px; }
.skills div:nth-child(2n) { color: var(--text); }
.skills .mono { font-size: 0.64rem; color: var(--text-3); letter-spacing: 0.06em; }
.skills div:nth-child(2n) .mono { color: var(--ice); }

/* --- петля --- */
.loop { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.loop-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-base { fill: none; stroke: var(--line-2); stroke-width: 1; }
.ring-run { fill: none; stroke: var(--ice); stroke-width: 1.4; stroke-dasharray: 2 18; opacity: 0.6; animation: ringrun 3s linear infinite; }
@keyframes ringrun { to { stroke-dashoffset: -40; } }
.ring-dot { fill: #fff; filter: drop-shadow(0 0 6px var(--ice)); }
.loop-node {
  position: absolute; width: 150px; transform: translate(-50%, -50%);
  padding: 9px 11px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2);
  font-size: 0.8rem; line-height: 1.3; color: var(--text); text-align: center;
}
.loop-node .mono { display: block; font-size: 0.62rem; color: var(--ice); margin-bottom: 2px; }
.n1 { left: 50%; top: 12.5%; }
.n2 { left: 85.7%; top: 38.4%; }
.n3 { left: 72%; top: 80.3%; }
.n4 { left: 28%; top: 80.3%; }
.n5 { left: 14.3%; top: 38.4%; }
.loop-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 6px; justify-items: center; }
.loop-core b { font-size: 0.74rem; font-weight: 600; padding: 5px 12px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--text-2); min-width: 110px; text-align: center; }
.loop-core b:first-child { color: var(--text); border-color: rgba(154, 216, 245, 0.45); }
.loop-core span { font-family: var(--mono); font-size: 0.62rem; color: var(--text-3); margin-top: 2px; }

/* --- отчёт --- */
.report {
  position: relative; max-width: 460px; justify-self: center; width: 100%;
  border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #121823, #0c1017);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), 0 0 80px -50px var(--ice-glow);
  overflow: hidden;
}
.rp-top { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rp-top b { display: block; font-size: 0.92rem; }
.rp-top span:not(.logo-mark) { font-family: var(--mono); font-size: 0.66rem; color: var(--text-3); }
.rp-body { padding: 18px; display: grid; gap: 16px; }
.rp-week { font-weight: 700; letter-spacing: -0.02em; }
.rp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-kpis div { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; display: grid; gap: 2px; }
.rp-kpis span { font-family: var(--mono); font-size: 0.62rem; color: var(--text-3); }
.rp-kpis b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rp-kpis b small { font-size: 0.66rem; font-weight: 400; color: var(--text-3); letter-spacing: 0; font-family: var(--mono); }
.rp-kpis .tbd-b .tbd { font-size: 1.1rem; }
.rp-ch { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rp-ch li { display: grid; grid-template-columns: 1fr 64px auto; gap: 10px; align-items: center; font-size: 0.84rem; }
.spark { height: 18px; display: block; background-repeat: no-repeat; background-size: 100% 100%; }
.spark.up { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 18'%3E%3Cpath d='M1 15 L12 13 L22 14 L32 9 L42 10 L52 5 L63 2' fill='none' stroke='%239fe3c0' stroke-width='1.6'/%3E%3C/svg%3E"); }
.spark.flat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 18'%3E%3Cpath d='M1 9 L12 10 L22 8 L32 9 L42 10 L52 8 L63 9' fill='none' stroke='%239aa5b4' stroke-width='1.6'/%3E%3C/svg%3E"); }
.spark.down { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 18'%3E%3Cpath d='M1 4 L12 6 L22 8 L32 11 L42 14' fill='none' stroke='%23f0b79a' stroke-width='1.6'/%3E%3Cpath d='M42 14 L63 14' fill='none' stroke='%23f0b79a' stroke-width='1.6' stroke-dasharray='2 3'/%3E%3C/svg%3E"); }
.spark.test { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 18'%3E%3Cpath d='M1 12 L12 11 L22 9 L32 10' fill='none' stroke='%23b9a6f2' stroke-width='1.6'/%3E%3Cpath d='M32 10 L63 10' fill='none' stroke='%23b9a6f2' stroke-width='1.6' stroke-dasharray='2 3'/%3E%3C/svg%3E"); }
.st { font-style: normal; font-family: var(--mono); font-size: 0.64rem; padding: 2px 7px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.st.up { color: var(--ok); border-color: rgba(159, 227, 192, 0.35); }
.st.stop { color: var(--warn); border-color: rgba(240, 183, 154, 0.35); }
.st.test { color: var(--lilac); border-color: rgba(185, 166, 242, 0.35); }
.rp-next { padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--text-2); }
.rp-next b { color: var(--text); }
.rp-tag { position: absolute; top: 16px; right: 16px; font-size: 0.62rem; color: var(--text-3); border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; }

/* --- сравнение --- */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 0.88rem; }
.cmp th, .cmp td { padding: 13px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font-family: var(--mono); font-size: 0.68rem; font-weight: 400; color: var(--text-3); letter-spacing: 0.03em; }
.cmp tbody th { font-weight: 600; color: var(--text); width: 17%; }
.cmp td { color: var(--text-2); }
.cmp .us { background: rgba(154, 216, 245, 0.05); color: var(--text); font-weight: 600; box-shadow: inset 1px 0 0 rgba(154, 216, 245, 0.25); }
.cmp thead .us { color: var(--ice); font-weight: 600; }

/* --- кому подходит --- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit ul { margin: 0; padding: clamp(20px, 3vw, 30px); list-style: none; display: grid; gap: 14px; border-radius: 8px; border: 1px solid var(--line); align-content: start; }
.fit li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; color: var(--text-2); }
.fit-yes { background: linear-gradient(180deg, rgba(159, 227, 192, 0.04), transparent 70%); }
.fit-yes li { color: var(--text); }
.fit-yes li::before { content: "✓"; color: var(--ok); font-family: var(--mono); }
.fit-no li::before { content: "—"; color: var(--text-3); font-family: var(--mono); }

/* --- роли --- */
.role-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.role-tabs button {
  font: inherit; font-size: 0.9rem; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-2); border: 1px solid var(--line-2);
}
.role-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.role-panel { border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 22px; }
.role-quote { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; max-width: 28ch; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-cols div { color: var(--text-2); display: grid; gap: 6px; }
.role-cols div:last-child { color: var(--text); }
.role-cols .mono { font-size: 0.66rem; color: var(--text-3); letter-spacing: 0.05em; }

/* --- режимы --- */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.mode { border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px 22px; display: grid; gap: 12px; grid-template-rows: auto auto 1fr auto auto; background: var(--bg-2); }
.mode > .mono { font-size: 0.66rem; color: var(--text-3); letter-spacing: 0.04em; }
.mode h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.035em; }
.mode p { color: var(--text-2); font-size: 0.93rem; }
.mode-pay { padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--text-2); }
.mode-pay .mono { display: block; margin-bottom: 4px; font-size: 0.62rem; color: var(--text-3); }
.mode-pay b { color: var(--text); font-weight: 600; }
.mode .btn { margin-top: 6px; }
.mode--main { border-color: rgba(154, 216, 245, 0.4); background: linear-gradient(180deg, rgba(154, 216, 245, 0.06), transparent 60%), var(--bg-2); box-shadow: 0 0 80px -50px var(--ice-glow); }
.modes-cap { margin-top: 22px; max-width: 60ch; }

/* --- что внутри --- */
.inside { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.inside div { background: var(--bg); padding: 22px 20px; display: grid; gap: 10px; align-content: start; }
.inside b { font-size: 1rem; letter-spacing: -0.02em; }
.inside p { color: var(--text-2); font-size: 0.9rem; }

/* --- вопросы --- */
.faq { display: grid; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-size: var(--step-1); font-weight: 600; letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 400; color: var(--text-3); font-size: 1.2rem; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ice); }
.faq details p { padding: 0 40px 20px 0; color: var(--text-2); max-width: 68ch; }

/* --- финал --- */
.final { text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: clamp(80px, 12vw, 160px); position: relative; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 30%; transform: translateX(-50%); width: min(900px, 100vw); height: 60%;
  background: radial-gradient(closest-side, rgba(146, 196, 255, 0.12), transparent 75%); filter: blur(10px); pointer-events: none;
}
.final > * { position: relative; }
.final-h { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 20ch; color: var(--muted-h); }
.final-h .lit { display: block; color: #f6f9ff; text-shadow: 0 0 44px rgba(160, 205, 255, 0.35); }
.final .lead { max-width: 54ch; }
.countdown-line { display: flex; gap: 18px; font-size: 0.85rem; color: var(--text-3); }
.countdown-line span { animation: tick 3s steps(1) infinite; }
.countdown-line span:nth-child(2) { animation-delay: 1s; }
.countdown-line span:nth-child(3) { animation-delay: 2s; }
@keyframes tick { 0% { color: #fff; text-shadow: 0 0 12px var(--ice); } 33%, 100% { color: var(--text-3); text-shadow: none; } }

@media (max-width: 980px) {
  .split, .protocol { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .transcript { position: static; }
  .inside { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .team-row { grid-template-columns: 1fr 0.7fr; }
  .team-row > :nth-child(2), .team-row > :nth-child(3) { grid-column: 1 / -1; }
  .team-row > :nth-child(3) { color: var(--text); }
  .team-row > :nth-child(4) { grid-row: 1; grid-column: 2; }
  .team-th { display: none; }
}
@media (max-width: 640px) {
  .pieces { grid-template-columns: 1fr 1fr; }
  .piece:nth-child(n) { margin-top: 0; }
  .fit, .role-cols, .skills { grid-template-columns: minmax(0, 1fr); }
  .skills div:nth-child(2n) { border-bottom: 1px solid var(--line); }
  .inside { grid-template-columns: minmax(0, 1fr); }
  .tr-lines li { grid-template-columns: 34px minmax(0, 1fr); }
  .tr-lines .s { grid-column: 2; }
  .tr-lines p { grid-column: 2; }
  .loop { max-width: 360px; }
  .loop-node { width: 112px; font-size: 0.7rem; padding: 7px 8px; }
  .loop-core b { min-width: 86px; font-size: 0.68rem; }
  .bubble { font-size: 1rem; }
  .boundary { font-size: var(--step-1); }
}

/* ======================================================================
   Этап 4: внутренние страницы
   ====================================================================== */
.page-hero { position: relative; display: grid; gap: 22px; justify-items: start; padding-block: clamp(44px, 8vh, 104px) clamp(40px, 6vh, 72px); }
.page-hero::before {
  content: ""; position: absolute; left: 0; top: 0; width: min(900px, 100%); height: 100%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(146, 196, 255, 0.12), transparent 75%); filter: blur(16px);
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 1.1rem + 4.6vw, 5rem); font-weight: 700; letter-spacing: -0.047em; line-height: 0.98; max-width: 17ch; }
.page-hero h1 span { display: block; }
.page-hero h1 .dim { color: var(--muted-h); }
.page-hero h1 .lit { color: #f6f9ff; text-shadow: 0 0 44px rgba(160, 205, 255, 0.32); }
.page-hero .lead { max-width: 62ch; }
.page-actions { justify-content: flex-start; margin-top: 4px; }
.more-link { display: inline-block; margin-top: 18px; font-size: 0.9rem; color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(154, 216, 245, 0.35); transition: border-color 0.3s ease, color 0.3s ease; }
.more-link:hover { color: #fff; border-bottom-color: #fff; }
.sec-head .more-link { justify-self: start; margin-top: 0; }
.page-hero + .section { border-top: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.72rem; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.toc { width: 100%; list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.74rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a::before { content: "0" counter(toc) "  "; white-space: pre; color: var(--ice); }
.toc a:hover { color: var(--text); }

/* --- четыре ступени --- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.steps::before { content: ""; position: absolute; left: 27px; top: 40px; bottom: 40px; width: 1px; background: var(--line-2); }
.steps::after {
  content: ""; position: absolute; left: 24px; top: 40px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 2px var(--ice-glow); animation: rail 10s linear infinite;
}
@keyframes rail { from { top: 40px; } to { top: calc(100% - 47px); } }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 380px); gap: 14px clamp(20px, 3vw, 48px); align-items: start; padding: clamp(22px, 3vw, 34px) 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; font-size: 0.86rem; color: var(--ice); }
.step-main { display: grid; gap: 10px; padding-top: 8px; }
.step-main h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: var(--step-2); font-weight: 700; letter-spacing: -0.035em; }
.step-main h3 .mono { font-size: 0.7rem; font-weight: 400; color: var(--text-3); letter-spacing: 0.04em; }
.step-main p { max-width: 54ch; color: var(--text-2); }
.step-io { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.step-io div { display: grid; gap: 3px; padding: 12px 14px; background: var(--bg-2); }
.step-io dt { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; color: var(--text-3); }
.step-io dd { margin: 0; font-size: 0.9rem; color: var(--text); }
.step-io .zero dd { color: var(--text-3); }
.step-io .out dt { color: var(--ice); }

/* --- бриф и документ с критериями --- */
.brief-q { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.brief-q li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.brief-q .mono { padding-top: 3px; font-size: 0.7rem; color: var(--ice); }
.criteria-doc { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #121823, #0c1017); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), 0 0 80px -50px var(--ice-glow); }
.criteria-doc header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.criteria-doc header .mono { font-size: 0.7rem; color: var(--text-2); }
.cd-ok { font-family: var(--mono); font-size: 0.64rem; color: var(--ok); border: 1px solid rgba(159, 227, 192, 0.35); border-radius: 3px; padding: 2px 7px; }
.criteria-doc dl { margin: 0; padding: 6px 18px; display: grid; }
.criteria-doc dl div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.criteria-doc dl div:last-child { border-bottom: 0; }
.criteria-doc dt { font-family: var(--mono); font-size: 0.66rem; color: var(--text-3); }
.criteria-doc dd { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.criteria-doc .key dt { color: var(--ok); }
.criteria-doc .key dt::before { content: "✓ "; }
.criteria-doc .key dd { color: var(--text); }
.criteria-doc footer { padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 0.64rem; color: var(--text-3); }

/* --- механизм и граница ответственности --- */
.mech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mech article { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.mech .mono { font-size: 0.64rem; letter-spacing: 0.04em; color: var(--ice); }
.mech h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.03em; }
.mech p { font-size: 0.92rem; color: var(--text-2); }
.mech .mech-closes { padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); }
.mech-closes .mono { display: block; margin-bottom: 3px; color: var(--text-3); }
.zone { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.zone > div { display: grid; gap: 6px; align-content: center; padding: 20px 22px; }
.zone .mono { font-size: 0.64rem; letter-spacing: 0.05em; color: var(--text-3); }
.zone b { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.03em; }
.zone small { font-size: 0.82rem; color: var(--text-2); }
.zone-us { background: linear-gradient(90deg, rgba(154, 216, 245, 0.08), rgba(154, 216, 245, 0.02)); }
.zone > .zone-mark { justify-items: center; text-align: center; padding-inline: 18px; border-inline: 1px dashed rgba(154, 216, 245, 0.45); }
.zone-mark i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px var(--ice-glow); animation: knob 3.2s ease-in-out infinite; }
.zone-mark .mono { color: var(--ice); }
.zone > .zone-you { justify-items: end; text-align: right; }
.zone-note { margin-top: 12px; }

/* --- таймлайн: первые недели, сценарий разговора, путь --- */
.tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--ice), var(--line-2) 80%); opacity: 0.8; }
.tl::after { content: ""; position: absolute; left: 0; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px var(--ice-glow); animation: tlrun 10s linear infinite; }
@keyframes tlrun { from { left: 0; } to { left: calc(100% - 7px); } }
.tl li { position: relative; display: grid; gap: 6px; align-content: start; padding: 30px 18px 0 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ice); }
.tl li:first-child::before { background: var(--ice); box-shadow: 0 0 12px 2px var(--ice-glow); }
.tl .mono { font-size: 0.66rem; letter-spacing: 0.03em; color: var(--ice); }
.tl b { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; }
.tl p { font-size: 0.87rem; color: var(--text-2); }
.tl-note { margin-top: 22px; }
.tl--v { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
.tl--v::before { left: 5px; right: auto; top: 8px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, var(--ice), var(--line-2) 80%); }
.tl--v::after { display: none; }
.tl--v li { padding: 0 0 26px 32px; }

/* --- нужно и не нужно: заголовки колонок --- */
.fit li.fit-t { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; color: var(--text-3); }
.fit-yes li.fit-t { color: var(--ok); }
.fit li.fit-t::before { content: none; }

/* --- каналы --- */
.ch-group { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.ch-group:first-of-type { border-top: 0; padding-top: 0; }
.ch-group-t { padding-top: 12px; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.06em; color: var(--text-3); }
.ch-group-t b { display: block; margin-bottom: 2px; font-family: var(--sans); font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.ch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ch { display: grid; gap: 8px; align-content: start; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.ch:hover { border-color: rgba(154, 216, 245, 0.4); box-shadow: 0 0 40px -18px var(--ice-glow); }
.ch b { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; letter-spacing: -0.02em; }
.ch b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--ice); box-shadow: 0 0 8px 1px var(--ice-glow); }
.ch p { font-size: 0.88rem; color: var(--text-2); }
.ch .ch-fit { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 0.82rem; color: var(--text); }
.ch-fit .mono { display: block; margin-bottom: 2px; font-size: 0.6rem; color: var(--text-3); }
.ch--yours { border-style: dashed; border-color: var(--line-2); }
.ch-soon { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; padding-top: 6px; }
.ch-soon span { padding: 9px 13px; border: 1px dashed var(--line-2); border-radius: 4px; font-size: 0.86rem; color: var(--text-2); }
.ch-soon small { display: block; margin-top: 1px; font-family: var(--mono); font-size: 0.6rem; color: var(--text-3); }
.pick { border-top: 1px solid var(--line); }
.pick-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 0.5fr) minmax(0, 0.9fr); gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.pick-row span { color: var(--text-2); transition: color 0.3s ease; }
.pick-row i { position: relative; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--ice)); }
.pick-row i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px 2px var(--ice-glow); }
.pick-row b { font-weight: 600; letter-spacing: -0.02em; }
.pick-row:hover span { color: var(--text); }
.rule3 { margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rule3 div { display: grid; gap: 4px; padding: 12px 14px; background: var(--bg-2); }
.rule3 dt { font-size: 0.62rem; color: var(--text-3); }
.rule3 dd { margin: 0; font-size: 0.95rem; font-weight: 600; }
.testboard { position: relative; display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, #121823, #0c1017); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), 0 0 80px -50px var(--ice-glow); }
.tb-head, .tb-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.55fr)) minmax(0, 1fr); gap: 10px; align-items: end; }
.tb-head { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 0.62rem; color: var(--text-3); }
.tb-head span:last-child, .tb-row em { justify-self: end; }
.tb-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tb-row b { align-self: center; font-size: 0.9rem; font-weight: 600; }
.tb-row .c { display: grid; gap: 5px; justify-items: start; font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); }
.tb-row .c::before { content: ""; width: 100%; max-width: 24px; height: calc(3px + var(--v) * 4px); border-radius: 2px; background: rgba(154, 216, 245, 0.55); }
.tb-stop b { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(240, 183, 154, 0.6); }
.tb-stop .c::before { background: rgba(240, 183, 154, 0.5); }
.tb-move { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: 0.7rem; color: var(--text-2); }
.tb-move i { position: relative; height: 1px; background: linear-gradient(90deg, rgba(240, 183, 154, 0.6), var(--ice)); }
.tb-move i::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--ice-glow); animation: tlrun 3s ease-in-out infinite; }
.tb-foot { margin-top: 6px; font-size: 0.62rem; color: var(--text-3); }
.js .testboard .c, .js .testboard em, .js .testboard .tb-move { opacity: 0; transition: opacity 0.6s var(--ease); }
.js .testboard.in .c, .js .testboard.in em, .js .testboard.in .tb-move { opacity: 1; }
.js .testboard .c:nth-of-type(1) { transition-delay: 0.3s; }
.js .testboard .c:nth-of-type(2) { transition-delay: 0.8s; }
.js .testboard .c:nth-of-type(3) { transition-delay: 1.3s; }
.js .testboard em { transition-delay: 1.9s; }
.js .testboard .tb-move { transition-delay: 2.4s; }
.ch-table { min-width: 760px; }
.ch-table td { font-variant-numeric: tabular-nums; }
.ch-table tbody th { width: 20%; }
.share { display: grid; gap: 6px; font-family: var(--mono); font-size: 0.72rem; }
.share i { display: block; width: var(--w); max-width: 100%; height: 3px; border-radius: 2px; background: var(--ice); box-shadow: 0 0 8px var(--ice-glow); }
.ch-table tr.total th, .ch-table tr.total td { border-top-color: var(--line-2); color: var(--text); font-weight: 600; }
.inside-t { margin-bottom: 12px; font-size: 0.66rem; letter-spacing: 0.05em; color: var(--text-3); }
.inside--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --- квалификация --- */
.facts { width: 100%; margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts div { display: grid; gap: 4px; padding: 16px 18px; background: var(--bg); }
.facts b { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.facts span { font-size: 0.82rem; color: var(--text-2); }
.fork { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fork > div { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.fork .mono { font-size: 0.64rem; letter-spacing: 0.04em; }
.fork b { font-size: var(--step-1); letter-spacing: -0.03em; }
.fork p { font-size: 0.9rem; color: var(--text-2); }
.fork > .fork-yes { border-color: rgba(159, 227, 192, 0.35); background: linear-gradient(180deg, rgba(159, 227, 192, 0.05), transparent 70%), var(--bg-2); }
.fork-yes .mono { color: var(--ok); }
.fork-no .mono { color: var(--warn); }
.fork-chat .mono { color: var(--lilac); }
.protocol-card .lead-card--no { margin-top: 2px; }
.lc-status--no i { background: var(--warn); box-shadow: 0 0 10px 1px rgba(240, 183, 154, 0.5); }
.lc-crit span.no { color: var(--warn); border-color: rgba(240, 183, 154, 0.35); background: rgba(240, 183, 154, 0.05); }
.lc-crit span.no::before { content: "✗ "; }
.markdemo { display: grid; gap: 14px; width: 100%; max-width: 480px; justify-self: center; }
.md-actions button {
  padding: 12px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2);
  font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.md-actions button:hover { color: var(--text); border-color: rgba(154, 216, 245, 0.5); }
.md-actions button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.md-actions button[data-mark="no"][aria-pressed="true"] { background: var(--warn); border-color: var(--warn); }
.md-out { min-height: 116px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.92rem; color: var(--text-2); }
.md-out b { display: block; margin-bottom: 4px; color: var(--text); }
.latency { display: grid; gap: 14px; width: 100%; max-width: 540px; justify-self: center; padding: 22px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.lat-row, .lat-scale { display: grid; grid-template-columns: 116px minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.lat-scale div { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--text-3); }
.lat-row > span { font-size: 0.86rem; color: var(--text-2); }
.lat-row b { font-size: 0.76rem; font-weight: 400; text-align: right; color: var(--text-2); }
.lat-bar { height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.lat-bar i { display: block; width: var(--w); height: 100%; border-radius: 4px; background: var(--text-3); transition: width 1.4s var(--ease); }
.js .latency .lat-bar i { width: 0; }
.js .latency.in .lat-bar i { width: var(--w); }
.lat-us > span, .lat-us b { color: var(--text); font-weight: 600; }
.lat-us .lat-bar i { background: var(--ice); box-shadow: 0 0 12px var(--ice-glow); }
.lat-slow .lat-bar i { background: rgba(240, 183, 154, 0.55); }

/* --- тарифы --- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.plan > .mono { font-size: 0.66rem; letter-spacing: 0.04em; color: var(--text-3); }
.plan h3 { font-size: clamp(1.7rem, 1.1rem + 1.7vw, 2.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; overflow-wrap: anywhere; }
.rp-ch .rp-bar { display: block; justify-self: end; width: var(--w); height: 3px; border-radius: 2px; background: var(--ice); box-shadow: 0 0 8px var(--ice-glow); }
.plan > p { font-size: 0.94rem; color: var(--text-2); }
.plan-price { display: grid; gap: 4px; padding: 14px 0; border-block: 1px solid var(--line); }
.plan-price .mono { font-size: 0.6rem; color: var(--text-3); }
.plan-price b { font-size: 1.2rem; letter-spacing: -0.03em; }
.plan-price > span:last-child { font-size: 0.86rem; color: var(--text-2); }
.plan ul { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; font-size: 0.92rem; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: "✓"; padding-top: 1px; font-family: var(--mono); font-size: 0.8rem; color: var(--ice); }
.plan-start { font-size: 0.86rem; color: var(--text-2); }
.plan-start .mono { display: block; margin-bottom: 2px; font-size: 0.6rem; color: var(--text-3); }
.plan .btn { align-self: flex-start; }
.plan--main { border-color: rgba(154, 216, 245, 0.4); background: linear-gradient(180deg, rgba(154, 216, 245, 0.07), transparent 55%), var(--bg-2); box-shadow: 0 0 90px -50px var(--ice-glow); }
.plan > .plan-flag { position: absolute; top: -10px; left: 24px; padding: 3px 9px; border-radius: 3px; background: var(--ice); color: #06090d; font-size: 0.62rem; }
.plan-table { min-width: 720px; }
.plan-table tbody th { width: 22%; }

/* --- адаптив внутренних страниц --- */
@media (max-width: 980px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); }
  .step-io { grid-column: 2; }
  .mech, .fork, .plans { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: 560px; gap: 28px; }
  .zone { grid-template-columns: minmax(0, 1fr); }
  .zone > .zone-mark { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; padding: 12px 22px; border-inline: 0; border-block: 1px dashed rgba(154, 216, 245, 0.45); }
  .zone > .zone-you { justify-items: start; text-align: left; }
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl::before { left: 5px; right: auto; top: 8px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, var(--ice), var(--line-2) 80%); }
  .tl::after { display: none; }
  .tl li { padding: 0 0 26px 32px; }
  .ch-group { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ch-group-t { padding-top: 0; display: flex; align-items: baseline; gap: 10px; }
  .ch-group-t b { display: inline; font-size: 1.5rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .steps::before { left: 21px; }
  .steps::after { left: 18px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; }
  .step-n { width: 44px; height: 44px; font-size: 0.78rem; }
  .step-main { padding-top: 4px; }
  .pick-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pick-row i { display: none; }
  .pick-row b::before { content: "→ "; color: var(--ice); }
  .rule3 { grid-template-columns: minmax(0, 1fr); }
  .criteria-doc dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .testboard { padding: 14px 12px; }
  .tb-head, .tb-row { grid-template-columns: minmax(0, 1.1fr) repeat(3, 30px) minmax(0, 0.9fr); gap: 6px; }
  .tb-row b { font-size: 0.8rem; }
  .tb-row em { font-size: 0.56rem; padding: 2px 5px; }
  .lat-row, .lat-scale { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 8px; }
  .lat-scale div span:nth-child(2n) { visibility: hidden; }
  .inside--2, .ch-grid { grid-template-columns: minmax(0, 1fr); }
  .zone b { font-size: 1.05rem; }
  .facts b { font-size: 1.3rem; }
  .facts div { padding: 14px; }
  .plan { padding: 24px 18px 20px; }
}
