/* 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 — 25 внутренних страниц: SEO-статьи, privacy/terms, en/mcp, 404. Собирается в assets/site.css после tokens.css + glass-base.css
   (tools/stamp_versions.py). Доски: handoff/2026-11-01-site-redesign-solvik (Seo / Doc / Mcp / NotFound, ПК 1440 и телефон 390). */

/* ═══ стекло внутренних страниц: тот же рецепт, что в glass-base.css (`:where` — специфичность 0, компоненты ниже перебивают) ═══ */
:where(.lp-crumbs, .lp-toc, .lp-side-cta, .lp-toc-m details, .lp-sheet, .lp-pg-body ul, .lp-seo-links li a, .lp-nf-card, .lp-doc-code,
    .lp-doc-table, .lp-doc-callout, .lp-doc-cta, .ap-tgnote) {
  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);
}

/* ═══ каркас: герой + левая липкая колонка (Зміст, CTA) + текст; на телефоне — одна колонка, оглавление-<details> после героя ═══ */
.lp-page { padding-top: 32px; }
.lp-sidegrid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
.lp-toc-m { margin-top: 24px; }
.lp-side { display: none; }
@media (min-width: 1024px) {
  .lp-sidegrid { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .lp-sidegrid > * { grid-column: 2; min-width: 0; }
  .lp-sidegrid > .lp-side { display: grid; gap: 16px; grid-column: 1; grid-row: 1 / span 99; position: sticky; top: 96px; align-self: start;
    max-height: calc(100svh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; padding-bottom: 4px; }
  .lp-toc-m { display: none; }
}

/* хлебные крошки — стеклянная капсула */
.lp-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 34px; padding: 0 16px; border-radius: var(--r-ctl); font: 600 13px/1.35 var(--f-text); color: var(--text-2); }
.lp-crumbs a { color: var(--text-2); }
.lp-crumbs > span[aria-hidden] { color: var(--text-2); }
.lp-crumbs > span:last-child { color: var(--text); padding: 6px 0; }
@media (hover: hover) and (pointer: fine) { .lp-crumbs a:hover { color: var(--text); } }

/* герой */
.lp-page h1 { margin: 40px 0 0; font: 500 clamp(28px, 2.6vw, 38px)/1.15 var(--f-disp); letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.lp-pg-hero > h1:first-child { margin-top: 0; }
.lp-pg-hero .ap-lead { margin-top: 24px; max-width: 90ch; font: 500 20px/1.5 var(--f-text); color: var(--text-2); }
.lp-seo-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 32px; }
.lp-seo-actions .ap-small { color: var(--text-2); }
.lp-pg-hero .upd { margin-top: 20px; font: 500 14px/1.5 var(--f-text); color: var(--text-2); }
.lp-pg-hero .upd a, .lp-sheet a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

/* оглавление и CTA-карточка в липкой колонке */
.lp-toc { padding: 20px; border-radius: var(--r-card); }
.lp-toc .ap-caps { padding: 0 12px; }
.lp-toc ol { display: grid; gap: 2px; margin: 12px 0 0; }
.lp-toc a, .lp-toc-m a { display: flex; align-items: flex-start; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 14px; font: 600 14px/1.35 var(--f-text); color: var(--text-2); }
.lp-toc-m a { align-items: center; min-height: 44px; font-size: 15px; }
.lp-toc-n { flex: none; width: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .lp-toc a:hover, .lp-toc-m a:hover { background: rgba(255, 255, 255, .08); color: var(--text); } }
.lp-docs .lp-toc { padding-inline: 16px; }
.lp-docs .lp-toc .ap-caps { padding-inline: 14px; }
.lp-docs .lp-toc a { border-radius: var(--r-ctl); padding-inline: 14px; align-items: center; }
.lp-side-cta { padding: 20px; border-radius: var(--r-card); }
.lp-side-cta .ap-btn { width: 100%; justify-content: space-between; padding-left: 22px; }
.lp-side-cta > .ap-small { margin-top: 12px; text-align: center; color: var(--text-2); }
.lp-side-cta--g { display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(34, 197, 94, .16), rgba(34, 197, 94, .03)), var(--glass-bg); border-color: rgba(74, 222, 128, .34); box-shadow: var(--glass-hi), 0 30px 80px -34px rgba(34, 197, 94, .55); }
.lp-side-cta--g b { font: 700 17px/1.3 var(--f-text); color: var(--text); }
.lp-side-cta--g span { margin-top: 6px; font: 500 14px/1.5 var(--f-text); color: var(--text-2); }
.lp-side-cta--g .ap-btn { margin-top: 16px; height: 42px; font-size: 14px; }

/* телефон: <details>-оглавление */
.lp-toc-m details { border-radius: var(--r-card); }
.lp-toc-m summary { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 6px 8px 6px 20px; font: 700 15px/1.3 var(--f-text); color: var(--text); cursor: pointer; list-style: none; }
.lp-toc-m summary::-webkit-details-marker { display: none; }
.lp-toc-m summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.lp-toc-m summary::before { content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-70%) rotate(45deg); transition: transform 150ms var(--ease); }
.lp-toc-m details[open] summary::before { transform: translateY(-20%) rotate(-135deg); }
.lp-toc-m ol { padding: 0 8px 10px; }

/* ═══ SEO-статья ═══ */
.lp-pg-body { margin-top: 64px; }
.lp-pg-body > section + section { margin-top: 64px; }
.lp-pg-body h2 { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--f-disp); letter-spacing: -.01em; color: var(--text); max-width: none; text-wrap: balance; }
.lp-pg-body p { margin-top: 16px; max-width: 90ch; font: 400 17px/1.7 var(--f-text); color: var(--text-2); }
.lp-pg-body a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.lp-pg-body ul { margin-top: 20px; padding: 8px 24px; max-width: 90ch; border-radius: var(--r-card); }
.lp-pg-body li { position: relative; padding: 16px 0 16px 60px; min-height: 76px; font: 400 16px/1.55 var(--f-text); color: var(--text-2); }
.lp-pg-body li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-pg-body li b { font-weight: 700; color: var(--text); }
.lp-pg-body li::before { content: ""; position: absolute; left: 0; top: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); }
.lp-pg-body li::after { content: ""; position: absolute; left: 14px; top: 27px; width: 16px; height: 8px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg) translate(1px, -1px); }
/* «Ще про це»: плитки со стрелкой */
.lp-seo-links { margin-top: 64px; }
.lp-seo-links h2 { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--f-disp); color: var(--text); }
.lp-seo-links ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 20px; }
.lp-seo-links li a { position: relative; display: flex; align-items: center; min-height: 72px; padding: 18px 64px 18px 18px; border-radius: var(--r-tile); font: 700 15px/1.3 var(--f-text); color: var(--text); text-decoration: none; transition: border-color 150ms var(--ease); }
.lp-seo-links li a::before { content: ""; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); }
.lp-seo-links li a::after { content: ""; position: absolute; right: 30px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid var(--text); border-top: 2px solid var(--text); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .lp-seo-links li a:hover { border-color: rgba(74, 222, 128, .5); } }
.ap-tgnote { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--r-tile); font: 500 14px/1.5 var(--f-text); color: var(--text); max-width: 90ch; }
.ap-tgnote b { font-weight: 700; }

/* ═══ документ (privacy/terms): один стеклянный лист ═══ */
.lp-sheet { margin-top: 40px; padding: clamp(24px, 3vw, 48px); border-radius: var(--r-card); overflow-wrap: anywhere; font-size: 16px; }
.lp-sheet h2 { margin: 44px 0 14px; font: 700 20px/1.3 var(--f-text); color: var(--text); }
.lp-sheet h2:first-child { margin-top: 0; }
.lp-sheet p, .lp-sheet ul { margin: 0 0 12px; max-width: 90ch; font: 400 16px/1.7 var(--f-text); color: var(--text-2); }
.lp-sheet ul { padding-left: 22px; list-style: disc; }
.lp-sheet li { margin-bottom: 8px; }
.lp-sheet strong, .lp-sheet b { font-weight: 700; color: var(--text); }
.lp-tbl { width: 100%; margin: 0 0 16px; border-radius: var(--r-tile); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.ap-table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 400 13px/1.5 var(--f-text); color: var(--text-2); }
.ap-table th { height: 44px; padding: 0 12px; text-align: left; font: 700 12px/1.3 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.ap-table th:nth-child(1) { width: 14%; } .ap-table th:nth-child(2) { width: 31%; } .ap-table th:nth-child(3) { width: 23%; } .ap-table th:nth-child(4) { width: 15%; } .ap-table th:nth-child(5) { width: 17%; }
.ap-table tbody tr { border-top: 1px solid rgba(255, 255, 255, .08); vertical-align: top; }
.ap-table td { padding: 12px; }
.ap-table td.ap-name { font-weight: 700; color: var(--text); }

/* ═══ en/mcp ═══ */
.lp-doc-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding-top: 12px; }
@media (min-width: 1024px) { .lp-doc-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); } }
.lp-doc-hero-l { min-width: 0; }
.lp-doc-hero .ap-eyebrow { display: block; margin-top: 40px; }
.lp-doc-hero h1 { margin-top: 16px; max-width: 24ch; }
.lp-doc-lead { margin-top: 18px; max-width: 36em; font: 500 20px/1.5 var(--f-text); color: var(--text-2); }
.lp-doc-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.lp-doc-grid { margin-top: 72px; }
.lp-doc-body { min-width: 0; }
.lp-doc-body > .lp-toc-m { margin: 0 0 40px; }
.lp-doc-sec { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-doc-sec:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.lp-doc-sec > h2 { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--f-disp); letter-spacing: -.015em; color: var(--text); }
.lp-doc-anchor { display: flex; align-items: center; gap: 14px; color: inherit; }
.lp-doc-num { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--r-ctl); background: rgba(34, 197, 94, .14); font: 800 12px/1 var(--f-text); letter-spacing: .04em; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.lp-doc-body p, .lp-doc-body li { max-width: 90ch; font: 500 17px/1.7 var(--f-text); color: var(--text-2); }
.lp-doc-body p { margin-top: 16px; }
.lp-doc-body ul { margin: 16px 0 0; padding-left: 22px; list-style: disc; }
.lp-doc-body li { margin: 8px 0; }
.lp-doc-body b { font-weight: 700; color: var(--text); }
.lp-doc-body h3 { margin: 32px 0 8px; font: 700 17px/1.4 var(--f-text); color: var(--text); }
.lp-doc-h3-note { font-weight: 500; color: var(--text-2); }
.lp-doc-body a:not(.ap-btn):not(.lp-doc-anchor) { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.lp-doc-body code, .lp-doc-code code { font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.lp-doc-body :not(pre) > code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--text); overflow-wrap: anywhere; }
.lp-doc-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; }
.lp-doc-steps li { counter-increment: s; position: relative; margin: 14px 0; padding-left: 44px; }
.lp-doc-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .3); font: 700 13px/1 var(--f-text); color: var(--accent-hi); }
.lp-doc-code { margin-top: 4px; border-radius: var(--r-tile); overflow: hidden; }
.lp-doc-hero .lp-doc-code { margin-top: 0; }
.lp-doc-code-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin: 12px 12px 0 20px; font: 700 13px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.lp-doc-code pre { margin: 10px 0 0; padding: 4px 20px 20px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.lp-doc-code pre code { background: none; border: 0; padding: 0; font-size: 14px; line-height: 1.6; color: #93c5fd; white-space: pre; overflow-wrap: normal; }
.lp-doc-copy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 11px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); color: var(--text); font: 700 13px/1 var(--f-text); letter-spacing: 0; text-transform: none; cursor: pointer; }
.lp-doc-copy[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .lp-doc-copy:hover { background: rgba(255, 255, 255, .11); } }
.lp-doc-table { margin-top: 14px; border-radius: var(--r-tile); overflow: hidden; }
.lp-doc-table table { width: 100%; border-collapse: collapse; font: 500 14.5px/1.55 var(--f-text); }
.lp-doc-table th, .lp-doc-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); }
.lp-doc-table thead th { border-top: 0; background: rgba(255, 255, 255, .04); font: 700 12px/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.lp-doc-table tbody th { font-weight: 500; white-space: nowrap; color: var(--text); }
.lp-doc-table td:nth-child(2) { color: var(--text); white-space: nowrap; }
.lp-doc-callout { margin-top: 22px; padding: 18px 20px; border-radius: var(--r-tile); background: linear-gradient(rgba(34, 197, 94, .08), rgba(34, 197, 94, .08)), var(--glass-bg); border-color: rgba(74, 222, 128, .28); }
.lp-doc-callout p:first-child { margin-top: 0; }
.lp-doc-note { font-size: 14px; margin-top: 2px; }
.lp-docs .lp-faq-item { margin-top: 10px; }
.lp-docs .lp-faq-a { max-width: 90ch; }
.lp-doc-mcp-link { display: block; text-align: center; padding: 11px 0; }
/* нижний CTA — только там, где нет боковой колонки (телефон/планшет): на ПК он живёт в липкой колонке */
.lp-doc-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding: 22px 24px; border-radius: var(--r-card); border-color: rgba(74, 222, 128, .34); }
.lp-doc-cta div { display: flex; flex-direction: column; gap: 2px; }
.lp-doc-cta b { font: 700 17px/1.3 var(--f-text); color: var(--text); }
.lp-doc-cta span:not(.ap-cta) { color: var(--text-2); }
@media (min-width: 1024px) { .lp-doc-cta--m { display: none; } }
/* hero-CTA SEO-страниц — только телефон/планшет; на ПК тот же CTA стоит в липкой колонке .lp-side-cta */
@media (min-width: 1024px) { .lp-seo-actions { display: none; } }

/* ═══ 404 ═══ */
.lp-nf { display: grid; place-items: center; width: 100%; max-width: var(--max); min-height: calc(100svh - 300px); margin: 0 auto; padding: 40px var(--gut) 0; }
.lp-nf-card { width: min(100%, 960px); padding: 36px 40px 40px; border-radius: var(--r-card); text-align: center; }
.lp-nf-code { font: 500 clamp(72px, 9vw, 120px)/.95 var(--f-disp); letter-spacing: -.04em; color: var(--accent); text-shadow: 0 0 60px rgba(34, 197, 94, .35); }
.lp-nf h1 { margin: 10px 0 0; font: 500 clamp(24px, 2.2vw, 28px)/1.15 var(--f-disp); letter-spacing: -.015em; color: var(--text); }
.lp-nf .ap-lead { margin: 12px auto 0; font: 500 16px/1.5 var(--f-text); color: var(--text-2); }
.lp-nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.lp-nf-links--2 { margin-top: 0; }
.lp-nf-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); color: var(--text); font: 600 14px/1 var(--f-text); white-space: nowrap; }
.lp-nf-links--2 a { color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .lp-nf-links a:hover { background: rgba(255, 255, 255, .11); color: var(--text); } }
.lp-nf-sep { height: 1px; margin: 16px 0; background: rgba(255, 255, 255, .08); }
.lp-nf-home { margin-top: 28px; }

/* ═══ адаптив ═══ */
@media (max-width: 767px) {
  .lp-page { padding-top: 20px; }
  .lp-crumbs { min-height: 44px; padding: 0 16px; border-radius: var(--r-card); }
  .lp-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .lp-page h1 { margin-top: 28px; font-size: 28px; }
  .lp-pg-hero .ap-lead, .lp-doc-lead { font-size: 16px; }
  .lp-seo-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .lp-seo-actions .ap-cta, .lp-seo-actions .ap-cta > .ap-btn { width: 100%; }
  .lp-seo-actions .ap-small { text-align: center; }
  .lp-pg-hero .upd a { display: inline-flex; align-items: center; min-height: 44px; }
  .lp-pg-body { margin-top: 40px; }
  .lp-pg-body > section + section { margin-top: 48px; }
  .lp-pg-body h2, .lp-seo-links h2, .lp-doc-sec > h2 { font-size: 20px; }
  .lp-pg-body p { font-size: 16px; line-height: 1.65; }
  .lp-pg-body ul { padding: 4px 18px; }
  .lp-pg-body li { padding-left: 50px; min-height: 68px; }
  .lp-pg-body li::before { width: 36px; height: 36px; }
  .lp-pg-body li::after { left: 10px; top: 23px; }
  .lp-seo-links { margin-top: 48px; }
  .lp-sheet { margin-top: 24px; padding: 20px; }
  .lp-sheet p, .lp-sheet ul { font-size: 15px; line-height: 1.65; }
  .lp-sheet h2 { margin-top: 36px; }
  .lp-sheet a { display: inline-block; padding: 12px 0; }
  .lp-tbl { border: 0; border-radius: 0; overflow: visible; }
  .ap-table, .ap-table tbody, .ap-table tr, .ap-table td { display: block; width: 100%; }
  .ap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ap-table tbody tr { margin-bottom: 10px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-tile); }
  .ap-table td { padding: 6px 0; font-size: 14px; }
  .ap-table td::before { content: attr(data-label); display: block; font: 700 13px/1.3 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
  .ap-table td.ap-name { font-size: 15px; }
  .ap-table td.ap-name::before { display: none; }
  .lp-doc-hero { padding-top: 0; }
  .lp-doc-hero .ap-eyebrow { margin-top: 28px; }
  /* №409: на телефоне текст не мельче 13 px */
  .ap-table th, .lp-doc-num, .lp-doc-table thead th { font-size: 13px; }
  .lp-doc-body code, .lp-doc-table code { font-size: max(13px, .88em); }
  .lp-doc-grid { margin-top: 40px; }
  .lp-doc-sec { margin-top: 40px; padding-top: 40px; }
  .lp-doc-body p, .lp-doc-body li { font-size: 16px; }
  .lp-doc-jump .ap-btn { flex: 1 1 auto; }
  .lp-doc-copy { min-height: 44px; }
  .lp-doc-anchor { min-height: 44px; }
  .lp-doc-code pre code { font-size: 13.5px; }
  .lp-doc-table th:nth-child(2), .lp-doc-table td:nth-child(2) { display: none; }
  .lp-doc-table th, .lp-doc-table td { padding: 11px 12px; }
  .lp-doc-table tbody th { white-space: normal; width: 44%; }
  .lp-doc-table tbody th code { overflow-wrap: normal; word-break: normal; }
  .lp-doc-cta { padding: 18px; }
  .lp-nf { padding-top: 24px; min-height: 0; }
  .lp-nf-card { padding: 28px 18px 28px; }
  .lp-nf-links a { height: 44px; white-space: normal; text-align: center; }
  .lp-nf-home { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-toc-m summary::before, .lp-seo-links li a { transition: none; }
}
