/* Bitki — новый сайт (Б-50 → Б-56).
   Б-54: спокойный стиль банковских сайтов (ориентир заказчика — bancoplata.mx), один шрифт Manrope (выбран заказчиком 25.09.2026); Б-67 — Wix Madefor Display / Text.
   Б-56 (27.09.2026): элементы плоские — без обводок и теней; шрифты крупнее и легче (как у bancoplata.mx: заголовки 80 / 64 px
   средней насыщенности, текст 17–20 px); первый экран всегда тёмный, со скруглёнными нижними углами — при смене темы в нём
   меняется только экран телефона, а ниже — вся страница. Всё — свои файлы (CSP: style-src/font-src 'self'). */

@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-display-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-display-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-text-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-text-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/wix-madefor-text-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* светлая тема — по умолчанию */
:root {
  color-scheme: light;
  --bg: #F6F7F9; --bg-2: #FFFFFF; --bg-3: #EEF1F4;
  --text: #0B0E13; --text-2: #454C58; --text-3: #626A77;
  --line: rgba(12, 16, 24, .08);
  --card: #FFFFFF; --card-alt: #F2F4F6;                                      /* card-alt — карточки в белых разделах */
  --fill: #EDEFF2; --fill-hover: #E3E6EA;                                    /* плоские кнопки, переключатели, плашки */
  --brand: #FF5F1F; --brand-hi: #EE520F; --brand-ink: #FFFFFF; --brand-soft: rgba(255, 95, 31, .14); --brand-tint: #FFF0E8;   /* Б-68/Б-77: акцент — оранжевый (зелёная версия удалена 28.09.2026) */
  --kr: #2C64D4; --eu: #7C8591; --warn: #9A5B00; --bad: #C4261C; --good: #1FB35F;                  /* Б-63: «хороший» итог — зелёный как у подписей */
  --accent-text: #C2410C; --accent-display: #F25410;
  --focus: #0B0E13; --sel-bg: rgba(255, 95, 31, .28); --sel-fg: #1F0B00;
  --nav-bg: rgba(246, 247, 249, .88); --menu-bg: rgba(246, 247, 249, .98);
  --globe-fallback: radial-gradient(circle at 40% 35%, #FFFFFF, #E3E7EC 60%);
  --tag-kr-bg: rgba(44, 100, 212, .10); --tag-kr-fg: #1E4FB3; --src-fg: #353C46;
  --knob-ring: rgba(12, 16, 24, .12);
  --good-bg: rgba(69, 212, 131, .16); --warn-bg: #FBF1E3;
  --gauge: linear-gradient(90deg, rgba(18,161,80,.55), rgba(224,150,40,.55) 55%, rgba(214,72,56,.55));
  --app-bg: #FFFFFF; --app-fg: #0B0E13; --app-fg-2: #626A77; --app-soft: #F3F5F7; --app-line: #EDF0F3;   /* экран телефона — по теме */
  --cta-bg: #000000; --cta-fg: #FFFFFF;   /* Б-94: панель «Скачать» — тот же чёрный, что первый экран */
  --cta-fg-2: rgba(255, 255, 255, .72); --cta-glow: rgba(255, 95, 31, .3);
  /* цвета строк расчёта (полоса и легенда) */
  --c-buy: #A2AAB5; --c-ship: #4A86E8; --c-customs: #E6A23C; --c-util: #EE7663; --c-fees: #25B0A3; --c-vat: #1FA75A;
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --wrap: 1200px; --pad: 32px; --nav-h: 76px; --sec: 136px; --hero-r: 20px;   /* Б-79: нижние углы первого экрана — как у Plata: 20 px, уже 1080 px — 24 px */
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* Б-67: шрифты как у bancoplata.mx по характеру — Wix Madefor Display (заголовки, крупные цифры) и Wix Madefor Text (текст) */
  --f-text: 'Wix Madefor Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --f-display: 'Wix Madefor Display', 'Wix Madefor Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}
/* тёмная тема — кнопкой в шапке */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030507; --bg-2: #0E1117; --bg-3: #141922;                           /* Б-52: шаг между разделами заметен */
  --text: #F2F5F8; --text-2: #AEB6C1; --text-3: #868F9B;
  --line: rgba(255, 255, 255, .08);
  --card: #0F1318; --card-alt: #161B23;
  --fill: rgba(255, 255, 255, .07); --fill-hover: rgba(255, 255, 255, .12);
  --brand: #FF5F1F; --brand-hi: #FF7A3D; --brand-ink: #FFFFFF; --brand-soft: rgba(255, 95, 31, .16); --brand-tint: rgba(255, 95, 31, .10);
  --kr: #6AA9FF; --eu: #C3CAD3; --warn: #F5B84A; --bad: #FF7A6E; --good: #45D483;
  --accent-text: #FF7A3D; --accent-display: #FF7A3D;
  --focus: #FFFFFF; --sel-bg: rgba(255, 95, 31, .35); --sel-fg: #FFFFFF;
  --nav-bg: rgba(3, 5, 7, .8); --menu-bg: rgba(3, 5, 7, .97);
  --globe-fallback: radial-gradient(circle at 40% 35%, #1B222C, #07090D 60%);
  --tag-kr-bg: rgba(106, 169, 255, .16); --tag-kr-fg: #A9CCFF; --src-fg: #C9D0D8;
  --knob-ring: rgba(255, 255, 255, .15);
  --good-bg: rgba(69, 212, 131, .09); --warn-bg: rgba(245, 184, 74, .09);
  --gauge: linear-gradient(90deg, rgba(69,212,131,.5), rgba(245,184,74,.45) 55%, rgba(255,122,110,.5));
  --app-bg: #0B0E13; --app-fg: #F2F5F8; --app-fg-2: #9AA3AF; --app-soft: #151A22; --app-line: rgba(255, 255, 255, .08);
  --cta-bg: #000000; --cta-fg: #F2F5F8; --cta-fg-2: #AEB6C1; --cta-glow: rgba(255, 95, 31, .24);
  --c-buy: #C3CAD3; --c-ship: #6AA9FF; --c-customs: #F5B84A; --c-util: #FF7A6E; --c-fees: #4FD1C5; --c-vat: #45D483;
}
/* первый экран и шапка над ним — всегда тёмные: свои токены, от темы не зависят (меняется только экран телефона) */
.hero, .nav.on-dark {
  color-scheme: dark;
  --text: #F4F6F8; --text-2: #B4BCC7; --text-3: #8E97A3;
  --fill: rgba(255, 255, 255, .09); --fill-hover: rgba(255, 255, 255, .15);
  --line: rgba(255, 255, 255, .1);
  --accent-display: #FF5F1F; --focus: #FFFFFF;                          /* Б-80: «решение.» — цветом кнопок */
  --nav-bg: rgba(0, 0, 0, .78); --menu-bg: rgba(6, 6, 6, .98);          /* шапка над первым экраном — тоже чёрная */
}
@media (max-width: 1079px) { :root { --hero-r: 24px; } }
@media (max-width: 1023px) { :root { --pad: 24px; --sec: 104px; --nav-h: 68px; } }
@media (max-width: 599px) { :root { --pad: 16px; --sec: 84px; --r-xl: 24px; --r-lg: 22px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); transition: background-color .3s, color .3s; font: 450 17px/1.6 var(--f-text); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }                                   /* раздел, к которому прокрутили из меню, — без рамки */
::selection { background: var(--sel-bg); color: var(--sel-fg); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums lining-nums; }                    /* цифры — тем же шрифтом, одной ширины */
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.5; }
.label { display: block; color: var(--text-2); font-size: 14px; line-height: 20px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #030507; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }   /* текст только для экранных дикторов */

/* карточка: плоская — без рамки и тени; в белых разделах — светло-серая */
.card { position: relative; background: var(--card); border-radius: var(--r-lg); transition: background-color .3s; }
.section:nth-of-type(even) .card { background: var(--card-alt); }

/* ── Кнопки: 56 px, плоские; основная — оранжевая (цвет бренда), вторичная — заливка без рамки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px 0 22px; border: 0; border-radius: 16px;
  font: 600 17px/1 var(--f-text); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.ic-fill, .store svg.ic-fill { fill: currentColor; stroke: none; margin-top: -2px; }   /* значок Apple — заливкой (Б-61) */
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--ghost { background: var(--fill); color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
@media (hover: hover) {
  .btn--brand:hover { background: var(--brand-hi); }
  .btn--ghost:hover { background: var(--fill-hover); }
}
.btn:active { transform: scale(.97); }
/* Б-82, переделано по образцу Plata (Б-84): кнопки на странице (в <main>, то есть кроме шапки и подвала) при наведении только меняют
   цвет за 0,15 с — оранжевые светлеют, белые и серые заливаются тем же светлым оранжевым с белым текстом; при нажатии — темнее.
   Без ореола, подъёма и блика. У Plata: #FF5000 → наведение #FF6E14 → нажатие #E04500; у нас тот же шаг от #FF5F1F */
main .btn { transition: background-color .15s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1), transform .2s var(--ease); }
.btn--outline { background: #FFFFFF; color: #121416; border: 1.5px solid #121416; }   /* белая с чёрной обводкой — «Начать бесплатно» */
@media (hover: hover) {
  main .btn.btn--brand:hover, main .btn.btn--ghost:hover, main .btn.btn--store:hover, main .btn.btn--outline:hover, main .cta .btn--ghost:hover,
  main .section:nth-of-type(even) .partner .btn--ghost:hover { background: #FF7A2C; border-color: transparent; color: #FFFFFF; }
}
main .btn:is(.btn--brand, .btn--ghost, .btn--store, .btn--outline):active, main .section:nth-of-type(even) .partner .btn--ghost:active { background: #E04E10; border-color: transparent; color: #FFFFFF; }
/* Б-89: в шапке «Войти» и переключатель темы — та же смена цвета (заказчик 28.09); меню и подвал — без изменений */
.nav .btn.btn--brand, .nav .theme { transition: background-color .15s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(.4, 0, .2, 1); }
@media (hover: hover) { .nav .btn.btn--brand:hover, .nav .theme:hover { background: #FF7A2C; color: #FFFFFF; } }
.nav .btn.btn--brand:active, .nav .theme:active { background: #E04E10; color: #FFFFFF; }

/* ── Шапка: прилипает; над тёмным первым экраном — светлая (класс on-dark), ниже — по теме ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: var(--text); transition: background-color .3s, color .3s; }
.nav.is-scrolled { background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 100%; }   /* Б-61: пункты меню — по центру */
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 800 20px/1 var(--f-display); letter-spacing: -.03em; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 4px; }
.nav__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__links a { padding: 10px 14px; border-radius: 12px; color: var(--text-2); font-size: 16px; font-weight: 500; transition: color .2s, background-color .2s; }
@media (hover: hover) { .nav__links a:hover { color: var(--text); background: var(--fill); } }
.theme { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--fill); color: var(--text); cursor: pointer; transition: background-color .2s; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .theme__sun { display: none; }                                       /* светлая тема — луна (включить тёмную) */
[data-theme="dark"] .theme .theme__sun { display: block; }
[data-theme="dark"] .theme .theme__moon { display: none; }
@media (hover: hover) { .theme:hover { background: var(--fill-hover); } }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--fill); color: var(--text); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1079px) {                                  /* уже — пункты не помещаются по центру: меню под кнопкой */
  .nav__burger { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; margin: 0; background: var(--menu-bg);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s; }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
  .nav__links a { padding: 16px 0; font-size: 19px; color: var(--text); border-radius: 0; }
}

/* ── Первый экран: всегда тёмный, нижние углы скруглены; по высоте — до нижнего края окна, как у Plata (Б-79): на любом экране
   край первого экрана совпадает с низом окна; если содержимое выше окна (ноутбук 768 px, планшет, телефон) — край уходит ниже ── */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 64px; overflow: hidden; isolation: isolate;
  color: var(--text); border-radius: 0 0 var(--hero-r) var(--hero-r);
  background: radial-gradient(1000px 720px at 80% 52%, rgba(255, 95, 31, .15), transparent 62%), #000000; }   /* Б-80: глубокий чёрный, оранжевая подсветка осталась */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }   /* Б-80: колонка текста шире под крупный заголовок */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 99px; background: var(--fill); color: var(--text-2); font-size: 18px; line-height: 24px; font-weight: 550; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 95, 31, .22); }
.hero__title { margin-top: 32px; font: 620 clamp(46px, 5.7vw, 82px)/1.04 var(--f-display); letter-spacing: -.022em; }   /* А-51: три строки, самая широкая — «Покупаешь авто?»; 82 px — чтобы не задевать карточку у телефона */
.hero__title .nowrap { white-space: nowrap; }
.accent { color: var(--accent-display); }
.hero__lead { max-width: 640px; margin-top: 30px; color: var(--text-2); font-size: 22px; line-height: 1.55; letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.hero__free { color: var(--text-3); font-size: 15px; margin-left: 4px; }
.hero .hero__actions { gap: 14px; margin-top: 44px; }
.hero .hero__actions .btn { min-height: 64px; padding: 0 34px 0 30px; gap: 12px; font-size: 20px; }   /* как у Plata: 64 px, текст 20 px */
.hero .hero__actions .btn svg { width: 24px; height: 24px; }
.hero .hero__free { font-size: 17px; }

/* телефон с расчётом (Б-55): металлический 3D-телефон на WebGL над зелёным свечением; наклон за курсором, при прокрутке выпрямляется;
   карточки «парят» перед экраном. Без WebGL — CSS-телефон с металлическим ободом (он же задаёт место для карточек) */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 720px; font-size: 16.5px; }   /* Б-80: телефон крупнее на 10 % */
.hero__visual::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(640px, 110%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 95, 31, .34), rgba(255, 95, 31, .12) 55%, rgba(255, 95, 31, 0)); }
.stage { --rx0: 4deg; --ry0: -28deg; position: relative; z-index: 1; transform-style: preserve-3d;
  transform: perspective(1800px) rotateX(var(--rx, var(--rx0))) rotateY(var(--ry, var(--ry0))); transition: transform .9s var(--ease-out); animation: levitate 7s ease-in-out infinite; }
@keyframes levitate { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.phone { position: relative; width: 19.2em; height: 40em; padding: .5em; border: .3em solid transparent; border-radius: 3.3em;   /* обод — полированный металл */
  background: linear-gradient(#050608, #050608) padding-box,
    conic-gradient(from 200deg, #F4F6F8, #8C939C 10%, #E6E9EC 22%, #737A83 34%, #F2F4F6 46%, #9AA1A9 58%, #EEF0F2 70%, #7A818A 82%, #F4F6F8) border-box;
  box-shadow: 0 60px 90px -44px rgba(0, 0, 0, .8); transition: opacity .6s var(--ease-out); }
.phone::before, .phone::after { content: ''; position: absolute; width: .28em; border-radius: .2em; background: linear-gradient(90deg, #D5D9DE, #8C939C); }
.phone::before { left: -.58em; top: 8.1em; height: 3.2em; box-shadow: 0 4em 0 #A9AFB6; }        /* громкость */
.phone::after { right: -.58em; top: 11.7em; height: 4.6em; background: linear-gradient(270deg, #E4E7EA, #9AA1A9); box-shadow: 0 10.8em 0 #C4C9CF; }   /* справа две «таблетки», как у 3D-телефона (Б-78) */
.phone3d { position: absolute; left: 50%; top: 50%; z-index: 0; width: 36em; height: 50em; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity .6s var(--ease-out); }
.hero__visual.is-ready .phone3d { opacity: 1; }
.hero__visual.is-3d .phone { opacity: 0; }                                  /* 3D-телефон рисует WebGL; CSS-телефон остаётся местом для карточек */
.hero__visual.is-3d .stage { animation: none; transition: none; }           /* наклон и парение ведёт цикл 3D */
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0 .95em; border-radius: 2.5em; overflow: hidden; background: var(--app-bg); color: var(--app-fg); line-height: 1.3; letter-spacing: 0; }
.phone__screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 30%); }   /* блик стекла */
.phone__island { position: absolute; top: .6em; left: 50%; width: 6em; height: 1.75em; margin-left: -3em; border-radius: 1em; background: #000; z-index: 2; }
.phone__island::after { content: ''; position: absolute; right: .45em; top: 50%; width: .64em; height: .64em; margin-top: -.32em; border-radius: 50%;   /* глазок камеры */
  background: radial-gradient(circle at 42% 42%, #3A3D43 0 18%, #07080A 22% 44%, #1A1B1F 50%, #7E838B 66%, #26282C 80%); }
.app__status { display: flex; align-items: center; justify-content: space-between; flex: none; height: 2.95em; padding: .15em .9em 0 1.15em; }
.app__status b { font-size: .8em; font-weight: 700; }
.app__status svg { width: 3.9em; height: 1em; fill: currentColor; }
.app__bar { display: flex; align-items: center; justify-content: space-between; flex: none; margin: .4em 0 .7em; }
.app__bar b { font-size: .92em; font-weight: 700; }
.app__bar svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app__photo { position: relative; flex: none; aspect-ratio: 16 / 9; border-radius: 1.05em; overflow: hidden; background: var(--app-soft); }
.app__photo img { width: 100%; height: 100%; object-fit: cover; }
.app__photo span { position: absolute; top: .55em; right: .55em; padding: .3em .7em; border-radius: 99px; background: rgba(3, 5, 7, .62); color: #FFFFFF; font-size: .62em; font-weight: 700; }
.app__car { margin-top: .75em; font-size: 1em; font-weight: 700; letter-spacing: -.01em; }
.app__meta { margin-top: .1em; color: var(--app-fg-2); font-size: .74em; }
.app__total { flex: none; margin-top: .75em; padding: .75em .85em .85em; border-radius: 1em; background: var(--app-soft); }
.app__label { display: block; color: var(--app-fg-2); font-size: .7em; font-weight: 600; }
.app__sum { display: block; margin-top: .1em; font-size: 1.6em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.app__stack { display: flex; gap: .12em; height: .45em; margin-top: .6em; border-radius: 99px; overflow: hidden; }
.app__stack i { display: block; height: 100%; }
.app__stack .k-buy { flex: 50.4; } .app__stack .k-ship { flex: 7.8; } .app__stack .k-customs { flex: 27.4; } .app__stack .k-util { flex: 10.9; } .app__stack .k-fees { flex: 3.5; }   /* доли итога 8 223 006 ₽ */
.app__rows { margin: .3em 0 0; padding: 0; list-style: none; font-size: .74em; }
.app__rows li { display: grid; grid-template-columns: .75em minmax(0, 1fr) auto; align-items: center; gap: .65em; padding: .6em .1em; border-bottom: 1px solid var(--app-line); }
.app__rows li:last-child { border-bottom: 0; }
.app__rows i { width: .75em; height: .75em; border-radius: .22em; }
.app__rows b { font-weight: 700; }
.k-buy { background: var(--c-buy); } .k-ship { background: var(--c-ship); } .k-customs { background: var(--c-customs); } .k-util { background: var(--c-util); } .k-fees { background: var(--c-fees); }
.app__home { flex: none; width: 7.6em; height: .3em; margin: auto auto .55em; border-radius: 99px; background: var(--app-fg); opacity: .9; }
/* карточки у телефона — белые в любой теме (первый экран не меняется) */
.chip { position: absolute; display: flex; align-items: center; gap: .7em; padding: .85em 1.05em; border-radius: 1.2em; background: #FFFFFF; color: #0B0E13; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6);
  font-size: .95em; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
.chip--route { left: -6.8em; top: 7.6em; transform: translateZ(60px); }   /* Б-80: сдвинута к телефону — не наезжает на крупный заголовок */
.chip--route > span:last-child { color: #454C58; font-weight: 600; }
.chip--delta { right: -7.8em; bottom: 1.6em; transform: translateZ(90px); }   /* над пустым низом экрана — не закрывает строки расчёта */
.chip--delta b { color: #9A5B00; font-size: 1.75em; font-weight: 700; letter-spacing: -.03em; }
.chip--delta span { color: #454C58; font-size: .85em; font-weight: 600; }
.chip .tag--kr { background: rgba(44, 100, 212, .10); color: #1E4FB3; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.tag--kr { background: var(--tag-kr-bg); color: var(--tag-kr-fg); }
.delta { display: inline-flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: 20px; line-height: 1.1; }
.delta--warn { color: var(--warn); } .delta--good { color: var(--good); } .delta--bad { color: var(--bad); }

/* ── Цифры: строка преимуществ под первым экраном — крупно, без украшений; заходит под скруглённые углы ── */
.stats { position: relative; margin-top: calc(-1 * var(--hero-r)); padding: calc(64px + var(--hero-r)) 0 72px; background: var(--bg-2); }
:root[data-theme="dark"] .stats { background: var(--bg-3); }               /* Б-88: в тёмной теме — графит, заметно светлее чёрного первого экрана */
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.stats__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }   /* Б-57: по центру столбца */
.stat__ic { width: 104px; height: 104px; margin-bottom: 0; }   /* Б-89: без CSS-тени — мягкая тень вшита в картинку (в Safari фильтр давал светлый квадрат вокруг) */   /* Б-71: иконка по смыслу над цифрой */
.stats__list strong { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1; font-weight: 620; letter-spacing: -.025em; }
.stats__list span { max-width: 17em; color: var(--text-2); font-size: 17px; line-height: 1.5; text-wrap: balance; }

/* ── Секции ── */
.section { padding: var(--sec) 0; position: relative; }
.section:nth-of-type(even) { background: var(--bg-2); }
.section__head { max-width: 820px; margin-bottom: 64px; }
.kicker { color: var(--accent-display); font: 600 17px/1.4 var(--f-text); }
.h2 { margin-top: 14px; font: 620 clamp(34px, 4.4vw, 64px)/1.08 var(--f-display); letter-spacing: -.025em; }
.sub { margin-top: 20px; color: var(--text-2); font-size: 20px; line-height: 1.6; letter-spacing: -.01em; max-width: 660px; }

/* Масштаб: одна большая цифра по центру и 3D-шар, уходящий за следующий раздел */
.reach { overflow: hidden; padding-bottom: 0; text-align: center; }
.reach__head { display: flex; flex-direction: column; align-items: center; }
.reach__title { font-weight: 620; }
.reach__num { display: block; padding-right: .045em; font-size: clamp(96px, 16vw, 240px); line-height: .92; letter-spacing: -.045em; }   /* padding — компенсирует хвостовой межбуквенный: цифра ровно по центру */
.reach__line { display: block; max-width: 13em; margin: 24px auto 0; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.reach__line .accent { display: block; }                                   /* Б-58: «в одном поиске» — своей строкой, строки лесенкой по центру */
.sources { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 32px; margin-top: 36px; }
.sources span { flex-basis: 100%; color: var(--text-3); font-size: 16px; font-weight: 500; }
.sources b { font: 700 20px/1 var(--f-text); letter-spacing: -.02em; color: var(--src-fg); }
.reach__globe { --gw: min(620px, 100vw - 2 * var(--pad)); position: relative; width: var(--gw); aspect-ratio: 1; margin: -4px auto calc(var(--gw) * -.24); }   /* Б-88: шар выше на 20 px — от площадок до ореола ≈ как от «в одном месте» до «Источников» (47 px) */
.globe { position: absolute; inset: 0; z-index: 1; }
/* Б-86: монеты со знаками валют вокруг шара — объявления со всего мира, у каждого рынка своя валюта. Стальные 3D-монеты (свои модели,
   как иконки): $ и ₩ выглядывают из-за шара, €, ₽ и ¥ — перед ним; слева $ и €, справа ₽, ₩ и ¥ (расстановка — по просьбам заказчика). Медленно парят; при «Уменьшить движение» — стоят */
.reach__globe { isolation: isolate; }
.coin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: var(--s); height: auto; translate: -50% -50%; pointer-events: none;
  animation: coin-float var(--t, 7s) ease-in-out var(--d, 0s) infinite; }
.coin--back { z-index: 0; }
.coin--usd { --x: 6.5%; --y: 29%; --s: 13%; --t: 8s; --d: -2s; }   /* 28.09: $ и € поменяны местами */
.coin--krw { --x: 96%; --y: 31%; --s: 12%; --t: 7.5s; --d: -5s; }   /* 28.09: ₩ и ¥ поменяны местами по просьбе заказчика */
.coin--eur { --x: 2.5%; --y: 59.5%; --s: 15%; --t: 6.5s; --d: -1s; }
.coin--rub { --x: 90%; --y: 14%; --s: 17%; --t: 7s; --d: -3.5s; }   /* 28.09: ₽ и ₩ — правее и ниже */
.coin--cny { --x: 95.5%; --y: 56%; --s: 15%; --t: 8.5s; --d: -6s; }
@keyframes coin-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }
.coins3d { position: absolute; inset: -10%; z-index: 2; width: 120%; max-width: none; height: 120%; pointer-events: none; }   /* Б-89: живые 3D-монеты, вращаются; картинки — запасной вариант */
.reach__globe.coins-3d .coin { display: none; }
.reach__globe.coins-off .coin { display: none; }                          /* монеты скрыты по решению заказчика 28.09; вернуть — убрать класс coins-off в index.html */
.globe canvas { width: 100%; height: 100%; }
.globe.no-webgl { inset: 11.5%; border-radius: 50%; background: var(--globe-fallback); }

/* Как это работает: заголовок слева прилипает, шаги справа; номер шага загорается при прокрутке */
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.how__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 32px 36px; }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); color: var(--text); font: 600 18px/1 var(--f-text); transition: background-color .4s, color .4s; }
.step.is-on .step__n { background: var(--brand); color: var(--brand-ink); }
.step h3 { padding-top: 10px; font: 620 22px/1.3 var(--f-display); letter-spacing: -.015em; }
.step p { margin-top: 8px; color: var(--text-2); }
.how__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }             /* Б-59: «Оценка авто», «Поиск авто» */
.how__actions .btn { padding: 0 28px; }

/* Пример расчёта */
.calc { padding: 32px; border-radius: var(--r-xl); }
.calc__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 16px; background: var(--fill); }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: none; color: var(--text-2); font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--text); color: var(--bg-2); }
@media (hover: hover) { .seg button[aria-selected="false"]:hover, .dirs button[aria-pressed="false"]:hover { background: var(--brand-soft); color: var(--accent-text); } }   /* Б-82 */
.mk { width: 8px; height: 8px; border-radius: 50%; }
.mk--ru { background: var(--brand); } .mk--kr { background: var(--kr); } .mk--eu { background: var(--eu); }
.dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 48px; }
.dirs .dirs__label { color: var(--text-3); font-size: 15px; line-height: 1.3; margin-right: 4px; }
.dirs .dirs__label small { display: block; font-size: 13px; }   /* А-54: «(ввоз по льготе — в приложении)» — второй строкой, мельче */
.dirs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--fill); color: var(--text-2); font: 600 15px/1 var(--f-text); cursor: pointer; transition: background-color .2s, color .2s; }
.dirs button[aria-pressed="true"] { background: var(--brand-soft); color: var(--accent-display); }   /* Б-63 */
.dirs .dirs__only { color: var(--text-2); font-size: 16px; }
.calc__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; margin-top: 32px; }
.lot__photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--bg-3); }
.lot__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.lot__tag, .lot__src { position: absolute; top: 12px; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 13px; font-weight: 700; color: #FFFFFF; background: rgba(3,5,7,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lot__tag { left: 12px; } .lot__src { right: 12px; color: rgba(255,255,255,.85); }
.lot__info { margin-top: 22px; }
.lot__info h3 { font: 620 24px/1.25 var(--f-display); letter-spacing: -.015em; }
.lot__info > p { margin-top: 4px; }
.lot__price { margin-top: 22px; }
.lot__price strong { display: block; font-size: 30px; line-height: 1.25; font-weight: 620; letter-spacing: -.02em; }
.stack { display: flex; gap: 3px; height: 14px; border-radius: 99px; overflow: hidden; background: var(--fill); }
.stack i { display: block; height: 100%; min-width: 3px; transform-origin: 0 50%; transition: flex-grow .6s var(--ease-out); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 24px 0 0; }
.legend div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; }
.legend dt { grid-column: 2; color: var(--text-2); font-size: 15px; }
.legend .sw { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 3px; margin-top: 6px; }
.legend dd { grid-column: 3; grid-row: 1; margin: 0; font: 700 15px/1.4 var(--f-text); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.legend small { grid-column: 2 / -1; color: var(--text-3); font-size: 13px; line-height: 1.4; }
.total { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: end; margin-top: 28px; padding: 22px 26px; border-radius: var(--r-md); background: var(--bg); }
.total__sum { display: block; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; font-weight: 620; letter-spacing: -.025em; }
.gauge__track { position: relative; height: 8px; border-radius: 99px; background: var(--gauge); }
.gauge__median { position: absolute; top: -6px; width: 2px; height: 20px; margin-left: -1px; background: var(--text); border-radius: 2px; }
.gauge__median::after { content: 'медиана'; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); color: var(--text-3); font-size: 12px; white-space: nowrap; }
.gauge__you { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px var(--knob-ring); transition: left .7s var(--ease-out); }
.gauge__labels { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.gauge .delta { flex-direction: row; gap: 6px; align-items: baseline; font-size: 20px; }
.reco { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-md); }
.reco svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reco strong { display: block; font-weight: 700; color: var(--text); }
.reco span { display: block; margin-top: 2px; color: var(--text-2); font-size: 15px; }
.reco--good { color: var(--good); background: var(--good-bg); }
.reco--warn { color: var(--warn); background: var(--warn-bg); }
.calc__note { margin-top: 22px; }

/* Возможности: бенто из плоских карточек */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; padding: 32px; overflow: hidden; transition: transform .35s var(--ease), background-color .3s; }
@media (hover: hover) { .tile:hover { transform: translateY(-4px); } }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-column: span 2; grid-row: span 2; }
.ic { width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: rgba(255, 95, 31, .14); fill: none; stroke: var(--accent-display); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }   /* Б-61: бледная плашка и рисунок — в тон кнопке, без заливки */
:root[data-theme="dark"] .ic { background: rgba(255, 95, 31, .16); }
.ic3d { display: block; width: 120px; height: 120px; margin: -14px 0 -18px -14px; }   /* Б-70: 3D-иконки 3dicons.co (CC0), перекрашены в платину */
.tile h3 { margin-top: 28px; font: 620 22px/1.3 var(--f-display); letter-spacing: -.015em; }
.tile p { margin-top: 10px; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.tile--wide h3, .tile--tall h3 { font-size: 28px; letter-spacing: -.02em; }
.scen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 0; padding: 28px 0 0; list-style: none; }
.scen li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); }
.scen b { font: 700 16px/1.2 var(--f-text); color: var(--text); }
.scen span { color: var(--text-2); font-size: 14px; line-height: 1.35; }
.scen li:nth-child(-n+2) b { color: var(--accent-display); }            /* Б-62: «РФ» — тот же зелёный, что подписи и значки */

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px; }
.plan h3 { font: 620 28px/1.2 var(--f-display); letter-spacing: -.02em; }
.plan > .muted { margin-top: 6px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 24px; }   /* Б-66: цена под названием тарифа */
.plan__price b { font-size: 44px; line-height: 1.1; font-weight: 620; letter-spacing: -.03em; }
.plan__old { color: var(--text-3); font-size: 22px; font-weight: 500; text-decoration-thickness: 2px; }
.plan__list { display: grid; gap: 14px; margin: 28px 0 36px; padding: 0; list-style: none; }
.plan__btn { width: 100%; margin-top: auto; }                              /* Б-83: кнопка внизу карточки, у всех трёх — на одной линии */
.plan__list li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; }
.plan__list li::after { content: ''; position: absolute; left: 3px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent-display); border-bottom: 2.5px solid var(--accent-display); transform: rotate(-45deg); }
.plan__list li.off { color: var(--text-3); }
.plan__list li.off::after { left: 3px; top: 12px; width: 13px; height: 0; border-left: 0; border-bottom: 2.5px solid var(--text-3); transform: none; }
.plan--pro { background: var(--brand-tint); }                               /* выделен цветом, без рамки */
.badge { position: absolute; top: 34px; right: 34px; padding: 8px 14px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font: 600 13px/1 var(--f-text); }

/* Скачать (тёмная панель) + партнёрам */
.final__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.cta { position: relative; padding: 64px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--cta-bg); color: var(--cta-fg); }
.cta__glow { position: absolute; inset: auto -12% -70% auto; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, var(--cta-glow), transparent 70%); pointer-events: none; z-index: -1; }
.cta .kicker { color: var(--brand); }
.cta .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.cta .sub { color: var(--cta-fg-2); }
.cta .btn--ghost { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.cta .hero__free { color: var(--cta-fg-2); }
.cta :focus-visible { outline-color: #FFFFFF; }
@media (hover: hover) { .cta .btn--ghost:hover { background: rgba(255, 255, 255, .16); } }
.partner { display: flex; flex-direction: column; align-items: flex-start; padding: 44px; border-radius: var(--r-xl); }
.partner .kicker { margin-top: 20px; }
.partner h3 { margin-top: 10px; font: 620 28px/1.2 var(--f-display); letter-spacing: -.02em; }
.partner > p.muted { margin-top: 14px; }
.partner .btn { margin-top: auto; }
.partner > p.muted + .btn { margin-top: 32px; }
/* App Store — белая в обеих темах (на тёмном первом экране и в панели «Скачать») */
.btn.btn--store { background: #FFFFFF; color: #0B0E13; }
@media (hover: hover) { .btn.btn--store:hover { background: #E9ECEF; } }
.section:nth-of-type(even) .partner .btn--ghost { background: var(--bg-2); }   /* на серой карточке — белая кнопка */

/* Подвал — по образцу bancoplata.mx (Б-59): логотип; три колонки ссылок, справа QR-код и магазины; почта крупно; описание и НПД; черта; документы */
.foot { padding: 72px 0 48px; background: var(--bg); }
.foot__logo { font-size: 22px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; margin-top: 48px; }
.foot__links { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 24px 32px; }
.foot__links ul { display: grid; align-content: start; gap: 18px; margin: 0; padding: 0; list-style: none; }
.foot__links a, .foot__docs a { color: var(--text); font-size: 17px; font-weight: 500; transition: color .2s; }
.foot__app { display: flex; align-items: flex-start; gap: 24px; }
.qr { width: 136px; margin: 0; color: var(--text); }                        /* модули — тёмные на белой плашке в любой теме: так сканируется надёжнее */
.qr__svg { width: 100%; height: auto; }
.foot__stores { display: grid; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 184px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px; background: var(--text); color: var(--bg-2); transition: opacity .2s; }
.store svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.store span { display: flex; flex-direction: column; font: 600 18px/1.1 var(--f-text); letter-spacing: -.01em; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: .8; }
.foot__contact { margin-top: 56px; }
.foot__mail { color: var(--text); font: 620 clamp(20px, 2vw, 26px)/1.3 var(--f-display); letter-spacing: -.015em; transition: color .2s; }
@media (hover: hover) { .foot__links a:hover, .foot__docs a:hover, .foot__mail:hover { color: var(--accent-display); } .store:hover { opacity: .88; } }
.foot__legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 24px; color: var(--text-3); font-size: 15px; line-height: 1.6; }
.foot__legal p { max-width: 760px; }
.foot__copy { flex: none; }
.foot__bottom { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot__docs { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.foot__docs a { font-size: 16px; }
.foot__bottom p { margin-top: 18px; color: var(--text-3); font-size: 14px; }


/* Б-67: крупные цифры — шрифтом заголовков */
.stats__list strong, .reach__title, .total__sum, .lot__price strong, .plan__price b, .plan__old, .chip--delta b, .delta, .app__sum { font-family: var(--f-display); }

/* ── Появление при прокрутке (только если есть JS и не просили меньше движения) ── */
.js [data-anim], .js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-anim].in, .js [data-stagger] > .in { opacity: 1; transform: none; }
/* первый экран появляется сам, при загрузке — не ждёт прокрутки */
.js .hero [data-anim] { opacity: 0; transform: translateY(24px); transition: none; animation: rise .9s var(--ease-out) var(--d, 0ms) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── Адаптив ── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero__visual { min-height: 720px; }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tall { grid-row: auto; }
}
@media (max-width: 1023px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how__head { position: static; }
  .calc__body { grid-template-columns: minmax(0, 1fr); }
  .lot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
  .lot__info { margin-top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .final__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .nav__in { gap: 8px; }                                   /* логотип слева, кнопки — справа, с воздухом между */
  .theme, .nav__burger { width: 40px; height: 40px; }
  .hero { padding-bottom: 48px; }
  .hero__title { font-size: clamp(32px, 10.2vw, 46px); }   /* «Покупаешь авто?» помещается от 320 px */
  .hero__lead { font-size: 19px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero .hero__actions .btn { min-height: 60px; font-size: 18px; }
  .eyebrow { font-size: 15px; line-height: 20px; padding: 9px 16px 9px 13px; }
  .hero__free { width: 100%; text-align: center; margin: 0; }
  .hero__visual { min-height: 600px; font-size: 13px; }
  .stage { --ry0: -18deg; }
  .chip { font-size: 13px; }
  .chip--route { left: -20px; top: 108px; }   /* не уходит за край экрана от 320 px */
  .chip--delta { right: -40px; bottom: 11px; }
  .dirs .dirs__label { flex-basis: 100%; margin: 0 0 -2px; }   /* «Параметры ввоза» (А-47) — отдельной строкой, три кнопки в ряд под ней */
  .stats { padding: calc(44px + var(--hero-r)) 0 48px; }
  .stats__list { gap: 28px 16px; }
  .stats__list span { font-size: 16px; }
  .stat__ic { width: 84px; height: 84px; }
  .reach__globe { margin-top: 16px; }                     /* на телефоне расстояние уже такое же */
  .coin--usd { --x: 12%; --y: 32%; } .coin--eur { --x: 7%; --y: 58%; } .coin--rub { --x: 82%; --y: 14%; } .coin--krw { --x: 91%; --y: 33%; } .coin--cny { --x: 90%; --y: 55%; }   /* на телефоне — ближе к шару, не у края экрана */
  .reach__line { font-size: 26px; }
  .section__head { margin-bottom: 40px; }
  .sub { font-size: 18px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px; }
  .step h3 { padding-top: 0; }
  .calc { padding: 18px; }
  .seg { width: 100%; } .seg button { flex: 1; justify-content: center; padding: 0 8px; }
  .lot { grid-template-columns: minmax(0, 1fr); }
  .legend { grid-template-columns: minmax(0, 1fr); }
  .total { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--wide, .tile--tall { grid-column: auto; }
  .tile { padding: 28px 24px; }
  .plan { padding: 30px 24px; }
  .badge { top: 30px; right: 24px; }
  .cta { padding: 36px 22px; }
  .partner { padding: 32px 22px; }
  .foot { padding: 56px 0 40px; }
  .foot__links { grid-template-columns: 1fr 1fr; }
  .qr { display: none; }                                   /* на телефоне QR не нужен — только магазины */
  .foot__stores { grid-template-columns: 1fr 1fr; width: 100%; }
  .store { min-width: 0; padding: 0 12px; }
  .foot__app { width: 100%; }
  .foot__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .how__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 359px) { .chip--route { left: -4px; } }                /* самые узкие экраны — карточка не прилипает к краю */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-anim], .js [data-stagger] > *, .js .hero [data-anim] { opacity: 1; transform: none; animation: none; }   /* сразу видно, без появления */
}
