@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/golos-text-cyrillic-variable.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/golos-text-latin-variable.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: #04150f;
  --bg-1: #0a2117;
  --bg-2: #0f2b1e;
  --bg-3: #143826;
  --line: rgba(232, 239, 234, 0.1);
  --line-strong: rgba(232, 239, 234, 0.2);
  --line-leaf: rgba(110, 231, 168, 0.32);
  --fg: #eaf3ee;
  --fg-2: #b3c2b8;
  --fg-3: #8a9b90;
  --leaf: #6ee7a8;
  --leaf-2: #a3f2c8;
  --leaf-deep: #3fd08d;
  --on-leaf: #03140c;
  --leaf-glow: rgba(110, 231, 168, 0.28);
  --shell: 1200px;
  --radius: 18px;
  --font: "Golos Text", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: linear-gradient(180deg, #031a12 0, #04150f 900px) fixed, var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--leaf-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf); color: var(--on-leaf); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: manual; font-weight: 700; letter-spacing: -0.025em; }
p { text-wrap: pretty; }
h1 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.02; margin-bottom: 22px; font-weight: 800; }
h1 .accent { display: block; color: var(--leaf); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); line-height: 1.12; margin-bottom: 14px; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 6px; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
@media (max-width: 480px) { .shell { width: calc(100% - 32px); } }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 18px; background: var(--leaf); color: var(--on-leaf); border-radius: 10px; transform: translateY(-160%); transition: transform 160ms var(--ease); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons: primary с magnetic-смещением (--tx/--ty ставит motion.js), ghost с подсветкой рамки ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px; border-radius: 14px; font-weight: 700; text-decoration: none; white-space: normal; text-align: center; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 220ms var(--ease), box-shadow 200ms var(--ease); }
.button-primary { background: var(--leaf); color: var(--on-leaf); box-shadow: 0 0 0 0 var(--leaf-glow); }
.button-primary:hover { background: var(--leaf-2); box-shadow: 0 12px 30px var(--leaf-glow); }
.magnet { transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.button-ghost { background: rgba(232,239,234,0.03); color: var(--fg); border: 1px solid var(--line-strong); }
.button-ghost:hover { border-color: var(--line-leaf); background: rgba(110,231,168,0.07); color: var(--leaf-2); }
.button-small { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.button:active { transform: translateY(1px); }

/* ---------- header: пилюля ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(4,21,15,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 68px; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.brand-sub { font-weight: 500; font-size: 0.82rem; letter-spacing: 0; color: var(--fg-3); padding-left: 10px; border-left: 1px solid var(--line-strong); }
.header-nav { position: relative; display: flex; gap: 2px; margin-left: 10px; }
.header-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--fg-2); text-decoration: none; font-size: 0.97rem; transition: color 200ms var(--ease); }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--fg); }
.nav-pad { position: absolute; left: 0; bottom: 2px; width: var(--w, 0px); height: 2px; border-radius: 2px; background: var(--leaf); opacity: var(--o, 0); transform: translateX(var(--x, 0px)); transition: transform 280ms var(--ease), width 280ms var(--ease), opacity 200ms var(--ease); pointer-events: none; }
.nav-pad::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 8px var(--leaf); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-cabinet { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; color: var(--fg-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; border-radius: 12px; transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.header-cabinet:hover { color: var(--leaf-2); background: rgba(110,231,168,0.07); }
.header-cta { white-space: nowrap; }
.header-trace { position: relative; height: 1px; background: var(--line); overflow: hidden; }
.header-signal { position: absolute; top: 0; left: 0; width: 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--leaf), transparent); opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) { .header-signal { animation: header-signal 7s linear infinite; } }
@keyframes header-signal { from { transform: translateX(-160px); } to { transform: translateX(100vw); } }
@media (max-width: 900px) { .header-nav { display: none; } .brand-sub { display: none; } }
@media (max-width: 400px) { .header-cta { padding-inline: 12px; font-size: 0.9rem; } .header-cabinet { padding-inline: 8px; font-size: 0.9rem; } .header-row { gap: 8px; } }
@media (max-width: 360px) { .brand-word { display: none; } .brand { min-width: 44px; justify-content: center; } .header-row { gap: 6px; } .header-cabinet, .header-cta { padding-inline: 10px; font-size: 0.85rem; } }

/* ---------- reveal: лесенка (staggered), сдвиг вверх + прозрачность ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0.001; transform: translateY(18px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 520ms var(--ease) calc(var(--i, 0) * 90ms), transform 620ms var(--ease) calc(var(--i, 0) * 90ms); }
  .js tr[data-reveal] { transform: none; }
}

/* ---------- spotlight под курсором (--mx/--my ставит motion.js) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(110,231,168,0.13), transparent 70%); transition: opacity 240ms var(--ease); pointer-events: none; }
.spot:hover::after { opacity: 1; }

/* ---------- hero: студия, луч света, рендер телефона ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 620px at 74% 0%, rgba(110,231,168,0.20), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero:not(.hero-home) .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.hero-visual { position: relative; align-self: stretch; display: grid; place-items: end center; min-height: 460px; margin-bottom: calc(-1 * clamp(36px, 5vw, 64px)); }
.hero-visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -46%); background: radial-gradient(circle, rgba(110,231,168,0.16), transparent 62%); filter: blur(24px); pointer-events: none; }
.hero-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 40%; background: radial-gradient(60% 100% at 50% 100%, rgba(110,231,168,0.20), transparent 70%); filter: blur(14px); pointer-events: none; }
.phone { position: relative; display: grid; width: min(100%, 372px); }
.phone .scr { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transition: opacity 520ms var(--ease); }
.phone .scr.is-on { opacity: 1; }
.phone-hero { width: min(100%, 300px); margin-bottom: -120px; transition: transform 700ms var(--ease); }
.hero-visual:hover .phone-hero { transform: translateY(-6px); }
.hero-copy > h1 { max-width: 760px; }
.hero-home h1 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--fg-2); max-width: 60ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.block-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 480px) { .block-actions .button, .hero-actions .button { flex: 1 1 100%; } }
.hero-note { color: var(--fg-3); font-size: 0.98rem; margin: 0 0 8px; }
.hero-plat { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--fg-3); font-size: 0.95rem; }
.hero-plat li { display: flex; align-items: center; }
.hero-plat a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.hero-plat a:hover { color: var(--leaf-2); border-bottom-color: var(--leaf-2); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--fg-3); font-size: 0.92rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--fg-3); }
.crumbs a { display: inline-block; min-height: 24px; padding: 11px 0; margin: -11px 0; color: var(--fg-2); }
.crumbs li[aria-current] { color: var(--fg); }
.crumbs-like { color: var(--fg-3); margin-bottom: 14px; }
.hero-os { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 16px; padding: 8px 14px; border: 1px solid var(--line-leaf); border-radius: 999px; background: rgba(110,231,168,0.07); color: var(--leaf); }
.hero-os svg { display: block; width: 18px; height: 18px; }

@media (max-width: 960px) {
  .hero-inner, .hero:not(.hero-home) .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; }
  .phone-hero { width: min(60%, 220px); margin-bottom: -80px; }
}

/* ---------- blocks ---------- */
.block { padding: clamp(40px, 5.5vw, 76px) 0; border-bottom: 1px solid var(--line); }
.block-head { max-width: 720px; margin-bottom: 28px; }
.block-head p { color: var(--fg-2); margin-bottom: 0; }
.block-head p + p { margin-top: 10px; }

/* ---------- главная: четыре карточки ---------- */
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quad-card { display: grid; align-content: start; gap: 8px; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); text-decoration: none; color: inherit; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.quad-card:hover { border-color: var(--line-leaf); background: var(--bg-2); }
.quad-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--leaf); }
.quad-card h3 { margin: 0; }
.quad-card p { margin: 0; color: var(--fg-2); font-size: 0.98rem; }
@media (max-width: 960px) { .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .quad { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- главная: полоса цифр + платформы строками ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.stats li { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.stat-n { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; color: var(--leaf); font-variant-numeric: tabular-nums; }
.stat-l { color: var(--fg-2); font-size: 0.92rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.plat { display: grid; border-top: 1px solid var(--line); }
.plat-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.5fr) 28px; gap: 8px 20px; align-items: center; min-height: 64px; padding: 16px 12px; border-bottom: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; }
.plat-os { display: inline-flex; gap: 6px; color: var(--leaf); }
.plat-os svg { display: block; width: 20px; height: 20px; }
.plat-name { font-weight: 700; font-size: 1.08rem; }
.plat-src { color: var(--fg); }
.plat-what { color: var(--fg-2); font-size: 0.97rem; }
.plat-arrow { color: var(--leaf); transition: transform 200ms var(--ease); }
.plat-row:hover .plat-arrow { transform: translateX(4px); }
.plat-row:hover .plat-name { color: var(--leaf-2); }
@media (max-width: 860px) {
  .plat-row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 2px 14px; }
  .plat-os { grid-column: 1; grid-row: 1 / span 3; }
  .plat-name { grid-column: 2; grid-row: 1; }
  .plat-src { grid-column: 2; grid-row: 2; }
  .plat-what { grid-column: 2; grid-row: 3; }
  .plat-arrow { grid-column: 3; grid-row: 1 / span 3; }
}

/* ---------- стеклянные карточки под первым экраном (мокап 05) ---------- */
.block-glass { padding-top: 0; margin-top: -8px; border-bottom: 0; }
.block-glass .block-actions { justify-content: center; margin-top: 22px; }
.glass { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.glass-card { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px 20px; border: 1px solid var(--line-leaf); border-radius: 18px; background: rgba(10,33,23,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 40px rgba(0,0,0,0.28); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.glass-card:hover { border-color: var(--leaf); transform: translateY(-2px); }
.glass-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--leaf); }
.glass-icon svg { width: 30px; height: 30px; }
.glass-body { display: grid; gap: 2px; }
.glass-t { font-weight: 700; line-height: 1.25; }
.glass-x { color: var(--fg-2); font-size: 0.9rem; line-height: 1.35; }
@media (max-width: 960px) { .glass { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .glass { grid-template-columns: 1fr; gap: 10px; } .glass-card { min-height: 0; padding: 14px 16px; } }

/* ---------- сервис: география ключа + условия ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 20px; align-items: stretch; }
.geo { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #0f2016, var(--bg-1) 40%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); overflow: hidden; }
.geo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; }
.geo-count { font-weight: 600; font-size: 0.8rem; color: var(--leaf); padding: 4px 10px; border-radius: 999px; background: rgba(110,231,168,0.12); white-space: nowrap; }
.geo-list { margin: 0; padding: 8px; list-style: none; display: grid; gap: 4px; }
.geo-row { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; padding: 6px 12px 6px 10px; border-radius: 12px; transition: background-color 160ms var(--ease); }
.geo-row::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 2px; background: var(--leaf); transform: translateY(-50%); transition: height 160ms var(--ease); }
.geo-row:hover { background: rgba(232,239,234,0.05); }
.geo-row:hover::before { height: 20px; }
.geo-flag { display: grid; place-items: center; width: 34px; height: 24px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 10px rgba(0,0,0,0.45); background: #000; }
.geo-flag svg { display: block; width: 100%; height: 100%; }
.geo-flag-auto { color: var(--leaf); background: rgba(110,231,168,0.12); box-shadow: 0 0 0 1px rgba(110,231,168,0.35); }
.geo-name { font-weight: 700; font-size: 1rem; line-height: 1.2; display: grid; }
.geo-name small { font-weight: 500; font-size: 0.82rem; color: var(--fg-2); line-height: 1.3; }
.geo-code { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; color: var(--fg-3); }
.geo-tag { font-size: 0.74rem; font-weight: 700; color: var(--on-leaf); background: var(--leaf); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.geo-auto { background: rgba(110,231,168,0.08); box-shadow: inset 0 0 0 1px rgba(110,231,168,0.35); }
.geo-auto::before { height: 20px; }
.geo-auto .geo-flag-auto svg { animation: geo-spin 8s linear infinite; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; align-content: start; gap: 6px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-1); }
.fact-n { display: flex; align-items: baseline; gap: 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.fact-n small { font-size: 0.82rem; font-weight: 700; color: var(--leaf); letter-spacing: 0.02em; }
.fact-t { color: var(--fg-2); font-size: 0.92rem; line-height: 1.4; }
.service-foot { margin: 18px 0 0; }
.service-foot a { color: var(--leaf-2); display: inline-block; padding: 11px 0; margin: -11px 0; }
@media (max-width: 960px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .geo-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; } .geo-flag { width: 30px; height: 21px; } .facts { grid-template-columns: 1fr; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .geo-auto .geo-flag-auto svg { animation: none; } }

/* ---------- главная: лента шагов + sticky-телефон ---------- */
.lane { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: start; }
.lane-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.lane-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); transition: opacity 240ms var(--ease); }
.lane-step:last-child { border-bottom: 1px solid var(--line); }
.lane-no { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 700; color: var(--fg-2); transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.lane-step.is-active .lane-no { background: var(--leaf); border-color: var(--leaf); color: var(--on-leaf); }
.lane-body h3 { font-size: 1.3rem; margin-top: 10px; }
.lane-body p { color: var(--fg-2); margin-bottom: 8px; }
.lane-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--leaf-2); text-decoration: none; }
.lane-link::after { content: " →"; margin-left: 4px; transition: transform 200ms var(--ease); }
.lane-link:hover::after { transform: translateX(4px); }
.lane-link:hover { text-decoration: underline; }
.lane-phone { position: sticky; top: 90px; display: grid; justify-items: center; }
.lane-phone .phone { width: min(100%, 340px); }
@media (max-width: 900px) { .lane { grid-template-columns: 1fr; } .lane-phone { display: none; } }
@media (max-width: 520px) { .lane-step { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; } .lane-no { width: 40px; height: 40px; font-size: 0.9rem; } .lane-body h3 { margin-top: 6px; font-size: 1.18rem; } }

/* ---------- таблица сроков ---------- */
.price-wrap { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg-1); }
.price { width: 100%; border-collapse: collapse; }
.price thead th { padding: 12px 18px; text-align: left; font-size: 0.82rem; font-weight: 600; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.price tbody tr { border-bottom: 1px solid var(--line); }
.price tbody tr:last-child { border-bottom: 0; }
.price tbody th, .price tbody td { padding: 18px; text-align: left; vertical-align: middle; }
.price tbody th { font-weight: 700; font-size: 1.08rem; }
.best-tag { display: block; margin-top: 2px; font-weight: 500; font-size: 0.82rem; color: var(--leaf); }
.price-sum { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price td { color: var(--fg-2); }
.price .is-best { background: linear-gradient(90deg, rgba(110,231,168,0.08), transparent 70%); }
.price .is-best .price-sum { color: var(--leaf); }
.save { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--leaf); background: rgba(110,231,168,0.14); white-space: nowrap; }
.save-none { background: none; color: var(--fg-3); padding-inline: 0; }
.price-cta { text-align: right; }
.price-cta .button { white-space: nowrap; }
.price-foot { margin: 14px 0 0; color: var(--fg-3); font-size: 0.95rem; }
@media (max-width: 760px) {
  .price, .price tbody, .price tr { display: block; }
  .price thead { display: none; }
  .price tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 16px 18px; align-items: center; }
  .price tbody th, .price tbody td { padding: 0; }
  .price tbody th { grid-column: 1; grid-row: 1; }
  .price-sum { grid-column: 2; grid-row: 1; text-align: right; }
  .price tbody td:nth-child(3) { grid-column: 1; grid-row: 2; font-size: 0.95rem; }
  .price tbody td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; }
  .price-cta { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
  .price-cta .button { width: 100%; }
}

/* ---------- глоссарий ---------- */
.gloss { display: grid; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); overflow: hidden; }
.gloss-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 8px 32px; padding: 20px 24px; border-top: 1px solid var(--line); }
.gloss-row:first-child { border-top: 0; }
.gloss dt { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--leaf); }
.gloss dd { margin: 0; color: var(--fg-2); }
.gloss-note { margin: 16px 0 0; color: var(--fg-2); }
.gloss-note a { color: var(--leaf-2); display: inline-block; padding: 11px 0; margin: -11px 0; }
@media (max-width: 640px) { .gloss-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; } }

/* ---------- лента симптомов: сетка на десктопе, scroll-snap на мобильном ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.strip-card { display: grid; align-content: start; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); text-decoration: none; color: inherit; transition: border-color 200ms var(--ease); }
.strip-card:hover { border-color: var(--line-leaf); }
.strip-no { font-size: 0.82rem; font-weight: 700; color: var(--leaf); letter-spacing: 0.06em; }
.strip-t { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.strip-x { color: var(--fg-2); font-size: 0.95rem; }
.strip-x::before { content: "→ "; color: var(--leaf); }
@media (max-width: 960px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
  .strip-card { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
}

/* ---------- steps ---------- */
.step-list { list-style: none; margin: 0; padding: 0; max-width: 800px; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); text-decoration: none; color: inherit; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 700; font-size: 0.95rem; color: var(--fg-2); transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease); }
.js li.is-in .step-no { background: var(--leaf); border-color: var(--leaf); color: var(--on-leaf); }
.step-body h3 { margin-top: 10px; }
.step-body p { color: var(--fg-2); margin-bottom: 0; }
.step.is-link:hover { border-color: var(--line-leaf); }
.step.is-link:hover .step-body h3 { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 520px) { .step { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; } .step-no { width: 40px; height: 40px; font-size: 0.85rem; } .step-body h3 { margin-top: 6px; } }

/* ---------- rows ---------- */
.row-list { display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 32px; padding: 20px 12px; border-bottom: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; }
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--fg-2); }
.row.is-link:hover h3 { color: var(--leaf-2); }
.row.is-link h3::after { content: " →"; color: var(--leaf); font-weight: 400; display: inline-block; transition: transform 200ms var(--ease); }
.row.is-link:hover h3::after { transform: translateX(4px); }
.row-check { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.6fr); }
.row-check::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border: 1.5px solid var(--leaf); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237ce38b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; gap: 4px; }
  .row-check { grid-template-columns: 28px 1fr; }
  .row-check p { grid-column: 2; }
}

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tile { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); text-decoration: none; color: inherit; transition: border-color 160ms var(--ease); }
.tile.is-link:hover { border-color: var(--line-leaf); }
.tile.is-link h3::after { content: " →"; color: var(--leaf); font-weight: 400; }
.tile p { margin: 0; color: var(--fg-2); }
.tile-os { display: inline-flex; gap: 8px; margin-bottom: 12px; color: var(--leaf); }
.tile-os svg, .row-os svg { display: block; }
.row-os { display: inline-flex; gap: 6px; margin-right: 10px; vertical-align: -3px; color: var(--leaf); }
th .row-os svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- tree ---------- */
.tree { display: grid; gap: 10px; max-width: 920px; }
.branch { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.branch[open] { border-color: var(--line-leaf); }
.branch summary { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; min-height: 44px; }
.branch summary::-webkit-details-marker { display: none; }
.branch summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg); margin-right: 6px; transition: transform 160ms var(--ease); }
.branch[open] summary::after { transform: rotate(-135deg); }
.branch-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-leaf); border-radius: 50%; font-weight: 700; color: var(--leaf); }
.branch summary strong { display: block; font-size: 1.08rem; }
.branch summary small { display: block; color: var(--fg-2); font-size: 0.95rem; }
.branch-checks { margin: 0; padding: 4px 18px 20px 78px; color: var(--fg-2); display: grid; gap: 10px; }
@media (max-width: 640px) { .branch-checks { padding-left: 44px; padding-right: 16px; } .branch summary { grid-template-columns: 36px 1fr auto; } .branch-no { width: 36px; height: 36px; } }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.msg-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.98rem; }
.msg-table th, .msg-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.msg-table thead th { background: var(--bg-1); color: var(--fg-3); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.msg-table tbody th { font-weight: 600; white-space: normal; }
.msg-table td { color: var(--fg-2); }
.msg-table tbody tr:last-child th, .msg-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .msg-table { min-width: 0; display: block; }
  .msg-table thead { display: none; }
  .msg-table tbody, .msg-table tr { display: block; }
  .msg-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .msg-table tr:last-child { border-bottom: 0; }
  .msg-table th, .msg-table td { display: block; padding: 0; border: 0; }
  .msg-table tbody th { margin-bottom: 8px; }
  .msg-table td { margin-top: 6px; }
  .msg-table td::before { content: attr(data-label); display: block; font-size: 0.8rem; color: var(--fg-3); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
}

/* ---------- faq: две колонки, маркер «+» ---------- */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: start; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; transition: color 200ms var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary { color: var(--leaf); }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 500; color: var(--leaf); transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 200ms var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); border-color: var(--leaf); }
.faq { interpolate-size: allow-keywords; }
.faq::details-content { height: 0; overflow: clip; transition: height 320ms cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 320ms allow-discrete; }
.faq[open]::details-content { height: auto; }
.faq p { margin: 0; padding-bottom: 20px; color: var(--fg-2); max-width: 70ch; }
.faq[open] p, .branch[open] .branch-checks { animation: reveal 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------- related ---------- */
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-list a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); text-decoration: none; color: inherit; min-height: 44px; }
.related-list a:hover { border-color: var(--line-leaf); }
.related-list strong { font-size: 0.8rem; color: var(--leaf); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; }
.rel-os { display: inline-flex; gap: 5px; margin-right: 8px; }
.rel-os svg { display: block; width: 14px; height: 14px; }
.related-list span { font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .related-list { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- финальная полоса на плате ---------- */
.final { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.final-traces { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; background-image: linear-gradient(var(--line-leaf) 1px, transparent 1px), linear-gradient(90deg, var(--line-leaf) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent 75%); }
.final-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.final h2 { margin-bottom: 8px; }
.final p { color: var(--fg-2); margin: 0; max-width: 56ch; }
.final-actions { display: grid; gap: 14px; justify-items: end; }
.final-stores { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; color: var(--fg-3); font-size: 0.95rem; }
.final-stores a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); }
.final-stores a:hover { color: var(--leaf-2); }
@media (max-width: 860px) { .final-inner { grid-template-columns: 1fr; } .final-actions { justify-items: start; } }
@media (max-width: 480px) { .final-actions .button { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; }
.footer-brand p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--fg-2); font-size: 0.95rem; max-width: 30ch; }
.footer-group h2 { font-size: 0.8rem; font-weight: 600; color: var(--fg-3); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-group a { padding: 9px 0; color: var(--fg-2); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.footer-group a:hover { color: var(--fg); text-decoration: underline; }
.foot-os { display: inline-flex; gap: 4px; margin-right: 8px; color: var(--fg-3); transition: color 160ms var(--ease); }
.foot-os svg { display: block; width: 13px; height: 13px; }
.footer-group a:hover .foot-os { color: var(--leaf); }
.footer-note { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 18px; color: var(--fg-3); font-size: 0.9rem; }
.footer-note p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 360px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .header-signal { animation: none; } .phone-hero, .hero-visual:hover .phone-hero { transform: none; }
  .faq::details-content, .scr, .lane-no, .step-no, .button, .magnet, .plat-arrow, .row.is-link h3::after, .lane-link::after, .spot::after { transition: none; }
  .magnet { transform: none; }
  .faq[open] p, .branch[open] .branch-checks { animation: none; }
  .faq summary::after { transition: none; }
  html { scroll-behavior: auto; }
}
