/* AdPilot Glass — токены (источник: docs/design/cabinet-style.md, handoff/2026-11-01-site-redesign-solvik/glass-system.md).
   Подключается первым в assets/home.css (tokens.css + home-glass.css), собирает tools/stamp_versions.py. */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-19d45c9a.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-d0354d66.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-22ce7659.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-ca6830bd.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-7965cb05.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-20B3, U+20B5-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-bcbadccc.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:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-ee4df7d1.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-92a5380f.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-d8e5d662.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-770696b6.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-20B3, U+20B5-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-f2b2b22d.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 {
  --bg: #0b0f0d;
  --text: #ededed;
  --text-2: #c9c9cf;     /* на любых подложках, в том числе на белых overlay .04–.08 */
  --dim: #8c8c96;        /* только на голом стекле / основе, не на белых overlay */
  --accent: #22c55e;
  --accent-hi: #4ade80;
  --on-accent: #052e16;
  --worse: #f87171;
  --on-worse: #450a0a;

  --glass: rgba(19, 19, 19, .46);
  --glass-strong: rgba(19, 19, 19, .72);
  --glass-line: rgba(255, 255, 255, .15);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .12);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  --blur: blur(22px) saturate(150%);
  /* то, что реально читает стеклянный класс: телефон переключается на плотную заливку ОДНИМ правилом (см. home-glass.css, «PHONE-DENSE») */
  --glass-bg: var(--glass);
  --glass-bf: var(--blur);

  --r-card: 22px;
  --r-tile: 18px;
  --r-ctl: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-disp: "Unbounded", "Manrope", system-ui, sans-serif;

  --gut: clamp(20px, 3vw, 56px);
  --max: 1800px;
  --gap: clamp(20px, 1.6vw, 24px);
}
/* AdPilot Glass — общая основа (главная + 25 внутренних страниц): база, подложка П3, стекло, кнопки, шапка, меню, подвал.
   Собирается в assets/home.css (tokens + glass-base + home-glass) и assets/site.css (tokens + glass-base + pages-glass) — tools/stamp_versions.py. */

/* ═══ база ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: transparent; color: var(--text); font: 400 16px/1.5 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
::selection { background: rgba(34, 197, 94, .28); }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-nw { white-space: nowrap; }
.lp-stack { display: flex; flex-direction: column; gap: 12px; }

/* ═══ подложка П3 «Боке-краплі»: ОДИН фиксированный слой за контентом ═══
   основа → 2 больших размытых пятна → ~10 капель → вуаль. Анимируются только transform и opacity, 40–90 с, ease-in-out alternate.
   Яркость под стеклом не выше rgb(17,60,33): цвета и прозрачности как на доске Bokeh3. */
.lp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.lp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .15) 0%, rgba(10, 10, 10, .55) 60%, rgba(10, 10, 10, .8) 100%); }
.lp-bg i { position: absolute; display: block; will-change: transform, opacity; animation: 60s ease-in-out infinite alternate; }
.lp-bg .bl { width: min(1100px, 76vw); aspect-ratio: 1; border-radius: 50%; filter: blur(80px); }
.lp-bg .b1 { left: -24%; top: -44%; background: radial-gradient(circle, rgba(20, 83, 45, .9) 0%, transparent 70%); animation-name: k1; animation-duration: 68s; animation-delay: -18s; }
.lp-bg .b2 { left: 48%; top: 22%; background: radial-gradient(circle, rgba(31, 58, 46, .9) 0%, transparent 70%); animation-name: k2; animation-duration: 79s; animation-delay: -35s; }
.lp-bg .dr { border-radius: 50%; filter: blur(var(--bl)); background: radial-gradient(circle, rgba(var(--c), var(--a)) 0%, rgba(var(--c), var(--a)) 62%, rgba(var(--c), var(--a2)) 80%, transparent 82%); }
.lp-bg .o1 { left: 6.2%; top: 36.7%; width: 200px; height: 200px; --c: 34, 197, 94; --a: .10; --a2: .22; --bl: 18px; animation-name: d1; animation-duration: 47s; animation-delay: -9s; }
.lp-bg .o2 { left: 84%; top: 10%; width: 140px; height: 140px; --c: 42, 47, 44; --a: .45; --a2: .65; --bl: 14px; animation-name: d2; animation-duration: 58s; animation-delay: -20s; }
.lp-bg .o3 { left: 41.7%; top: 13.3%; width: 90px; height: 90px; --c: 34, 197, 94; --a: .12; --a2: .24; --bl: 10px; animation-name: d3; animation-duration: 63s; animation-delay: -33s; }
.lp-bg .o4 { left: 69.4%; top: 52.2%; width: 170px; height: 170px; --c: 34, 197, 94; --a: .08; --a2: .18; --bl: 16px; animation-name: d4; animation-duration: 72s; animation-delay: -5s; }
.lp-bg .o5 { left: 25%; top: 71.1%; width: 120px; height: 120px; --c: 42, 47, 44; --a: .45; --a2: .62; --bl: 12px; animation-name: d1; animation-duration: 52s; animation-delay: -41s; }
.lp-bg .o6 { left: 61.1%; top: 33.3%; width: 70px; height: 70px; --c: 34, 197, 94; --a: .12; --a2: .24; --bl: 8px; animation-name: d2; animation-duration: 44s; animation-delay: -17s; }
.lp-bg .o7 { left: 12.5%; top: 80%; width: 100px; height: 100px; --c: 34, 197, 94; --a: .10; --a2: .22; --bl: 12px; animation-name: d3; animation-duration: 80s; animation-delay: -50s; }
.lp-bg .o8 { left: 81.9%; top: 71.1%; width: 190px; height: 190px; --c: 42, 47, 44; --a: .40; --a2: .60; --bl: 20px; animation-name: d4; animation-duration: 86s; animation-delay: -27s; }
.lp-bg .o9 { left: 38.9%; top: 52.2%; width: 60px; height: 60px; --c: 34, 197, 94; --a: .12; --a2: .24; --bl: 8px; animation-name: d4; animation-duration: 56s; animation-delay: -28s; }
.lp-bg .o10 { left: 92.4%; top: 44.4%; width: 80px; height: 80px; --c: 34, 197, 94; --a: .10; --a2: .22; --bl: 10px; animation-name: d3; animation-duration: 90s; animation-delay: -60s; }
@keyframes k1 { from { transform: translate3d(0, 0, 0) scale(1); opacity: .8; } to { transform: translate3d(110px, 70px, 0) scale(1.12); opacity: 1; } }
@keyframes k2 { from { transform: translate3d(0, 0, 0) scale(1.05); opacity: .9; } to { transform: translate3d(-90px, 60px, 0) scale(.94); opacity: 1; } }
@keyframes d1 { from { transform: translate3d(0, 0, 0) scale(1); opacity: .55; } to { transform: translate3d(60px, -45px, 0) scale(1.08); opacity: 1; } }
@keyframes d2 { from { transform: translate3d(0, 0, 0) scale(1.05); opacity: .7; } to { transform: translate3d(-50px, 55px, 0) scale(.94); opacity: 1; } }
@keyframes d3 { from { transform: translate3d(0, 0, 0) scale(.95); opacity: .5; } to { transform: translate3d(40px, 60px, 0) scale(1.1); opacity: 1; } }
@keyframes d4 { from { transform: translate3d(0, 0, 0) scale(1); opacity: .65; } to { transform: translate3d(-65px, -40px, 0) scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-bg :is(.bl, .dr) { animation: none; will-change: auto; } }
/* телефон: без filter вообще и без анимации; диски — div без border-radius, radial-gradient(closest-side) */
@media (max-width: 767px) {
  .lp-bg :is(.bl, .dr) { filter: none; animation: none; will-change: auto; border-radius: 0; }
  .lp-bg .bl { width: 150vw; }
  .lp-bg .b1 { left: -60%; top: -30%; background: radial-gradient(closest-side, rgba(20, 83, 45, .75) 0%, rgba(20, 83, 45, .35) 45%, transparent 100%); }
  .lp-bg .b2 { left: 10%; top: 35%; background: radial-gradient(closest-side, rgba(31, 58, 46, .75) 0%, rgba(31, 58, 46, .35) 45%, transparent 100%); }
  .lp-bg .dr { background: radial-gradient(closest-side, rgba(var(--c), var(--a2)) 0%, rgba(var(--c), var(--a2)) 45%, transparent 100%); }
}

/* ═══ стекло: один класс-рецепт для всех стеклянных поверхностей ═══
   radius: карточка 22 / плитка 18 / контролы 999 (задаются у каждого элемента ниже) */
:where(.lp-topbar .lp-nav, .lp-topbar .ap-seg, .lp-topbar-l > a, .lp-menu-in, .lp-faq-item) {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), var(--shadow);
}
/* PHONE-DENSE (выключено): чтобы на телефоне перейти на плотную заливку без blur, раскомментировать ОДНО правило
@media (max-width: 767px) { :root { --glass-bg: var(--glass-strong); --glass-bf: none; } }
*/

/* ═══ контейнеры и ритм ═══ */
.lp-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.ap-eyebrow { font: 700 11px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.ap-h1 { font: 500 clamp(32px, 2.8vw, 52px)/1.12 var(--f-disp); letter-spacing: -.025em; color: var(--text); }
.ap-h1 em { font-style: normal; color: var(--accent); }
.ap-h2 { font: 500 clamp(24px, 1.95vw, 32px)/1.15 var(--f-disp); letter-spacing: -.01em; color: var(--text); max-width: 980px; text-wrap: balance; }
.ap-h3 { font: 500 20px/1.25 var(--f-disp); letter-spacing: -.01em; color: var(--text); }
.ap-lead { font: 500 18px/1.5 var(--f-text); color: var(--text-2); max-width: 70ch; }
.ap-lead--sec { font: 400 16px/1.5 var(--f-text); }
.ap-body2 { font: 500 14px/1.55 var(--f-text); color: var(--text-2); }
.ap-small { font: 500 13px/1.5 var(--f-text); color: var(--text-2); }
.ap-micro { font: 600 12px/1.4 var(--f-text); color: var(--text-2); }
.ap-dim { color: var(--text-2); }
.ap-caps { font: 700 11px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ap-num { font-variant-numeric: tabular-nums; }
.ap-display { font-family: var(--f-disp); font-weight: 500; }
.ap-link { color: var(--accent-hi); font-weight: 600; }
.ap-link--u { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ap-link--muted { color: var(--text-2); }
.ap-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); flex-shrink: 0; }

/* ═══ кнопки ═══ */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 42px; padding: 0 22px; border: 0; border-radius: var(--r-ctl); font: 700 14px/1.2 var(--f-text); color: var(--text); white-space: nowrap; cursor: pointer; text-decoration: none; background: transparent;
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.ap-btn:active { transform: scale(.98); }
.ap-btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.ap-btn--lg { height: 48px; padding: 0 28px; font-size: 15px; }
.ap-btn--xl { height: 52px; padding: 0 30px; font-size: 16px; }
.ap-btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -12px rgba(34, 197, 94, .6); }
.ap-btn--primary:has(svg) { padding-right: 4px; }
.ap-btn--primary > svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--on-accent); stroke: var(--accent); }
.ap-btn--lg.ap-btn--primary:has(svg) { padding-right: 6px; gap: 14px; }
.ap-btn--lg.ap-btn--primary > svg { width: 36px; height: 36px; padding: 9px; }
.ap-btn--xl.ap-btn--primary:has(svg) { padding-right: 6px; gap: 14px; }
.ap-btn--xl.ap-btn--primary > svg { width: 40px; height: 40px; padding: 10px; }
.ap-btn--ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); color: var(--text); }
.ap-btn--ghost > svg { stroke: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .ap-btn--primary:hover { background: var(--accent-hi); }
  .ap-btn--ghost:hover { background: rgba(255, 255, 255, .11); }
}
/* бегущий край — только на главных кнопках (.ap-cta): светящаяся точка едет по рамке; оболочка — рамка 2 px */
.ap-cta { position: relative; display: inline-flex; vertical-align: middle; padding: 2px; border-radius: var(--r-ctl); overflow: hidden; isolation: isolate; background: linear-gradient(#14532d, #166534); box-shadow: 0 0 22px -6px rgba(34, 197, 94, .45); }
.ap-cta::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(187, 247, 208, 0) 0%, rgba(187, 247, 208, .6) 55%, #fff 100%);
  offset-path: inset(1px round 999px); offset-distance: 0%; offset-rotate: auto; offset-anchor: 100% 50%; animation: ap-travel 3.2s linear infinite; filter: blur(.5px); pointer-events: none; z-index: 0; will-change: offset-distance; }
.ap-cta > .ap-btn { position: relative; z-index: 1; }
.ap-cta > .ap-btn:focus-visible { outline: none; }
.ap-cta:has(> .ap-btn:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.ap-cta--wide, .ap-cta--wide > .ap-btn { width: 100%; }
@keyframes ap-travel { to { offset-distance: 100%; } }

/* ═══ шапка: капсульный таббар ═══ */
.lp-topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; max-width: var(--max); margin: 0 auto; padding: 14px var(--gut) 8px; transition: transform .3s var(--ease); }
.lp-topbar::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -14px; pointer-events: none; background: linear-gradient(180deg, rgba(11, 15, 13, .9) 0%, rgba(11, 15, 13, .78) 60%, rgba(11, 15, 13, 0) 100%); }
.lp-topbar.is-hid { transform: translateY(calc(-100% - 16px)); }
.lp-topbar-l { display: contents; }
.lp-topbar-l > a { justify-self: start; display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: var(--r-ctl); line-height: 0; }
.lp-topbar-l img { display: block; width: 111px; height: 26px; }
.lp-nav { display: flex; gap: 2px; justify-self: center; padding: 4px; border-radius: var(--r-ctl); }
.lp-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 11px; border-radius: var(--r-ctl); font: 600 14px/1 var(--f-text); color: var(--text-2); white-space: nowrap; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.lp-nav a[aria-current] { background: rgba(255, 255, 255, .12); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .lp-nav a:hover { color: var(--text); } }
.lp-topbar-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.ap-seg { display: inline-flex; gap: 2px; height: 40px; padding: 3px; border-radius: var(--r-ctl); }
.ap-seg a { display: inline-flex; border-radius: var(--r-ctl); }
.ap-seg a > span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 32px; padding: 0 10px; border-radius: var(--r-ctl); font: 700 13px/1 var(--f-text); color: var(--text-2); }
.ap-seg .ap-on { background: rgba(255, 255, 255, .12); color: var(--text); }
.lp-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .06); color: var(--text); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
@media (max-width: 1279px) {
  .lp-burger:not([hidden]) { display: inline-flex; }
  .lp-topbar { grid-template-columns: auto 1fr; }
  .lp-topbar:has(.lp-burger:not([hidden])) .lp-nav { display: none; }
  .lp-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}

/* меню-бургер (нативный <dialog>) */
.lp-menu { margin: 0; inset: 0 0 auto 0; width: 100%; max-width: none; max-height: 100dvh; padding: 12px; border: 0; background: transparent; color: var(--text); overflow: auto; }
.lp-menu::backdrop { background: rgba(3, 5, 6, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lp-menu-in { max-width: 480px; margin-left: auto; border-radius: var(--r-card); background: var(--glass-strong); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 8px 16px 18px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
@starting-style { .lp-menu[open] .lp-menu-in { transform: translateY(-8px); opacity: 0; } }
.lp-menu-top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-left: 4px; }
.lp-menu .lp-menu-close { display: inline-flex; }
.lp-menu nav { display: flex; flex-direction: column; margin-top: 6px; }
.lp-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font: 600 18px/1.2 var(--f-text); color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 0 4px; }
.lp-menu nav a svg { color: var(--text-2); }
.lp-menu-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px 6px; font: 600 13px/1 var(--f-text); color: var(--text-2); }
.lp-menu-lang .ap-seg { height: 52px; }
.lp-menu-lang .ap-seg a > span { height: 44px; min-width: 44px; }
.lp-menu-cta { display: grid; gap: 10px; margin-top: 14px; }
.lp-menu-cta .ap-btn { width: 100%; }
html:has(.lp-menu[open]) { overflow: hidden; }

/* ═══ FAQ-аккордеон (главная и en/mcp) ═══ */
.lp-faq-item { border-radius: var(--r-tile); }
.lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; font: 700 16px/1.3 var(--f-text); cursor: pointer; list-style: none; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item .ap-chev { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: var(--text); }
.lp-faq-item .ap-chev svg { display: none; }
.lp-faq-item .ap-chev::before, .lp-faq-item .ap-chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 1px; background: currentColor; }
.lp-faq-item .ap-chev::after { transform: rotate(90deg); transition: transform 150ms var(--ease), opacity 150ms var(--ease); }
.lp-faq-item[open] .ap-chev::after { transform: rotate(0); opacity: 0; }
.lp-faq-a { padding: 0 20px 20px; font: 400 14px/1.6 var(--f-text); color: var(--text-2); }

/* ═══ подвал: на основе, без стекла ═══ */
.lp-footer { position: relative; margin-top: 120px; padding: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.lp-footer-grid, .lp-footer-bottom { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.lp-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.lp-foot-brand { display: flex; flex-direction: column; gap: 14px; }
.lp-foot-brand img { display: block; }
.lp-foot-blurb { max-width: 280px; font: 500 14px/1.6 var(--f-text); color: var(--text-2); }
.lp-foot-mail a { font: 600 14px/1 var(--f-text); color: var(--accent-hi); }
.lp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.lp-footer-col a { font: 500 14px/1.4 var(--f-text); color: var(--text-2); }
.lp-footer-col .ap-caps { margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .lp-footer-col a:hover, .ap-link--muted:hover { color: var(--text); } }
.lp-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; font: 500 13px/1 var(--f-text); color: var(--text-2); }
.ap-signature { margin-top: 16px; overflow: hidden; font: 600 clamp(88px, 20vw, 360px)/.78 var(--f-disp); letter-spacing: -.04em; text-align: center; color: rgba(255, 255, 255, .05); white-space: nowrap; user-select: none; pointer-events: none; }

/* ═══ адаптив общих частей ═══ */
@media (max-width: 1100px) {
  .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ap-h1 { font-size: 30px; }
  /* №409: на телефоне текст не мельче 13 px */
  .ap-eyebrow, .ap-caps { font-size: 13px; line-height: 1.3; }
  /* №409: зона касания ссылок в тексте ≥ 44 px без изменения вида — вертикальный padding строчного элемента строки не двигает;
     :where — блочные/flex-ссылки со своим padding его перебивают; relative — зона поверх соседних блоков */
  :where(a.ap-link--u, .ap-body2 > a.ap-link, .lp-lead-note a) { position: relative; padding-block: 13px; }
  .lp-cost-note a { padding-inline: 8px; margin-inline: -8px; }
  .lp-lead-note a { padding-block: 9px; } /* две ссылки на соседних строках: при 13 px нижняя перекрывает верхнюю */
  /* шапка телефона — одна стеклянная капсула */
  .lp-topbar { top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: auto; max-width: none; margin: 12px 16px 0; padding: 6px 6px 6px 16px; border-radius: var(--r-ctl); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), var(--shadow); }
  .lp-topbar::before { display: none; }
  .lp-topbar-l { display: contents; }
  .lp-nav { order: 3; flex: 1 1 100%; }
  .lp-topbar .lp-topbar-l > a { height: auto; min-height: 44px; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lp-topbar .ap-seg { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; height: 44px; padding: 0; }
  .lp-topbar .ap-seg a > span { height: 44px; min-width: 44px; padding: 0 8px; }
  .lp-topbar-r { gap: 4px; }
  .lp-topbar-r .ap-btn--primary { display: none; }
  .lp-login-btn { display: none; }
  .ap-btn { min-height: 44px; }
  .lp-nav a { min-height: 44px; }
  .lp-faq-item summary { padding: 12px 16px; }
  .lp-faq-a { padding: 0 16px 16px; }
  .lp-footer { margin-top: 72px; }
  .lp-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-footer-col { gap: 0; }
  .lp-footer-col a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .lp-foot-brand > a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; }
  .lp-foot-mail a { display: inline-flex; align-items: center; min-height: 44px; }
  .lp-footer-col .ap-caps { margin-bottom: 4px; }
}
@media (max-width: 480px) { .lp-topbar-l img { width: 100px; height: auto; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ap-cta::before { animation: none; opacity: 0; }
  .lp-topbar, .lp-menu-in, .ap-btn, .lp-faq-item .ap-chev::after { transition: none; }
}
/* AdPilot Glass — главная (/, /ru/, /en/). Собирается в assets/home.css после tokens.css + glass-base.css (tools/stamp_versions.py).
   Источник дизайна: docs/design/cabinet-style.md + handoff/2026-11-01-site-redesign-solvik (канвас «AdPilot Glass · Сайт»).
   Разметка и классы те же, что у uk/ru/en главной (ap-*, lp-*): тесты и скрипты опираются на них. */


:where(.lp-partners .ap-marquee, .lp-cell, .lp-adv3, .lp-chapter, .lp-more > div:not(:nth-child(2)),     .lp-step, .lp-cost-cell, .lp-plan:not(.lp-plan--pro), .lp-period, .lp-compare, .lp-final-inner, .lp-lead, .lp-notify > span + span, .lp-totop, .lp-cmp-ch) {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), var(--shadow);
}

/* ═══ контейнеры главной ═══ */
.lp-setup-in { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
main > section { margin-top: 120px; }
main > section.lp-hero { margin-top: 72px; }
/* ═══ hero ═══ */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.lp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.lp-badge { display: inline-block; max-width: 100%; min-height: 30px; padding: 5px 14px; border-radius: 18px; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .35); font: 600 13px/1.3 var(--f-text); color: var(--text-2); }
.lp-badge .ap-live { width: 6px; height: 6px; box-shadow: none; margin-right: 8px; vertical-align: middle; }
.lp-badge b { font-weight: 800; color: var(--accent-hi); margin-right: .3em; }
.lp-hero .ap-lead { max-width: 70ch; }
.lp-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.lp-hero-copy > div:has(> .ap-cta) { flex-wrap: wrap; }
.lp-facts { display: grid; gap: 18px; margin-top: 16px; }
.lp-facts li { display: flex; align-items: center; gap: 14px; font: 600 14px/1.4 var(--f-text); color: var(--text); max-width: 340px; }
.lp-fic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
/* живой мини-кабинет в устройстве (№534): рамка и подписи здесь, сам «Огляд» — assets/hero-cab/*.txt, ход показа — assets/hero-cab.js */
.lp-demo { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-hero-grid.hc-off { grid-template-columns: minmax(0, 1fr); }
.lp-hero-grid.hc-off .lp-demo { display: none; }
.hc-dev { position: relative; }
.hc-lap { position: relative; margin: 0 -12px; padding: 10px 10px 14px; border-radius: 20px 20px 2px 2px; background: #050706; border: 2px solid #3a403c; border-bottom: 0; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75); }
.hc-lap::before { content: ""; position: absolute; left: 50%; top: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2c332f; }
.hc-lapbase { position: relative; height: 20px; margin: 0 calc(-1 * min(40px, var(--gut) - 8px)); border-radius: 3px 3px 18px 18px; background: linear-gradient(#7a827d, #555c58 16%, #2f3431 60%, #181b19); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .85); }
.hc-lapbase::before { content: ""; position: absolute; left: 50%; top: 0; width: 130px; height: 7px; margin-left: -65px; border-radius: 0 0 9px 9px; background: #1f2321; }
.hc-win { position: relative; overflow: hidden; background: #0b0f0d; border-radius: 10px; }
.hc-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .09); background: #121614; }
.hc-dots { display: flex; gap: 7px; }
.hc-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hc-url { flex: 1; min-width: 0; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 12.5px/1 var(--f-text); color: var(--text-2); }
.hc-url svg { flex: none; }
.hc-tag { display: inline-flex; align-items: center; flex: none; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text-2); font: 600 12px/1 var(--f-text); white-space: nowrap; }
.hc-view { position: relative; overflow: hidden; aspect-ratio: 1000 / 695; }
.hc-view[data-hc-view="mobile"] { aspect-ratio: 358 / 584; }
.hc-layer { position: absolute; left: 0; top: 0; width: 1000px; height: 695px; transform-origin: 0 0; --hc-k: .8; transform: scale(var(--hc-k)); }
.hc-view[data-hc-view="mobile"] .hc-layer { width: 358px; height: 584px; }
.hc-ph { display: none; position: relative; width: calc(100% + 12px); max-width: 420px; margin: 8px max(-6px, calc((100% - 420px) / 2)) 0; padding: 7px; border-radius: 46px; background: #050706; border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 2px #1d211f, 0 40px 80px -36px rgba(0, 0, 0, .8); }
.hc-ph::before { content: ""; position: absolute; right: -4px; top: 150px; width: 3px; height: 64px; border-radius: 0 2px 2px 0; background: #2c332f; }
.hc-ph .hc-win { border-radius: 39px; }
.hc-status { position: relative; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 4px 24px 0 30px; background: #121614; font: 700 13px/1 var(--f-text); color: var(--text); }
.hc-cam { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1.5px #1d211f; }
.hc-addr { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .09); background: #121614; color: var(--text-2); }
.hc-addr .hc-url { height: 32px; justify-content: flex-start; gap: 7px; padding: 0 4px 0 12px; font-size: 13px; }
.hc-addr .hc-url span:not(.hc-tag) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-tabs { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--text-2); display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--f-text); }
.hc-addr > svg { flex: none; }
.hc-home { position: absolute; left: 50%; bottom: 4px; z-index: 90; width: 112px; height: 4px; margin-left: -56px; border-radius: 999px; background: rgba(255, 255, 255, .5); }
.hc-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hc-steps-l { font: 600 13.5px/1 var(--f-text); color: var(--text-2); margin-right: 4px; }
.hc-step { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .04); color: var(--text-2); font: 600 13.5px/1 var(--f-text); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hc-step:hover { color: var(--text); background: rgba(255, 255, 255, .09); }
.hc-step[aria-pressed="true"] { background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .45); color: #86efac; }
.hc-hint { display: flex; align-items: center; gap: 10px; min-height: 36px; font: 600 14px/1.4 var(--f-text); color: var(--text-2); }
.hc-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.hc-hm { display: none; }
.hc-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.hc-cta[hidden], .hc-hint[hidden] { display: none; }
.hc-cta > span { font: 600 14px/1.4 var(--f-text); color: var(--text); }
.hc-cur { --cx: 0px; --cy: 0px; position: absolute; left: 0; top: 0; z-index: 80; opacity: 0; pointer-events: none; transform: translate(900px, 660px); transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.hc-cur--m { width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, .3); border: 2px solid rgba(255, 255, 255, .75); transform: translate(300px, 470px); }
.hc-cur.on { opacity: 1; transform: translate(var(--cx), var(--cy)); }
.hc-cur .rg { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #4ade80; opacity: 0; }
.hc-cur--m .rg { left: -2px; top: -2px; width: 36px; height: 36px; }
.hc-cur.click .rg { animation: hc-ring .5s ease-out; }
@keyframes hc-ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.hc-still .cab-scroll, .hc-still .cab-toast, .hc-still .hc-cur, .hc-still .hc-cur .rg { transition: none !important; animation: none !important; }
/* №548: uk-главная — ролик вместо мини-кабинета (assets/hero-video.js) */
.hv-win .hc-view { background: #0b0f0d; }
.hv-poster, .hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-video { left: 1px; width: calc(100% - 2px); opacity: 0; }  /* на 2 px уже постера: кадр видео не становится новым, бо́льшим LCP-кандидатом после load (замер 11.11: +113 px² → LCP = первый кадр) */
.hv-on .hv-video { opacity: 1; }
.hv-err .hv-ctl, .hv-err .hv-start { display: none; }
.hv-ctl { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; }
.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(11, 15, 13, .74); color: var(--text); cursor: pointer; }
.hv-btn[hidden] { display: none; }
.hv-btn:hover { background: rgba(11, 15, 13, .92); border-color: rgba(255, 255, 255, .28); }
.hv-btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.hv-start { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: auto; height: 52px; padding: 0 22px 0 18px; gap: 10px; font: 600 15px/1 var(--f-text); white-space: nowrap; box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .8); }  /* до запуска (reduced-motion / автозапуск запрещён): на свободном месте постеров — ПК сверху, телефон снизу */
.hc-dev .hv-start { top: 22%; }
.hc-ph .hv-start { top: auto; bottom: 14px; height: 44px; transform: translateX(-50%); }
.hv-dur { color: var(--text-2); font-weight: 500; }
.hv-btn [data-i="b"], .hv-btn.is-alt [data-i="a"] { display: none; }
.hv-btn.is-alt [data-i="b"] { display: block; }
.lp-cap { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-ctl); background: var(--glass-strong); border: 1px solid var(--glass-line); font: 700 12px/1 var(--f-text); color: var(--text-2); }

/* ═══ «Нас обирають» ═══ */
.lp-partners .lp-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.lp-partners .ap-eyebrow { text-align: center; white-space: nowrap; }
.ap-marquee { overflow: hidden; height: 84px; display: flex; align-items: center; border-radius: var(--r-ctl); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ap-marquee > div { display: inline-flex; align-items: center; width: max-content; gap: 56px; padding-right: 56px; animation: ap-run 75s linear infinite; }
.ap-marquee--rev > div { animation-direction: reverse; }
.ap-mq-logo { display: inline-flex; align-items: center; }
.ap-mq-logo img { display: block; height: 26px; width: auto; }
.ap-mq-logo img[src*="kurumi"] { height: 23px; } .ap-mq-logo img[src*="eupakovka"] { height: 22px; } .ap-mq-logo img[src*="cyberbay"] { height: 27px; } .ap-mq-logo img[src*="plumbify"] { height: 18px; }
.ap-mq-logo img[src*="sc-irbis"] { height: 32px; } .ap-mq-logo img[src*="autoprostir"] { height: 19px; } .ap-mq-logo img[src*="woodmaster"] { height: 41px; } .ap-mq-logo img[src*="advokat"] { height: 33px; }
.ap-mq-logo img[src*="pancake"] { height: 18px; } .ap-mq-logo img[src*="mario"], .ap-mq-logo img[src*="taxa"] { height: 27px; }
@media (hover: hover) and (pointer: fine) { .ap-marquee:hover > div { animation-play-state: paused; } }
@keyframes ap-run { to { transform: translateX(-50%); } }

/* ═══ интеграции ═══ */
.lp-integrations .lp-wrap { display: flex; flex-direction: column; gap: 0; }
.lp-integrations .lp-wrap > .lp-stack { gap: 14px; }
.lp-integrations .lp-wrap > .lp-stack .lp-stack { gap: 16px; }
.lp-band4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); margin-top: 48px; }
.lp-cell { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: var(--r-tile); }
.ap-well { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ap-well img { display: block; width: 24px; height: auto; }
.lp-t { font: 700 16px/1.3 var(--f-text); color: var(--text); }
.lp-d { margin-top: 8px; font: 400 14px/1.5 var(--f-text); color: var(--text-2); }
.lp-adv3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 20px; padding: 28px; border-radius: var(--r-card); }
.lp-adv-item + .lp-adv-item { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .08); }
.lp-adv-item .lp-d { margin-top: 10px; line-height: 1.55; }
.lp-adv-check { display: none; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(34, 197, 94, .16); border: 1px solid rgba(34, 197, 94, .3); }
.lp-adv-check svg { width: 14px; height: 14px; stroke: var(--accent-hi); }
.lp-notify { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; font: 600 14px/1.4 var(--f-text); color: var(--text-2); }
.lp-notify > span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.lp-notify > span + span { padding: 0 16px; border-radius: var(--r-ctl); color: var(--text); }

.ap-words { margin-top: 56px; overflow: hidden; max-width: 100vw; font: 500 24px/1.3 var(--f-disp); color: rgba(237, 237, 237, .55); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ap-words-row { display: flex; width: max-content; gap: .8em; padding-right: .8em; white-space: nowrap; will-change: transform; animation: ap-words 120s linear infinite; }
.ap-words-row--2 { animation-direction: reverse; margin-top: 12px; }
.ap-words-row b { color: var(--accent); font-weight: inherit; }
@keyframes ap-words { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .ap-words { font-size: 20px; } .ap-words-row { animation-duration: 90s; } }

/* ═══ возможности ═══ */
.lp-features .lp-wrap > .lp-stack { gap: 14px; }
.lp-features .lp-wrap > .lp-stack .lp-stack { gap: 16px; }
.lp-chapters { display: flex; flex-direction: column; gap: var(--gap); margin-top: 48px; }
.lp-chapter { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card); min-width: 0; }
.lp-chapter--wide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: center; }
.lp-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--gap); }
.lp-chapter .ap-h3 { font-size: 20px; }
.lp-ch-p { margin-top: 16px; font: 400 15px/1.55 var(--f-text); color: var(--text-2); }
.lp-ch-p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.lp-checks { display: grid; gap: 12px; margin-top: 20px; }
.lp-ck-i { display: flex; align-items: flex-start; gap: 10px; font: 500 14px/1.45 var(--f-text); color: var(--text); }
.lp-ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(34, 197, 94, .16); display: grid; place-items: center; color: var(--accent-hi); }
.lp-ck svg { width: 12px; height: 12px; stroke: var(--accent-hi); }
.lp-shot { position: relative; padding: 10px; border-radius: var(--r-card); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.lp-pair .lp-shot { margin-top: auto; }
.lp-pair .lp-checks + .lp-shot { margin-top: 24px; }
.lp-shot picture { display: block; overflow: hidden; border-radius: 14px; }
.lp-shot img { display: block; width: 100%; height: auto; }

.lp-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--gap); margin-top: var(--gap); }
.lp-more > div { padding: 18px; border-radius: var(--r-tile); min-width: 0; }
.lp-more > div:nth-child(2) { background: var(--accent); color: var(--on-accent); box-shadow: 0 30px 60px -30px rgba(34, 197, 94, .45); }
.lp-tile { display: flex; flex-direction: column; }
.lp-tile-label { font: 700 11px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.lp-tile-visual { margin-top: 14px; height: 96px; padding: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-tile); background: rgba(255, 255, 255, .06); }
.lp-tile-visual > svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lp-mt { margin-top: 16px; font: 700 15px/1.3 var(--f-text); }
.lp-md { margin-top: 8px; font: 400 13px/1.5 var(--f-text); color: var(--text-2); }
.lp-more > div:nth-child(2) .lp-tile-label, .lp-more > div:nth-child(2) .lp-md { color: var(--on-accent); }
.lp-more > div:nth-child(2) .lp-md { font-weight: 500; }
.lp-more > div:nth-child(2) .lp-tile-visual { background: rgba(5, 46, 22, .14); border-color: rgba(5, 46, 22, .2); }
.lp-more > div:nth-child(2) svg rect, .lp-more > div:nth-child(2) svg text { fill: var(--on-accent); }
.lp-more > div:nth-child(2) svg line, .lp-more > div:nth-child(2) svg path { stroke: var(--on-accent); }
.lp-more > div:nth-child(1) { --d: 0; } .lp-more > div:nth-child(2) { --d: 300; } .lp-more > div:nth-child(3) { --d: 600; } .lp-more > div:nth-child(4) { --d: 900; } .lp-more > div:nth-child(5) { --d: 1200; }

/* ═══ три шага ═══ */
.lp-steps .lp-wrap > .lp-stack { gap: 14px; }
.lp-steps .lp-wrap > .lp-stack .lp-stack { gap: 0; }
.lp-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--gap); margin-top: 48px; }
.lp-step { padding: 28px; border-radius: var(--r-card); }
.lp-step-num { display: block; font: 500 56px/1 var(--f-disp); background: linear-gradient(180deg, var(--accent-hi), rgba(74, 222, 128, .3)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.lp-step-title { margin-top: 20px; font: 700 20px/1.3 var(--f-text); color: var(--text); }
.lp-step-desc { margin-top: 10px; font: 400 15px/1.55 var(--f-text); color: var(--text-2); }
.lp-guide { margin-top: 32px; }
.lp-steps .lp-wrap > div:last-child { text-align: center; }

/* ═══ без / с AdPilot + стоимость ═══ */
.lp-losses-head { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lp-losses-head .lp-stack { align-items: center; gap: 14px; }
.lp-losses-head .ap-h2 { margin-inline: auto; }
.lp-losses-head .ap-lead { max-width: 70ch; }
.lp-losses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--gap); align-items: stretch; margin-top: 48px; }
.lp-bad, .lp-good { padding: 28px; border-radius: var(--r-card); }
.lp-bad { background: var(--worse); color: var(--on-worse); box-shadow: 0 30px 60px -30px rgba(248, 113, 113, .4); }
.lp-good { background: var(--accent); color: var(--on-accent); box-shadow: 0 30px 60px -30px rgba(34, 197, 94, .45); }
.lp-cardhead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.lp-cardhead .ap-h3, .lp-cardhead .ap-caps { color: inherit; }
.lp-cardhead .ap-caps { font: 700 13px/1.2 var(--f-text); letter-spacing: 0; text-transform: none; }
.lp-rows { margin-top: 18px; }
.lp-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(69, 10, 10, .22); }
.lp-good .lp-row { border-top-color: rgba(5, 46, 22, .22); }
.lp-row:last-child { padding-bottom: 0; }
.lp-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--on-worse); }
.lp-ic svg { width: 14px; height: 14px; stroke: var(--worse); }
.lp-good .lp-ic { background: var(--on-accent); }
.lp-good .lp-ic svg { stroke: var(--accent); }
.lp-rt { font: 700 15px/1.35 var(--f-text); }
.lp-rs { margin-top: 4px; font: 500 14px/1.45 var(--f-text); }
.lp-hl { font-weight: 800; color: inherit; }
.lp-bad a, .lp-bad .ap-link { color: var(--on-worse); text-decoration: underline; text-underline-offset: 3px; font-weight: inherit; }
.lp-more-p { margin-top: 28px; text-align: center; font: 500 15px/1.5 var(--f-text); color: var(--text-2); }
.lp-after-cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lp-after-cta .ap-small { font-weight: 600; }
.lp-cost { margin-top: 80px; }
.lp-cost-head { display: flex; flex-direction: column; gap: 12px; }
.lp-cost-t { font: 500 clamp(24px, 1.95vw, 32px)/1.15 var(--f-disp); letter-spacing: -.01em; }
.lp-cost-head .ap-small { font-size: 14px; }
.lp-cost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); margin-top: 24px; }
.lp-cost-cell { padding: 22px; border-radius: var(--r-tile); }
.lp-cost-cell .ap-caps { font: 700 15px/1.3 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--text); }
.lp-cost-cell .ap-display { margin-top: 14px; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.lp-cost-cell .ap-small { margin-top: 12px; font: 600 14px/1.45 var(--f-text); color: var(--text); }
.lp-cost-cell .ap-micro { margin-top: 4px; font: 400 14px/1.45 var(--f-text); color: var(--text-2); }
.lp-cost-ap { background: rgba(34, 197, 94, .10); border-color: rgba(34, 197, 94, .35); }
.lp-cost-ap .ap-caps, .lp-cost-ap .ap-display { color: var(--accent-hi); }
.lp-cost-ap .ap-display { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.02em; }
.lp-cost > .lp-cc-m { margin-top: 20px; font: 600 14px/1.5 var(--f-text); color: var(--text); }
.lp-cost-note { margin-top: 8px; font-size: 14px; }

/* ═══ тарифы ═══ */
.lp-pricing .lp-wrap { display: flex; flex-direction: column; }
.lp-pricing-head { display: flex; flex-direction: column; gap: 14px; }
.lp-pricing-head .ap-lead { margin-top: 2px; }
.lp-pricing .lp-wrap > div:has(> .lp-period) { display: contents; }
.lp-period { position: sticky; top: 76px; z-index: 6; align-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; width: fit-content; max-width: 100%; margin-top: 40px; padding: 3px; border-radius: var(--r-ctl); transition: opacity .2s var(--ease), transform .2s var(--ease), top .3s var(--ease); }
.lp-period.is-done { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.lp-period > span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: var(--r-ctl); font: 700 13px/1 var(--f-text); color: var(--text-2); cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.lp-period .ap-on { background: var(--accent); color: var(--on-accent); }
.lp-seg-off { color: var(--accent-hi); font-weight: 700; }
.lp-period .ap-on .lp-seg-off { color: var(--on-accent); }
.lp-seg-tag { font: 600 13px/1 var(--f-text); color: var(--accent-hi); white-space: nowrap; }
.lp-period .ap-on .lp-seg-tag { color: var(--on-accent); }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; margin-top: 32px; }
.lp-plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); min-width: 0; }
.lp-plan > * { order: 3; }
.lp-plan-head { order: 1; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
.lp-plan-head .ap-caps { text-align: left; }
.lp-plan-badge { order: 2; align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-ctl); background: var(--on-accent); color: var(--text); font: 800 12px/1 var(--f-text); }
.lp-plan-note { margin-top: 12px; font: 400 14px/1.55 var(--f-text); color: var(--text-2); min-height: 44px; }
.lp-plan-agents { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-plan-agents span { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font: 600 13px/1 var(--f-text); color: var(--text); }
.lp-price { margin-top: 24px; }
.lp-price[hidden] { display: none; }
.lp-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.ap-price { font: 500 38px/1 var(--f-disp); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ap-price .ap-cur, .lp-price-row .ap-small { font: 700 18px/1 var(--f-text); letter-spacing: 0; color: inherit; }
.lp-price-note { margin-top: 8px; font: 500 14px/1.4 var(--f-text); color: var(--text-2); min-height: 1.4em; }
.lp-plan-list { display: grid; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-plan-list li { display: flex; align-items: flex-start; gap: 10px; font: 500 14px/1.4 var(--f-text); color: var(--text); }
.lp-plan-list li svg { box-sizing: content-box; width: 14px; height: 14px; padding: 3px; border-radius: 50%; background: rgba(34, 197, 94, .16); stroke: var(--accent-hi); }
.lp-plan-list li.lp-plan-off { color: var(--dim); }
.lp-plan-list li.lp-plan-off svg { background: rgba(255, 255, 255, .06); stroke: var(--dim); }
.lp-plan-cta { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.lp-plan-cta > .ap-btn, .lp-plan-cta .ap-cta, .lp-plan-cta .ap-cta > .ap-btn { width: 100%; }
.lp-plan-cta > .ap-small { text-align: center; }
.lp-doc-mcp-link { display: block; text-align: center; padding: 11px 0; font: 600 13px/1.3 var(--f-text); color: var(--accent-hi); text-decoration: none; }
.lp-plan--pro { background: var(--accent); color: var(--on-accent); box-shadow: 0 30px 60px -30px rgba(34, 197, 94, .45); }
.lp-plan--pro .ap-h3, .lp-plan--pro .ap-caps, .lp-plan--pro .lp-plan-note, .lp-plan--pro .lp-price-note, .lp-plan--pro .ap-small, .lp-plan--pro .lp-plan-list li { color: var(--on-accent); }
.lp-plan--pro .lp-plan-note, .lp-plan--pro .lp-plan-list li { font-weight: 600; }
.lp-plan--pro .lp-plan-note { font-weight: 500; }
.lp-plan--pro .lp-price-note { font-weight: 600; }
.lp-plan--pro .lp-plan-list { border-top-color: rgba(5, 46, 22, .22); }
.lp-plan--pro .lp-plan-list li svg { background: var(--on-accent); stroke: var(--accent); }
.lp-plan--pro .ap-btn--primary { background: var(--on-accent); color: var(--text); box-shadow: none; }
.lp-plan--pro .ap-btn--primary > svg { background: transparent; }
.lp-plan--pro .ap-cta { background: var(--on-accent); box-shadow: none; }
.lp-plan--pro .lp-plan-cta > .ap-small, .lp-plan--pro .lp-plan-cta .ap-small { font-weight: 700; }
.lp-trial { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; margin-top: 20px; padding: 24px 28px; border-radius: var(--r-card); background: rgba(34, 197, 94, .10); border: 1px solid rgba(34, 197, 94, .35); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf); box-shadow: var(--glass-hi), var(--shadow); }
.lp-trial-title { display: flex; align-items: center; gap: 10px; font: 700 16px/1.3 var(--f-text); }
.lp-trial-text { margin-top: 8px; max-width: 620px; font: 400 14px/1.55 var(--f-text); color: var(--text-2); }
.lp-trial-count { text-align: center; }
.lp-trial-count .ap-micro { margin-top: 8px; font-weight: 500; font-size: 13px; }
.lp-trial-count > div:nth-child(2) { margin-top: 8px; }
.ap-count { display: inline-flex; align-items: flex-start; font: 500 28px/1 var(--f-disp); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-count .ap-colon { display: inline-block; width: .34em; text-align: center; }
/* секунды без JS: колонки цифр шагают вниз; ячейка .8em; старт — animation-delay из разметки */
.ap-tick { display: inline-block; width: .8em; height: 1em; overflow: hidden; line-height: 1; vertical-align: -.04em; text-align: center; font-variant-numeric: tabular-nums; }
.ap-tick > span { display: block; line-height: 1; animation: ap-t10 10s steps(10) infinite; }
.ap-tick--tens > span { animation: ap-t6 60s steps(6) infinite; }
@keyframes ap-t10 { to { transform: translateY(-10em); } }
@keyframes ap-t6 { to { transform: translateY(-6em); } }

.lp-compare { margin-top: 20px; border-radius: var(--r-card); }
.lp-compare > summary { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 14px 24px; border-radius: var(--r-card); cursor: pointer; list-style: none; }
.lp-compare > summary::-webkit-details-marker { display: none; }
.lp-compare[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-card) var(--r-card) 0 0; }
.lp-cmp-ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; flex: none; }
.lp-cmp-ic svg { stroke: var(--text); }
.lp-cmp-tx { flex: 1; min-width: 0; }
.lp-cmp-t { display: block; font: 700 16px/1.3 var(--f-text); color: var(--text); }
.lp-cmp-s { display: block; margin-top: 2px; font: 500 13px/1.4 var(--f-text); color: var(--text-2); }
.lp-cmp-ch { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(255, 255, 255, .06); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lp-cmp-ch svg { stroke: var(--text); transition: transform 200ms var(--ease); }
.lp-compare[open] .lp-cmp-ch svg { transform: rotate(180deg); }
.lp-cmp-close, .lp-compare[open] .lp-cmp-open { display: none; }
.lp-compare[open] .lp-cmp-close { display: inline; }
.lp-cmp-body { padding: 48px 32px 32px; }
.lp-cmp-table { position: relative; isolation: isolate; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font: 500 14px/1.4 var(--f-text); color: var(--text); }
.lp-cmp-table::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 22.18%; border-radius: var(--r-card); background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .35); }
.lp-cmp-table thead th:first-child { width: 33.45%; }
.lp-cmp-table thead th { position: relative; padding: 32px 12px 24px; text-align: center; vertical-align: top; font-weight: 500; }
.lp-cmp-badge { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: var(--r-ctl); background: var(--accent); color: var(--on-accent); font: 800 11px/1 var(--f-text); white-space: nowrap; }
.lp-cmp-n { display: flex; align-items: center; justify-content: center; min-height: 40px; font: 500 16px/1.25 var(--f-disp); color: var(--text); }
.lp-cmp-p { display: block; margin-top: 8px; }
.lp-hp { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px; }
.lp-hp[hidden] { display: none; }
.lp-cmp-tot { display: block; min-height: 17px; margin-top: 4px; font: 500 12px/1.4 var(--f-text); color: var(--text-2); }
.lp-cmp-tot [hidden] { display: none; }
.lp-cmp-num { font: 500 22px/1.2 var(--f-disp); font-variant-numeric: tabular-nums; }
.lp-cmp-cur { margin: 0 3px; font: 600 .7em var(--f-text); color: var(--text-2); }
.lp-cmp-per { font: 500 13px/1 var(--f-text); color: var(--text-2); }
.lp-cmp-sub { display: block; margin-top: 8px; font: 700 11px/1.4 var(--f-text); letter-spacing: .12em; color: var(--text-2); text-transform: uppercase; }
.lp-cmp-table tbody th[scope=rowgroup] { padding: 28px 0 8px; text-align: left; font: 700 13px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.lp-cmp-table tbody:first-of-type th[scope=rowgroup] { padding-top: 0; }
.lp-cmp-table tbody th[scope=row], .lp-cmp-table tbody td { height: 48px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: middle; }
.lp-cmp-table tbody th[scope=row] { padding-left: 0; text-align: left; font-weight: 500; }
.lp-cmp-table tbody td { text-align: center; font-weight: 600; }
.lp-cmp-yes { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 197, 94, .16); }
.lp-cmp-yes svg { stroke: var(--accent-hi); }
.lp-cmp-no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: var(--dim); }
.lp-cmp-table tfoot td { padding: 24px 16px; text-align: center; }
.lp-cmp-table tfoot .ap-btn { width: 100%; }
.lp-cmp-vs, .lp-cmp-ns, .lp-cmp-tail { display: none; }
.lp-cmp-fn { margin: 0; font: 500 13px/1.5 var(--f-text); color: var(--text-2); }
@media (min-width: 768px) and (max-width: 1024px) { .lp-cmp-body { padding: 40px 16px 24px; } .lp-cmp-table tbody td { padding: 10px 8px; font-size: 13px; } .lp-cmp-table tfoot td { padding: 20px 8px; } .lp-cmp-table thead th { padding-inline: 6px; } .lp-cmp-n { font-size: 14px; } .lp-cmp-num { font-size: 18px; } }
.lp-pricing .ap-small:not(.lp-doc-mcp-link) { color: var(--text-2); }
.lp-pricing .lp-plan--pro .ap-small:not(.lp-doc-mcp-link) { color: var(--on-accent); }
.lp-pay-row { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 20px; margin-top: -26px; }
.lp-pay-row img { display: block; height: 24px; width: auto; opacity: .9; }
.lp-pay-row img.lp-pay-mono { filter: brightness(0) invert(1); }
.lp-pricing .lp-compare ~ .ap-small { margin-top: 28px; max-width: 520px; }

/* ═══ вопросы ═══ */
.lp-faq-head { display: flex; flex-direction: column; gap: 14px; }
.ap-body2 a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.lp-faq-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--gap); align-items: start; margin-top: 40px; }
.lp-faq-cols > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* ═══ финал ═══ */
.lp-final { padding: 0 var(--gut); }
.lp-final-inner { max-width: calc(var(--max) - 2 * var(--gut)); margin-inline: auto; padding: 72px clamp(20px, 4vw, 56px); border-radius: var(--r-card); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ap-h2--cta { font-size: clamp(26px, 2.6vw, 44px); max-width: 900px; }
.lp-final-sub { font: 500 15px/1.5 var(--f-text); color: var(--text-2); }
.lp-final-note { margin-top: 12px; max-width: 100%; text-align: left; }
.ap-tgnote { display: flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); font: 500 13.5px/1.5 var(--f-text); color: var(--text); }

/* ═══ настройка под ключ + форма ═══ */
.lp-setup .lp-setup-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head form" "copy form"; grid-template-rows: auto 1fr; gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.lp-setup-head { grid-area: head; display: flex; flex-direction: column; gap: 14px; }
.lp-setup-copy { grid-area: copy; display: flex; flex-direction: column; gap: 14px; }
.lp-setup .ap-h2 { max-width: none; }
.lp-setup-lead { font: 400 16px/1.5 var(--f-text); color: var(--text-2); max-width: 70ch; }
.lp-setup ol { display: grid; gap: 18px; }
.lp-setup li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 14px; align-items: center; }
.lp-sic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--text); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-bf); backdrop-filter: var(--glass-bf); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); font-style: normal; }
.lp-setup li b { font: 700 16px/1.3 var(--f-text); color: var(--text); }
.lp-setup li span { font: 400 14px/1.5 var(--f-text); color: var(--text-2); }
.lp-setup-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; font: 500 14.5px/1.5 var(--f-text); color: var(--text-2); }
.lp-setup-note svg { flex-shrink: 0; margin-top: 2px; }
.lp-setup .lp-lead { grid-area: form; }
.lp-lead { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-card); }
.lp-lead[hidden] { display: none !important; }
.lp-lead-h { font: 500 22px/1.25 var(--f-disp); color: var(--text); }
.lp-lead-p { margin: -6px 0 4px; font: 500 14px/1.5 var(--f-text); color: var(--text-2); }
.lp-lead-f { display: flex; flex-direction: column; gap: 6px; }
.lp-lead-f > span { font: 600 13px/1.2 var(--f-text); color: var(--text-2); }
.lp-lead-f input, .lp-lead-f textarea { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .14); color: var(--text); font: 500 15px/1.4 var(--f-text); }
.lp-lead-f textarea { min-height: 84px; padding: 12px 14px; resize: vertical; }
.lp-lead-f input:focus, .lp-lead-f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.lp-lead-f.is-bad input, .lp-lead-f.is-bad textarea { border-color: var(--worse); box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }
.lp-lead-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lp-lead-btn { align-self: flex-start; margin-top: 4px; }
.lp-lead-btn[disabled] { opacity: .7; cursor: progress; }
.lp-lead-status { margin: 0; min-height: 20px; font: 600 14px/1.4 var(--f-text); }
.lp-lead-status.is-ok { color: var(--accent-hi); }
.lp-lead-status.is-err { color: var(--worse); }
.lp-lead-note { margin: 0; font: 500 13px/1.5 var(--f-text); color: var(--dim); }
.lp-lead-note a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }
.lp-lead .iti { width: 100%; --iti-border-color: rgba(255, 255, 255, .14); --iti-hover-color: rgba(255, 255, 255, .08); --iti-icon-color: var(--text-2); --iti-country-selector-bg: #0f1412; }
.lp-lead .iti input { padding-left: 96px; }
.lp-lead .iti__selected-country { border-radius: 14px 0 0 14px; }
.lp-lead .iti__selected-dial-code { color: var(--text); font: 600 15px/1 var(--f-text); }
.lp-lead .iti__dropdown-content { background: #0f1412; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; color: var(--text); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); overflow: hidden; }
.lp-lead .iti__search-input { background: #0b0f0d; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: var(--text); font: 500 14px/1.4 var(--f-text); padding: 12px 14px; }
.lp-lead .iti__country-list { font: 500 14px/1.4 var(--f-text); }
.lp-lead .iti__country.iti__highlight, .lp-lead .iti__country:hover { background: rgba(255, 255, 255, .08); }
.lp-lead .iti__dial-code { color: var(--text-2); }
.lp-lead .iti:not(.iti--allow-dropdown) .iti__arrow { display: none; }

/* ═══ телефон: нижняя кнопка, «нагору», появление блоков ═══ */
.lp-dock { display: none; }
.lp-totop { position: fixed; right: 28px; bottom: 28px; z-index: 35; width: 48px; height: 48px; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; color: var(--text); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
@media (min-width: 768px) { .lp-totop { display: flex; } }
.lp-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rv { opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.ap-reveal { animation: ap-rv 300ms var(--ease) both; }
.ap-reveal:nth-child(2) { animation-delay: 60ms; } .ap-reveal:nth-child(3) { animation-delay: 120ms; } .ap-reveal:nth-child(4) { animation-delay: 180ms; } .ap-reveal:nth-child(5) { animation-delay: 240ms; }
@keyframes ap-rv { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ═══ адаптив ═══ */
/* hero: одна колонка до 1199.98px (в две колонки окно кабинета у 1101 px было бы 613 px, текст ~8,6 px) */
@media (max-width: 1199.98px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hc-dev, .hc-steps, .hc-hint, .hc-cta { max-width: 820px; margin-inline: auto; width: 100%; }
}
/* телефон демо: 767.98px, а не 767px — при дробной ширине (Windows 125 %, 767,2 px) ни одно media не совпадало и демо пропадало */
@media (max-width: 767.98px) {
  .hc-dev { display: none; }
  .hc-ph { display: block; }
  .hc-steps-l { display: none; }
  .hc-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .hc-step { justify-content: center; height: 44px; padding: 0 8px; font-size: 13px; }
  .hc-hd { display: none; }
  .hc-hm { display: inline; }
  .hc-cta { flex-direction: column; align-items: stretch; }
  .hc-cta .ap-btn { width: 100%; height: 48px; }
  .hc-tag { font-size: 13px; }
}
@media (max-width: 1100px) {
  .lp-chapter--wide { grid-template-columns: minmax(0, 1fr); }
  .lp-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; width: 100%; }
  .lp-trial { grid-template-columns: 1fr; gap: 20px; }
  .lp-trial-count { text-align: left; }
  .lp-setup .lp-setup-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "copy" "form"; }
  .lp-adv-item + .lp-adv-item { padding-left: 0; border-left: 0; }
  .lp-pay-row { margin-top: 0; justify-content: flex-start; }
}
@media (max-width: 767px) {
  main > section { margin-top: 72px; }
  main > section.lp-hero { margin-top: 40px; }
  .ap-h2--cta { font-size: 26px; }
  .lp-hero .ap-lead { font-size: 16px; }
  .lp-cell { flex-direction: row; align-items: flex-start; gap: 14px; }
  .lp-cell .lp-d { margin-top: 6px; }
  .lp-adv-item { display: flex; gap: 12px; align-items: flex-start; }
  .lp-adv-check { display: grid; }
  .lp-hero-copy .ap-btn, .lp-hero-btns > * { width: 100%; }
  .lp-hero-btns .ap-cta, .lp-hero-btns .ap-cta > .ap-btn { width: 100%; }
  .lp-hero-btns .ap-btn--ghost { width: 100%; }
  .lp-chapter, .lp-step { padding: 18px; }
  .lp-chapter--wide { gap: 20px; }
  .lp-bad, .lp-good, .lp-plan { padding: 22px; }
  .lp-partners .ap-marquee { height: 72px; }
  .lp-adv3 { padding: 22px; }
  .lp-more { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-tile-time { display: none; }
  .lp-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lp-cost-cell { padding: 16px; }
  .lp-cost-cell .ap-display { font-size: 22px; }
  .lp-cost-ap { grid-column: 1 / -1; }
  /* период оплаты: сетка 2×2, ячейки ≥ 44; не закреплён (№484): 98 px плюс шапка съедали треть экрана, в альбомной почти половину */
  .lp-period { position: static; display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; height: auto; }
  .lp-period > span { flex-flow: row wrap; justify-content: center; align-items: center; column-gap: 6px; row-gap: 4px; height: auto; min-height: 44px; padding: 6px 4px; text-align: center; font-size: 13px; }
  .lp-period .lp-seg-off { font-size: 13px; }
  .lp-period .lp-seg-tag { flex-basis: 100%; text-align: center; }
  /* №409: подписи не мельче 13 px; у картинок плиток размер задан inline — перебиваем */
  .lp-cap, .lp-tile-label, .lp-plan-badge { font-size: 13px; }
  .lp-tile-a-row span { font-size: 13px !important; }
  .lp-plan-note { min-height: 0; }
  .lp-trial { padding: 20px; }
  .lp-final-inner { padding: 36px 18px; }
  .lp-lead { padding: 22px 18px; }
  .lp-lead-btn { align-self: stretch; }
  .lp-doc-mcp-link { padding: 14px 0; }
  .lp-after-cta { flex-direction: column; }
  .lp-after-cta .ap-cta, .lp-after-cta .ap-cta > .ap-btn { width: 100%; }
  .lp-pricing .lp-compare ~ .ap-small { margin-top: 24px; max-width: none; }
  .lp-pay-row { flex-wrap: wrap; justify-content: flex-start; gap: 14px 18px; margin-top: 16px; } .lp-pay-row img { height: 18px; }
  /* нижняя кнопка «как в Instagram» */
  .lp-dock { display: block; position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
    transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s var(--ease), opacity .2s ease, visibility 0s linear .3s; }
  .lp-dock.is-on { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .lp-dock .ap-cta { display: flex; width: 100%; box-shadow: 0 0 22px -6px rgba(34, 197, 94, .45), 0 16px 34px rgba(0, 0, 0, .55); }
  .lp-dock .ap-btn { width: 100%; }
  /* сравнение тарифов: одна таблица в 3 колонки (строки — гриды; явные role в разметке сохраняют табличную семантику) */
  .lp-compare { --cmp-top: 68px; }
  body.lp-bar-hid .lp-compare { --cmp-top: 0px; }
  .lp-compare > summary { padding: 12px 16px; gap: 12px; }
  .lp-cmp-body { padding: 0; }
  .lp-cmp-vl, .lp-cmp-nf { display: none; }
  .lp-cmp-vs, .lp-cmp-ns { display: inline; }
  .lp-cmp-table, .lp-cmp-table thead, .lp-cmp-table tbody { display: block; }
  .lp-cmp-table tfoot { display: none; }
  .lp-cmp-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-cmp-table::before { width: 33.3333%; border: 0; border-radius: 0; background: rgba(34, 197, 94, .1); }
  .lp-cmp-table thead { position: sticky; top: var(--cmp-top); z-index: 3; transition: top .3s var(--ease); }
  .lp-cmp-table thead th:first-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-cmp-table thead th { display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 4px; background: #14181a; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .lp-cmp-table thead th:nth-child(4) { background: linear-gradient(rgba(34, 197, 94, .1), rgba(34, 197, 94, .1)), #14181a; }
  .lp-cmp-n { display: block; min-height: 0; font: 700 13px/1.3 var(--f-text); white-space: nowrap; }
  .lp-cmp-p { margin-top: 4px; }
  .lp-cmp-num { font-size: 15px; line-height: 1.3; white-space: nowrap; }
  .lp-cmp-per, .lp-cmp-cur { font-size: 13px; line-height: 1.3; }
  .lp-cmp-tot, .lp-cmp-sub { display: none; }
  .lp-cmp-badge { position: static; width: fit-content; max-width: 100%; margin: 0 auto 6px; transform: none; height: auto; min-height: 20px; padding: 3px 6px; justify-content: center; text-align: center; white-space: normal; font-size: 13px; line-height: 1.1; letter-spacing: .02em; }
  .lp-cmp-table tbody th[scope=rowgroup], .lp-cmp-table tbody:first-of-type th[scope=rowgroup] { display: block; padding: 24px 16px 4px; font: 800 13px/1.3 var(--f-text); letter-spacing: .1em; color: var(--text-2); border-top: 1px solid rgba(255, 255, 255, .08); }
  .lp-cmp-table tbody tr.lp-cmp-g { display: block; }
  .lp-cmp-table tbody th[scope=row] { grid-column: 1 / -1; height: auto; padding: 12px 16px 4px; border: 0; font: 600 14px/1.35 var(--f-text); }
  .lp-cmp-table tbody td { display: flex; align-items: center; justify-content: center; height: auto; min-height: 38px; padding: 4px 4px 12px; border: 0; font: 600 13px/1.3 var(--f-text); text-align: center; }
  .lp-cmp-tail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .lp-cmp-cta { align-self: stretch; }
  .lp-cmp-fn { align-self: stretch; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .lp-dock, .lp-cmp-table thead { transition: none; } }
@media (prefers-reduced-motion: reduce) {
  .ap-reveal { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .ap-words-row, .ap-marquee > div, .ap-tick > span { animation: none; }
  .ap-words-row--2 { transform: translateX(-30%); }
  .lp-totop { transition: none; }
}

/* ═══ мини-анимации плиток «Ще можливості» (5 иллюстраций, цикл 5 с) ═══ */
/* 1 — Щодня: штрих замітає кільце, крапка обертається, «24/7» в центрі */
@keyframes lp-tile-ring-draw { 0% { stroke-dashoffset: 119.4; } 45% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes lp-tile-ring-dot { 0% { transform: rotate(0deg); } 45% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }
.lp-tile-a-ring-stroke { animation: lp-tile-ring-draw 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-ring-dot { animation: lp-tile-ring-dot 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }

/* 2 — Баланс: 5 стовпчиків ростуть по черзі до лінії «ліміт», домальовується галочка */
@keyframes lp-tile-bar0 { 0% { transform: scaleY(0); } 8% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes lp-tile-bar1 { 0%, 8% { transform: scaleY(0); } 16% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes lp-tile-bar2 { 0%, 16% { transform: scaleY(0); } 24% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes lp-tile-bar3 { 0%, 24% { transform: scaleY(0); } 32% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes lp-tile-bar4 { 0%, 32% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes lp-tile-check { 0%, 40% { stroke-dashoffset: 11; } 48%, 100% { stroke-dashoffset: 0; } }
.lp-tile-a-bar0 { animation: lp-tile-bar0 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-bar1 { animation: lp-tile-bar1 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-bar2 { animation: lp-tile-bar2 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-bar3 { animation: lp-tile-bar3 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-bar4 { animation: lp-tile-bar4 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-check { animation: lp-tile-check 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }

/* 3 — Періоди: лінія малюється зліва праворуч, крапка пульсує, зʼявляються «7 д»/«28 д» */
@keyframes lp-tile-line-draw { 0% { stroke-dashoffset: 98; } 40% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes lp-tile-dot-pulse { 0%, 40% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } 60%, 100% { transform: scale(1); opacity: 1; } }
@keyframes lp-tile-bracket1 { 0%, 35% { opacity: 0; } 42%, 100% { opacity: 1; } }
@keyframes lp-tile-bracket2 { 0%, 50% { opacity: 0; } 58%, 100% { opacity: 1; } }
.lp-tile-a-line { animation: lp-tile-line-draw 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-dot-pulse { animation: lp-tile-dot-pulse 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); transform-origin: center; }
.lp-tile-a-bracket1 { animation: lp-tile-bracket1 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-bracket2 { animation: lp-tile-bracket2 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }

/* 4 — Історія: чип «Скасувати» натиснуто, рядок гасне і зсувається, зʼявляється «повернуто», усе відновлюється */
@keyframes lp-tile-chip { 0%, 30%, 100% { background: transparent; color: #a1a1aa; border-color: rgba(255,255,255,.14); opacity: 1; } 38%, 46% { background: #22c55e; color: #052e16; border-color: #22c55e; opacity: 1; } 49%, 63% { background: #22c55e; color: #052e16; border-color: #22c55e; opacity: 0; } 66% { background: transparent; color: #a1a1aa; border-color: rgba(255,255,255,.14); opacity: 1; } }
@keyframes lp-tile-row { 0%, 30%, 100% { transform: translateX(0); opacity: 1; } 40%, 62% { transform: translateX(6px); opacity: .4; } 72% { transform: translateX(0); opacity: 1; } }
@keyframes lp-tile-returned { 0%, 49%, 100% { opacity: 0; } 52%, 60% { opacity: 1; } 63% { opacity: 0; } }
.lp-tile-a-chip { animation: lp-tile-chip 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-row { animation: lp-tile-row 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-returned { animation: lp-tile-returned 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }

/* 5 — Доступ: дужка замка закривається, галочка домальовується, пунктир тече */
@keyframes lp-tile-shackle { 0% { transform: translateY(-3px); } 20% { transform: translateY(0); } 100% { transform: translateY(0); } }
@keyframes lp-tile-lockcheck { 0%, 25% { stroke-dashoffset: 9.5; } 35% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes lp-tile-dots { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -22.4; } }
.lp-tile-a-shackle { animation: lp-tile-shackle 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); transform-origin: 20px 12px; }
.lp-tile-a-lockcheck { animation: lp-tile-lockcheck 5s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.lp-tile-a-dots { animation: lp-tile-dots 5s linear infinite; animation-delay: calc(var(--d) * 1ms); }

@media (prefers-reduced-motion: reduce) {
  [class*="lp-tile-a-"] { animation: none !important; }
  .lp-tile-a-ring-stroke { stroke-dashoffset: 0; }
  .lp-tile-a-ring-dot { transform: rotate(360deg); }
  .lp-tile-a-bar0, .lp-tile-a-bar1, .lp-tile-a-bar2, .lp-tile-a-bar3, .lp-tile-a-bar4 { transform: scaleY(1); }
  .lp-tile-a-check { stroke-dashoffset: 0; }
  .lp-tile-a-line { stroke-dashoffset: 0; }
  .lp-tile-a-dot-pulse { transform: scale(1); opacity: 1; }
  .lp-tile-a-bracket1, .lp-tile-a-bracket2 { opacity: 1; }
  .lp-tile-a-chip { background: transparent; color: #a1a1aa; border-color: rgba(255,255,255,.14); }
  .lp-tile-a-row { transform: translateX(0); opacity: 1; }
  .lp-tile-a-returned { opacity: 0; }
  .lp-tile-a-shackle { transform: translateY(0); }
  .lp-tile-a-lockcheck { stroke-dashoffset: 0; }
  .lp-tile-a-dots { stroke-dashoffset: 0; }
}
