/* Лендинг dosta.money. Токены - роли айдентики (apps/app/src/ui/tokens.ts, dosta-identity.md 2.1).
   Тема только системная, ручного переключателя нет. Инлайн-стилей нет: CSP style-src 'self'. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-400.woff2') format('woff2');
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+2009,
    U+200B-200D, U+2010-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2030, U+2039-203A,
    U+2044, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2260, U+2264-2265;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-500.woff2') format('woff2');
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+2009,
    U+200B-200D, U+2010-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2030, U+2039-203A,
    U+2044, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2260, U+2264-2265;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-600.woff2') format('woff2');
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+2009,
    U+200B-200D, U+2010-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2030, U+2039-203A,
    U+2044, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2260, U+2264-2265;
}
/* Кириллица - Roboto Flex (запасной шрифт дизайн-системы); EN-страница его не тянет */
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-flex-cyr-400.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-flex-cyr-500.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/roboto-flex-cyr-600.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}

:root {
  color-scheme: light;
  --canvas: #eef3f1;
  --surface: #ffffff;
  --sunken: #e3ebe8;
  --tint: #d4e7df;
  --ink: #0f1f1a;
  --muted: #4d625b;
  --hairline: #d3ddd9;
  --control: #6c817a;
  --forest: #05443d;
  --on-forest: #ffffff;
  --hero: #05443d;
  --on-hero: #ffffff;
  --on-hero-muted: #a9cfc2;
  --mint: #a8e6c9;
  --out: #b3261e;
  --in: #17693c;
  --transfer: #1e3c7a;
  --planned: #72243c;
  --warning: #7a5200;
  --warning-surface: #fbefd4;
  --danger-surface: #fbe3e0;
  --bezel: #0f1f1a;
  --shadow: 0 8px 24px rgba(8, 40, 32, 0.14);
  --hdr-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #0b110e;
    --surface: #141c17;
    --sunken: #1c2620;
    --tint: #213a2e;
    --ink: #e6ece9;
    --muted: #9dafa7;
    --hairline: #26322c;
    --control: #647a71;
    --forest: #7fd8a8;
    --on-forest: #03261d;
    --hero: #0f3a2c;
    --on-hero: #e9f7f0;
    --on-hero-muted: #93c4b0;
    --mint: #7fd8a8;
    --out: #ff8f85;
    --in: #7fd8a8;
    --transfer: #a9c1f5;
    --planned: #f2a7bd;
    --warning: #f0c46a;
    --warning-surface: #2e2410;
    --danger-surface: #3a1714;
    --bezel: #2c3832;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Space Grotesk', 'Roboto Flex', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a {
  color: var(--forest);
}
a:hover {
  color: var(--ink);
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}
section[id],
article[id],
main[id] {
  scroll-margin-top: calc(var(--hdr-h) + 8px);
}

/* Фокус: forest 2 px; на поверхностях цвета hero - mint, иначе кольцо сливается с фоном */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.on-hero :focus-visible {
  outline-color: var(--mint);
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 40;
  background: var(--forest);
  color: var(--on-forest);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
  color: var(--on-forest);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.num {
  font-variant-numeric: tabular-nums;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  white-space: nowrap;
}
/* Код валюты - цветом ink-muted, без прозрачности (айдентика 3.2) */
.cur {
  color: var(--muted);
}
.ic {
  width: 20px;
  height: 20px;
  flex: none;
}
.ic-s {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Шапка */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--hdr-h);
}
.mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--forest);
  text-decoration: none;
  margin-right: 24px;
}
a.mark:hover {
  color: var(--forest);
}
.nav {
  display: flex;
  gap: 2px;
  flex: 1;
}
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 0 14px;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--sunken);
  color: var(--ink);
}
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0 12px;
  border-radius: 999px;
}
.lang:hover {
  background: var(--sunken);
  color: var(--ink);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 0;
  cursor: pointer;
}
.btn-primary,
a.btn-primary {
  background: var(--forest);
  color: var(--on-forest);
}
a.btn-primary:hover {
  color: var(--on-forest);
  filter: brightness(1.12);
}
.btn-tonal,
a.btn-tonal {
  background: var(--sunken);
  color: var(--ink);
}
a.btn-tonal:hover {
  background: var(--tint);
  color: var(--ink);
}
.btn-mint,
a.btn-mint {
  background: var(--mint);
  color: var(--hero);
}
a.btn-mint:hover {
  color: var(--hero);
  filter: brightness(1.05);
}
.btn-line,
a.btn-line {
  background: transparent;
  color: var(--on-hero);
  border: 1px solid var(--on-hero-muted);
}
a.btn-line:hover {
  color: var(--on-hero);
  background: rgba(255, 255, 255, 0.08);
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

/* Плашка «Есть русская версия» */
.lang-hint {
  background: var(--tint);
  color: var(--ink);
}
.lang-hint[hidden] {
  display: none;
}
.lang-hint-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  font-size: 15px;
}
.lang-hint a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.lang-hint-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.lang-hint-x:hover {
  background: var(--surface);
}

/* Hero */
.hero {
  padding: 72px 0 104px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--muted);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--in);
  flex: none;
}
.h1 {
  font-size: 62px;
  line-height: 66px;
  letter-spacing: -1.6px;
  margin: 20px 0 22px;
  max-width: 640px;
}
.lead {
  font-size: 19px;
  line-height: 30px;
  color: var(--muted);
  max-width: 580px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.facts .ic-s {
  color: var(--forest);
}
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

/* Иллюстрация телефона: корпус 46 - исключение шкалы радиусов */
.phone {
  width: 340px;
  max-width: 100%;
  height: 690px;
  border-radius: 46px;
  border: 10px solid var(--bezel);
  background: var(--canvas);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.ph-body {
  padding: 26px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.ph-title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.seg {
  display: flex;
  background: var(--sunken);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seg span {
  flex: 1;
  text-align: center;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  padding: 9px 6px;
  border-radius: 999px;
  color: var(--muted);
}
.seg .on {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.sts {
  background: var(--hero);
  color: var(--on-hero);
  border-radius: 28px;
  padding: 18px 18px 16px;
}
.sts .cur {
  color: var(--on-hero-muted);
}
.sts-k {
  font-size: 13px;
  line-height: 16px;
  color: var(--on-hero-muted);
}
.sts-fig {
  display: block;
  font-size: 46px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 6px 0 10px;
}
.sts-fig .cur {
  font-size: 28px;
  letter-spacing: 0;
}
.sts-line {
  font-size: 13px;
  line-height: 18px;
  color: var(--on-hero-muted);
  margin-top: 6px;
}
.sts-line .num {
  color: var(--on-hero);
}
.sts-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sts-b1 {
  background: var(--mint);
  color: var(--hero);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
}
.sts-b2 {
  border: 1px solid var(--on-hero-muted);
  color: var(--on-hero);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}
.mini {
  background: var(--surface);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mini-k {
  font-size: 13px;
  line-height: 16px;
  color: var(--muted);
}
.mini-v {
  display: block;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  margin-top: 4px;
}
.chip-t {
  background: var(--sunken);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
}
.ph-nav {
  display: flex;
  justify-content: space-around;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 8px 4px 14px;
  margin-top: auto;
}
.ph-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  color: var(--muted);
  min-width: 0;
}
.ph-nav i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  color: var(--ink);
}
.ph-nav .on i {
  background: var(--tint);
  color: var(--forest);
}
.ph-nav .on {
  color: var(--ink);
  font-weight: 600;
}
.fab {
  position: absolute;
  right: 14px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: var(--on-forest);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.float {
  position: absolute;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  width: 248px;
}
.fl-1 {
  left: -6px;
  top: 470px;
}
.fl-2 {
  right: -10px;
  top: 96px;
  width: 236px;
}
.fl-k {
  font-size: 13px;
  line-height: 16px;
  color: var(--muted);
}
.fl-t {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  margin-top: 2px;
}
.fl-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}
.verdict {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}
.verdict b {
  font-weight: 600;
}
.v-yes {
  background: var(--tint);
  color: var(--ink);
}
.v-yes .ic-s {
  color: var(--forest);
}
.v-warn {
  background: var(--warning-surface);
  color: var(--warning);
}
.v-no {
  background: var(--danger-surface);
  color: var(--out);
}
.notif {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notif-ic {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--hero);
  color: var(--on-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Секции */
.sec {
  padding: 104px 0;
}
.sec-alt {
  background: var(--surface);
}
.sec-tight {
  padding-top: 0;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--forest);
}
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.h2 {
  font-size: 46px;
  line-height: 52px;
  letter-spacing: -1.1px;
  margin: 14px 0 18px;
  max-width: 840px;
}
.sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 700px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
}
.sec-alt .step,
.sec-alt .card {
  background: var(--canvas);
}
.step-n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--forest);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.h3 {
  font-size: 21px;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-head .h3,
.priv .h3 {
  margin: 0;
}
.txt {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.span-2 {
  grid-column: span 2;
}
.span-4 {
  grid-column: span 4;
}
.span-6 {
  grid-column: span 6;
}
.card-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sunken);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ck {
  background: var(--canvas);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}
.ck-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-weight: 600;
}
.ck-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 6px;
}
.ck .verdict {
  margin-top: 10px;
  padding: 8px 10px;
}
.acc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.acc:last-child {
  border-bottom: 0;
}
.acc-n {
  color: var(--muted);
}
.fx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  background: var(--canvas);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
}
.fx-c {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.fx + .fx-c {
  margin-top: 6px;
}
.plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--canvas);
  border-radius: 12px;
  padding: 12px 14px;
}
.plan-n {
  font-weight: 500;
}
.plan-a {
  color: var(--planned);
  font-weight: 500;
}
.mail {
  background: var(--canvas);
  border-radius: 12px;
  padding: 14px;
}
.mail-from {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.mail-s {
  font-weight: 600;
  margin: 4px 0 10px;
}
.mail-b {
  display: inline-flex;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--canvas);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 20px;
}
.status .ic-s {
  color: var(--forest);
}

/* Веб-версия */
.web {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}
.web .h3 {
  margin-top: 18px;
}
.web-cta {
  margin-top: 22px;
}
.browser {
  background: var(--canvas);
  border-radius: 20px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  min-width: 0;
}
.br-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}
.br-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hairline);
}
.br-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 12px;
}
.br-in {
  display: flex;
  min-height: 260px;
}
.br-side {
  width: 150px;
  padding: 14px 10px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
}
.br-side b {
  color: var(--forest);
  font-size: 14px;
  padding: 4px 10px 12px;
}
.br-side span {
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
}
.br-side .on {
  background: var(--tint);
  font-weight: 600;
}
.br-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.stat {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
}
.stat-k {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.stat-v {
  display: block;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  margin-top: 4px;
}
.tbl {
  background: var(--surface);
  border-radius: 12px;
  padding: 4px 12px;
}
.tbl-day {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 0 4px;
}
.tr {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 120px;
  gap: 8px;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.tr:last-child {
  border-bottom: 0;
}
.tr-h {
  color: var(--muted);
  font-weight: 500;
}
.tr-mark {
  display: block;
  font-size: 11px;
  line-height: 14px;
  color: var(--muted);
}
.r {
  text-align: right;
}
.out {
  color: var(--out);
}
.inc {
  color: var(--in);
}
.pln {
  color: var(--planned);
}

/* Общий бюджет */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.li-ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.li-t {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.panel {
  background: var(--canvas);
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.row:last-child {
  border-bottom: 0;
}
.glyph {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--ink);
}
.glyph-in {
  color: var(--in);
}
.glyph-pln {
  color: var(--planned);
}
.row-m {
  flex: 1;
  min-width: 0;
}
.row-t {
  font-size: 16px;
  line-height: 22px;
}
.row-s {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.ava {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--forest);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.grp {
  background: var(--surface);
  border-radius: 20px;
  padding: 4px 16px;
}
.grp-h {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 0 4px;
}
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.who-c {
  background: var(--surface);
  border-radius: 20px;
  padding: 14px 16px;
}
.who-k {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.who-yes {
  color: var(--forest);
}
.who-c ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

/* Приватность */
.priv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.priv .card {
  gap: 14px;
}
.cap {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  margin-top: 14px;
}
.cap-lg {
  font-size: 15px;
  line-height: 22px;
  margin-top: 24px;
}

/* MCP */
.mcp {
  background: var(--surface);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 44px;
}
.soon,
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}
.soon {
  background: var(--warning-surface);
  color: var(--warning);
}
.live {
  background: var(--tint);
  color: var(--forest);
}
.asks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ask {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--canvas);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 22px;
}
.ask .ic-s {
  color: var(--forest);
  margin-top: 3px;
}
.chat {
  background: var(--canvas);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.bub-u {
  align-self: flex-end;
  background: var(--tint);
  border-radius: 20px 20px 6px 20px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 22px;
  max-width: 86%;
}
.bub-a {
  align-self: flex-start;
  background: var(--surface);
  border-radius: 20px 20px 20px 6px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 22px;
  max-width: 92%;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  background: var(--sunken);
  border-radius: 999px;
  padding: 4px 10px;
}
.tabs {
  display: flex;
  background: var(--sunken);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-top: 22px;
}
.tab {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.tab[aria-selected='true'] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.howto {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.howto[hidden] {
  display: none;
}
.howto-h {
  font-size: 17px;
  line-height: 22px;
}
.ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: s;
}
.ol-from-2 {
  counter-reset: s 1;
}
.ol-from-3 {
  counter-reset: s 2;
}
.ol li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}
.ol li::before {
  counter-increment: s;
  content: counter(s);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--forest);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Блок кода тёмный в обеих темах: литералы = ink светлой, ink и tint тёмной */
.code {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f1f1a;
  color: #e6ece9;
  border-radius: 12px;
  padding: 8px 8px 8px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
}
.code code {
  flex: 1;
  min-width: 0;
  /* перенос вместо прокрутки: прокручиваемый блок без фокуса недоступен с клавиатуры (axe) */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  padding: 4px 0;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: #213a2e;
  color: #e6ece9;
  font-family: 'Space Grotesk', 'Roboto Flex', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  flex: none;
}
.copy:focus-visible {
  outline-color: #7fd8a8;
}
.ui {
  font-weight: 600;
  background: var(--sunken);
  border-radius: 6px;
  padding: 1px 6px;
}
.note {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  background: var(--canvas);
  border-radius: 12px;
  padding: 10px 12px;
}
.promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.promises li {
  display: flex;
  gap: 12px;
}

/* Сравнение */
.cmp {
  width: 100%;
  border-collapse: collapse;
  margin-top: 44px;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
}
.cmp th {
  text-align: left;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline);
}
.cmp td,
.cmp tbody th {
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  font-size: 16px;
  line-height: 24px;
}
.cmp tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 22%;
}
.cmp tr:last-child td,
.cmp tr:last-child th {
  border-bottom: 0;
}
.cmp td.them {
  color: var(--muted);
  width: 36%;
}
.cmp .us {
  background: var(--tint);
}
.cmp thead th.us {
  color: var(--forest);
  font-weight: 600;
}

/* Скачать */
.dlg {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.dl-card {
  background: var(--canvas);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.dl-card .ic {
  color: var(--forest);
}
.dl-main {
  background: var(--hero);
  color: var(--on-hero);
}
/* Иконка в кнопке - цветом текста кнопки: в тёмной теме --forest совпадает с --mint */
.dl-card .btn .ic {
  color: inherit;
}
.dl-main .card-head .ic,
.dl-main .txt,
.dl-main .meta {
  color: var(--on-hero-muted);
}
.dl-main a:not(.btn) {
  color: var(--on-hero);
}
.dl-main a:not(.btn):hover {
  color: var(--mint);
}
.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}
.dl-alt {
  font-size: 14px;
  line-height: 24px;
}
.dl-alt a {
  font-weight: 600;
}
.dl-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: d;
}
.dl-steps li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  color: var(--on-hero);
}
.dl-steps li::before {
  counter-increment: d;
  content: counter(d);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Вопросы */
.faq {
  max-width: 860px;
  margin-top: 44px;
  background: var(--surface);
  border-radius: 20px;
  padding: 4px 24px;
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  padding: 20px 0;
  min-height: 48px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ic {
  color: var(--muted);
  transition: transform 0.18s;
}
.faq details[open] summary .ic {
  transform: rotate(180deg);
}
.faq .ans {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
  max-width: 720px;
}

/* Финал */
.final {
  background: var(--hero);
  color: var(--on-hero);
  border-radius: 28px;
  padding: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final .h2 {
  margin: 0 0 12px;
  max-width: 640px;
}
.final .sub {
  color: var(--on-hero-muted);
}
.final-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Подвал */
.ftr {
  padding: 56px 0 48px;
  border-top: 1px solid var(--hairline);
}
.ftr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.ftr .mark {
  margin: 0;
}
.ftr-about {
  margin-top: 12px;
  max-width: 320px;
}
.ftr h2 {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
}
.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.ftr li a,
.linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  /* короткая ссылка («FAQ») тоже не уже 44 px */
  min-width: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.ftr li a:hover,
.linkbtn:hover {
  color: var(--forest);
  text-decoration: underline;
}
.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.ftr-b {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage {
    margin-top: 16px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-2 {
    grid-column: span 1;
  }
  .span-4,
  .span-6 {
    grid-column: span 2;
  }
  .split,
  .web,
  .mcp,
  .dlg {
    grid-template-columns: minmax(0, 1fr);
  }
  .priv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    display: none;
  }
  .hdr-in {
    justify-content: space-between;
  }
  .mark {
    margin-right: auto;
  }
}
@media (max-width: 720px) {
  :root {
    --hdr-h: 64px;
  }
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding: 40px 0 64px;
  }
  .h1 {
    font-size: 40px;
    line-height: 46px;
    letter-spacing: -1px;
  }
  .lead {
    font-size: 17px;
    line-height: 27px;
  }
  .h2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.6px;
  }
  .sub {
    font-size: 16px;
    line-height: 25px;
  }
  .sec {
    padding: 64px 0;
  }
  .sec-tight {
    padding-top: 0;
  }
  .steps,
  .bento,
  .priv,
  .checks,
  .who,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .span-2,
  .span-4,
  .span-6 {
    grid-column: span 1;
  }
  .card,
  .step {
    padding: 22px;
  }
  .float {
    display: none;
  }
  .phone {
    width: 300px;
    height: 640px;
  }
  .mcp {
    padding: 24px 16px;
    gap: 28px;
  }
  .dl-card {
    padding: 24px;
  }
  .final {
    padding: 36px 24px;
  }
  .hdr-web,
  .lang-hdr {
    display: none;
  }
  .mark {
    font-size: 18px;
    margin-right: auto;
  }
  .cta-row .btn,
  .final-btns .btn,
  .final-btns {
    width: 100%;
  }
  .br-side {
    display: none;
  }
  .tr {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .tr .hide-s {
    display: none;
  }
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp td,
  .cmp tbody th {
    display: block;
    width: 100% !important;
  }
  .cmp thead {
    display: none;
  }
  .cmp tr {
    border-bottom: 1px solid var(--hairline);
    padding: 14px 18px;
  }
  .cmp td,
  .cmp tbody th {
    border: 0;
    padding: 4px 0;
  }
  .cmp .us {
    background: transparent;
  }
  .cmp td[data-l]::before {
    content: attr(data-l);
    display: block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--muted);
  }
  .cmp td.us[data-l]::before {
    color: var(--forest);
  }
  .ftr-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq {
    padding: 4px 16px;
  }
}
@media (max-width: 360px) {
  .phone {
    width: 100%;
    height: 620px;
  }
  .ph-nav i {
    width: 40px;
  }
  .btn-sm {
    padding: 0 12px;
  }
  .h1 {
    font-size: 34px;
    line-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
