/*
 * Лендинг Синеборска — по превью приглашения.
 *
 * Мир страницы: картография и точные приборы поверх современного интерфейса.
 * Горизонтали рельефа, направляющие с крестиками привязки, моноширинные
 * подписи по углам и координаты — «графика почти незаметна, её замечают не
 * сразу» (бренд-платформа, §17). Всё это живёт в первом экране; дальше
 * страница спокойнее, чтобы читать.
 *
 * Шрифты локальные: CDN не подключаем ни в приложении, ни здесь.
 */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/inter-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url('/fonts/inter-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Цвета — из токенов приложения и превью, а не выдуманные заново. */
  --ground: #0b0d16;
  --ground-deep: #080a11;
  --panel: #10131f;
  --panel-raised: #151929;
  --line: rgba(146, 156, 255, 0.1);
  --line-strong: rgba(146, 156, 255, 0.2);
  --ink: #eef0fa;
  --ink-muted: #b6bcd6;
  --ink-dim: #8f97b8;
  --lavender: #a3a8ec;
  --accent: #6366f1;
  --accent-hover: #7477f4;
  --accent-light: #5f95ff;
  --danger: #f43f5e;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Горизонтальной прокрутки быть не должно: экран приложения в первом
     экране нарочно выходит за край. */
  overflow-x: clip;
}

a { color: inherit; }

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

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

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lavender);
  line-height: 1.7;
}

/* Крестик привязки — главный знак графического языка. */
.cross { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: rgba(163, 168, 236, 0.55); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

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

.hero {
  position: relative;
  overflow-x: clip;
  min-height: min(100svh, 980px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background:
    radial-gradient(900px 620px at 88% 18%, rgba(99, 102, 241, 0.2), transparent 70%),
    radial-gradient(700px 500px at 8% 92%, rgba(95, 149, 255, 0.08), transparent 70%),
    var(--ground);
}

/* Рельеф: изолинии настоящего поля высот, а не нарисованные кривые. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/topo.svg') center / cover no-repeat;
  -webkit-mask-image: radial-gradient(130% 110% at 60% 45%, #000 45%, transparent 100%);
  mask-image: radial-gradient(130% 110% at 60% 45%, #000 45%, transparent 100%);
}

/* Первый экран — колоночный flex, и auto-поля от .wrap ужимали бы строки до
   ширины содержимого: логотип и подписи съезжали к центру. */
.hero > .wrap { width: 100%; }

/* Направляющие: тонкие линии, по которым выровнен первый экран. */
.guides { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.guides i { position: absolute; background: var(--line); }
.guides .v { top: 0; bottom: 0; width: 1px; }
.guides .h { left: 0; right: 0; height: 1px; }

.hero-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: clamp(28px, 5vw, 64px);
}

.lockup { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); text-decoration: none; }
.lockup-mark {
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 104px);
  aspect-ratio: 1;
  border-radius: 24%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #141828, #0c0f19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.lockup-mark img { width: 58%; height: auto; }
.lockup-name { display: block; font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.lockup-tag { display: block; margin-top: 12px; font-size: clamp(10px, 1vw, 13px); letter-spacing: 0.34em; color: var(--ink-muted); }

.index-list { position: relative; margin: 0; padding: 4px 0 0 44px; list-style: none; }
.index-list .cross { left: 0; top: 6px; }
.index-list li { font-size: 12px; letter-spacing: 0.32em; }

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  /* Только сверху и снизу: сокращённая запись «X 0» обнуляла боковые отступы
     .wrap, и заголовок прилипал к краю экрана. */
  padding-block: clamp(24px, 4vw, 48px);
}

.hero-copy { position: relative; z-index: 1; }

.hero h1 {
  margin: 0;
  /* Заголовок — главная фраза для поиска, и она вдвое длиннее прежней
     «Приглашение в Sineborsk». Кегль подобран так, чтобы фраза вставала в три
     строки и не заходила на экран приложения до перестройки в колонку. */
  font-size: clamp(34px, 4.3vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
/* Обещание выделено сплошным акцентом, как «всё по времени» в девизе ниже.
   Градиент был оправдан на названии из превью, на обычной фразе — нет. */
.hero h1 .promise { color: #8f95ff; }

.motto { margin: clamp(22px, 2.6vw, 34px) 0 0; font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.motto span { color: var(--lavender); white-space: nowrap; }

.lead { margin: 18px 0 0; max-width: 40ch; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-muted); letter-spacing: 0.01em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.actions-note { margin: 14px 0 0; font: 500 12px/1.6 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.button:active { transform: translateY(1px); }
.button-main { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.32); }
.button-main:hover { background: var(--accent-hover); }
.button-quiet { border-color: var(--line-strong); color: var(--ink); background: rgba(16, 19, 31, 0.6); }
.button-quiet:hover { border-color: rgba(163, 168, 236, 0.45); }
.button[disabled] { opacity: 0.55; cursor: progress; }

/* Экран приложения в перспективе: собран разметкой, а не картинкой — чёткий
   на любом экране и весит как абзац текста. Числа в нём выдуманные. */
.shot { position: relative; margin: 0 calc(var(--gutter) * -1 - 17vw) 0 0; perspective: 2400px; }
.shot-frame {
  container-type: inline-size;
  transform: rotateY(-20deg) rotateX(7deg) rotateZ(-2deg);
  transform-origin: 0 50%;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0f1220, #0b0d17);
  box-shadow:
    0 60px 140px rgba(20, 24, 70, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    -30px 0 90px rgba(99, 102, 241, 0.16);
  overflow: hidden;
}
.app { font-size: clamp(6px, 1.14cqw, 15px); display: grid; grid-template-columns: 5.6em 17.5em minmax(0, 1fr); height: 50em; color: var(--ink); line-height: 1.35; }

.app-rail { display: flex; flex-direction: column; align-items: center; gap: 1.7em; padding: 1.6em 0; border-right: 1px solid var(--line); }
.app-rail .logo { width: 2.6em; height: 2.6em; border-radius: 0.9em; border: 1px solid var(--line-strong); position: relative; }
.app-rail .logo::after { content: ''; position: absolute; right: 0.35em; top: 0.35em; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--danger); }
.app-rail i { width: 1.5em; height: 1.5em; border-radius: 0.4em; border: 1px solid rgba(163, 168, 236, 0.35); }
.app-rail i.on { background: rgba(99, 102, 241, 0.25); border-color: rgba(163, 168, 236, 0.6); }

.app-projects { border-right: 1px solid var(--line); padding: 1.4em 1.1em; overflow: hidden; }
.app-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.16em; color: var(--ink-muted); }
.chip { padding: 0.45em 0.8em; border-radius: 0.6em; background: rgba(99, 102, 241, 0.18); border: 1px solid rgba(99, 102, 241, 0.5); color: #cfd2ff; letter-spacing: 0.04em; font-family: var(--sans); }
.app-search { margin: 1.1em 0; padding: 0.7em 0.9em; border-radius: 0.7em; background: var(--ground-deep); border: 1px solid var(--line); font-size: 0.8em; color: var(--ink-dim); }
.app-projects ul { list-style: none; margin: 0; padding: 0; }
.app-projects li { position: relative; padding: 0.7em 0.8em 0.7em 2em; border-radius: 0.8em; }
.app-projects li b { display: block; font-weight: 500; font-size: 0.95em; }
.app-projects li small { display: block; font-family: var(--mono); font-size: 0.7em; color: var(--ink-dim); margin-top: 0.2em; }
.app-projects li::before { content: ''; position: absolute; left: 0.8em; top: 1.05em; width: 0.65em; height: 0.65em; border-radius: 50%; background: var(--c); }
.app-projects li.on { background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(99, 102, 241, 0.55); }
.app-projects li.on::after { content: ''; position: absolute; right: 0.9em; top: 50%; width: 1.3em; height: 1.3em; margin-top: -0.65em; border-radius: 0.35em; background: rgba(244, 63, 94, 0.18); box-shadow: inset 0 0 0 0.35em rgba(244, 63, 94, 0.1); }

.app-main { padding: 1.3em 1.4em; display: grid; gap: 1em; align-content: start; overflow: hidden; }
.app-input { padding: 0.9em 1em; border-radius: 0.8em; background: var(--ground-deep); border: 1px solid var(--line); font-size: 0.85em; color: var(--ink-dim); }
.app-card { border-radius: 1em; border: 1px solid var(--line); background: rgba(16, 19, 31, 0.8); padding: 1em 1.1em; }
.app-label { font-family: var(--mono); font-size: 0.68em; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

.track { position: relative; height: 2.6em; margin-top: 1em; border-radius: 0.5em; background: var(--ground-deep); }
.track span { position: absolute; top: 0.35em; bottom: 0.35em; left: var(--x); width: var(--w); border-radius: 0.15em; background: var(--c); }
.hours { display: flex; justify-content: space-between; margin-top: 0.5em; font-family: var(--mono); font-size: 0.62em; color: var(--ink-dim); }

.app-timer .row { display: flex; align-items: center; gap: 0.6em; }
.app-timer .dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: #ec4899; }
.app-timer b { font-weight: 600; }
.pill { font-family: var(--mono); font-size: 0.75em; padding: 0.25em 0.6em; border-radius: 0.5em; background: var(--ground-deep); color: var(--ink-muted); }
.spacer { flex: 1; }
.btn { font-size: 0.75em; padding: 0.55em 0.9em; border-radius: 0.6em; border: 1px solid var(--line-strong); color: var(--ink-muted); }
.btn.accent { border-color: rgba(99, 102, 241, 0.7); color: #d4d6ff; background: rgba(99, 102, 241, 0.16); }
.task-add { display: flex; gap: 0.6em; margin-top: 0.9em; }
.task-add .field { flex: 1; padding: 0.7em 0.9em; border-radius: 0.7em; background: var(--ground-deep); border: 1px solid var(--line); font-size: 0.82em; }
.task-add .solid { padding: 0.7em 1.2em; border-radius: 0.7em; background: var(--accent); color: #fff; font-size: 0.82em; font-weight: 600; }
.task { display: flex; align-items: center; gap: 0.8em; margin-top: 0.7em; padding: 0.7em 0.9em; border-radius: 0.8em; border: 1px solid var(--line); }
.task .ring { width: 1em; height: 1em; border-radius: 50%; border: 1px solid var(--ink-dim); }
.task small { display: block; font-family: var(--mono); font-size: 0.72em; color: var(--ink-dim); }

.app-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1em; }
.load { list-style: none; margin: 0.8em 0 0; padding: 0; display: grid; gap: 0.75em; }
.load li { display: grid; grid-template-columns: 1fr auto; font-size: 0.8em; row-gap: 0.35em; }
.load li span { font-family: var(--mono); color: var(--ink-muted); font-size: 0.9em; }
.load li i { grid-column: 1 / -1; height: 0.35em; border-radius: 1em; background: linear-gradient(90deg, var(--c) var(--p), rgba(255, 255, 255, 0.06) var(--p)); }
.log { list-style: none; margin: 0.8em 0 0; padding: 0; display: grid; gap: 0.8em; }
.log li { display: grid; grid-template-columns: 0.7em 1fr auto; align-items: baseline; column-gap: 0.6em; font-size: 0.8em; }
.log li::before { content: ''; width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--c); transform: translateY(0.08em); }
.log li span { text-align: right; font-family: var(--mono); color: var(--ink-muted); font-size: 0.9em; line-height: 1.3; }
.log li span small { display: block; color: var(--ink-dim); font-size: 0.85em; }

.hero-bottom { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-bottom: clamp(26px, 4vw, 48px); }
.hero-bottom .coords { position: relative; padding-left: 40px; }
.hero-bottom .coords .cross { left: 0; top: 50%; margin-top: -11px; }
.hero-bottom .motto-mono { text-align: left; color: var(--ink-dim); }
.hero-bottom .quote { position: relative; justify-self: end; padding-left: 40px; color: var(--ink-dim); }
.hero-bottom .quote .cross { left: 0; top: 2px; }

/* ————— Разделы ————— */

.band { position: relative; padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.band h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.band .intro { margin: 18px 0 0; max-width: 58ch; color: var(--ink-muted); text-wrap: pretty; }

/* Условные обозначения: легенда карты вместо одинаковых карточек. */
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.legend-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.legend-item svg { width: 44px; height: 44px; color: var(--lavender); }
.legend-item h3 { margin: 4px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.legend-item p { margin: 0; color: var(--ink-muted); max-width: 42ch; text-wrap: pretty; }

/* Деньги: договор во времени слева, из чего сложилась сумма — справа.
   Префикс money-: .track уже занят таймлайном в экране приложения. */
.money-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.money-label { margin: 0 0 22px; }
.money-stages { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; }
.money-stages::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--accent), rgba(95, 149, 255, 0.45), transparent); }
.money-stages li { position: relative; display: grid; gap: 4px; padding-bottom: 28px; }
.money-stages li:last-child { padding-bottom: 0; }
.money-stages li::before { content: ''; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ground); border: 1px solid rgba(163, 168, 236, 0.6); }
.money-period { font: 500 12px/1.6 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.money-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.money-name { font-size: 19px; font-weight: 600; }
.money-sum { font: 600 17px var(--mono); white-space: nowrap; }
.money-hint { color: var(--ink-muted); font-size: 15px; }
.money-aside { margin: 28px 0 0; max-width: 44ch; font-size: 15px; color: var(--ink-dim); text-wrap: pretty; }
.money-punch { margin: clamp(28px, 3.5vw, 40px) 0 0; max-width: 26ch; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; text-wrap: balance; }
.money-punch em { font-style: normal; color: var(--lavender); }
.money-bill { padding: clamp(22px, 2.6vw, 34px); border-radius: 20px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--panel-raised), var(--panel)); box-shadow: 0 30px 80px rgba(4, 6, 14, 0.45); }
.money-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.money-head strong { font-size: 17px; font-weight: 700; }
.money-head span { font: 500 11px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.money-line, .money-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.money-line { padding: 16px 0; border-bottom: 1px solid var(--line); }
.money-line small { display: block; margin-top: 2px; font: 500 12px/1.7 var(--mono); color: var(--ink-dim); }
.money-line b, .money-total b { font-family: var(--mono); white-space: nowrap; }
.money-line b { font-size: 18px; font-weight: 600; }
.money-total { padding: 20px 0 0; font-weight: 700; }
.money-total b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.money-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-dim); text-wrap: pretty; }

/* Как попасть — это правда последовательность, поэтому маршрут с точками. */
.route { position: relative; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.route::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(95, 149, 255, 0.5), transparent); }
.route li { position: relative; padding-top: 70px; }
.route .point { position: absolute; top: 0; left: 0; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); border: 1px solid rgba(163, 168, 236, 0.5); font: 500 13px var(--mono); color: var(--lavender); }
.route h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.route p { margin: 0; color: var(--ink-muted); text-wrap: pretty; }
.route-note { margin: clamp(36px, 4vw, 52px) 0 0; max-width: 58ch; color: var(--ink-muted); text-wrap: pretty; }

.ledger { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ledger > div { padding: clamp(24px, 3vw, 40px); }
.ledger > div + div { border-left: 1px solid var(--line); background: rgba(99, 102, 241, 0.05); }
.ledger h3 { margin: 0 0 18px; font-size: 20px; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ledger li { display: grid; grid-template-columns: 22px 1fr; color: var(--ink-muted); }
.ledger li::before { font-family: var(--mono); color: var(--ink-dim); }
.ledger .seen li::before { content: '+'; }
.ledger .hidden li::before { content: '—'; color: var(--lavender); }

/* Заявка */
.request { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 40px 100px rgba(8, 10, 30, 0.6); }
.form .cross { top: -11px; right: -11px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lavender); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--ground-deep);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-light); box-shadow: 0 0 0 4px rgba(95, 149, 255, 0.14); }
.field textarea { resize: vertical; min-height: 104px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.answer { margin: 18px 0 0; min-height: 1.6em; }
.answer[data-kind='ok'] { color: #5eead4; }
.answer[data-kind='error'] { color: #fda4af; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--ink-dim); }
.fine a { color: inherit; text-underline-offset: 3px; }
.agree { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 4px 0 22px; font-size: 15px; line-height: 1.5; color: var(--ink-muted); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.agree a { color: var(--accent-light); text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
footer .mono { color: var(--ink-dim); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: none; font: 400 14px/1.6 var(--sans); color: var(--ink-dim); text-decoration: none; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover, .footer-legal [aria-current] { color: var(--ink); }

/* Уведомление о Метрике: не модальное, страницу не закрывает. */
.consent { position: fixed; left: var(--gutter); bottom: 20px; z-index: 20; max-width: 520px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(16, 19, 31, 0.96); box-shadow: 0 24px 70px rgba(3, 5, 12, 0.6); backdrop-filter: blur(8px); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-muted); }
.consent strong { color: var(--ink); font-weight: 600; }
.consent a { color: var(--accent-light); text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent .button { padding: 11px 18px; font-size: 15px; }

/* ————— Документы: политика, согласие, соглашение ————— */
/* Строгая страница для чтения: без рельефа и направляющих. Колонка уже, чем
   у лендинга, и текст заполняет её целиком — шапка и подвал стоят по тем же
   краям. На ширине лендинга строка вышла бы в полторы сотни знаков, а узкий
   текст в широкой колонке оставлял справа пустое поле, как под сайдбар.
   Янтарные .todo — незаполненные реквизиты, их видно издалека. */
.doc-page { --wrap: 960px; }
.doc-top { border-bottom: 1px solid var(--line); }
.doc-top-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.doc-home { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.doc-home img { width: 22px; height: 22px; }
.doc-back { font-size: 15px; color: var(--ink-dim); text-decoration: none; }
.doc-back:hover { color: var(--ink); }
.doc { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.doc h1 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.doc h2 { margin: 48px 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.doc h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.doc p, .doc li { color: var(--ink-muted); text-wrap: pretty; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--ink-dim); }
.doc a { color: var(--accent-light); text-underline-offset: 3px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc-summary { margin: 32px 0 8px; padding: 22px 26px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); }
.doc-summary h2 { margin: 0 0 10px; font: 500 12px/1.7 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--lavender); }
.doc-summary li { color: var(--ink); }
.doc-summary p { margin: 12px 0 0; font-size: 14px; color: var(--ink-dim); }
.doc-requisites { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; }
.doc-requisites dt { font: 500 12px/1.9 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.doc-requisites dd { margin: 0; color: var(--ink); }
.todo { padding: 1px 6px; border-radius: 4px; background: rgba(251, 191, 36, 0.12); color: #fbbf24; font: 500 0.9em var(--mono); }

/* ————— Появление: одна сцена первого экрана, а не «всплытие» каждого блока ————— */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: 0; transform: rotateY(-32deg) rotateX(12deg) rotateZ(-4deg) translateX(60px); } }
@keyframes draw { from { opacity: 0; } }

.hero::before { animation: draw 1600ms var(--ease-out); }
.lockup { animation: rise 900ms var(--ease-out); }
.hero h1 { animation: rise 900ms 80ms var(--ease-out) backwards; }
.motto { animation: rise 900ms 160ms var(--ease-out) backwards; }
.lead, .actions, .actions-note { animation: rise 900ms 240ms var(--ease-out) backwards; }
.shot-frame { animation: settle 1400ms 120ms var(--ease-out) backwards; }

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

/* ————— Узкие экраны ————— */

@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; }
  .shot { margin: 8px calc(var(--gutter) * -1) 0 0; }
  .shot-frame { transform: rotateY(-10deg) rotateX(5deg) rotateZ(-1deg); }
  .request { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .index-list { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 14px; }
  .hero-bottom .quote { justify-self: start; }
  .legend { grid-template-columns: 1fr; }
  .money-pair { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .route::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), transparent); }
  .route li { padding: 0 0 0 72px; min-height: 45px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .consent { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .doc-requisites { grid-template-columns: 1fr; gap: 2px; }
  .doc-requisites dd { margin-bottom: 10px; }
}
