/* Tokens: mockups/design-system.md */
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-latin.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: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/golos-text-cyrillic.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 600; font-display: swap; src: url(fonts/golos-text-latin.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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin.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 {
  color-scheme: dark;
  --space-0: #03050b; --space-1: #070c18;
  --surface-1: #0b1324; --surface-2: #101a30; --surface-3: #16223b;
  --line: rgba(150,185,230,.14); --line-2: rgba(150,185,230,.28);
  --ink: #e8eef7; --ink-2: #a8b5c8; --ink-3: #7888a0;
  --accent: #5fb0e8; --accent-2: #8fd0ff; --accent-ink: #03101f; --brand-navy: #043168;
  --ok: #7fe0a6; --danger: #ff8a7a;
  --si-ink: #e8eef7; --si-ink-2: #a8c4e4; --si-line: rgba(95,176,232,.5); --si-dot: #8fd0ff; --si-back: #34507a;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --r-l: 22px; --r-m: 14px; --r-s: 8px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
[hidden] { display: none !important; }
html { background: var(--space-0); scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--space-0); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
main, .ftr { position: relative; z-index: 1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
a { color: inherit; }
.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 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 0 0 6px rgba(95,176,232,.16), 0 10px 30px -8px rgba(95,176,232,.55); }
.btn-ghost { background: rgba(8,14,28,.5); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn:focus-visible, .input:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(3,5,11,.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.hdr-in { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--serif); letter-spacing: .06em; transition: opacity .4s, transform .4s var(--ease); }
.js .brand { opacity: 0; transform: translateY(-4px); }
.js .hdr.solid .brand { opacity: 1; transform: none; }
.brand img { height: 40px; width: auto; flex: none; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--ink); }
/* Одна кнопка вместо номера: нажатие набирает номер */
.hdr-call { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; background: linear-gradient(180deg, var(--accent), #2f86c4); color: var(--accent-ink); text-decoration: none; font: 600 15px/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 28px rgba(95,176,232,.3); transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }
.hdr-call:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(95,176,232,.44); filter: brightness(1.06); }
.hdr-call svg { width: 18px; height: 18px; flex: none; }
.hdr .btn { margin-left: 4px; }
.nav, .hdr-req { transition: opacity .45s var(--ease); }
/* На первом экране меню и заявка живут спутниками вокруг Земли, в шапке остаётся только звонок */
.wd .hdr:not(.solid) .nav, .wd .hdr:not(.solid) .hdr-req { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .hdr-call { margin-left: auto; height: 42px; padding: 0 18px; font-size: 14px; }
  .hdr-in { gap: 10px; }
}
@media (max-width: 520px) { .hdr-call { padding: 0 14px; gap: 8px; } }
@media (max-width: 420px) { .hdr .btn { padding: 0 12px; font-size: 13px; } .brand span { display: none; } .brand img { height: 36px; } }

/* Кнопка возврата к меню первого экрана */
.tomenu { position: fixed; left: var(--gutter); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8,14,28,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background .25s, border-color .25s; }
.tomenu.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s, background .25s, border-color .25s; }
.tomenu:hover { background: rgba(16,26,48,.9); border-color: var(--accent); }
.js.cookie-open .tomenu { bottom: calc(36px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px)); }
.tomenu svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
@media (max-width: 520px) { .tomenu { padding: 0; width: 44px; height: 44px; justify-content: center; gap: 0; } .tomenu span { display: none; } }
@media (prefers-reduced-motion: reduce) { .tomenu { transition: none; } }

/* 1. Hero: logo assembly */
.hero { position: relative; }
.si-track { position: relative; height: 100vh; height: 100svh; }
.js .si-track { height: 440vh; }
.si-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.si-logo { position: absolute; left: 0; top: 0; width: 620px; height: 690px; transform-origin: 0 0; z-index: 1; }
.ds-cv { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
/* The landed ground melts into the page background when the stage scrolls away */
.si-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,5,11,0), var(--space-0)); }
.ds-caps { position: absolute; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom, 0px)); padding-inline: var(--gutter); pointer-events: none; z-index: 2; }
.ds-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; opacity: 0; padding-inline: var(--gutter); }
.ds-eyebrow { font: 500 12px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.ds-line { font: 400 clamp(26px, 3.4vw, 44px)/1.1 var(--serif); color: var(--ink); text-wrap: balance; text-shadow: 0 2px 24px rgba(3,5,11,.8); }
.ds-cap-land .ds-line { font-size: clamp(40px, 6vw, 84px); }
html:not(.js) .ds-cv, html:not(.js) .ds-caps { display: none; }
.si-logo > * { position: absolute; left: 0; top: 0; }
.si-svg { width: 620px; height: 690px; overflow: visible; }
.si-3d { width: 620px; height: 690px; perspective: 1500px; perspective-origin: 305px 310px; pointer-events: none; }
.si-ch { position: absolute; left: 0; top: 0; font-family: var(--serif); line-height: 1; white-space: pre; color: var(--si-ink); will-change: transform; text-shadow: 0 0 28px rgba(143,208,255,.35); }
.si-back .si-ch { color: var(--si-back); text-shadow: none; }
.si-line2 { position: absolute; left: 0; top: 0; font-family: var(--serif); line-height: 1; white-space: pre; color: var(--si-ink-2); }
.si-rule { position: absolute; background: var(--si-ink); transform-origin: 50% 50%; box-shadow: 0 0 18px rgba(143,208,255,.4); }
.si-glow { transform-box: fill-box; transform-origin: center; animation: siPulse 3.6s ease-in-out infinite; }
@keyframes siPulse { 50% { transform: scale(1.1); opacity: .65; } }
.hero-foot { z-index: 2; position: absolute; left: 0; right: 0; bottom: calc(122px + env(safe-area-inset-bottom, 0px)); padding-inline: var(--gutter); text-align: center; pointer-events: none; }
.js .hero-foot { transition: left .8s var(--ease), right .8s var(--ease), top .8s var(--ease), bottom .8s var(--ease), width .8s var(--ease), transform .8s var(--ease); }
/* Фаза «рабочего стола»: строка уходит вправо, под шапку */
.wd .hero-foot { left: auto; right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); bottom: auto; top: calc(var(--header-h) + 30px); width: min(24ch, 30vw); padding-inline: 0; text-align: right; }
.wd .hero-line { margin: 0 0 0 auto; max-width: none; font-size: clamp(19px, 1.9vw, 26px); }
/* Спутники-кнопки */
.si-svg { pointer-events: none; }
.si-sat { pointer-events: none; }
.wd .si-sat { pointer-events: auto; cursor: pointer; }
.si-sat-ring { transition: fill .2s, stroke .2s; }
.si-sat:hover .si-sat-ring, .si-sat:focus-visible .si-sat-ring { fill: #13304f; stroke: var(--accent-2); }
.si-sat-lab { font-family: var(--sans); font-weight: 500; fill: var(--ink); transition: fill .2s; stroke: rgba(3,5,11,.75); stroke-width: 3px; paint-order: stroke; }
.si-sat-cta { fill: rgba(95,176,232,.18); stroke: var(--accent-2); }
.si-sat-lab-cta { fill: var(--accent-2); }
.si-sat:hover .si-sat-lab, .si-sat:focus-visible .si-sat-lab { fill: var(--ink); }
.si-sat:focus { outline: none; }
.si-sat:focus-visible .si-sat-ring { stroke-width: 2.6; }
@media (max-width: 760px) {
  .wd .hero-foot { left: 0; right: 0; top: auto; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); width: auto; padding-inline: var(--gutter); text-align: center; }
  .wd .hero-line { margin: 0 auto; max-width: 24ch; font-size: clamp(17px, 4.6vw, 21px); }
}
.hero-line { margin: 0 auto; max-width: 30ch; font: 400 clamp(21px, 2.5vw, 32px)/1.25 var(--serif); color: var(--ink); text-wrap: balance; }
.js .hero-line { opacity: 0; transform: translateY(14px); }
/* Hint: pulsing rings and three chevrons running in the direction of the gesture (down for a wheel, up for a finger) */
.si-hint { z-index: 3; position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 10px); display: none; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 10px; border: 0; border-radius: 16px; background: none; color: var(--ink); font: 500 12px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s var(--ease); -webkit-tap-highlight-color: transparent; }
.js .si-hint { display: flex; }
.si-hint.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.si-hint-txt { white-space: nowrap; text-shadow: 0 0 18px rgba(95,176,232,.7), 0 1px 10px rgba(3,5,11,.9); }
.si-hint .t-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .si-hint .t-touch { display: inline; } .si-hint .t-mouse { display: none; } .si-hint-ico { transform: rotate(180deg); } }
.si-hint-ico { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(143,208,255,.75); background: rgba(8,20,42,.7); box-shadow: 0 0 22px rgba(95,176,232,.45); display: grid; place-items: center; }
.si-hint-ico::before, .si-hint-ico::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--accent-2); animation: siRing 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
.si-hint-ico::after { animation-delay: 1.1s; }
@keyframes siRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.si-hint-ico i { position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -6px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; animation: siChev 1.5s ease-in-out infinite; }
.si-hint-ico i:nth-child(1) { top: 8px; } .si-hint-ico i:nth-child(2) { top: 15px; animation-delay: .18s; } .si-hint-ico i:nth-child(3) { top: 22px; animation-delay: .36s; }
@keyframes siChev { 0%, 100% { opacity: 0; } 35% { opacity: 1; } 70% { opacity: 0; } }
.si-hint:hover .si-hint-ico, .si-hint:focus-visible .si-hint-ico { background: rgba(95,176,232,.25); }
.si-bar { z-index: 2; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand-navy), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }
.first-screen-end { position: absolute; top: 100vh; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Sections */
.sec { position: relative; isolation: isolate; padding-block: clamp(96px, 14vh, 160px); }
.sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(95,176,232,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(95,176,232,.05) 1px, transparent 1px); background-size: 64px 64px; background-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.sec-catalog { padding-bottom: 40px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }
.h2 { font: 400 clamp(34px, 5vw, 62px)/1.02 var(--serif); margin: 16px 0 0; text-wrap: balance; }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; margin: 18px 0 0; }

/* 2. Process */
.steps4 { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps4::before, .steps4::after { content: ""; position: absolute; left: 22px; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.steps4::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease); box-shadow: 0 0 12px rgba(95,176,232,.6); }
.steps4.in::after, html:not(.js) .steps4::after { transform: scaleX(1); }
.st { padding-right: 28px; position: relative; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .st { opacity: 0; transform: translateY(18px); }
.js .steps4.in .st { opacity: 1; transform: none; }
.steps4.in .st:nth-child(2) { transition-delay: .25s; } .steps4.in .st:nth-child(3) { transition-delay: .5s; } .steps4.in .st:nth-child(4) { transition-delay: .75s; }
.st .num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--space-1); display: grid; place-items: center; font: 500 13px var(--mono); color: var(--accent-2); position: relative; z-index: 1; }
.steps4.in .st .num { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(95,176,232,.1); transition: border-color .4s, box-shadow .4s; }
.st h3 { font: 600 19px/1.25 var(--sans); margin: 24px 0 8px; }
.st p { margin: 0; color: var(--ink-2); font-size: 15px; }
.deliv { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(11,19,36,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.deliv p { margin: 0; max-width: 60ch; font-size: 17px; }
@media (max-width: 860px) {
  .steps4 { grid-template-columns: 1fr; gap: 36px; }
  .steps4::before, .steps4::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .steps4::after { transform: scaleY(0); transform-origin: 50% 0; }
  .steps4.in::after, html:not(.js) .steps4::after { transform: scaleY(1); }
  .st { padding: 0 0 0 68px; }
  .st .num { position: absolute; left: 0; top: 0; }
  .st h3 { margin-top: 8px; }
  .deliv { padding: 20px; }
  .deliv .btn { width: 100%; }
}

/* 3. Galleries: configurations and turnkey objects (main.js, gallery) */
.gal { margin-top: 48px; --peek: 64px; --gap: 16px; }
.anchor { height: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.gal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gal-tabs { display: flex; gap: 4px; padding: 4px; min-width: 0; border: 1px solid var(--line); border-radius: 999px; background: rgba(8,14,28,.6); overflow-x: auto; scrollbar-width: none; }
.gal-tabs::-webkit-scrollbar { display: none; }
.gal-tab { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.gal-tab:hover { color: var(--ink); }
.gal-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.gal-tab .short { display: none; }
.gal-ctl { display: flex; align-items: center; gap: 10px; flex: none; }
.gal-arrow, .gal-side, .gal-replay { border: 1px solid var(--line-2); background: rgba(8,14,28,.7); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.gal-arrow, .gal-side { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.gal-arrow svg, .gal-side svg { width: 18px; height: 18px; }
.gal-prev svg { transform: scaleX(-1); }
.gal-arrow:hover:not(:disabled), .gal-side:hover:not(:disabled), .gal-replay:hover { border-color: var(--accent); background: rgba(95,176,232,.16); }
.gal-arrow:disabled, .gal-side:disabled { opacity: .3; cursor: default; }
.gal-side:disabled { visibility: hidden; }
.gal-replay { min-height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); color: var(--ink-2); }
.gal-replay svg { width: 15px; height: 15px; }
/* Build finished: the way on pulses */
.gal-arrow.nudge, .gal-side.nudge { border-color: var(--accent); color: var(--accent-2); animation: galNudge 1.8s ease-out infinite; }
@keyframes galNudge { 0% { box-shadow: 0 0 0 0 rgba(95,176,232,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(95,176,232,0); } }
.gal-view { position: relative; overflow: hidden; overflow: clip; border-radius: var(--r-l); touch-action: pan-y; }
.gal-track { display: flex; gap: var(--gap); column-gap: var(--gap); transition: transform .75s var(--ease); will-change: transform; }
.gal-track.drag { transition: none; }
.gal-card { position: relative; flex: 0 0 calc(100% - var(--peek) - var(--gap)); height: min(calc(100vh - 170px), 860px); height: min(calc(100svh - 170px), 860px); min-height: 540px; box-sizing: border-box; border-radius: var(--r-l); background: linear-gradient(180deg, var(--surface-2), var(--surface-1) 60%); border: 1px solid var(--line); overflow: hidden; transition: opacity .6s var(--ease); }
.js .gal-card:not(.cur) { opacity: .38; cursor: pointer; }
.gal-side { display: none; position: absolute; top: 56%; z-index: 5; width: 40px; height: 40px; margin-top: -20px; background: rgba(8,14,28,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gal-side.gal-prev { left: 8px; } .gal-side.gal-next { right: calc(var(--peek) + var(--gap) + 8px); }
html:not(.js) .gal-track { display: grid; gap: 24px; }
html:not(.js) .gal-card { height: auto; min-height: 0; }
.card-num { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.card-num span { color: var(--ink-3); }
.card-title { font: 400 clamp(30px, 3.6vw, 46px)/1.05 var(--serif); margin: 12px 0 10px; }
.card-desc { margin: 0; color: var(--ink-2); max-width: 44ch; }

/* scene cards: 3D assembly, plays by itself in the open slide */
.sc canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sc .bar { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand-navy), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); z-index: 3; }
.sc-side { position: absolute; left: 28px; top: 26px; bottom: 24px; width: 340px; z-index: 3; display: flex; flex-direction: column; gap: 18px; pointer-events: none; }
.sc-side > * { pointer-events: auto; }
.sc-head .btn { margin-top: 16px; }
.sc .card-title { font-size: clamp(28px, 2.9vw, 40px); }
.sc .build { flex: 0 1 auto; min-height: 0; overflow: hidden; box-sizing: border-box; padding: 14px 16px 10px; background: rgba(7,12,24,.78); border: 1px solid var(--line); border-radius: 10px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sc .build-title { margin: 0 0 6px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sc .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.sc .step { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .25s; }
.sc .step .dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1.5px solid #3b4d68; box-sizing: border-box; display: grid; place-items: center; transition: all .25s; }
.sc .step b { font-weight: 600; font-size: 14px; color: inherit; display: block; line-height: 1.3; }
.sc .step span { font: 11.5px/1.4 var(--mono); display: block; }
.sc .step small { grid-column: 2; font-size: 12.5px; line-height: 1.4; margin-top: 3px; color: var(--ink-2); display: none; }
.sc .step.active { color: var(--ink); }
.sc .step.active .dot { border-color: var(--accent); background: rgba(95,176,232,.25); box-shadow: 0 0 0 4px rgba(95,176,232,.15); }
.sc .step.active small { display: block; }
.sc .step.done { color: var(--ink-2); }
.sc .step.done .dot { background: var(--accent); border-color: var(--accent); }
.sc .step.done .dot::after { content: ""; width: 5px; height: 3px; border: solid var(--accent-ink); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
/* Long step lists on short screens: finished steps collapse to one line */
@media (min-width: 861px) and (max-height: 980px) {
  .sc .step.done span { display: none; }
  .sc .step { padding: 4px 0; }
  .sc-head .card-desc { font-size: 15px; }
}
.sc .tag { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; font: 500 12px/1.3 var(--mono); color: var(--accent-ink); background: var(--accent-2); padding: 5px 9px; border-radius: 4px; white-space: nowrap; opacity: 0; transition: opacity .2s; box-shadow: 0 0 20px rgba(143,208,255,.4); }
.sc .tag::after { content: ""; position: absolute; left: 12px; top: 100%; border: 5px solid transparent; border-top-color: var(--accent-2); }
.sc .boot { position: absolute; right: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); box-sizing: border-box; z-index: 2; opacity: 0; background: rgba(3,8,18,.92); border: 1px solid var(--line-2); color: #e8f0f9; border-radius: 10px; padding: 16px 18px; font: 13px/1.5 var(--mono); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); }
.sc .boot .os { font: 600 16px/1.2 var(--sans); color: #fff; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sc .boot .os em { font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; }
.sc .boot .os em.warn { color: #f2b84b; }
.sc .boot .pbar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.sc .boot .pbar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.sc .boot .ready { color: var(--ok); }
.sc .boot .warn { color: #f2b84b; }
.sc .boot ul { margin: 6px 0 0; padding: 0; list-style: none; color: #b9cde3; }
.sc .model-note { position: absolute; right: 24px; top: 22px; margin: 0; z-index: 2; font: 11px/1.4 var(--mono); color: var(--ink-3); max-width: 30ch; text-align: right; }

.sc .step { cursor: pointer; }
@media (max-width: 860px) {
  .gal { margin-top: 36px; --peek: 22px; --gap: 10px; }
  .gal-card { min-height: 480px; height: calc(100svh - 150px); }
  .gal-tab { padding: 0 14px; font-size: 13px; min-height: 38px; }
  .gal-tab .full { display: none; } .gal-tab .short { display: inline; }
  .gal-arrow { display: none; }
  .gal-side { display: grid; }
  .gal-replay { width: 40px; padding: 0; justify-content: center; }
  .gal-replay span { display: none; }
  .sc-side { left: 16px; right: 16px; top: 16px; bottom: 12px; width: auto; gap: 10px; }
  .sc .card-title { font-size: 28px; margin: 8px 0 6px; }
  .sc-head .card-desc { font-size: 14px; line-height: 1.45; }
  .sc-head .btn { margin-top: 10px; }
  .sc .model-note { display: none; }
  .sc .build { margin-top: auto; padding: 10px 14px; }
  .sc .build-title { display: none; }
  .sc .step { display: none; border-top: 0; padding: 0; }
  .sc .step.active { display: grid; }
  .sc .build.idle, .sc.booting .build { display: none; }
  .sc .boot { right: 12px; left: 12px; width: auto; bottom: 12px; padding: 12px 14px; font-size: 12px; line-height: 1.45; }
  .sc .boot .os { font-size: 15px; margin-bottom: 8px; }
  .sc .boot .pbar { margin-bottom: 8px; }
  .sc .boot ul { margin-top: 4px; }
  .sc .tag { font-size: 11px; padding: 4px 8px; }
}

/* Without JS: each scene card is a plain spec card */
html:not(.js) .sc { height: auto; min-height: 0; padding: 26px 28px; }
html:not(.js) .sc canvas, html:not(.js) .sc .bar, html:not(.js) .sc .boot, html:not(.js) .sc .tag { display: none; }
html:not(.js) .sc-side, html:not(.js) .sc .model-note { position: static; width: auto; max-width: none; text-align: left; margin-top: 20px; }
html:not(.js) .sc .step { display: grid; padding: 6px 0; border-top: 1px solid var(--line); }
html:not(.js) .sc .step span { display: block; }
html:not(.js) .sc .build-title { display: block; }

/* 5. Projects: a deck of pictures, the next one slides in over the current (main.js, deck) */
#projects { overflow: hidden; overflow: clip; }
/* NDA: a visible promise, not a footnote */
.nda { position: relative; margin-top: 32px; max-width: 880px; display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center; padding: 24px 28px; border: 1px solid rgba(95,176,232,.45); border-radius: var(--r-m); background: linear-gradient(120deg, rgba(95,176,232,.16), rgba(11,19,36,.7) 60%); box-shadow: 0 0 0 6px rgba(95,176,232,.06), 0 24px 60px -30px rgba(95,176,232,.45); }
.nda-ico { position: relative; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(95,176,232,.16); border: 1px solid rgba(143,208,255,.6); color: var(--accent-2); }
.nda-ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent-2); animation: siRing 2.8s cubic-bezier(.2,.6,.3,1) infinite; }
.nda-ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nda h3 { margin: 0 0 8px; font: 600 clamp(19px, 2vw, 24px)/1.25 var(--sans); color: var(--ink); }
.nda p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.deck-tag { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(143,208,255,.45); background: rgba(3,5,11,.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.deck-tag svg { width: 13px; height: 13px; color: var(--accent-2); }
.deck { margin-top: 40px; }
.deck-stage { position: relative; height: min(calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) * 9 / 16), calc(100svh - 230px)); min-height: 360px; touch-action: pan-y; }
.deck-card { position: absolute; inset: 0; margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.95); transform: translateX(calc(100% + 10vw)) rotate(4deg); transition: transform 1s var(--ease), filter 1s var(--ease), opacity 1s var(--ease); will-change: transform; }
.deck-card.cur { transform: none; }
.deck-card.under { transform: scale(.92) translateY(-4%); filter: brightness(.4); }
.deck-card.gone { transform: scale(.85) translateY(-8%); filter: brightness(.25); opacity: 0; }
.deck-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deck-card.cur img { animation: deckZoom 10s ease-in-out infinite alternate; }
@keyframes deckZoom { to { transform: scale(1.07) translate(-1%, -1%); } }
.deck-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 64px 28px 26px; background: linear-gradient(180deg, rgba(3,5,11,0), rgba(3,5,11,.88)); }
.deck-card figcaption b { font: 400 clamp(24px, 2.6vw, 36px)/1.12 var(--serif); }
.deck-card figcaption span { color: var(--ink-2); font-size: 15px; }
.deck-card figcaption .deck-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.deck-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.deck-dots { display: flex; gap: 6px; }
.deck-dot { width: 34px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.deck-dot::before { content: ""; grid-area: 1 / 1; height: 3px; border-radius: 2px; background: var(--line-2); }
.deck-dot i { grid-area: 1 / 1; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.deck.manual .deck-dot[aria-current="true"] i { transform: none; }
html:not(.js) .deck-stage { height: auto; display: grid; gap: 16px; }
html:not(.js) .deck-card { position: relative; transform: none; aspect-ratio: 16 / 9; }
@media (max-width: 860px) {
  .deck { margin-top: 28px; }
  .nda { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .nda-ico { width: 56px; height: 56px; }
  .nda p { font-size: 15px; }
  .deck-stage { height: min(calc((100vw - 2 * var(--gutter)) * 5 / 4), calc(100svh - 220px)); }
  .deck-card figcaption { padding: 48px 18px 18px; }
  .deck-card figcaption span { font-size: 14px; }
  .deck-dot { width: 24px; }
  .deck-bar .gal-arrow { display: grid; width: 44px; height: 44px; }
}

/* 6. Values: four cards rise one by one, icons draw themselves */
.vals { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.val { --d: 0s; position: relative; padding: 26px 24px 30px; border: 1px solid var(--line); border-radius: var(--r-m); background: linear-gradient(180deg, rgba(16,26,48,.78), rgba(11,19,36,.55)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; transition: opacity .8s var(--ease) var(--d), transform .8s var(--ease) var(--d), border-color .3s; }
.val::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(95,176,232,0)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) calc(var(--d) + .3s); }
.val:nth-child(2) { --d: .14s; } .val:nth-child(3) { --d: .28s; } .val:nth-child(4) { --d: .42s; }
.vals.settled .val { --d: 0s; }
.val:hover { border-color: var(--line-2); }
.vals.settled .val:hover { transform: translateY(-4px); }
.val-top { display: flex; align-items: center; justify-content: space-between; }
.val-ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(95,176,232,.08); color: var(--accent-2); display: grid; place-items: center; }
.val-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.val-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.val h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); margin: 26px 0 10px; }
.val p { margin: 0; color: var(--ink-2); font-size: 15px; }
.js .val { opacity: 0; transform: translateY(26px); }
.js .vals.in .val { opacity: 1; transform: none; }
.vals.in .val::before, html:not(.js) .val::before { transform: scaleX(1); }
.js .val-ico svg * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--d) + .35s); }
.js .vals.in .val-ico svg * { stroke-dashoffset: 0; }
@media (max-width: 1100px) { .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vals { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; } .val h3 { margin-top: 18px; } }

/* 7. Request form */
.req { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contacts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contacts li { display: grid; gap: 4px; }
.contacts .k { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contacts a, .contacts .v { font-size: 18px; text-decoration: none; }
.contacts a:hover { color: var(--accent-2); }
.form { position: relative; background: rgba(11,19,36,.78); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 500 13px/1.3 var(--sans); color: var(--ink-2); margin-bottom: 8px; }
.field .req-mark { color: var(--accent-2); }
.input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--space-1); color: var(--ink); font: 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: rgba(150,185,230,.45); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(95,176,232,.16); }
.input:user-invalid, .input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8b5c8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field-err { margin: 6px 0 0; font-size: 13px; color: var(--danger); }
.form .btn { width: 100%; min-height: 54px; font-size: 16px; }
.form-msg { border-radius: 10px; padding: 14px 16px; font-size: 15px; margin: 0; }
.form-msg.ok { background: rgba(127,224,166,.08); border: 1px solid rgba(127,224,166,.4); color: var(--ok); }
.form-msg.err { background: rgba(255,138,122,.08); border: 1px solid rgba(255,138,122,.4); color: var(--danger); }
.form-msg a { color: inherit; }
.form-noscript { margin: 0; font-size: 14px; color: var(--ink-2); }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.input-file { padding: 12px 16px; cursor: pointer; }
.input-file::file-selector-button { margin-right: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-3); color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer; }
.input-file::file-selector-button:hover { border-color: var(--accent); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; font: 400 14px/1.45 var(--sans); color: var(--ink-2); margin: 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--ink); }
.check a:hover { color: var(--accent-2); }
.check-sm { font-size: 13px; }
.field-check[data-invalid="true"] .check, .asst-form .check[data-invalid="true"] { color: var(--danger); }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* Footer */
.ftr { border-top: 1px solid var(--line); background: rgba(3,5,11,.72); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.ftr-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--serif); letter-spacing: .06em; }
.ftr-logo img { height: 48px; width: auto; }
.ftr-brand p { margin: 14px 0 0; color: var(--ink-2); font-size: 14px; max-width: 40ch; }
.ftr-brand .ftr-req { margin-top: 10px; font: 12px/1.5 var(--mono); color: var(--ink-3); }
.ftr-nav { display: grid; gap: 10px; }
.ftr-nav a, .ftr-contacts a { text-decoration: none; color: var(--ink-2); font-size: 14px; }
.ftr-nav a:hover, .ftr-contacts a:hover { color: var(--ink); }
.ftr-contacts { font-style: normal; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.ftr-contacts .ftr-phone { font: 500 16px/1.2 var(--mono); color: var(--ink); }
@media (max-width: 860px) { .ftr-in { grid-template-columns: 1fr; } .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* 4. Assistant */
.asst { display: none; }
.js .asst { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.js .asst.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.asst-bubble { max-width: 260px; text-align: left; background: var(--surface-3); color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px 16px 4px 16px; padding: 12px 14px; font: 14px/1.45 var(--sans); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); transition: opacity .3s; }
.asst-bubble:hover { border-color: var(--accent); }
.asst.at-form .asst-bubble, .asst.in-gal .asst-bubble { display: none; }
/* Phones: the fixed button would sit on top of the hero line and the gallery arrows, so it waits until they are gone. */
@media (max-width: 860px) {
  .js .asst.on.in-hero:not(.open), .js .asst.on.in-gal:not(.open) { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
}
.asst-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 6px rgba(95,176,232,.14), 0 14px 30px -10px rgba(95,176,232,.6); transition: transform .2s var(--ease); }
.asst-fab:hover { transform: scale(1.06); }
.asst-fab svg { width: 24px; height: 24px; }
.asst-panel { width: min(360px, calc(100vw - 32px)); box-sizing: border-box; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); display: grid; gap: 12px; }
.asst-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asst-panel h3 { margin: 0; font: 600 16px/1.2 var(--sans); }
.asst-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; font-size: 16px; line-height: 1; }
.asst-form { display: grid; gap: 12px; position: relative; }
.asst-panel textarea { min-height: 96px; }
.asst-done { margin: 0; font-size: 14px; color: var(--ok); }
.asst-done a { color: var(--ink); }

/* Уведомление о cookie (cookie.js). Слева внизу; на телефоне на всю ширину, «Вопрос сотруднику» поднимается над ним. */
.cookie { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); box-sizing: border-box; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: rgba(16,26,48,.95); border: 1px solid var(--line-2); border-radius: var(--r-m); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); }
.cookie p { margin: 0; font: 13px/1.45 var(--sans); color: var(--ink-2); }
.cookie a { color: var(--ink); }
.cookie .btn { flex: none; }
@media (max-width: 860px) {
  .js.cookie-open .asst { bottom: calc(28px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px)); }
  /* First screen: the headline and the hint stand above the notice instead of under it */
  .js.cookie-open .hero-foot { bottom: calc(132px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px)); }
  .js.cookie-open .si-hint { bottom: calc(20px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .cookie { gap: 12px; padding: 10px 12px; }
  .cookie p { font-size: 12px; line-height: 1.4; }
  .cookie .btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .si-glow, .si-hint-ico i, .si-hint-ico::before, .si-hint-ico::after { animation: none !important; }
  .js .si-hint { display: none; }
  .ds-cv, .ds-caps { display: none; }
  .js .st { opacity: 1; transform: none; transition: none; }
  .js .si-track { height: 100svh; }
  .js .spacer { height: 0; }
  .gal-track, .gal-card, .btn, .brand, .asst { transition: none !important; }
  .gal-arrow.nudge, .gal-side.nudge { animation: none; }
  .deck-card, .val, .val::before, .val-ico svg * { transition: none !important; }
  .deck-card.cur img, .nda-ico::after { animation: none; }
  .js .val { opacity: 1; transform: none; }
  .js .val-ico svg * { stroke-dashoffset: 0; }
}

/* ============ Окно «отправить на проработку» ============ */
.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--surface-1); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(3,5,11,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-in { position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); }
.modal-title { font: 400 clamp(22px, 2.6vw, 30px)/1.15 var(--serif); margin: 0; padding-right: 40px; }
.modal-sub { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.modal-chip { margin: 0; justify-self: start; padding: 9px 14px; border: 1px solid var(--accent); border-radius: 999px; background: rgba(95,176,232,.12); font: 500 14px/1 var(--sans); color: var(--ink); }
.modal-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8,14,28,.6); color: var(--ink-2); font-size: 14px; cursor: pointer; transition: color .2s, border-color .2s; }
.modal-x:hover { color: var(--ink); border-color: var(--accent); }
.modal-in .btn { width: 100%; min-height: 54px; font-size: 16px; }
.modal-in .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .modal-in .row2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .modal[open] { animation: modalIn .28s cubic-bezier(.2,.7,.2,1); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } }

/* ============ Конфигуратор: страница «соберите сервер под задачу» ============ */
.conf { padding: calc(var(--header-h) + 44px) 0 90px; }
.conf-head { max-width: 860px; }
.conf-head h1 { font: 400 clamp(32px, 4.6vw, 54px)/1.05 var(--serif); margin: 14px 0 0; text-wrap: balance; }
.conf-head .lede { margin: 16px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 62ch; }
.conf-alt { font-size: 15px; color: var(--ink-3); }
.conf-alt a { color: var(--accent-2); }
.conf-form { margin-top: 40px; }
.conf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.conf-steps { display: grid; gap: 20px; min-width: 0; }
.conf-step { margin: 0; border: 1px solid var(--line); border-radius: var(--r-l); background: rgba(11,19,36,.72); padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 16px; }
.conf-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 400 clamp(20px, 2.2vw, 26px)/1.2 var(--serif); padding: 0 0 6px; }
.conf-step legend + * { clear: both; }
.conf-num { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--accent); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 10px; }
.conf-sub { margin: 0; }
.conf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.conf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--space-1); color: var(--ink-2); font: 500 14px/1.3 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.tile input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); cursor: pointer; }
.tile:hover { border-color: rgba(150,185,230,.5); color: var(--ink); }
.tile:has(input:checked) { border-color: var(--accent); background: rgba(95,176,232,.12); color: var(--ink); }
.tile:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(95,176,232,.16); }
.conf-step .btn { width: 100%; min-height: 54px; font-size: 16px; margin-top: 4px; }
.conf-sum { position: sticky; top: calc(var(--header-h) + 16px); }
.conf-sum-in { border: 1px solid var(--line); border-radius: var(--r-l); background: rgba(16,26,48,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 22px; }
.conf-sum h2 { font: 400 22px/1.2 var(--serif); margin: 0 0 14px; }
.conf-sum-list { margin: 0; display: grid; gap: 12px; }
.conf-sum-list > div { display: grid; gap: 3px; }
.conf-sum-list dt { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.conf-sum-list dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.conf-sum-empty dd { color: var(--ink-3); }
.conf-est { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(95,176,232,.08); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.conf-next { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 1000px) {
  .conf-grid { grid-template-columns: 1fr; }
  .conf-sum { position: static; order: -1; }
  .conf-sum.empty { display: none; }
}

/* ============ Документы (политика) ============ */
.doc { padding: calc(var(--header-h) + 48px) 0 80px; }
.doc-in { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 50px); }
.doc h2 { font: 400 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); margin: 44px 0 12px; }
.doc p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.doc .todo { color: var(--accent-2); border-bottom: 1px dashed var(--accent); }
.doc-back { margin-top: 48px; }
.doc-back a { color: var(--ink); }

/* =====================================================================
   КОНЦЕПТ shell-2026-11: цифровая оболочка над планетой.
   Описание системы: mockups/shell-2026-11/design-direction.md
   Два слоя одного космоса:
   - оболочка (сайт и всё цифровое): фиолетово-бирюзовый сигнал, точечная сетка, стеклянные панели, моно-метки;
   - планета (серверы, сеть): прежний синий акцент, линейная сетка, плотные тёмные панели.
   Засечки остаются только в логотипе, заголовки гротеском (ревизия, п. 4.3).
   ===================================================================== */
:root {
  --sh-a: #7ce7f2; --sh-b: #a594ff;
  --sh-line: rgba(165,148,255,.22); --sh-line-2: rgba(124,231,242,.38);
  --live: #7fe0a6;
  --sig: linear-gradient(110deg, var(--sh-b), var(--sh-a) 58%, var(--accent));
}

/* Заголовки: гротеск вместо засечек */
.h2 { font: 600 clamp(32px, 4.4vw, 58px)/1.04 var(--sans); letter-spacing: -.025em; margin: 0; }
.card-title, .sc .card-title { font-family: var(--sans); font-weight: 600; letter-spacing: -.015em; }
.modal-title, .conf-head h1, .conf-sum h2, .conf-step legend, .doc h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.ds-line { font: 600 clamp(28px, 4vw, 54px)/1.05 var(--sans); letter-spacing: -.02em; }
.h3x { font: 600 clamp(24px, 2.6vw, 34px)/1.15 var(--sans); letter-spacing: -.015em; margin: 0; }
.lede { margin-top: 16px; }

/* Текстовые эффекты (по мотивам CSS Text Effects): бегущий блик и статичный градиент */
.tx-shine, .tx-grad { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tx-grad { background-image: var(--sig); }
.tx-shine { background-image: linear-gradient(100deg, var(--sh-b) 0%, var(--sh-a) 38%, #f4fbff 50%, var(--sh-a) 62%, var(--sh-b) 100%); background-size: 250% 100%; animation: txShine 7s linear infinite; }
@keyframes txShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Кнопки: сигнальная (цифровой слой) и стеклянная. Синяя .btn-primary остаётся у планеты */
.btn-sig { position: relative; overflow: hidden; isolation: isolate; color: #05101c; background: var(--sig); box-shadow: 0 12px 30px -12px rgba(124,231,242,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-sig::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); animation: btnSweep 4s var(--ease) infinite; }
@keyframes btnSweep { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-sig:hover { box-shadow: 0 0 0 6px rgba(124,231,242,.14), 0 16px 36px -10px rgba(165,148,255,.65); }
.btn-glass { background: rgba(255,255,255,.04); color: var(--ink); border-color: rgba(165,148,255,.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.btn-glass:hover { border-color: var(--sh-a); background: rgba(124,231,242,.08); }

/* Живая точка «работает» */
.live { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(127,224,166,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(127,224,166,0); } }

/* ---------- Шапка: видна с первого кадра, меню на узком экране ---------- */
.nav { gap: 22px; }
.hdr-phone { display: none; font: 500 15px/1 var(--mono); color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr-phone:hover { color: var(--sh-a); }
.hdr-call { width: 44px; height: 44px; padding: 0; justify-content: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--ink); box-shadow: none; }
.hdr-call:hover { background: rgba(124,231,242,.1); box-shadow: none; filter: none; }
@media (min-width: 1240px) { .hdr-phone { display: inline; } .hdr-call { display: none; } }
.wd .hdr:not(.solid) .hdr-req { opacity: 1; pointer-events: auto; }
@media (min-width: 1100px) { .wd .hdr:not(.solid) .nav { opacity: 1; pointer-events: auto; } }
/* Логотип в шапке появляется, когда к нему долетел знак со сцены */
.js.wdone .brand { opacity: 1; transform: none; }
.burger { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(8,14,28,.6); cursor: pointer; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.nav-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1099px) {
  .burger { display: inline-block; }
  .hdr-call { margin-left: auto; }
  .nav { display: flex !important; position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); flex-direction: column; gap: 0; margin: 0; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(8,12,26,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .nav a { padding: 15px 12px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-open .nav, .nav-open .hdr:not(.solid) .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
}
@media (max-width: 900px) { .hdr-call { height: 42px; width: 42px; padding: 0; font-size: 0; } }
@media (max-width: 420px) { .hdr .btn.hdr-req { padding: 0 12px; font-size: 13px; } .burger { width: 42px; height: 42px; } .burger i:first-child { top: 16px; } .burger i:last-child { top: 24px; } .nav-open .burger i { top: 20px !important; } }

/* ---------- 1. Первый экран: оффер слева, оболочка справа ---------- */
.si-track, .js .si-track { height: 100vh; height: 100svh; min-height: 640px; }
.si-stage { position: relative; top: auto; height: 100%; }
.si-bar { display: none; }
.hero-in { height: 100%; box-sizing: border-box; display: flex; align-items: center; padding-top: var(--header-h); }
.offer { position: relative; z-index: 3; max-width: min(560px, 44vw); }
.offer-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 7px 13px 7px 11px; border: 1px solid var(--sh-line); border-radius: 999px; background: rgba(14,22,44,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.offer-h1 { margin: 0; font: 600 clamp(40px, 4.9vw, 70px)/1.02 var(--sans); letter-spacing: -.032em; text-wrap: balance; }
.offer-sub { margin: 22px 0 0; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.offer-sub b { font-weight: 600; color: #fff; background: linear-gradient(transparent 60%, rgba(124,231,242,.24) 0); }
.offer-more { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); max-width: 50ch; }
.offer-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Оффер появляется сам, на CSS: не зависит от скрипта и CDN. К 1,2 с всё на месте */
.js .offer > * { animation: offerIn .8s var(--ease) both; animation-delay: calc(.3s + var(--i) * .11s); }
@keyframes offerIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.si-hint-txt { font-size: 11.5px; }
/* Кнопки-спутники цифрового кольца */
.si-sat-dig .si-sat-ring { fill: #0e0f2c; stroke: rgba(165,148,255,.8); }
.si-sat-dig:hover .si-sat-ring, .si-sat-dig:focus-visible .si-sat-ring { fill: #1b1946; stroke: var(--sh-a); }
.si-sat-dig .si-sat-lab { fill: #ddd7ff; }
@media (max-width: 999px) {
  .hero-in { align-items: flex-start; padding-top: calc(var(--header-h) + 18px); }
  .offer { max-width: 620px; }
  .offer-h1 { font-size: clamp(34px, 8.4vw, 52px); }
  .offer-sub { margin-top: 14px; font-size: 16px; }
  .offer-more { display: none; }
  .offer-eyebrow { margin-bottom: 14px; }
  .offer-cta { margin-top: 20px; gap: 10px; }
  .js .si-hint { display: none; }
}
@media (max-width: 480px) { .offer-cta .btn { flex: 1 1 auto; min-height: 46px; padding: 0 16px; font-size: 14.5px; } }

/* ---------- Секции цифрового слоя ---------- */
.shell::before { background-image: radial-gradient(rgba(165,148,255,.2) 1px, transparent 1.6px); background-size: 24px 24px; }
.layer-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sh-a); }
.layer-tag i { width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--sh-b), var(--sh-a)); box-shadow: 0 0 12px rgba(124,231,242,.6); }
.layer-tag-hw { color: var(--accent); }
.layer-tag-hw i { border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(95,176,232,.6); }
/* Стеклянная панель (Liquid Glass на CSS: размытие фона и блик сверху, без SVG-преломления) */
.gl { position: relative; border: 1px solid var(--sh-line); border-radius: var(--r-l); background: linear-gradient(180deg, rgba(28,36,74,.62), rgba(10,15,32,.62)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -34px rgba(0,0,0,.9); }
/* Подсветка под курсором: рамка и мягкое пятно (координаты пишет main.js) */
.spot { --mx: 50%; --my: 0%; }
.spot::before { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(124,231,242,.8), rgba(165,148,255,.35) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(124,231,242,.08), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
/* Появление при входе в экран (main.js) и скрытые до анимации элементы, только если Anime.js загрузился */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s), border-color .3s; }
.js .rv.in { opacity: 1; transform: none; }
.am [data-am] { opacity: 0; }
.sec-cta { margin-top: 36px; }

/* Списки с отметками */
.col-k { margin: 0 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: .38em; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(165,148,255,.6); }
.ticks-ok li { color: var(--ink); }
.ticks-ok li::before { left: 0; top: .2em; width: 17px; height: 17px; border: 0; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.8' fill='none' stroke='%2305101c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat, linear-gradient(135deg, var(--sh-b), var(--sh-a)); }

/* ---------- 2. Лендинг: окно браузера собирает страницу ---------- */
.lp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); margin-top: 52px; align-items: start; }
.lp-demo { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 210px); gap: 12px; }
.bw { grid-column: 1 / -1; overflow: hidden; }
.bw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--sh-line); }
.bw-bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.bw-url { flex: 1; min-width: 0; margin: 0 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); font: 12px/1 var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-state { flex: none; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sh-a); padding: 6px 9px; border: 1px solid var(--sh-line-2); border-radius: 999px; transition: color .3s, border-color .3s; }
.lp.ready .bw-state { color: var(--live); border-color: rgba(127,224,166,.5); }
.bw-body { display: grid; gap: 10px; padding: 14px; }
.lp-b { border: 1px dashed rgba(165,148,255,.3); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.02); }
.lp-nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.lp-nav b { width: 26px; height: 18px; border-radius: 4px; background: var(--sig); }
.lp-nav span { width: 42px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); }
.lp-nav em { margin-left: auto; width: 70px; height: 20px; border-radius: 999px; background: rgba(124,231,242,.4); }
.lp-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 9px 16px; padding: 18px; }
.lp-hero i { grid-column: 1; height: 9px; border-radius: 4px; background: rgba(255,255,255,.2); }
.lp-hero .l1 { height: 16px; width: 92%; background: rgba(255,255,255,.55); }
.lp-hero .l2 { width: 72%; } .lp-hero .l3 { width: 82%; opacity: .6; }
.lp-hero .lp-btn { grid-column: 1; width: 112px; height: 26px; margin-top: 6px; border-radius: 999px; background: var(--sig); }
.lp-pic { grid-column: 2; grid-row: 1 / 5; min-height: 92px; border-radius: 10px; background: radial-gradient(circle at 38% 40%, rgba(124,231,242,.38), transparent 60%), linear-gradient(135deg, rgba(165,148,255,.28), rgba(95,176,232,.1)); }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-cards i { height: 52px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); }
.lp-form { position: relative; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.lp-form i { height: 24px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.lp-form .lp-btn { width: 84px; height: 26px; border-radius: 999px; background: rgba(124,231,242,.55); }
.lp-ok { position: absolute; right: 10px; top: -13px; padding: 5px 8px; border-radius: 6px; background: var(--live); color: #06140d; font: 500 11px/1 var(--mono); font-style: normal; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lp.sent .lp-ok { opacity: 1; transform: none; }
.lp-log { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 7px; border-radius: var(--r-m); font: 12.5px/1.35 var(--mono); color: var(--ink-2); }
.lp-log li { display: flex; gap: 10px; }
.lp-log span { color: var(--sh-b); }
.lp-log b { margin-left: auto; font-weight: 500; color: var(--live); }
.lp-log li:last-child { color: var(--ink); }
.lp-price { display: grid; align-content: center; gap: 8px; padding: 18px; border-radius: var(--r-m); }
.lp-price .k { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lp-price b { font: 600 clamp(24px, 2.4vw, 34px)/1.05 var(--sans); letter-spacing: -.02em; -webkit-background-clip: text; background-clip: text; color: transparent; background-image: var(--sig); font-variant-numeric: tabular-nums; }
.lp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; align-content: start; }
.lp-diff { grid-column: 1 / -1; padding: 20px 22px; border-left: 2px solid var(--sh-a); border-radius: 0 12px 12px 0; background: linear-gradient(90deg, rgba(124,231,242,.09), rgba(124,231,242,0)); }
.lp-diff p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.lp-cols > .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 1100px) { .lp { grid-template-columns: 1fr; } .lp-demo { position: relative; top: auto; max-width: 720px; } }
@media (max-width: 640px) {
  .lp-cols { grid-template-columns: 1fr; }
  .lp-demo { grid-template-columns: 1fr; }
  .lp-price { grid-template-columns: auto 1fr; align-items: baseline; }
  .lp-price b { grid-row: 1 / 3; grid-column: 2; justify-self: end; }
  .lp-cols > .btn { justify-self: stretch; }
}

/* ---------- 3. Сторож ---------- */
.watch-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.watch-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.watch-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.ws-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--sh-line); background: rgba(165,148,255,.08); color: var(--sh-a); }
.ws-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-bad { color: #ffb4a8; background: rgba(255,138,122,.08); border-color: rgba(255,138,122,.32); }
.ws-ok { color: var(--live); background: rgba(127,224,166,.08); border-color: rgba(127,224,166,.32); }
.watch-steps b { display: block; font: 600 17px/1.3 var(--sans); }
.watch-steps li > div > span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.watch-case { display: flex; align-items: center; gap: 10px; margin: 26px 0 24px; font: 500 14px/1.45 var(--mono); color: var(--ink); }
.wconsole { padding: 18px 18px 16px; overflow: hidden; }
.wc-head { display: flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.wc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); transition: background .3s, box-shadow .3s; }
.wconsole.down .wc-dot { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.wc-site { margin-left: auto; color: var(--ink); letter-spacing: .03em; text-transform: none; }
.wc-map { position: relative; margin: 8px 0 4px; }
.wc-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.wc-link { fill: none; stroke: rgba(165,148,255,.28); stroke-width: 1.5; stroke-dasharray: 3 5; }
.wc-ping { fill: none; stroke: var(--sh-a); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 94; animation: wcPing 1.5s linear infinite; }
.wc-ping2 { animation-delay: -.75s; }
@keyframes wcPing { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.wconsole.down .wc-ping { stroke: var(--danger); }
.wc-node circle { fill: #0d1430; stroke: rgba(165,148,255,.65); stroke-width: 1.5; }
.wc-node text { fill: var(--ink); font: 600 14px var(--mono); text-anchor: middle; }
.wc-site-node rect { fill: #0b1530; stroke: var(--sh-a); stroke-width: 1.5; transition: stroke .3s; }
.wc-site-node path { fill: none; stroke: rgba(124,231,242,.5); stroke-width: 1.5; }
.wc-site-node .wc-l { stroke: rgba(255,255,255,.32); stroke-linecap: round; transition: opacity .3s; }
.wc-halo { fill: rgba(127,224,166,.07); stroke: rgba(127,224,166,.4); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: wcHalo 2.4s ease-out infinite; }
@keyframes wcHalo { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.wconsole.down .wc-halo { fill: rgba(255,138,122,.12); stroke: rgba(255,138,122,.7); }
.wconsole.down .wc-site-node rect { stroke: var(--danger); }
.wconsole.down .wc-l { opacity: 0; }
.wc-lab { position: absolute; left: 24%; font: 11px/1 var(--mono); color: var(--ink-3); }
.wc-la { top: 29%; left: 17%; }
.wc-ticks { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 2px; height: 30px; }
.wc-ticks i { border-radius: 2px; background: rgba(255,255,255,.06); }
.wc-ticks i.ok { background: rgba(127,224,166,.6); }
.wc-ticks i.bad { background: var(--danger); box-shadow: 0 0 8px rgba(255,138,122,.8); }
.wc-k { display: block; margin-top: 8px; font: 11px/1 var(--mono); color: var(--ink-3); text-align: right; }
.wc-msgs { display: grid; gap: 10px; margin-top: 14px; min-height: 140px; align-content: start; }
.wc-msg { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; padding: 12px 14px; border: 1px solid; border-radius: 12px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.wc-msg b { font: 600 14.5px/1.2 var(--sans); }
.wc-msg span { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.wc-msg em { grid-column: 2; grid-row: 1; justify-self: end; font: 11px/1.4 var(--mono); font-style: normal; color: var(--ink-3); }
.wc-msg-bad { border-color: rgba(255,138,122,.45); background: rgba(255,138,122,.08); }
.wc-msg-bad b { color: #ffb4a8; }
.wc-msg-ok { border-color: rgba(127,224,166,.45); background: rgba(127,224,166,.08); }
.wc-msg-ok b { color: var(--live); }
.wconsole.down .wc-msg-bad, .wconsole.up .wc-msg-bad, .wconsole.up .wc-msg-ok { opacity: 1; transform: none; }
.wconsole.up .wc-msg-bad { opacity: .45; }
@media (max-width: 960px) { .watch-grid { grid-template-columns: 1fr; } }

/* ---------- 4. Что растёт от сайта: дерево с лучами ---------- */
.tree { position: relative; margin-top: 56px; display: grid; gap: 72px; }
.tree-beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.beam-base { fill: none; stroke: rgba(165,148,255,.18); stroke-width: 1.2; }
.beam-run { fill: none; stroke: var(--sh-a); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 90; animation: beamRun 3.2s linear infinite; filter: drop-shadow(0 0 4px rgba(124,231,242,.9)); }
@keyframes beamRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.node { position: relative; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.node h3 { margin: 4px 0 0; font: 600 19px/1.22 var(--sans); letter-spacing: -.01em; }
.node p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.node-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--sh-b); }
.node p.node-live { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font: 12px/1.4 var(--mono); color: var(--ink-3); }
.node-live a { color: var(--sh-a); }
.node-root { width: 100%; max-width: 780px; margin-inline: auto; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; padding: 26px; }
.node-root h3 { font-size: 26px; }
.node-root .node-txt { display: flex; flex-direction: column; gap: 6px; }
.tree-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tree-down { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; text-align: center; }
.tree-down-txt { margin: 0; max-width: 30ch; font: 600 clamp(20px, 2.2vw, 28px)/1.25 var(--sans); letter-spacing: -.01em; }
.tree-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tree-chips li { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(95,176,232,.4); background: rgba(95,176,232,.1); font: 500 13px/1 var(--mono); color: var(--accent-2); }
/* Мини-интерфейсы в карточках: что именно делает слой */
.mv { position: relative; height: 96px; margin-bottom: 12px; padding: 10px; box-sizing: border-box; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.node-root .mv { height: 150px; margin: 0; }
.mv-site .mv-bar { display: flex; gap: 5px; margin-bottom: 12px; }
.mv-site .mv-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mv-site b { display: block; width: 78%; height: 12px; border-radius: 4px; background: rgba(255,255,255,.5); margin-bottom: 9px; }
.mv-site span { display: block; height: 7px; border-radius: 3px; background: rgba(255,255,255,.16); margin-bottom: 7px; }
.mv-site span + span { width: 64%; }
.mv-site em { position: absolute; left: 10px; bottom: 12px; width: 96px; height: 24px; border-radius: 999px; background: var(--sig); animation: mvPress 3.4s ease-in-out infinite; }
@keyframes mvPress { 0%, 70%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124,231,242,.5); } 76% { transform: scale(.94); } 84% { box-shadow: 0 0 0 10px rgba(124,231,242,0); } }
.mv-crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mv-crm > div { display: grid; align-content: start; gap: 5px; }
.mv-crm span { font: 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.mv-crm .c { height: 15px; border-radius: 4px; background: rgba(255,255,255,.09); }
.mv-crm .c1 { position: relative; z-index: 1; background: var(--sig); animation: mvCrm 5s var(--ease) infinite; }
@keyframes mvCrm { 0%, 14% { transform: translateX(0); } 36%, 56% { transform: translateX(calc(100% + 8px)); } 78%, 100% { transform: translateX(calc(200% + 16px)); } }
.mv-book { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.mv-book i { padding: 6px 0; border-radius: 6px; text-align: center; font: 11px/1 var(--mono); font-style: normal; color: var(--ink-3); background: rgba(255,255,255,.05); }
.mv-book .sel { color: #05101c; animation: mvSel 4s ease-in-out infinite; }
@keyframes mvSel { 0%, 20% { background: rgba(255,255,255,.05); color: var(--ink-3); } 30%, 100% { background: var(--sh-a); color: #05101c; } }
.mv-book b { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 5px 9px; border-radius: 6px; background: rgba(127,224,166,.16); color: var(--live); font: 500 11px/1 var(--mono); animation: mvPaid 4s ease-in-out infinite; }
@keyframes mvPaid { 0%, 45% { opacity: 0; transform: translateY(6px); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mv-chat { display: grid; gap: 6px; align-content: start; }
.mv-chat i { display: block; height: 16px; border-radius: 8px 8px 8px 2px; background: rgba(255,255,255,.1); width: 70%; }
.mv-chat .out { justify-self: end; width: 56%; border-radius: 8px 8px 2px 8px; background: linear-gradient(110deg, rgba(165,148,255,.55), rgba(124,231,242,.45)); }
.mv-chat .short { width: 40%; }
.mv-chat b { display: inline-flex; gap: 4px; padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,.08); width: max-content; }
.mv-chat s { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-2); animation: mvDot 1.2s ease-in-out infinite; }
.mv-chat s:nth-child(2) { animation-delay: .15s; } .mv-chat s:nth-child(3) { animation-delay: .3s; }
@keyframes mvDot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
.mv-conf .st4 { position: relative; display: flex; justify-content: space-between; margin: 4px 4px 14px; }
.mv-conf .st4::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.1); }
.mv-conf .st4::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 66%; background: var(--sig); animation: mvStep 4.5s ease-in-out infinite; }
@keyframes mvStep { 0% { width: 0; } 70%, 100% { width: 100%; } }
.mv-conf .st4 i { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: #121a36; border: 1.5px solid rgba(255,255,255,.25); }
.mv-conf .st4 i.on { border-color: var(--sh-a); background: var(--sh-a); }
.mv-conf span { display: block; height: 7px; border-radius: 3px; background: rgba(255,255,255,.14); margin-bottom: 7px; }
.mv-conf span.short { width: 50%; }
@media (max-width: 1100px) { .tree-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .tree { gap: 40px; }
  .tree-row { gap: 40px 16px; }
}
@media (max-width: 640px) {
  .tree-row { grid-template-columns: 1fr; }
  .node-root { grid-template-columns: 1fr; padding: 20px; }
  .node-root .mv { order: -1; height: 120px; }
}

/* ---------- 5. Спуск сквозь слои ---------- */
.descent { position: relative; z-index: 1; }
.dsc-track { position: relative; height: 340vh; }
.dsc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dsc-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dsc-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; pointer-events: none; background: linear-gradient(180deg, rgba(3,5,11,0), var(--space-0)); }
.dsc-caps { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); height: 120px; z-index: 2; pointer-events: none; }
.dsc-cap, .dsc-msk { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: grid; justify-items: center; gap: 10px; padding-inline: var(--gutter); text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.dsc-msk { z-index: 2; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
.dsc-cap.on, .dsc-msk.on { opacity: 1; transform: none; }
.dsc-cap .ds-line, .dsc-msk .ds-line { text-shadow: 0 2px 30px rgba(3,5,11,.9); }
.dsc-cap[data-dig] .ds-eyebrow { color: var(--sh-a); }
.dsc-rail { position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); display: grid; gap: 20px; }
.dsc-rail::before, .dsc-rail b { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; }
.dsc-rail::before { background: rgba(255,255,255,.12); }
.dsc-rail b { background: linear-gradient(var(--sh-b), var(--sh-a) 55%, var(--accent)); transform-origin: 50% 0; transform: scaleY(0); }
.dsc-rail i { position: relative; z-index: 1; width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: var(--space-0); transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.dsc-rail i.past { background: var(--sh-b); border-color: var(--sh-b); }
.dsc-rail i:nth-child(n+5).past { background: var(--accent); border-color: var(--accent); }
.dsc-rail i.on { transform: scale(1.45); border-color: var(--sh-a); box-shadow: 0 0 0 4px rgba(124,231,242,.18); }
@media (max-width: 640px) { .dsc-rail { gap: 14px; } .dsc-caps, .dsc-msk { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); } }
/* Без JS или при reduced motion: подписи слоёв строкой, без сцены */
html:not(.js) .dsc-track, .descent.static .dsc-track { height: auto; }
html:not(.js) .dsc-stage, .descent.static .dsc-stage { position: static; height: auto; padding-block: 48px; }
html:not(.js) .dsc-cv, html:not(.js) .dsc-rail, html:not(.js) .dsc-msk, .descent.static .dsc-cv, .descent.static .dsc-rail, .descent.static .dsc-msk { display: none; }
html:not(.js) .dsc-caps, .descent.static .dsc-caps { position: static; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-inline: var(--gutter); }
html:not(.js) .dsc-cap, .descent.static .dsc-cap { position: static; opacity: 1; transform: none; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
html:not(.js) .dsc-cap .ds-eyebrow, .descent.static .dsc-cap .ds-eyebrow { display: none; }
html:not(.js) .dsc-cap .ds-line, .descent.static .dsc-cap .ds-line { font-size: 15px; }

/* ---------- 6. Посадка: серверы и сеть ---------- */
.land { padding-top: clamp(32px, 7vh, 72px); }
.horizon { position: absolute; left: 0; right: 0; top: 0; height: 240px; z-index: -1; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(95,176,232,.24), transparent 70%); }
.infra { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.infra-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.infra-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.infra-steps li { display: grid; gap: 5px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(11,19,36,.72); color: var(--ink-3); font-size: 14px; }
.infra-steps span { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.infra-steps b { font: 600 16px/1.25 var(--sans); color: var(--ink); }
.sec-tight { padding-top: 56px; }
.also { position: relative; z-index: 1; padding-block: 8px 24px; }
.also-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also-list li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(11,19,36,.72); font-size: 15px; }
.also-list .also-k { padding-inline: 0; border: 0; background: none; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.also-list svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.also-note { margin: 14px 0 0; max-width: 80ch; font-size: 14px; color: var(--ink-3); }
@media (max-width: 960px) { .infra { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .infra-steps { grid-template-columns: 1fr; } .infra-cta .btn { flex: 1 1 auto; } }

/* ---------- 7. Что уже работает ---------- */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.wk { display: flex; flex-direction: column; overflow: hidden; }
.wk-vis { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--sh-line); }
.wk-vis-self { display: grid; place-items: center; background: radial-gradient(circle at 50% 58%, rgba(95,176,232,.2), transparent 62%); }
.wk-vis-self img { position: relative; z-index: 2; width: 96px; height: auto; filter: drop-shadow(0 0 24px rgba(143,208,255,.45)); }
.wk-orbit { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border: 1px dashed rgba(165,148,255,.4); border-radius: 50%; animation: wkSpin 36s linear infinite; }
.wk-orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--sh-a); box-shadow: 0 0 12px var(--sh-a); }
.wk-orbit i:nth-child(1) { top: -5px; left: 110px; } .wk-orbit i:nth-child(2) { bottom: 26px; left: 14px; background: var(--sh-b); box-shadow: 0 0 12px var(--sh-b); } .wk-orbit i:nth-child(3) { bottom: 36px; right: 8px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
@keyframes wkSpin { to { transform: rotate(360deg); } }
.wk-badge { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--sh-line); background: rgba(3,5,11,.6); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.wk-vis-ph { display: grid; align-content: center; gap: 22px; padding: 22px 24px; background: linear-gradient(135deg, rgba(165,148,255,.13), rgba(124,231,242,.04)); }
.ph-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ph-flow li { position: relative; padding: 8px 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); font: 500 12px/1 var(--mono); color: var(--ink-2); animation: phStep 6s ease-in-out infinite; }
.ph-flow li:nth-child(2) { animation-delay: .8s; } .ph-flow li:nth-child(3) { animation-delay: 1.6s; } .ph-flow li:nth-child(4) { animation-delay: 2.4s; } .ph-flow li:nth-child(5) { animation-delay: 3.2s; }
@keyframes phStep { 0%, 100% { border-color: rgba(255,255,255,.1); color: var(--ink-2); background: rgba(255,255,255,.05); } 8%, 30% { border-color: var(--sh-a); color: var(--ink); background: rgba(124,231,242,.12); } }
.ph-watch { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ph-watch span { margin-right: 6px; }
.ph-watch i { width: 12px; height: 12px; border-radius: 3px; background: var(--live); opacity: .3; animation: phBlink 2.4s ease-in-out infinite; }
.ph-watch i:nth-of-type(2n) { animation-delay: .3s; } .ph-watch i:nth-of-type(3n) { animation-delay: .6s; } .ph-watch i:nth-of-type(4n) { animation-delay: .9s; }
@keyframes phBlink { 0%, 100% { opacity: .3; } 40% { opacity: 1; box-shadow: 0 0 8px rgba(127,224,166,.8); } }
.ph-watch em { margin-left: auto; font-style: normal; }
.wk-body { flex: 1; display: grid; align-content: start; gap: 12px; padding: 24px 26px 26px; }
.wk h3 { margin: 0; font: 600 26px/1.15 var(--sans); letter-spacing: -.015em; }
.wk-k { margin: 0; color: var(--ink-2); }
.wk-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--sh-a); font-weight: 600; text-decoration: none; }
.wk-link svg, .bt-link svg { width: 14px; height: 14px; }
.wk-link:hover { color: #fff; }
.asof { margin: 0; font: 12px/1 var(--mono); color: var(--ink-3); }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; } }

/* ---------- 8. Команда: два варианта ---------- */
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8,14,28,.6); }
.seg-b { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer; transition: color .2s, background .2s; }
.seg-b:hover { color: var(--ink); }
.seg-b[aria-selected="true"] { background: var(--sig); color: #05101c; }
.pipe { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pipe::before { content: ""; position: absolute; left: 30px; right: 30px; top: 37px; height: 1px; background: linear-gradient(90deg, var(--sh-b), var(--sh-a) 72%, var(--accent)); opacity: .7; }
.pipe-i { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; }
.pipe-n { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--sh-b); background: #0d1230; font: 500 12px/1 var(--mono); color: var(--sh-a); }
.pipe-hw .pipe-n { border-color: var(--accent); color: var(--accent-2); }
.pipe-i h3 { margin: 6px 0 0; font: 600 17px/1.25 var(--sans); }
.pipe-i p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.pipe-i p.pipe-got { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--sh-line); color: var(--ink); font-size: 13.5px; }
.pipe-got span { display: block; margin-bottom: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sh-a); }
.team-note { margin: 24px 0 20px; color: var(--ink-3); font-size: 14px; }
.bento { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bt { display: flex; flex-direction: column; gap: 8px; min-height: 196px; padding: 22px; box-sizing: border-box; }
.bt-wide { grid-column: span 2; }
.bt-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--sh-line); background: rgba(165,148,255,.1); color: var(--sh-a); }
.bt-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bt h3 { margin: 8px 0 0; font: 600 19px/1.2 var(--sans); }
.bt p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.bt-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--sh-a); font: 600 14px/1 var(--sans); text-decoration: none; }
.bt-link:hover { color: #fff; }
.bt-muted, .bt-muted:hover { color: var(--ink-3); font-weight: 500; }
@media (max-width: 1100px) { .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pipe::before { display: none; } .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pipe, .bento { grid-template-columns: 1fr; } .bt-wide { grid-column: auto; } .seg { width: 100%; } .seg-b { flex: 1; padding: 0 10px; font-size: 13px; } }

/* ---------- 9. Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-btn { margin-top: 28px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(11,19,36,.68); transition: border-color .25s, background .25s, opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.faq details[open] { border-color: rgba(165,148,255,.45); background: rgba(16,22,48,.78); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; font: 600 17px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--sh-a), var(--sh-a)) center / 12px 1.5px no-repeat, linear-gradient(var(--sh-a), var(--sh-a)) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; border-radius: var(--r-m); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.faq details p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-btn { display: none; } }

/* Меньше движения: эффекты цифрового слоя стоят */
@media (prefers-reduced-motion: reduce) {
  .js .brand { opacity: 1; transform: none; }
  .js .offer > * { animation: none; }
  .tx-shine, .btn-sig::after, .live, .beam-run, .wc-ping, .wc-halo, .wk-orbit, .ph-flow li, .ph-watch i,
  .mv-site em, .mv-crm .c1, .mv-book .sel, .mv-book b, .mv-chat s, .mv-conf .st4::after { animation: none !important; }
  .mv-book b { opacity: 1; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .dsc-cap, .wc-msg, .lp-ok { transition: none; }
}

/* Карточка, к которой привела кнопка на кольце первого экрана */
.node.is-hl { animation: node-hl 3.2s ease-out; }
@keyframes node-hl { 0%, 55% { box-shadow: 0 0 0 2px rgba(165,148,255,.9), 0 0 36px rgba(143,208,255,.35); } 100% { box-shadow: 0 0 0 0 rgba(165,148,255,0); } }

/* Макет hub-2026-11: два направления в шапке, текущее подчёркнуто */
.nav-dir { color: var(--ink) !important; }
.nav-cur { position: relative; }
.nav-cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 1px; background: var(--sig); }

/* hub-2026-11: шапка в одну строку */
.nav a, .brand span { white-space: nowrap; }
.nav { gap: 22px; }
@media (max-width: 1340px) { .hdr-phone { display: none; } }

/* Аудит 24.11.2026: готовая программа в «Работах», оговорка про оферту в подвале */
.prod { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; }
.prod-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(124,231,242,.08); border: 1px solid var(--sh-line); }
.prod-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prod-k { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sh-a); }
.prod h3 { margin: 8px 0 6px; font: 600 19px/1.25 var(--sans); }
.prod-txt p:last-child { margin: 0; color: var(--ink-2); font-size: 15px; }
.prod-go svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .prod { grid-template-columns: 1fr; gap: 12px; padding: 18px; } .prod-go { justify-self: start; } }
.ftr-offer { margin-top: 10px; font-size: 12px; color: var(--ink-3); max-width: 40ch; }

/* ===== Телефон (мобильная ревизия 24.11.2026): «Цифровые решения» короче в два раза ===== */
@media (max-width: 760px) {
  .sec { padding-block: 56px; }
  .h2 { margin-bottom: 12px; }
  .lede { font-size: 15.5px; }
  main { display: flex; flex-direction: column; }
  main > * { order: 5; }
  main > #hero { order: 1; } main > .first-screen-end { order: 2; } main > #landing { order: 3; } main > #grows { order: 4; }
  .gl { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(24,32,66,.95), rgba(10,15,32,.95)); }
  .btn-sig::after { animation-iteration-count: 1; }
  .wk-vis { display: none; }
}
@media (max-width: 640px) {
  .tree { margin-top: 24px; gap: 16px; }
  .tree-beams, .mv { display: none !important; }
  .node-root { grid-template-columns: 1fr; padding: 18px; gap: 6px; }
  .node-root h3 { font-size: 21px; }
  .tree-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .tree-row::-webkit-scrollbar { display: none; }
  .tree-row .node { flex: 0 0 80%; scroll-snap-align: start; }
  .lp { margin-top: 20px; gap: 16px; }
  .lp-demo { position: static; grid-template-columns: 1fr; }
  .lp-demo .bw, .lp-log { display: none; }
  .lp-cols > .lp-col:first-child { display: none; }
  .pipe { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .pipe-i { padding: 14px 16px; gap: 4px; }
}
@media (max-width: 960px) { .wconsole { display: none; } }
@media (max-width: 760px) {
  /* Работы листаются вбок, как на главной; списки короче */
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; margin: 20px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .works::-webkit-scrollbar { display: none; }
  .wk { flex: 0 0 86%; scroll-snap-align: start; }
  .wk-body { padding: 18px; gap: 10px; }
  .wk .ticks li { font-size: 14px; }
  .wk .ticks li:nth-child(n+5) { display: none; }
  /* Команда: пять этапов строками */
  .pipe-i { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; }
  .pipe-i > * { grid-column: 2; }
  .pipe-i .pipe-n { grid-column: 1; grid-row: 1 / 4; }
  .pipe-i h3 { font-size: 17px; margin: 0; }
  .pipe-i p.pipe-got { margin-top: 4px; padding-top: 6px; font-size: 12.5px; }
  .pipe-got span { display: inline; margin: 0 6px 0 0; }
  /* Подвал: ссылки на блоки этой же страницы на телефоне не нужны */
  .ftr-nav a:nth-child(2), .ftr-nav a:nth-child(3), .ftr-nav a:nth-child(5), .ftr-nav a:nth-child(7) { display: none; }
  .ftr-nav a { padding-block: 6px; }
  .tree-row { scroll-padding-inline: var(--gutter); }
}

/* Заголовки как на главной и «Оборудовании»: засечки Tinos 400 (решение Антона 25.11.2026). Мелкие подзаголовки списков остаются Golos */
h1.ph-h1, .h2, .node h3, .wk h3, .prod h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }

/* Мелочи мобильной ревизии 25.11 (Н10, Н15) */
.btn-primary { color: #05101c; background: var(--sig, linear-gradient(110deg, #a594ff, #7ce7f2 58%, #5fb0e8)); box-shadow: 0 12px 30px -12px rgba(124,231,242,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.modal-x { width: 44px; height: 44px; right: 10px; top: 10px; }
@media (max-width: 760px) {
  .tree-down { justify-items: start; text-align: left; }
  .tree-down-txt { font-size: 18px; text-align: left; }
  .pipe-i p.pipe-got { display: none; }
  .prod-go.btn { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--accent-2); }
}
@media (max-width: 600px) {
  .cookie { left: 0; right: 0; width: 100%; bottom: 0; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .cookie p { font-size: 11.5px; line-height: 1.35; }
}

/* Флажок согласия: один вид на всех страницах */
.check input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid rgba(150,185,230,.55); border-radius: 6px; background: rgba(8,14,28,.6); display: inline-grid; place-content: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input[type=checkbox]::before { content: ""; width: 10px; height: 6px; border: solid #05101c; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input[type=checkbox]:checked { border-color: transparent; background: linear-gradient(110deg, #a594ff, #7ce7f2 58%, #5fb0e8); }
.check input[type=checkbox]:checked::before { opacity: 1; }
.check input[type=checkbox]:focus-visible { outline: 2px solid #7ce7f2; outline-offset: 2px; }
[data-invalid="true"] .check input[type=checkbox], .check[data-invalid="true"] input[type=checkbox] { border-color: #ff8a8a; }

/* «Приложить файл»: на телефоне свёрнуто, на компьютере раскрыто */
.file-more > summary { cursor: pointer; color: #8fd0ff; font-size: 14px; list-style: none; padding: 6px 0; width: max-content; }
.file-more > summary::-webkit-details-marker { display: none; }
.file-more[open] > summary { margin-bottom: 8px; }

/* UX-ревизия, круг 2 (25.11.2026) */
@media (min-width: 761px) { .file-more > summary { display: none; } }
@media (max-width: 760px) { .file-more > summary { min-height: 44px; display: flex; align-items: center; } }
.check, .field label.check { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: start; }
.check > input { grid-column: 1; } .check > span { grid-column: 2; }
.modal-title { padding-right: 52px; }
.cookie { z-index: 95; }
@media (max-width: 760px) {
  .sec .btn-sig { color: var(--ink); background: rgba(255,255,255,.04); border-color: rgba(165,148,255,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
  .sec .btn-sig::after { display: none; }
}
.layer-tag > i { display: none; }
.tree-chips { justify-content: flex-start; }
.tree-chips li { padding: 0; border: 0; background: none; }
.tree-chips li + li::before { content: "·"; margin-right: 8px; color: var(--ink-3); }
@media (min-width: 761px) { .tree-chips { justify-content: center; } }

/* «Стенгазета» одной строкой под работами (Антон 25.11.2026) */
.prod-line { margin: 20px 0 0; color: var(--ink-2); font-size: 15px; max-width: 70ch; }
.prod-line a { color: var(--accent-2); }

/* Переход к решению (#grow-*): карточка в момент прокрутки ещё сдвинута анимацией появления на 22px, запас, чтобы верх не уходил под шапку (26.11.2026) */
.node[id^="grow-"] { scroll-margin-top: 30px; }
@media (max-width: 760px) { .ftr-nav-all a { display: block !important; } }
