/* Лендинг «ИИ-агент под ключ: установка и обучение».
   Мир страницы — рабочий стол домашнего компьютера днём: лаймовые обои, белые окна, папки, готовые файлы.
   Один акцент (лайм): обои первого экрана, отметка «сделано», выделение и главная кнопка на тёмном. */

:root {
  --ink: #10140f;
  --ink-2: #454d42;
  --ink-3: #6a7266;
  --paper: #ffffff;
  --surface: #f4f6f0;
  --surface-2: #e9ede3;
  --line: rgba(16, 20, 15, 0.1);
  --line-strong: rgba(16, 20, 15, 0.16);
  --accent: #c9f25e;
  --accent-hover: #d6f77e;
  --accent-ink: #2e6b12;
  --wall: #cdf36a;
  --night: #0f1a14;
  --night-2: #18261e;
  --night-line: rgba(238, 242, 234, 0.14);
  --night-text: #eef2ea;
  --night-muted: #a3ae9f;
  --danger: #b3261e;
  --danger-night: #ff9d8f;

  --display: "Wix Madefor Display", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast: 0.16s;
  --slow: 0.42s;

  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --header: 72px;
  /* Расстояние от края колонки до края экрана: на него обои первого экрана уходят вправо. */
  --bleed: calc(max(0px, (100vw - 1200px) / 2) + var(--pad));
}

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

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

body {
  margin: 0;
  font: 400 17px/1.55 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

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

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nowrap { white-space: nowrap; }

mark {
  background: var(--accent);
  color: inherit;
  padding: 0 0.14em;
  margin: 0 -0.04em;
  border-radius: 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 500 16px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease),
    color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a3326; }
.btn--lime { background: var(--accent); color: var(--ink); }
.btn--lime:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--sm { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--fast) var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }
.header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name { font: 600 17px/1.1 var(--display); letter-spacing: -0.01em; }
.brand__sub { display: block; font: 400 13px/1.2 var(--text); color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.nav a:hover { color: var(--ink); }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
}
.menu-btn .icon { width: 20px; height: 20px; }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(16px, 2.4vw, 32px) clamp(48px, 6vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 520px; }

h1 {
  font: 600 clamp(36px, 4.4vw, 56px) / 1.05 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 24px;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.hero__terms { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.hero__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 440px;
}
.hero__who img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  object-fit: cover;
}
.hero__who b { font-weight: 500; color: var(--ink); }

/* ---------- Рабочий стол с окном агента (живой пример) ----------
   Сцена нарисована в размере 696 × 592 и целиком масштабируется под ширину (--k задаёт скрипт). */

.demo { position: relative; min-width: 0; }
.desk {
  position: relative;
  height: calc(592px * var(--k, 1));
  margin-right: calc(var(--bleed) * -1);
  border-radius: 28px 0 0 28px;
  background: var(--wall);
  overflow: hidden;
}
/* Обои: два плоских круга, как на заставке по умолчанию. */
.desk::before,
.desk::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.desk::before { width: 620px; height: 620px; right: -200px; bottom: -340px; background: rgba(255, 255, 255, 0.3); }
.desk::after { width: 440px; height: 440px; left: -170px; top: -290px; background: rgba(16, 20, 15, 0.05); }

.desk__stage {
  position: absolute;
  z-index: 1;
  left: var(--x, 0px);
  top: 0;
  width: 696px;
  height: 592px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
}

.desk__icons {
  position: absolute;
  left: 512px;
  top: 40px;
  display: grid;
  grid-template-columns: 82px 82px;
  gap: 4px 0;
}
.dicon {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 10px;
  font: 500 12px/1.2 var(--text);
  transition: background-color 0.24s var(--ease);
}
.dicon svg { width: 48px; height: 40px; }
.dicon span {
  max-width: 80px;
  padding: 1px 5px 2px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease);
}
/* Папка, с которой агент сейчас работает, выделена как выбранный файл. */
.dicon.is-hot { background: rgba(255, 255, 255, 0.5); }
.dicon.is-hot span { background: var(--ink); color: #fff; }

.win {
  position: absolute;
  left: 32px;
  top: 40px;
  width: 464px;
  height: 460px;
  display: grid;
  grid-template-rows: 40px 1fr;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(16, 20, 15, 0.08), 0 2px 4px rgba(16, 20, 15, 0.06),
    0 32px 56px -28px rgba(16, 20, 15, 0.42);
  overflow: hidden;
}
.win__bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.win__dots { display: flex; gap: 7px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8cd; }
.win__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 500 13px/1 var(--text);
  color: var(--ink-3);
  pointer-events: none;
}

.thread {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 20px;
}
.thread__scenes { position: relative; flex: 1; min-height: 0; }

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0s linear 0.28s;
}
.scene.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s var(--ease), visibility 0s;
}

.ask {
  align-self: flex-end;
  max-width: 320px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 16px 16px 4px 16px;
  font-size: 15px;
  line-height: 1.45;
}

.steps { display: grid; gap: 10px; margin-top: 4px; }
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
}
.step__mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.step__mark .icon { width: 12px; height: 12px; stroke-width: 2.25; }

.said { max-width: 264px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

.file {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 280px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}
.file__ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-ink);
}
.file__ico .icon { width: 20px; height: 20px; }
.file__name { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.file__meta { display: block; font-size: 13px; line-height: 1.3; color: var(--ink-3); margin-top: 2px; }

/* Состояния анимации: элементы сцены появляются по очереди. */
.demo.is-live .scene [data-beat] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.demo.is-live .scene [data-beat].is-in { opacity: 1; transform: none; }
.demo.is-live .step__mark { background: transparent; }
.demo.is-live .step__mark::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1.5px solid var(--line-strong);
  border-top-color: var(--ink-2);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.demo.is-live .step__mark .icon { opacity: 0; transform: scale(0.6); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.demo.is-live .step.is-done .step__mark { background: var(--accent); transition: background-color 0.2s var(--ease); }
.demo.is-live .step.is-done .step__mark::before { display: none; }
.demo.is-live .step.is-done .step__mark .icon { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.composer {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin-top: 16px;
  padding: 0 6px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  font-size: 15px;
}
.composer__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-3); }
.composer__text.is-typing { color: var(--ink); text-overflow: clip; }
.composer__text.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--ink);
}
.composer__send {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: transform var(--fast) var(--ease);
}
.composer__send.is-pressed { transform: scale(0.9); }

.bar { display: block; height: 8px; border-radius: 4px; background: #dfe4d9; }

/* Готовый файл открыт поверх окна — на него должен упасть взгляд. */
.result {
  position: absolute;
  left: 392px;
  top: 204px;
  z-index: 2;
  width: 280px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(16, 20, 15, 0.1), 0 2px 4px rgba(16, 20, 15, 0.06),
    0 32px 56px -24px rgba(16, 20, 15, 0.46);
  overflow: hidden;
}
.result__view { display: none; }
.result__view.is-on { display: block; }
.demo.is-live .result { transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.demo.is-live .result.is-out { opacity: 0; transform: translateY(12px); }

.result__head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.result__head .icon { width: 16px; height: 16px; color: var(--accent-ink); }

.sheet { padding: 6px 14px 12px; font-size: 13px; line-height: 1.3; }
.sheet__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  height: 30px;
  border-bottom: 1px solid var(--line);
}
.sheet__row--head { color: var(--ink-3); height: 28px; }
.sheet__row--cmp { grid-template-columns: 1fr auto; }
.sheet__row--total {
  border-bottom: 0;
  height: 36px;
  font-weight: 500;
  grid-template-columns: 1fr auto;
}
.sheet__num { text-align: right; white-space: nowrap; }

/* Страница, которую собрал агент: у неё свои цвета, как у настоящего сайта студии. */
.page-prev__bar {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-prev__url {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.page-prev__url .icon { width: 12px; height: 12px; }
.page-prev__body {
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 12px;
  align-items: stretch;
  padding: 12px 14px;
  background: #fbf1ee;
}
.page-prev__text { display: grid; gap: 9px; align-content: start; }
.page-prev__h { font: 600 17px/1.15 var(--display); letter-spacing: -0.02em; color: #3d1f26; }
.page-prev__text .bar { width: 86%; background: #ecd3cd; }
.page-prev__cta {
  justify-self: start;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: #a23b52;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.page-prev__pic {
  position: relative;
  border-radius: 42px 42px 10px 10px;
  background: #f0c9c1;
  overflow: hidden;
}
.page-prev__pic i { position: absolute; border-radius: 50%; }
.page-prev__pic i:nth-child(1) { width: 44px; height: 44px; left: 8px; bottom: 10px; background: #a23b52; }
.page-prev__pic i:nth-child(2) { width: 30px; height: 30px; right: 6px; bottom: 34px; background: #e58e86; }
.page-prev__pic i:nth-child(3) { width: 18px; height: 18px; right: 14px; bottom: 10px; background: #fbf1ee; }
.page-prev__prices {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 12px;
  padding: 4px 14px 8px;
  font-size: 13px;
  line-height: 1.3;
}
.page-prev__prices span,
.page-prev__prices b { display: flex; align-items: center; height: 28px; border-bottom: 1px solid var(--line); font-weight: 400; }
.page-prev__prices b { font-weight: 500; }
.page-prev__prices span:nth-last-child(2),
.page-prev__prices b:last-child { border-bottom: 0; }

/* Переключатель примеров — «док» рабочего стола под окном. */
.demo__tabs {
  position: absolute;
  left: calc(var(--x, 0px) + 264px * var(--k, 1));
  bottom: calc((92px * var(--k, 1) - 44px) / 2);
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(16, 20, 15, 0.08), 0 12px 24px -14px rgba(16, 20, 15, 0.4);
}
.demo__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: 500 14px/1 var(--text);
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.demo__tab .icon { width: 16px; height: 16px; }
.demo__tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.demo__tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo__note { margin-top: 14px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }

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

.section { padding-block: var(--section); }
/* Сразу после первого экрана отступ сверху меньше: у первого экрана есть свой нижний. */
.hero + .section { padding-top: clamp(16px, 3vw, 40px); }
.section--tint { background: var(--surface); }
.section__rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.split__head { position: sticky; top: calc(var(--header) + 32px); }

.head-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.head-row .lead { margin-top: 0; }

h2 {
  font: 600 clamp(30px, 3.5vw, 46px) / 1.08 var(--display);
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 { font: 600 20px/1.25 var(--display); letter-spacing: -0.015em; }
.lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}
.note { font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* ---------- Чат-бот и агент ---------- */

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.vs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: 20px;
  background: var(--paper);
  min-width: 0;
}
.vs--bot { background: var(--surface); }
.vs--agent {
  box-shadow: 0 0 0 1px var(--line-strong), 0 2px 4px rgba(16, 20, 15, 0.04), 0 32px 56px -36px rgba(16, 20, 15, 0.3);
}
.vs__name { display: flex; align-items: center; gap: 10px; font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; }
.vs__ico {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e3e7de;
  color: var(--ink-2);
}
.vs__ico .icon { width: 16px; height: 16px; }
.vs__ico--agent { background: var(--ink); color: var(--accent); }
.vs__ico--agent .icon { stroke-width: 2.25; }
.vs .ask { max-width: 360px; align-self: flex-end; }
.vs--bot .ask { background: #e3e7de; }
.vs__reply { font-size: 15px; line-height: 1.5; color: var(--ink-2); display: grid; gap: 10px; max-width: 420px; }
.vs__reply ol { counter-reset: n; display: grid; gap: 6px; }
.vs__reply ol li { counter-increment: n; padding-left: 22px; position: relative; }
.vs__reply ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--ink-3); }
.vs .steps { margin-top: 0; }
.vs .file { width: 320px; }
.vs__out {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
}
.vs--bot .vs__out { color: var(--ink-2); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.fact { padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact h3 { font-size: 17px; }
.fact p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Что поручают: маленькие переписки «задача → готово» ---------- */

.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.task {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 176px;
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
}
.task__ask {
  align-self: flex-end;
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--surface-2);
  font-size: 16px;
  line-height: 1.4;
}
.task__get {
  display: flex;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
}
.task__get .step__mark { margin-top: 1px; }
.tasks__note { margin-top: 24px; max-width: 44em; }

/* ---------- Как проходит ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line-strong);
}
.flow__step { position: relative; padding: 28px 24px 0 0; }
.flow__step + .flow__step { padding-left: 24px; border-left: 1px solid var(--line); }
.flow__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.flow__step + .flow__step::before { left: 24px; }
.flow__when { font-size: 14px; color: var(--ink-3); }
.flow__step h3 { margin-top: 8px; }
.flow__step p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.learn {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 64px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 20px;
  background: var(--surface);
}
.learn h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.learn__sub { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.4; }
.checks li .step__mark { margin-top: 1px; }

/* ---------- Кейсы ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.case--lead {
  grid-column: span 7;
  min-height: 440px;
  padding: 32px;
  background: var(--night);
  color: var(--night-text);
}
.case--tea { grid-column: span 5; }
.case--third { grid-column: span 4; }
.case--wide {
  grid-column: span 6;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.case__body { margin-bottom: 24px; }
.case--lead .case__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: calc(100% - 304px);
  margin-bottom: 0;
}
.case__tag { font-size: 14px; color: var(--ink-3); }
.case--lead .case__tag { color: var(--night-muted); }
.case__num {
  margin-top: 20px;
  font: 600 clamp(40px, 4.4vw, 56px) / 1 var(--display);
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.case__num--word { letter-spacing: -0.03em; }
.case--lead .case__num { margin-top: auto; padding-top: 24px; font-size: clamp(64px, 8.4vw, 112px); color: var(--accent); }
.case__num small { font: 500 0.36em/1 var(--text); letter-spacing: 0; margin-left: 0.3em; }
.case__what { margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 26em; }
.case__what .link { font-weight: 400; color: var(--ink); }
.case--lead .case__what { font-size: 18px; color: var(--night-text); }
.case__more { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--night-muted); }
.case--wide .case__what { margin-top: 0; max-width: 17em; }

/* Хвост таблицы: последние строки из 1 340, верх растворяется. */
.rows {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 264px;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: var(--night-2);
  font-size: 13px;
  line-height: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
}
.rows__r {
  display: grid;
  grid-template-columns: 48px 1fr 64px;
  gap: 12px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-top: 1px solid var(--night-line);
  color: var(--night-text);
}
.rows__r:first-child { border-top: 0; }
.rows__r span:first-child { color: var(--night-muted); }
.rows__r i { height: 6px; border-radius: 3px; background: rgba(238, 242, 234, 0.22); }
.rows__r em { font-style: normal; color: var(--night-muted); }
.rows__r--last span:first-child { color: var(--accent); }

/* Снимок живого сайта: поднимается от нижнего края плитки. */
.shot {
  margin: auto 0 -36px;
  border-radius: 12px 12px 0 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line-strong), 0 20px 40px -24px rgba(16, 20, 15, 0.36);
  overflow: hidden;
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3d8cd; }
.shot img { width: 100%; }

.mini-chat { display: grid; gap: 8px; margin-top: auto; }
.mini-chat__q,
.mini-chat__a { padding: 10px 14px; font-size: 14px; line-height: 1.4; }
.mini-chat__q { justify-self: end; max-width: 86%; border-radius: 14px 14px 4px 14px; background: #e1e6db; }
.mini-chat__a { justify-self: start; max-width: 92%; border-radius: 14px 14px 14px 4px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.mini-chat__t { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.mini-chat__t .step__mark { width: 16px; height: 16px; }
.mini-chat__t .step__mark .icon { width: 10px; height: 10px; }

.projects { margin-top: 64px; }
.projects__title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); }
.projects__title p { font-size: 15px; color: var(--ink-3); }
.project {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.project__name { font: 600 18px/1.25 var(--display); letter-spacing: -0.015em; }
.project__what { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.project__meta { font-size: 14px; line-height: 1.4; color: var(--ink-3); text-align: right; }
.project__meta a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.project__meta a:hover { text-decoration-color: currentColor; color: var(--ink); }

/* ---------- Цена ---------- */

.price { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 48px; }

.receipt {
  position: relative;
  background: var(--paper);
  padding: 32px 32px 40px;
  border-radius: 16px 16px 0 0;
  filter: drop-shadow(0 1px 1px rgba(16, 20, 15, 0.1)) drop-shadow(0 20px 28px rgba(16, 20, 15, 0.08));
}
.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background:
    linear-gradient(135deg, var(--paper) 25%, transparent 25%) -8px 0 / 16px 16px repeat-x,
    linear-gradient(225deg, var(--paper) 25%, transparent 25%) -8px 0 / 16px 16px repeat-x;
}
.receipt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.receipt__name { font: 600 24px/1.15 var(--display); letter-spacing: -0.02em; }
.receipt__no { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.receipt__for { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.receipt__lines { margin-top: 24px; border-top: 1px dashed var(--line-strong); }
.receipt__line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 16px;
  line-height: 1.35;
}
.receipt__line span:first-child { flex: 1; }
.receipt__line small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.receipt__line em { font-style: normal; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.receipt__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.receipt__total span { font-size: 16px; font-weight: 500; }
.receipt__total b {
  font: 600 clamp(36px, 4vw, 48px) / 1 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.receipt__pay { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.receipt .btn { margin-top: 24px; }

.plans { display: grid; gap: 12px; }
.plan { padding: 24px; border-radius: 16px; background: var(--paper); }
.plan__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plan__price { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.plan p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.plan .link { margin-top: 12px; font-size: 15px; }
.extra {
  margin-top: 12px;
  padding: 20px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.extra b { font-weight: 500; color: var(--ink); }
.plans__more { margin-top: 20px; }

/* ---------- Обо мне ---------- */

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo {
  position: relative;
  max-width: 440px;
  aspect-ratio: 5 / 6;
  border-radius: 220px 220px 20px 20px;
  background: var(--wall);
  overflow: hidden;
}
.about__photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96%;
  max-width: none;
  transform: translateX(-50%);
}
.about__text p { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.about__facts { margin-top: 32px; border-top: 1px solid var(--line); }
.about__facts li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.45;
}
.about__facts li span:first-child { color: var(--ink-3); }
.about__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* ---------- Вопросы ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font: 600 19px/1.3 var(--display);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--ink-3); transition: transform var(--fast) var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.faq__a p + p { margin-top: 12px; }

.ask-me {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-2);
  text-decoration: none;
  transition: box-shadow var(--fast) var(--ease);
}
.ask-me:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 12px 24px -16px rgba(16, 20, 15, 0.3); }
.ask-me img { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--accent); object-fit: cover; }
.ask-me b { display: block; font: 600 16px/1.25 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.ask-me .icon { margin-left: 8px; color: var(--ink); }

/* ---------- Заявка ---------- */

.lead-band { background: var(--night); color: var(--night-text); padding-block: var(--section); }
.lead-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lead-band__intro { position: sticky; top: calc(var(--header) + 32px); }
.lead-band .lead { color: var(--night-muted); }
.next { margin-top: 40px; border-top: 1px solid var(--night-line); counter-reset: s; }
.next li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--night-line);
  font-size: 16px;
  line-height: 1.45;
}
.next li::before { content: counter(s); color: var(--accent); }
.lead-band__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--night-muted);
}
.lead-band__who img { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent); object-fit: cover; }
.lead-band__who b { display: block; font: 600 16px/1.3 var(--display); letter-spacing: -0.01em; color: var(--night-text); }
.lead-band__who a { color: var(--night-text); }
.lead-band .link { text-decoration-color: var(--night-line); }

.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--night-line);
  border-radius: 20px;
  background: var(--night-2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label,
.field > .field__label { font-size: 14px; color: var(--night-muted); }
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: var(--night);
  color: var(--night-text);
  font-size: 16px;
  transition: border-color var(--fast) var(--ease);
}
textarea.input { height: auto; min-height: 104px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.input::placeholder { color: #7f8b7b; }
.input:hover { border-color: rgba(238, 242, 234, 0.28); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field.is-bad .input { border-color: var(--danger-night); }
.field__err { font-size: 14px; color: var(--danger-night); min-height: 0; }
.field__err:empty { display: none; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--night-line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--night-text);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.seg input:hover + span { border-color: rgba(238, 242, 234, 0.28); }
.seg input:checked + span { background: var(--night-text); border-color: var(--night-text); color: var(--night); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--night-muted); }
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid rgba(238, 242, 234, 0.4);
  border-radius: 6px;
  background: var(--night);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.consent input::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid var(--night);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform var(--fast) var(--ease);
}
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--night-text); text-underline-offset: 3px; }
.consent.is-bad input { border-color: var(--danger-night); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 14px; line-height: 1.45; color: var(--night-muted); }
.form__fail { font-size: 15px; line-height: 1.45; color: var(--danger-night); }
.form__fail a { color: var(--night-text); }
.form__fail[hidden] { display: none; }

.done { display: grid; gap: 16px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--night-line); border-radius: 20px; background: var(--night-2); }
.done[hidden] { display: none; }
.done__mark { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; }
.done__mark .icon { width: 22px; height: 22px; stroke-width: 2; }
.done h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.done p { font-size: 17px; line-height: 1.5; color: var(--night-muted); max-width: 30em; }
.done .btn { justify-self: start; margin-top: 8px; }

/* ---------- Подвал ---------- */

.footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); padding-block: 32px 40px; font-size: 14px; line-height: 1.5; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; }
.footer a { color: var(--night-text); text-decoration: underline; text-decoration-color: var(--night-line); text-underline-offset: 4px; }
.footer a:hover { text-decoration-color: currentColor; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal { grid-column: 1 / -1; max-width: 62em; color: #86917f; }

/* ---------- Липкая кнопка на телефоне ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 16px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--slow) var(--ease), visibility 0s linear var(--slow);
}
.dock.is-on { transform: none; visibility: visible; transition: transform var(--slow) var(--ease), visibility 0s; }
.dock__price { font-size: 14px; line-height: 1.25; color: var(--ink-2); margin-right: auto; }
.dock__price b { display: block; font: 600 17px/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.dock .btn { height: 48px; }

/* ---------- Страница политики ---------- */

.doc { max-width: 760px; padding-block: clamp(40px, 6vw, 72px) var(--section); }
.doc h1 { font-size: clamp(30px, 4vw, 44px); }
.doc__meta { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.doc h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.015em; }
.doc p, .doc li { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 1.2em; }
.doc a { text-underline-offset: 4px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1263px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 640px; }
  .desk { margin-right: 0; border-radius: 28px; }
}

@media (max-width: 1099px) {
  .nav { gap: 20px; }
  .brand__sub { display: none; }
  .split, .head-row, .about, .lead-band__grid, .price { grid-template-columns: 1fr; }
  .split__head, .lead-band__intro { position: static; }
  .head-row { align-items: start; }
  .about__photo { max-width: 360px; }
  .tasks { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; border-top: 0; }
  .flow__step { border-top: 1px solid var(--line-strong); }
  .flow__step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .flow__step:nth-child(odd)::before { left: 0; }
  .learn { grid-template-columns: 1fr; }
  .case--lead { grid-column: span 12; min-height: 400px; }
  .case--tea, .case--third { grid-column: span 6; }
  .case--wide { flex-direction: column; align-items: flex-start; gap: 0; }
  .case--wide .case__what { margin-top: 12px; max-width: none; }
}

@media (max-width: 859px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.is-open {
    display: grid;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    gap: 0;
    padding: 8px var(--pad) 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .header__in { gap: 12px; }
  .header .btn--sm { display: none; }
  .dock { display: flex; }
}

@media (max-width: 719px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .hero { padding-top: 24px; }
  .hero__grid { gap: 40px; }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__who { margin-top: 28px; }

  /* Сцена на телефоне не масштабируется, а перекладывается: окно, под ним готовый файл и переключатель. */
  .desk { height: auto; margin-inline: -8px; padding: 12px 12px 16px; border-radius: 24px; }
  .desk__stage { position: relative; left: auto; width: auto; height: auto; transform: none; }
  .desk__icons { display: none; }
  .win { position: relative; left: auto; top: auto; width: auto; height: 432px; }
  .thread { padding: 16px; }
  .scene { gap: 12px; }
  .ask { max-width: 88%; font-size: 14px; padding: 10px 14px; }
  .step { font-size: 14px; }
  .file { width: 100%; padding: 10px; gap: 10px; }
  .said { max-width: 100%; }
  .composer { font-size: 14px; }
  .result { position: relative; left: auto; top: auto; width: 264px; margin: -12px 10px 0 auto; }
  .demo__tabs { position: relative; left: auto; bottom: auto; transform: none; width: max-content; margin: 16px auto 0; }

  .versus { grid-template-columns: 1fr; margin-top: 32px; }
  .vs { padding: 20px; gap: 16px; }
  .vs .file { width: 100%; }
  .vs__out { font-size: 16px; }
  .facts { grid-template-columns: 1fr; margin-top: 32px; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .tasks { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .task { min-height: 0; gap: 16px; padding: 16px; }
  .flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 40px; }
  .flow__step, .flow__step + .flow__step { padding: 24px 0 28px; border-left: 0; }
  .flow__step + .flow__step::before { left: 0; }
  .learn { margin-top: 48px; border-radius: 16px; }
  .checks { grid-template-columns: 1fr; }
  .bento { margin-top: 32px; gap: 12px; }
  .case { padding: 20px; }
  .case--tea, .case--third, .case--wide { grid-column: span 12; }
  .case--lead { min-height: 0; padding: 24px; }
  .case--lead .case__body { max-width: none; }
  .case--lead .case__num { padding-top: 40px; }
  .case--wide { flex-direction: column; align-items: flex-start; gap: 0; }
  .case--wide .case__what { margin-top: 12px; max-width: none; }
  .rows { position: static; width: auto; margin-top: 24px; -webkit-mask-image: none; mask-image: none; }
  .rows__r:nth-child(-n+4) { display: none; }
  .rows__r:nth-child(5) { border-top: 0; }
  .shot { margin-bottom: -32px; }
  .mini-chat { margin-top: 0; }
  .projects { margin-top: 48px; }
  .projects__title { display: block; }
  .projects__title p { margin-top: 8px; }
  .project { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .project__meta { text-align: left; }
  .price { margin-top: 32px; gap: 48px; }
  .receipt { padding: 24px 20px 32px; }
  .plan { padding: 20px; }
  .about__facts li { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq__a { padding-right: 0; font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .footer { padding-bottom: 120px; }
}

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