/* pynelo — лендинг, дизайн B′ (design/landing/B2-app-style.dc.html, NOTES.md; выбран владельцем 30.11.2026).
   Цвета — ровно app/src/styles/tokens.css: светлая тема и тёмная (data-theme на <html>, по умолчанию — тема системы).
   Главный цвет — зелёный бренда; синего на сайте нет. Кнопка-заливка #167f51 с белым текстом в обеих темах (5:1). */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/onest-latin-600-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: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/onest-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* светлая — tokens.css :root[data-theme='light'] */
  --bg: #f4f5f8;
  --glass: rgba(244, 245, 248, 0.88);
  --panel: #ffffff;
  --panel-2: #f0f2f6;
  --line: #e2e5ec;
  --line-2: #d3d7e0;
  --text: #171923;
  --muted: #5f6577;
  --faint: #5f6577;            /* tokens --faint #9095a5 не проходит AA для мелкого текста */
  --accent: #167f51;           /* ссылки-акценты */
  --live: #1c9a63;             /* зелёная точка */
  --soft: rgba(28, 154, 99, 0.12);
  --shadow: 0 30px 80px rgba(23, 25, 35, 0.10), 0 2px 6px rgba(23, 25, 35, 0.05);
  --inv-bg: #0d0e12;           /* «Принципы» — цвет тёмной темы приложения */
  --inv-line: #0d0e12;
  --btn: #167f51;              /* белый на нём — 5:1, в обеих темах */
  --btn-hover: #126b44;
  --run: #3f62ea;              /* «сценарий идёт» — только в плашке хода, как в приложении */
  --run-soft: rgba(63, 98, 234, 0.14);
  --head: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 20px;
  --gap: 96px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  /* тёмная — tokens.css :root */
  --bg: #0d0e12;
  --glass: rgba(13, 14, 18, 0.86);
  --panel: #14161c;
  --panel-2: #1a1d25;
  --line: #262a35;
  --line-2: #323745;
  --text: #e8eaf0;
  --muted: #8b90a0;
  --faint: #8b90a0;
  --accent: #3ecf8e;
  --live: #3ecf8e;
  --soft: rgba(62, 207, 142, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --inv-bg: #14161c;
  --inv-line: #262a35;
  --run: #5b7cfa;
  --run-soft: rgba(91, 124, 250, 0.16);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --pad: 32px; --gap: 128px; } }
@media (min-width: 1100px) { :root { --pad: 48px; --gap: 152px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 6px; }

.i18n-wait body { visibility: hidden; } /* до подмены текстов на русский — доли секунды */

/* Картинки под тему: светлая показывает *-light, тёмная — *-dark */
:root:not([data-theme='dark']) .for-dark, :root[data-theme='dark'] .for-light { display: none !important; }
/* Снимки приложения — на языке страницы (data-shots ставит main.js; без JS — английские) */
:root:not([data-shots='ru']) .for-ru, :root[data-shots='ru'] .for-en { display: none !important; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.skip:focus { top: 12px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.dot-end { display: inline-block; position: relative; width: 0.17em; height: 0.17em; margin-left: 0.05em; border-radius: 50%; background: var(--live); vertical-align: baseline; }
.dot-end::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--live); opacity: 0; }

/* Кнопки (≥ 44 px) */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px/1.2 var(--font); white-space: nowrap; border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .18s var(--ease); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { background: var(--panel); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--panel-2); }
.btn--outline { background: var(--panel); border-color: var(--line-2); color: var(--accent); }
.btn--outline:hover { background: var(--panel-2); }
.btn--lg { min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.btn--sm { font-size: 14px; padding: 0 16px; }

/* Шапка: логотип, язык, тема, Telegram (на телефоне — иконка), «Веб-версия» (с 480 px); якоря с 1100 px */
body { padding-top: var(--head); }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: var(--head); }
.top::before { content: ''; position: absolute; inset: 0; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .25s, transform .25s var(--ease); }
.top.is-scrolled::before { opacity: 1; transform: translateY(-10px); }
.top__in { position: relative; display: flex; align-items: center; gap: 12px; height: var(--head); transition: transform .25s var(--ease); }
.top.is-scrolled .top__in { transform: translateY(-5px); }
html:not(.motion) .top::before, .top.is-scrolled::before { opacity: 1; }
.logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.logo img { height: 24px; width: auto; }
.top__nav { display: none; gap: 28px; font-size: 15px; color: var(--muted); margin-right: 8px; }
.top__nav a:hover { color: var(--text); }
.top__tools { display: flex; align-items: center; gap: 8px; }
@media (min-width: 480px) { .top__in { gap: 16px; } .logo img { height: 26px; } }
@media (min-width: 960px) { .top__tools { gap: 10px; } }
/* 4 якоря: с 1100 px (в 960 русские подписи не помещались рядом с кнопками) */
@media (min-width: 1100px) { .top__nav { display: flex; gap: 22px; } .top__nav a { white-space: nowrap; } }
@media (min-width: 1280px) { .top__nav { gap: 28px; } }

/* Язык — одна кнопка: на ней текущий язык, нажатие — другой */
.lang-btn { min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: 600 13px/1 var(--font); letter-spacing: .02em; cursor: pointer; }
.lang-btn:hover { background: var(--panel-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none; }
:root[data-theme='dark'] .i-moon { display: block; }
:root[data-theme='dark'] .i-sun { display: none; }

/* Первый экран */
.hero { padding-top: 48px; }
@media (min-width: 768px) { .hero { padding-top: 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 14px 7px 12px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.4; }
h1 { max-width: 1100px; font-weight: 700; font-size: clamp(40px, 10.4vw, 124px); line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; hyphens: manual; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 28px; }
@media (min-width: 768px) { .hero__row { margin-top: 44px; } }
.lead { max-width: 520px; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions { width: 100%; } .actions .btn { flex: 1 1 100%; } }

.stage { margin-top: 48px; }
@media (min-width: 768px) { .stage { margin-top: 80px; perspective: 1600px; } }
.window { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot { aspect-ratio: 16 / 10; background: var(--panel-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot--card { position: relative; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.shot--card img { border-radius: 13px; }
.shot--card::after { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: 14px; box-shadow: 0 34px 70px rgba(23, 25, 35, 0.18), 0 6px 16px rgba(23, 25, 35, 0.08); opacity: 0; transition: opacity .3s; }
:root[data-theme='dark'] .shot--card::after { box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6); }
@media (hover: hover) { .gallery figure:hover .shot--card { transform: translateY(-5px); } .gallery figure:hover .shot--card::after { opacity: 1; } }

/* Секции */
.section { padding-top: var(--gap); scroll-margin-top: var(--head); }
.section--tight { padding-top: calc(var(--gap) * 0.74); }
.h2 { font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.h2--big { max-width: 820px; font-size: clamp(34px, 5vw, 62px); letter-spacing: -0.04em; }
.h2--huge { font-size: clamp(48px, 7vw, 92px); line-height: 0.96; letter-spacing: -0.05em; }

.how { display: grid; gap: 40px; }
@media (min-width: 768px) { .how { grid-template-columns: repeat(3, 1fr); gap: 48px; } .how > .h2 { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .how { grid-template-columns: repeat(4, 1fr); } .how > .h2 { grid-column: auto; } }
.steps li { position: relative; }
/* линия от шага к следующему: телефон — вертикальная, с 768 px — горизонтальная */
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 24px; top: calc(100% + 6px); height: 28px; width: 1px; background: var(--line-2); transform-origin: top; }
@media (min-width: 768px) { .steps li:not(:last-child)::after { left: 88px; right: -36px; top: 30px; height: 1px; width: auto; transform-origin: left; } }
.steps { display: contents; }
.step__n::before { content: attr(data-n); } /* декоративный номер (бледный по дизайну) — псевдоэлемент, не текст */
.step__n { display: block; font-size: clamp(44px, 5vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--line-2); }
.steps h3 { margin: 14px 0 8px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.steps p, .features p { color: var(--muted); font-size: 17px; line-height: 1.6; }

.features { display: grid; column-gap: 64px; margin-top: 40px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, 1fr); margin-top: 60px; } }
.features li { position: relative; display: flex; gap: 18px; padding: 24px 0 36px; }
.features li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; }
@media (min-width: 768px) { .features li { padding-bottom: 48px; } }
.ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--accent); }
.ico { position: relative; }
.ico::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--soft); opacity: 0; transition: opacity .25s; }
.ico svg { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico rect { fill: currentColor; fill-opacity: 0; transition: fill-opacity .25s; } /* «экран» иконки заливается при наведении */
@media (hover: hover) { .features li:hover .ico::before { opacity: 1; } .features li:hover .ico rect { fill-opacity: .25; } }
.features h3 { margin: 6px 0 8px; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.note { margin-top: 8px; color: var(--muted); font-size: 15px; }

.gallery { display: grid; gap: 36px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }

.principles { display: flex; flex-direction: column; gap: 36px; padding: 40px 24px; border: 1px solid var(--inv-line); border-radius: 24px; background: var(--inv-bg); color: #e8eaf0; }
@media (min-width: 768px) { .principles { gap: 48px; padding: 64px 56px; } }
.principles__label { display: flex; align-items: center; gap: 10px; color: #8b90a0; font-size: 14px; font-weight: 500; }
.principles__label .dot { background: #3ecf8e; }
.principles ul { display: grid; gap: 32px; }
@media (min-width: 900px) { .principles ul { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.principles h3 { margin-bottom: 12px; font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.principles p { color: #8b90a0; font-size: 16px; line-height: 1.6; }

.download { padding-bottom: 96px; }
@media (min-width: 768px) { .download { padding-bottom: 112px; } }
.platforms { margin-top: 36px; }
@media (min-width: 768px) { .platforms { margin-top: 52px; } }
.platforms li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.platforms strong { min-width: 200px; font-size: clamp(24px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.platforms li > span:not(.badge) { flex: 1 1 260px; color: var(--muted); font-size: 17px; }
.badge { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
@media (max-width: 559px) { .platforms strong { min-width: 0; flex: 1 1 100%; } .platforms .btn, .platforms .badge { margin-top: 6px; } }

.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 24px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
.foot__in img { height: 20px; width: auto; }
.foot__copy { margin-right: auto; }

/* ───────── Плашки «живого» статуса поверх снимка hero (декор, aria-hidden) ───────── */
.chips { position: absolute; inset: 34px 0 0; pointer-events: none; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
/* в верхней трети снимка — видны на первом экране и на ноутбуке */
.chip--1 { left: 6%; top: 17%; }
.chip--2 { right: 4%; top: 5%; flex-direction: column; align-items: stretch; gap: 7px; min-width: 170px; }
.chip--3 { left: 40%; top: 25%; }
.chip__check { width: 18px; height: 18px; fill: none; stroke: var(--live); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip__check path { stroke-dasharray: 14; stroke-dashoffset: 0; }
.chip__row { display: flex; align-items: center; gap: 8px; }
.chip__run { width: 8px; height: 8px; border-radius: 50%; background: var(--run); }
.chip__bar { display: block; height: 4px; border-radius: 4px; background: var(--run-soft); overflow: hidden; }
.chip__bar i { display: block; height: 100%; border-radius: inherit; background: var(--run); transform-origin: left; transform: scaleX(.667); }
@media (min-width: 1100px) { .chip { font-size: 14px; padding: 10px 14px; } .chip--2 { min-width: 200px; } }
/* телефон: одна плашка за раз, в правом нижнем углу, маленькая */
@media (max-width: 767px) {
  .chips { inset: 28px 0 0; }
  .chip { font-size: 11px; padding: 6px 9px; gap: 6px; border-radius: 9px; }
  .chip--1, .chip--2, .chip--3 { left: auto; top: auto; right: 3%; bottom: 5%; }
  .chip--2 { min-width: 128px; }
  .chip__check { width: 14px; height: 14px; }
  html:not(.motion) .chip--2, html:not(.motion) .chip--3 { display: none; }
}

/* ───────── Смена темы — круговая волна (View Transitions) ───────── */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ───────── Анимации: только при html.motion (ставит JS, если нет prefers-reduced-motion) ───────── */
@media (prefers-reduced-motion: no-preference) {
  /* кнопки */
  .motion .btn:hover { transform: translateY(-1px); }
  .motion .btn:active { transform: scale(.98); }
  .motion .btn--primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-160%) skewX(-18deg); pointer-events: none; }
  .motion .btn--primary:hover::after { transform: translateX(340%) skewX(-18deg); transition: transform .7s var(--ease); }

  /* 1. заголовок по словам, потом загорается точка и «дышит» */
    .motion h1 .w { display: inline-block; animation: wordUp .5s var(--ease) both; }
.motion h1 .w:nth-child(2) { animation-delay: 70ms; } .motion h1 .w:nth-child(3) { animation-delay: 140ms; } .motion h1 .w:nth-child(4) { animation-delay: 210ms; }
.motion h1 .w:nth-child(5) { animation-delay: 280ms; } .motion h1 .w:nth-child(6) { animation-delay: 350ms; } .motion h1 .w:nth-child(n+7) { animation-delay: 420ms; }
  .motion h1.played .w { animation: none; }
  .motion .dot-end--live { animation: dotOn .45s var(--ease) both; animation-delay: .75s; }
  .motion .dot-end--live::after { animation: livePulse 2.4s ease-out infinite; animation-delay: 1.25s; }
  .motion .eyebrow, .motion .hero__row { animation: fadeUp .5s var(--ease) both; }
  .motion .eyebrow { animation-delay: 0s; }
  .motion .hero__row { animation-delay: .2s; }
  .motion .stage { animation: fadeIn .6s var(--ease) .15s both; }

  /* 7. точка «Get pynelo.» мигает как курсор */
  .motion .dot-end--blink { animation: blink 1.2s steps(1, end) infinite; }

  /* 3. плашки по очереди, цикл 7.2 с */
  .motion .chip { opacity: 0; animation: chip 7.2s var(--ease) infinite; animation-delay: 1.6s; }
  .motion .chip--2 { animation-delay: 4s; }
  .motion .chip--3 { animation-delay: 6.4s; }
  .motion .chip--1 .chip__check path { animation: check 7.2s ease-out infinite; animation-delay: 1.6s; }
  .motion .chip--2 .chip__bar i { animation: bar 7.2s var(--ease) infinite; animation-delay: 4s; }
  .motion .chip--3 .dot { animation: livePulseDot 7.2s ease-out infinite; animation-delay: 6.4s; }

  /* 4–6. появление при прокрутке, один раз */
  .motion [data-reveal] .steps li, .motion .features li > *, .motion .gallery figure { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .motion .steps li:not(:last-child)::after { transform: scaleY(0); transition: transform .6s var(--ease); }
  .motion .features li::before { transform: scaleX(0); transition: transform .7s var(--ease); }
  .motion [data-reveal].in .steps li, .motion .features.in li > *, .motion .gallery.in figure { opacity: 1; transform: none; }
  .motion [data-reveal].in .steps li:not(:last-child)::after, .motion .features.in li::before { transform: none; }
  .motion .steps li:nth-child(2) { transition-delay: .35s; }
  .motion .steps li:nth-child(3) { transition-delay: .7s; }
  .motion .steps li:nth-child(1)::after { transition-delay: .25s; }
  .motion .steps li:nth-child(2)::after { transition-delay: .6s; }
  .motion .features li:nth-child(1)::before { transition-delay: 0s; }   .motion .features li:nth-child(1) > * { transition-delay: .2s; }
  .motion .features li:nth-child(2)::before { transition-delay: .08s; } .motion .features li:nth-child(2) > * { transition-delay: .28s; }
  .motion .features li:nth-child(3)::before { transition-delay: .16s; } .motion .features li:nth-child(3) > * { transition-delay: .36s; }
  .motion .features li:nth-child(4)::before { transition-delay: .24s; } .motion .features li:nth-child(4) > * { transition-delay: .44s; }
  .motion .features li:nth-child(5)::before { transition-delay: .32s; } .motion .features li:nth-child(5) > * { transition-delay: .52s; }
  .motion .features li:nth-child(6)::before { transition-delay: .4s; }  .motion .features li:nth-child(6) > * { transition-delay: .6s; }
  .motion .gallery figure:nth-child(2) { transition-delay: .12s; }
  .motion .gallery figure:nth-child(3) { transition-delay: .24s; }
  /* после появления наведение на снимок — без задержки */
  .motion .gallery.in figure { transition-delay: 0s; transition-duration: .6s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  /* 2. окно в hero: наклон → плоское по прокрутке (CSS scroll-timeline, иначе --tilt из JS) */
  .motion .window { transform-origin: 50% 0; transform: rotateX(calc(var(--tilt, 0) * 11deg)) scale(calc(1 - var(--tilt, 0) * 0.06)); will-change: transform; }
  .motion.tilt-js .window { --tilt: 1; }
  @supports (animation-timeline: scroll()) {
    .motion .window { animation: untilt linear both; animation-timeline: scroll(root); animation-range: 0 520px; }
  }
}

/* 0.01, а не 0: текст с opacity 0 браузер не считает отрисованным — LCP ждал бы конца анимации */
@keyframes wordUp { from { opacity: 0.01; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dotOn { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }
@keyframes livePulse { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes livePulseDot { 0%, 8% { transform: scale(.4); } 14% { transform: scale(1.3); } 20%, 100% { transform: scale(1); } }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .15; } }
@keyframes untilt { from { transform: rotateX(11deg) scale(.94); } to { transform: none; } }
/* плашка видна треть цикла: появляется, держится, уходит */
@keyframes chip { 0% { opacity: 0; transform: translateY(8px) scale(.97); } 5%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes check { 0%, 4% { stroke-dashoffset: 14; } 12%, 100% { stroke-dashoffset: 0; } }
@keyframes bar { 0%, 3% { transform: scaleX(.12); } 26%, 100% { transform: scaleX(.667); } }

/* ───────── Telegram: шапка (иконка + текст с 768 px, на телефоне — только иконка), первый экран, «Get pynelo», подвал ───────── */
.tg-ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn .tg-ico { margin-right: 8px; }
.btn--outline .tg-ico { color: var(--accent); }
.tg-btn { min-width: 44px; padding: 0 12px; }
.tg-btn .tg-ico { margin-right: 0; }
.tg-btn__text { display: none; margin-left: 8px; }
@media (min-width: 768px) { .tg-btn { padding: 0 14px; } .tg-btn__text { display: inline; } }
.foot__tg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); }
.foot__tg:hover { color: var(--text); }

/* ───────── Веб-версия: кнопка в шапке (с 480 px), первый экран, «Get pynelo» ───────── */
.web-ico { flex: none; width: 18px; height: 18px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn--outline .web-ico, .btn--ghost .web-ico { color: var(--accent); }
.web-btn { display: none; }
@media (min-width: 480px) { .web-btn { display: inline-flex; } }

/* ───────── Индивидуальные решения ───────── */
.custom__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 24px; }
@media (min-width: 768px) { .custom__row { margin-top: 36px; } }
@media (max-width: 479px) { .custom__row .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .motion .custom > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .motion .custom.in > * { opacity: 1; transform: none; }
  .motion .custom.in > .custom__row { transition-delay: .12s; }
}
