/* Главная страница prolens.pro — визуал 2026-11.
   Используется только site/index.html. Общие styles.css / landing.css
   остаются для статей и страницы /analitika-yandex-eda/. */

:root {
  --h-bg: #08122B;
  --h-ink: #F7F9FF;
  --h-text: #C9D7F1;
  --h-soft: #A9B8DD;
  --h-eyebrow: #ADB9FF;
  --h-line: rgba(207, 230, 255, .14);
  --h-blue: #3567E0;
  --h-violet: linear-gradient(120deg, #8678FF, #534BD8);
  --h-grad-text: linear-gradient(100deg, #fff 0%, #ADB9FF 45%, #A0D8FF 100%);
  --h-shadow: 0 50px 95px -35px rgba(0, 7, 23, .8);
  --h-wrap: 1360px;
  --h-gutter: 32px;
  --h-font: 'Space Grotesk', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.home {
  margin: 0;
  background: var(--h-bg);
  color: var(--h-ink);
  font-family: var(--h-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.home a { color: #C9D4FF; text-decoration: none; }
.home a:hover { color: #fff; }
:where(.home) :is(h1, h2, h3, p) { margin: 0; }
:where(.home) img { max-width: 100%; }
.home :focus-visible { outline: 2px solid #A0D8FF; outline-offset: 3px; }

.h-wrap { max-width: var(--h-wrap); margin: 0 auto; padding: 0 var(--h-gutter); }
.h-grad { background: var(--h-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h-eyebrow { font-size: 12px; color: var(--h-eyebrow); text-transform: uppercase; font-weight: 700; letter-spacing: .14em; }

/* ─── Кнопки ─── */
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 10px; font-weight: 700; transition: filter .15s ease, background .15s ease; }
.home .h-btn-primary { background: var(--h-violet); color: #fff; }
.home .h-btn-primary:hover { filter: brightness(1.1); color: #fff; }
.home .h-btn-outline { border: 1px solid rgba(207, 230, 255, .4); background: rgba(255, 255, 255, .04); color: #fff; box-shadow: none; }
.home .h-btn-outline:hover { background: rgba(255, 255, 255, .1); }
.h-btn-nav { min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: center; }
.h-btn-hero { min-height: 62px; padding: 0 30px; font-size: 17px; box-shadow: 0 16px 32px -14px rgba(65, 40, 215, .8); }

/* ─── Первый экран ─── */
.h-top {
  color: var(--h-ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 90% at 76% 45%, rgba(248, 251, 255, .18) 0%, rgba(154, 190, 250, .12) 32%, transparent 78%),
    radial-gradient(ellipse 62% 68% at 49% 15%, rgba(80, 132, 237, .24) 0%, transparent 76%),
    radial-gradient(ellipse 55% 77% at 0% 14%, rgba(101, 92, 236, .18) 0%, transparent 73%),
    linear-gradient(112deg, #08122B 0%, #0B255A 48%, #133C86 74%, #0C1733 100%);
}

.h-top { padding-top: 73px; }
/* Шапка закреплена: вход и подключение доступны при прокрутке. */
.h-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .09); transition: background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.h-nav.scrolled { background: rgba(8, 18, 43, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(207, 230, 255, .12); box-shadow: 0 12px 32px -14px rgba(0, 6, 29, .75); }
.h-nav-row { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.home .h-brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.h-brand-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #6E63FF, #22D3EE); display: grid; place-items: center; }
.h-nav-links { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.home .h-nav-links a { color: var(--h-text); }
.home .h-nav-links a:hover { color: #fff; }
.h-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.home .h-nav-login { padding: 12px 0; color: #fff; font-size: 14px; font-weight: 600; }
.h-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(207, 230, 255, .3); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.h-menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.h-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.h-menu-toggle.open span:nth-child(2) { opacity: 0; }
.h-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.h-mobile-menu { display: flex; flex-direction: column; padding: 8px var(--h-gutter) 18px; border-top: 1px solid rgba(255, 255, 255, .09); background: #0B1E4A; }
.h-mobile-menu[hidden] { display: none; }
.home .h-mobile-menu a { padding: 14px 0; font-size: 16px; font-weight: 500; color: #E4EAF8; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.home .h-mobile-menu a:last-child { border-bottom: 0; }

.h-hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 40px; }
.h-hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; position: relative; z-index: 2; }
.h-h1 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.08; font-weight: 700; letter-spacing: -.05em; max-width: 600px; text-wrap: balance; color: var(--h-ink); }
.h-benefits { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.h-benefits li { display: flex; gap: 13px; align-items: flex-start; }
.h-benefits li > span:last-child { font-size: 16px; line-height: 1.5; color: var(--h-text); text-wrap: pretty; }
.h-benefits b { color: #fff; font-weight: 700; }
.h-check { flex: none; width: 26px; height: 26px; margin-top: 1px; display: grid; place-items: center; border-radius: 7px; border: 1px solid rgba(183, 220, 255, .43); background: rgba(246, 250, 255, .11); color: #DCEEFF; font-size: 13px; font-weight: 800; }
.h-hero-cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(16px, 2vw, 28px); }
.h-hero-cta > .h-btn-hero { width: auto; padding-inline: clamp(16px, 2vw, 30px); white-space: nowrap; }
.home .h-hero-demo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-size: 16px; font-weight: 500; white-space: nowrap; }
.home .h-hero-demo:hover { text-decoration: underline; text-underline-offset: 4px; }
.h-hero-demo svg { flex: none; }
.h-trial { flex-basis: 100%; display: flex; align-items: center; gap: 12px; }
.h-trial b { font-size: 16px; color: #fff; font-weight: 600; }
.h-trial span { font-size: 14px; color: var(--h-text); }

.h-hero-visual { flex: 1 1 640px; min-width: 0; display: flex; align-items: flex-start; }
.h-price-badge { flex: 0 0 150px; margin-top: 64px; padding: 18px 14px 16px; background: rgba(53, 103, 224, .28); border: 1px solid rgba(160, 190, 255, .35); border-right: 0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 3; }
.h-price-badge small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--h-text); }
.h-price-badge b { margin: 4px 0 6px; font-size: 32px; font-weight: 700; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.h-hero-stage { flex: 1 1 360px; min-width: 0; position: relative; aspect-ratio: 1 / .95; }
.h-hero-main { position: absolute; left: 0; top: 0; width: 112%; }
.h-hero-float { position: absolute; left: -10%; bottom: 0; width: 92%; padding: 8px; background: #F8FBFF; border: 1px solid #E3ECFC; box-shadow: 0 -10px 60px rgba(0, 6, 29, .35), 0 30px 78px rgba(0, 6, 29, .6); z-index: 2; }

/* Окно браузера со скриншотом */
.h-shot { overflow: hidden; background: #fff; box-shadow: var(--h-shadow); }
.h-shot-bar { height: 30px; background: #18233F; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.h-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF6257; }
.h-shot-bar i:nth-child(2) { background: #FFBD46; }
.h-shot-bar i:nth-child(3) { background: #2AC66A; }
.h-shot-bar span { margin-left: auto; font-size: 11px; color: #B5BED8; font-weight: 600; }
.h-shot img, .h-hero-float img, .h-plate img { display: block; width: 100%; height: auto; }
.h-plate { padding: 8px; background: #F8FBFF; box-shadow: var(--h-shadow); }

/* ─── Счётчик и бегущая строка ─── */
.h-body { background: #0C1F4C; color: #EAEDF5; }
.h-band { background: #0A1A40; border-top: 1px solid var(--h-line); border-bottom: 1px solid rgba(207, 230, 255, .08); }
.h-band-row { display: flex; align-items: stretch; min-height: 112px; }
.h-count { flex: none; padding: 20px 36px 20px 0; display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; border-right: 1px solid rgba(207, 230, 255, .18); }
.h-count[hidden] { display: none; }
.h-count-num { font-size: 56px; font-weight: 700; letter-spacing: -.06em; line-height: 1; white-space: nowrap; min-width: 2ch; }
.h-count-text { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--h-text); }
.h-marquee { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 92%, transparent 100%); }
.h-marquee-track { display: flex; width: max-content; animation: hMarquee 40s linear infinite; }
.h-marquee-run { display: flex; }
.h-marquee-track span { display: inline-flex; align-items: center; gap: 40px; padding-left: 40px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #E4ECFF; white-space: nowrap; }
.h-marquee-track span::after { content: ""; width: 6px; height: 6px; background: var(--h-blue); display: inline-block; }
@keyframes hMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Секции продукта ─── */
.h-sec { padding: 112px 0; background: radial-gradient(ellipse 50% 80% at 85% 40%, rgba(248, 251, 255, .16) 0%, rgba(154, 190, 250, .10) 35%, transparent 75%), linear-gradient(112deg, #0A1A40 0%, #0D2A63 50%, #14398A 78%, #0C1F4C 100%); }
.h-sec.alt { background: radial-gradient(ellipse 50% 80% at 12% 45%, rgba(248, 251, 255, .14) 0%, rgba(154, 190, 250, .09) 35%, transparent 75%), linear-gradient(248deg, #0A1A40 0%, #0D2A63 50%, #14398A 78%, #0C1F4C 100%); }
.h-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 64px; align-items: center; }
.h-split > * { min-width: 0; }
.h-split.flip .h-split-copy { order: 2; }
.h-split.flip .h-split-media { order: 1; }
.h-h2 { font-size: clamp(32px, 3.9vw, 52px); line-height: 1.1; font-weight: 700; margin: 16px 0 20px; letter-spacing: -.045em; text-wrap: balance; }
.h-lead { font-size: 18px; line-height: 1.6; color: var(--h-text); text-wrap: pretty; max-width: 520px; }
.h-see { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.h-see .h-eyebrow { color: var(--h-soft); margin-bottom: 16px; }
.h-see ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.h-see li { display: flex; gap: 12px; font-size: 16px; color: #E4EAF8; line-height: 1.5; }
.h-see .h-check { width: 24px; height: 24px; margin-top: 0; font-size: 12px; }
.h-media-note { display: block; margin-top: 10px; font-size: 12px; color: var(--h-soft); }
.h-split-media .h-shot.tinted { background: #F3F6FC; }

/* ─── Манифест ─── */
.h-sec.manifest { padding: 56px 0; }
.h-manifest { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) clamp(26px, 5vw, 72px); background: radial-gradient(ellipse 40% 90% at 100% 50%, rgba(134, 120, 255, .55), transparent 70%), linear-gradient(100deg, #3567E0 0%, #1E3FA8 38%, #0C1A45 72%, #0C1A45 100%); box-shadow: 0 40px 80px -30px rgba(0, 7, 23, .7); }
.h-manifest h2 { max-width: 760px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; font-weight: 400; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.h-manifest h2 b { font-weight: 700; }
.h-manifest-points { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.h-manifest-points div { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: #fff; }
.h-manifest-points span { flex: none; width: 24px; height: 24px; display: grid; place-items: center; background: #fff; color: var(--h-blue); font-size: 13px; font-weight: 800; }

/* ─── Отзывы ─── */
.h-sec.reviews { padding: 56px 0 112px; }
.h-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 12px 0 32px; }
.h-reviews-head .h-h2 { margin: 0; max-width: 820px; }
.h-arrows { display: flex; gap: 8px; }
.h-arrows button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(207, 230, 255, .35); background: transparent; color: #fff; font: inherit; font-size: 18px; cursor: pointer; transition: background .15s ease; }
.h-arrows button:hover { background: rgba(255, 255, 255, .1); }
.h-reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.h-reviews::-webkit-scrollbar { display: none; }
.h-review { margin: 0; flex: 0 0 min(380px, 85%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: #fff; color: #141A33; }
.h-review > b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--h-blue); }
.h-review blockquote { margin: 0; flex: 1; font-size: 15px; line-height: 1.55; color: #2A3352; text-wrap: pretty; }
.h-review figcaption { padding-top: 14px; border-top: 1px solid #E3E7F3; display: flex; flex-direction: column; gap: 2px; }
.h-review figcaption span:first-child { font-size: 14px; font-weight: 600; color: #141A33; }
.h-review figcaption span:last-child { font-size: 13px; color: #5A6A8E; }

/* ─── Тарифы (разметка для tariffs.js) ─── */
#pricing.h-sec { padding: 64px 0; }
#pricing .h-wrap { max-width: 1200px; }
.tf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 24px; }
.tf-head h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.14; font-weight: 600; margin: 0 0 10px; letter-spacing: -.042em; }
.tf-head p { font-size: 17px; line-height: 1.6; color: var(--h-text); }
.tf-per { display: flex; gap: 4px; border: 1px solid var(--h-line); border-radius: 11px; background: rgba(255, 255, 255, .06); padding: 5px; }
.tf-per button { border: 0; padding: 11px 13px; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 700; background: transparent; color: var(--h-soft); cursor: pointer; }
.tf-per button small { font-size: 10px; color: #34D399; }
.tf-per button.on { background: #fff; color: #282160; }
.tf-per button.on small { color: #16a073; }
.tf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 17px; }
.tf-card { position: relative; display: flex; flex-direction: column; padding: 24px 25px 22px; border: 1px solid var(--h-line); background: rgba(255, 255, 255, .06); border-radius: 16px; }
.tf-card.hot { border-color: rgba(139, 132, 255, .62); background: linear-gradient(160deg, rgba(110, 99, 255, .14), transparent 35%), rgba(255, 255, 255, .08); }
.tf-card h3 { font-size: 26px; margin: 0 0 7px; }
.tf-sub { font-size: 13px; color: var(--h-soft); line-height: 1.5; }
.tf-step { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; border: 1px solid var(--h-line); border-radius: 10px; }
.tf-step > span { font-size: 13px; color: var(--h-soft); }
.tf-ctr { display: flex; align-items: center; gap: 12px; }
.tf-ctr button { width: 36px; height: 36px; border: 1px solid rgba(207, 230, 255, .3); background: transparent; color: #fff; font: inherit; font-size: 18px; cursor: pointer; border-radius: 8px; }
.tf-ctr button:disabled { opacity: .35; cursor: default; }
.tf-ctr b { min-width: 24px; text-align: center; font-size: 18px; }
.tf-price { margin-top: 16px; display: flex; flex-direction: column; }
.tf-price [data-total] { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.tf-price [data-cap] { font-size: 13px; color: var(--h-soft); margin-top: 6px; line-height: 1.5; }
.tf-bill { font-size: 13px; color: var(--h-text); line-height: 1.5; }
.tf-bill:empty { display: none; }
.tf-bill b { color: #fff; margin-right: 6px; }
.tf-bill s { color: var(--h-soft); }
.tf-error:empty { display: none; }
.tf-next { font-size: 13px; color: var(--h-text); margin-top: 8px; line-height: 1.5; }
.tf-next b { color: #fff; }
.tf-inc { font-size: 14px; font-weight: 600; color: #fff; margin-top: 14px; }
.tf-list { list-style: none; padding: 12px 0 18px; margin: 10px 0 0; border-top: 1px solid var(--h-line); display: grid; gap: 8px; font-size: 13px; color: var(--h-text); }
.tf-list li::before { content: "✓ "; }
.home .tf-cta { margin-top: auto; display: flex; justify-content: center; align-items: center; min-height: 50px; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(157, 149, 255, .29); color: #fff; font-size: 14px; font-weight: 700; transition: filter .15s ease, background .15s ease; }
.home .tf-cta:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.home .tf-card.hot .tf-cta { background: linear-gradient(135deg, #796EFF, #5751DE); border-color: transparent; }
.home .tf-card.hot .tf-cta:hover { filter: brightness(1.1); }
.tf-trial-note { margin-top: 10px; text-align: center; font-size: 12px; line-height: 1.35; color: var(--h-soft); }
.tf-foot { margin-top: 18px; text-align: center; font-size: 13px; color: var(--h-soft); line-height: 1.6; }

/* ─── Финальный блок ─── */
.h-sec.final { padding: 0 0 112px; }
.h-final { position: relative; overflow: hidden; padding: clamp(31px, 5vw, 62px) clamp(23px, 5.5vw, 70px); background: var(--h-blue); box-shadow: 0 40px 80px -30px rgba(0, 7, 23, .7); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 36px; }
.h-final-copy { flex: 1 1 420px; max-width: 600px; }
.h-final-copy .h-eyebrow { color: #DCE6FF; }
.h-final-copy h2 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.15; font-weight: 700; margin: 12px 0 16px; letter-spacing: -.035em; }
.h-final-copy p:last-child { font-size: 16px; color: #EEF3FF; line-height: 1.6; }
.h-final-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.home .h-btn-white { display: inline-flex; align-items: center; gap: 11px; min-height: 50px; padding: 12px 22px; border-radius: 9px; background: #fff; color: #111525; font-size: 14px; font-weight: 700; }
.home .h-btn-white:hover { color: #111525; background: #EEF3FF; }
.home .h-final-demo { padding: 8px 12px; color: #fff; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.h-final-cta span { font-size: 12px; color: #DCE6FF; }

/* ─── Подвал ─── */
.h-foot { padding: 28px 0 34px; border-top: 1px solid var(--h-line); background: #0C1F4C; }
.h-foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 12px; color: var(--h-soft); }
.h-foot-row strong { color: #e9edf5; }
.h-foot-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.home .h-foot-links a { color: var(--h-soft); }
.home .h-foot-links a:hover { color: #fff; }

/* ─── Адаптив ─── */
@media (min-width: 1025px) {
  .h-top { min-height: 100vh; min-height: 100svh; }
}

/* Компьютер: картинка первого экрана всегда справа от текста и уменьшается
   вместе с окном, а не переносится под текст. */
@media (min-width: 961px) {
  .h-hero { flex-wrap: nowrap; }
}

/* Планшет: картинка под текстом, но не шире 720px и по центру. */
@media (min-width: 721px) and (max-width: 960px) {
  .h-hero-copy { flex-basis: 100%; }
  .h-hero-visual { flex-basis: 100%; max-width: 720px; margin: 0 auto; padding-right: 8%; }
}

@media (max-width: 1024px) {
  .h-nav-row { gap: 10px; }
  .h-nav-links { display: none; }
  .h-nav-login { display: none; }
  .h-menu-toggle { display: inline-flex; flex-shrink: 0; }
  .h-nav { max-height: 100dvh; overflow-y: auto; }
  .h-sec { padding: 88px 0; }
}

@media (max-width: 720px) {
  :root { --h-gutter: 20px; }
  .h-nav-row { min-height: 64px; }
  .h-top { padding-top: 65px; }
  html { scroll-padding-top: 76px; }
  .h-btn-nav { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .h-menu-toggle { width: 40px; height: 40px; }
  .h-hero { padding-top: 40px; padding-bottom: 64px; gap: 44px; }
  .h-hero-copy { flex-basis: 100%; }
  .h-h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .h-benefits { margin-top: 32px; gap: 16px; }
  .h-hero-cta { margin-top: 32px; }
  .h-trial { flex-direction: column; align-items: flex-start; gap: 3px; }
  .h-btn-hero { width: 100%; min-height: 56px; }
  .h-hero-visual { flex-direction: column; }
  .h-price-badge { flex: none; margin: 0 0 -1px; flex-direction: row; gap: 8px; align-items: baseline; padding: 10px 14px; border-right: 1px solid rgba(160, 190, 255, .35); border-bottom: 0; }
  .h-price-badge b { margin: 0; font-size: 24px; }
  .h-hero-stage { width: 100%; flex: none; aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; }
  .h-hero-main, .h-hero-float { position: static; width: 100%; }
  .h-hero-float { padding: 6px; }

  .h-band-row { flex-direction: column; min-height: 0; }
  .h-count { padding: 22px 0 18px; border-right: 0; border-bottom: 1px solid rgba(207, 230, 255, .12); }
  .h-count-num { font-size: 44px; }
  .h-marquee { padding: 18px 0; }
  .h-marquee-track span { font-size: 18px; gap: 28px; padding-left: 28px; }

  .h-sec { padding: 64px 0; }
  .h-split { gap: 36px; }
  .h-split.flip .h-split-copy { order: 1; }
  .h-split.flip .h-split-media { order: 2; }
  .h-lead { font-size: 16px; }
  .h-see li { font-size: 15px; }
  .h-shot-bar { height: 24px; }

  .h-sec.manifest { padding: 32px 0; }
  .h-manifest-points { flex-direction: column; gap: 14px; }
  .h-manifest-points div { font-size: 16px; }

  .h-sec.reviews { padding: 32px 0 64px; }
  .h-arrows { display: none; }
  .h-review { padding: 22px 20px; }

  #pricing.h-sec { padding: 48px 0; }
  .tf-per { width: 100%; }
  .tf-per button { flex: 1; padding: 11px 6px; }

  .h-sec.final { padding: 0 0 64px; }
  .h-final-copy { flex-basis: 100%; }
  .h-final-cta { width: 100%; }
  .home .h-btn-white { width: 100%; justify-content: center; }

  .h-foot-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .h-hide-xs { display: none; }
  .h-nav-row { gap: 8px; }
  .h-btn-nav { padding: 0 8px; }
  .h-btn-hero { padding: 0 18px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-marquee-track { animation: none; }
  .h-reviews { scroll-behavior: auto; }
}


/* Согласованный мобильный макет. Десктопная композиция остаётся прежней. */
.h-mobile-only, .h-image-zoom { display: none; }
.h-image-dialog { width: min(96vw, 1000px); max-height: 90dvh; padding: 12px; border: 0; border-radius: 8px; background: #0b162e; color: #fff; }
.h-image-dialog::backdrop { background: rgba(0,0,0,.75); }
.h-image-dialog form { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.h-image-dialog button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 6px; background: #263c67; color: #fff; font: inherit; cursor: pointer; }
.h-image-scroll { overflow: auto; max-height: 70dvh; }
.h-image-scroll img { display: block; width: max(100%, 920px); max-width: none; height: auto; }
@media (max-width: 720px) {
  :root { --h-gutter: 18px; }
  .h-nav { background: #0b162e; }
  .h-nav-row { min-height: 60px; gap: 10px; padding-inline: 15px; }
  .h-top { padding-top: 61px; }
  .home .h-brand { gap: 7px; font-size: 17px; flex: none; white-space: nowrap; }
  .h-brand-mark { width: 30px; height: 30px; flex: none; }
  .h-nav-actions { min-width: 0; }
  .h-btn-nav { padding-inline: 11px; font-size: 12px; white-space: nowrap; }
  .h-hero { padding-top: 25px; padding-bottom: 28px; gap: 0; }
  .h-h1 { font-size: clamp(29px, 8.9vw, 36px); line-height: 1.09; text-wrap: initial; letter-spacing: -.045em; }
  .h-hero-yandex { display: block; white-space: nowrap; }
  .h-benefits .h-desktop-copy { display: none; }
  .h-benefits .h-mobile-copy { display: inline; }
  .h-benefits { margin-top: 21px; gap: 11px; }
  .h-benefits li { gap: 10px; }
  .h-benefits li > span:last-child { font-size: 14px; text-wrap: initial; }
  .h-check { width: 21px; height: 21px; border-radius: 5px; }
  .h-hero-cta { margin-top: 23px; gap: 8px 13px; }
  .h-hero-cta > .h-btn-hero { min-height: 51px; padding-inline: 15px; font-size: 14px; border-radius: 8px; }
  .home .h-hero-demo { gap: 7px; font-size: 14px; font-weight: 600; }
  .h-trial { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px; line-height: 1.5; }
  .h-trial b, .h-trial span { font-size: 12px; }
  .h-trial span::before { content: "· "; }
  .h-hero-visual { display: none; }
  .h-shot-bar { padding-inline: 8px; gap: 4px; }
  .h-shot-bar i { width: 6px; height: 6px; }
  .h-shot-bar span { font-size: 10px; }
  .h-mobile-only.h-zoom-hint { display: block; align-self: flex-end; font-size: 11px; text-align: right; color: var(--h-soft); margin-top: 8px; }
  .h-hero-float, .h-split-media .h-shot, .h-plate { position: relative; border-radius: 6px; overflow: hidden; }
  .h-image-zoom { display: block; position: absolute; inset: 0; border: 0; background: transparent; cursor: zoom-in; padding: 0; }
  .home .h-image-zoom:focus-visible { outline-offset: -3px; }
  /* Число слева, названия справа движутся независимо. */
  .h-band-row { flex-direction: row; align-items: stretch; min-height: 75px; }
  .h-count { order: 1; flex: none; min-width: 0; padding: 10px 12px 10px 0; gap: 8px; border: 0; border-right: 1px solid rgba(207,230,255,.18); }
  .h-count-num { font-size: clamp(26px, 8.4vw, 33px); min-width: 0; }
  .h-count-text { font-size: 10px; line-height: 1.32; }
  .h-marquee { order: 2; padding: 14px 0; overflow: hidden; }
  .h-marquee-track { flex: none; animation: hMarquee 40s linear infinite; }
  .h-marquee:hover .h-marquee-track { animation-play-state: paused; }
  @media (prefers-reduced-motion: reduce) {
    .h-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
    .h-marquee-track { animation: none; }
    .h-marquee-run[aria-hidden="true"], .h-marquee-run:first-child span:nth-child(n+7) { display: none; }
  }
  .h-marquee-track span { font-size: 13px; padding-left: 12px; gap: 10px; }
  .h-sec { padding: 38px 0; }
  .h-split { grid-template-columns: minmax(0,1fr); gap: 0; }
  .h-split .h-split-copy, .h-split.flip .h-split-copy { display: contents; }
  .h-split .h-eyebrow { order: 1; font-size: 11px; }
  .h-split .h-h2 { order: 2; }
  .h-split .h-lead { order: 3; }
  .h-split .h-split-media, .h-split.flip .h-split-media { order: 4; margin-top: 22px; }
  .h-split .h-see { order: 5; }
  .h-h2 { font-size: 29px; line-height: 1.12; margin: 12px 0 13px; text-wrap: initial; }
  .h-lead { font-size: 15px; line-height: 1.55; }
  .h-see { margin-top: 19px; padding-top: 16px; }
  .h-see .h-eyebrow { margin-bottom: 12px; }
  .h-see ul { gap: 11px; }
  .h-see li { font-size: 14px; gap: 10px; }
  .h-see .h-check { width: 21px; height: 21px; }
  .h-plate { padding: 0; }
  .h-sec.manifest { padding: 38px 0; }
  .h-manifest { padding: 25px 20px; border-radius: 3px; }
  .h-manifest h2 { font-size: 27px; }
  .h-manifest-points { margin-top: 20px; }
  .h-manifest-points div { font-size: 14px; }
  .h-sec.reviews { padding: 38px 0; }
  .h-reviews-head { gap: 10px; margin: 12px 0 20px; }
  .h-arrows { display: flex; margin-left: auto; }
  .h-arrows button { width: 44px; height: 44px; }
  .h-reviews { gap: 12px; }
  .h-review { flex-basis: 88%; padding: 20px 17px; }
  .h-review > b { font-size: 17px; }
  .h-review blockquote { font-size: 14px; }
  #pricing.h-sec { padding: 38px 0; }
  .tf-head { gap: 18px; margin-bottom: 16px; }
  .tf-per button { min-height: 44px; padding: 5px 2px; }
  .tf-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .tf-card { padding: 20px; }
  .tf-ctr button { width: 44px; height: 44px; }
  .tf-price [data-total] { font-size: 32px; }
  .h-sec.final { padding-bottom: 38px; }
  .h-final { padding: 24px 20px; gap: 20px; }
  .h-final-copy h2 { font-size: 28px; }
  .h-foot { padding: 25px 0; }
}
@media (max-width: 360px) {
  .h-hero-cta { gap: 8px 9px; }
  .h-hero-cta > .h-btn-hero { padding-inline: 11px; font-size: 12px; }
  .home .h-hero-demo { font-size: 12px; gap: 5px; }
  .h-count { gap: 6px; padding-right: 9px; }
}
@media (max-width: 350px) {
  :root { --h-gutter: 15px; }
  .h-brand-word { display: none; }
  .h-hero-cta { gap: 7px 10px; }
  .h-hero-cta > .h-btn-hero { padding-inline: 10px; }
  .home .h-hero-demo { font-size: 12px; }
}
