/* ═══════════════════════════════════════════════════════════════════════════
   Kuriman: визуальная система v5.
   Каждый экран — сцена во всю ширину: объект, свет, крупный шрифт, движение
   при прокрутке. Чёрная студия, один тёплый акцент, светодиодная точка как мотив.
   Никаких inline-стилей: CSP запрещает style-атрибуты, всё живёт здесь,
   динамика идёт через CSS-переменные из app.js (CSSOM).
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: Onest; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* из расширенной латиницы на сайте нужен только знак рубля: вместо файла на 28 КБ подмножество на 1 КБ */
@font-face { font-family: Onest; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/onest-rub.woff2) format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: Onest; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/onest-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 {
  --bg: #050505;
  --bg-2: #0B0B0C;
  --ink: #F2F0EC;
  --ink-2: #C9C6C0;
  --mute: #8B8A8F;
  --dim: #2A2A2E;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ember: #FF5A1F;
  --ember-2: #FF9A55;
  --amber: #FFB23F;
  --ok: #3DDC84;
  --glass: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  --r: 28px;
  --wrap: 1480px;
  --pad: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.2, .7, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  /* сетка погасших светодиодов: тот же мотив, что у экрана Куримана */
  background: var(--bg) radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px) 0 0 / 24px 24px;
  font: 400 17px/1.6 Onest, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
::selection { background: var(--ember); color: #0B0B0B; }
a { color: inherit; }
img, svg, canvas { display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ── типографика ── */
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.h2 { font-size: clamp(40px, 6vw, 104px); font-weight: 250; line-height: .98; letter-spacing: -.05em; margin-top: 22px; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--mute); max-width: 40ch; margin-top: 26px; font-weight: 350; line-height: 1.55; }
.grad { background: linear-gradient(180deg, #FFFFFF 0%, #8E8C93 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ember { background: linear-gradient(100deg, #FFB27A 0%, var(--ember) 55%, #E0381A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { max-width: 1100px; }

/* ── курсор: тёплая точка с кольцом, только для мыши ── */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); }
.cursor i { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,154,85,.55); transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.cursor::after { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ember-2); }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link i { transform: scale(1.9); background-color: rgba(255,90,31,.12); border-color: rgba(255,154,85,.9); }

/* ── кнопки: магнитные, смещение приходит в --mx/--my ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 550; letter-spacing: -.005em; white-space: nowrap;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .45s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.btn--ember { background: linear-gradient(135deg, #FF7A3D, var(--ember) 55%, #F0431B); color: #0A0A0A;
  box-shadow: 0 0 0 1px rgba(255,120,60,.4), 0 14px 40px -14px rgba(255,90,31,.8); }
.btn--ember:hover { box-shadow: 0 0 0 1px rgba(255,140,80,.6), 0 22px 60px -16px rgba(255,90,31,.95); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }

/* ── шапка ── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(5,5,5,.62); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border-bottom-color: var(--line); }
.top__in { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: .32em; text-decoration: none; color: var(--ink); }
.logo--sm { font-size: 14px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .nav__cta { color: #0A0A0A; background: var(--ink); margin-left: 10px; font-weight: 550; }
.nav .nav__cta:hover { background: #fff; color: #000; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ═══ Сцена ═══
   Без JS и без WebGL: обычный первый экран и список правил.
   С WebGL (.has-stage): сцена прилипает к экрану на 330vh прокрутки,
   app.js пишет в CSS-переменные прозрачность и масштаб слоёв. */
.stage { position: relative; }
.stage__pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.has-stage .stage { height: 330vh; }
.has-stage .stage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage__gl.is-on { opacity: 1; }
.stage__word { position: absolute; left: 50%; top: 11vh; z-index: 0; margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-size: 19.5vw; font-weight: 800; letter-spacing: -.055em; line-height: .78;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02) 88%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateX(-50%) scale(var(--ws, 1)); transform-origin: 50% 70%; opacity: var(--wo, 1); }
.stage__hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: clamp(28px, 6vh, 64px);
  opacity: var(--ho, 1); transform: translateY(var(--hy, 0px)); }
.stage__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.stage__h { font-size: clamp(42px, 5.4vw, 92px); font-weight: 250; line-height: .94; letter-spacing: -.05em; margin-top: 18px; }
.stage__right { max-width: 440px; }
.stage__sub { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; font-weight: 350; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stage__hint { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transform: translateX(-50%); text-decoration: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); opacity: var(--ho, 1); }
.stage__hint i { width: 1px; height: 38px; background: linear-gradient(180deg, transparent, var(--ember-2)); animation: hint 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(12px); opacity: 0; } }
/* запасной рисунок без WebGL */
.hero__orb { position: absolute; z-index: 1; left: 50%; top: 46%; width: min(46vw, 620px); height: auto; aspect-ratio: 400 / 320;
  transform: translate(-50%, -50%); opacity: 0; color: var(--ink-2); transition: opacity 1.2s; }
.hero__orb .ink-eyes { color: var(--ember); }
.no-webgl .hero__orb { opacity: 1; }
/* подписи к табло */
.stage__caps { position: relative; z-index: 3; }
.cap { padding: 28px var(--pad); max-width: 640px; }
.cap__n { font-size: 12px; letter-spacing: .24em; color: var(--ember-2); }
.cap__t { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; margin-top: 10px; }
.cap p:last-child { color: var(--ink-2); margin-top: 8px; font-size: 16px; line-height: 1.5; }
.has-stage .stage__caps { position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,5,5,.94) 20%, transparent); opacity: var(--co, 0); }
.has-stage .cap { position: absolute; left: 50%; bottom: clamp(36px, 8vh, 84px); width: min(620px, 90vw); padding: 0; text-align: center;
  transform: translate(-50%, 18px); opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.has-stage .cap.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── бегущая строка ── */
.band { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.band__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: band 38s linear infinite; }
.band span { font-size: clamp(28px, 3.6vw, 56px); font-weight: 250; letter-spacing: -.04em; white-space: nowrap; }
.band i { width: 12px; height: 12px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 18px rgba(255,90,31,.9); flex: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* ═══ Инфографика ═══ */
.proof { padding: clamp(100px, 12vw, 180px) 0 clamp(70px, 9vw, 130px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 60px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass);
  padding: clamp(24px, 2.6vw, 38px); display: flex; flex-direction: column; min-height: 280px; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background: radial-gradient(600px circle at 100% 0%, rgba(255,90,31,.08), transparent 50%); }
.tile__k { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tile__big { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.tile__big b { font-size: clamp(64px, 8vw, 132px); font-weight: 200; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.tile__big small { font-size: 18px; color: var(--mute); letter-spacing: 0; }
.tile__note { margin-top: auto; padding-top: 22px; color: var(--mute); font-size: 14.5px; line-height: 1.5; max-width: 52ch; }
.tile--weight { grid-column: span 7; }
.tile--scripts { grid-column: span 5; }
.tile--req { grid-column: span 4; }
.tile--headers { grid-column: span 5; }
.tile--cookie { grid-column: span 3; }
.tile--own { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; gap: 40px; flex-wrap: wrap; }
.tile--own .tile__big { margin-top: 0; }
.tile--own .tile__note { margin: 0; padding: 0; }
.bars { display: grid; gap: 14px; margin-top: 28px; }
.bar { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-2); }
.bar i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #3A3A40, #5A5A62);
  width: 0; transition: width 1.6s var(--ease); }
.bar--us i { background: linear-gradient(90deg, #FF7A3D, var(--ember)); box-shadow: 0 0 16px rgba(255,90,31,.8); min-width: 8px; }
.bar em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); }
.dots { display: grid; grid-template-columns: repeat(11, 1fr); gap: 8px; margin-top: 26px; max-width: 360px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #2B2B30; position: relative; transition: background-color .5s, transform .5s var(--ease); }
.dots i::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 1.5px; background: var(--ember); transform: rotate(-45deg) scaleX(0); transition: transform .4s var(--ease); }
.is-in .dots i { background: #18181B; }
.is-in .dots i::after { transform: rotate(-45deg) scaleX(1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font: 12.5px/1 ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace; padding: 8px 10px 8px 24px; border-radius: 8px;
  border: 1px solid var(--line-2); position: relative; color: var(--ink-2); opacity: .35; transition: opacity .5s; }
.chips li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #444; transition: background .4s, box-shadow .4s; }
.is-in .chips li { opacity: 1; }
.is-in .chips li::before { background: var(--ok); box-shadow: 0 0 8px rgba(61,220,132,.8); }

/* ═══ Услуги: горизонтальная лента ═══ */
.svc { position: relative; padding: clamp(60px, 8vw, 110px) 0 0; }
.svc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.svc__count { font-size: 14px; letter-spacing: .2em; color: var(--mute); font-variant-numeric: tabular-nums; }
.svc__count b { color: var(--ink); font-weight: 500; }
.svc__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 44px var(--pad) 30px; scrollbar-width: none; }
.svc__track::-webkit-scrollbar { display: none; }
.svc__card { flex: none; width: min(1120px, 84vw); min-height: min(600px, 66vh); scroll-snap-align: center;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 3vw, 56px); padding: clamp(28px, 3.4vw, 56px);
  border-radius: 34px; border: 1px solid var(--line); background: var(--glass); position: relative; overflow: hidden; }
.svc__card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px circle at 85% 30%, rgba(255,90,31,.13), transparent 55%); }
.svc__text { position: relative; display: flex; flex-direction: column; }
.svc__n { font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--ember); }
.svc__t { font-size: clamp(34px, 4.2vw, 68px); font-weight: 250; letter-spacing: -.045em; line-height: 1; margin-top: 22px; }
.svc__d { color: var(--ink-2); margin-top: 18px; max-width: 44ch; font-weight: 350; }
.svc__list { margin-top: 22px; display: grid; gap: 10px; }
.svc__list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1.5px; background: var(--ember); }
.svc__foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.svc__p { font-size: clamp(30px, 3vw, 46px); font-weight: 250; letter-spacing: -.035em; }
.svc__p small { font-size: 15px; color: var(--mute); letter-spacing: 0; font-weight: 400; }
.pill { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.svc__art { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.06), transparent 65%), #08080A; border: 1px solid var(--line); min-height: 260px; }
.svc__art .art { width: 78%; height: auto; max-height: 80%; overflow: visible; }
.svc__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.svc__bar i { display: block; height: 100%; width: 100%; background: var(--ember); transform: scaleX(var(--sp, .2)); transform-origin: left; transition: transform .2s linear; }
/* компьютер: лента прилипает и едет вбок, пока страница прокручивается вниз */
.has-pin .svc { height: var(--svc-h, 400vh); padding: 0; }
.has-pin .svc__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.has-pin .svc__track { overflow: visible; scroll-snap-type: none; transform: translate3d(var(--sx, 0px), 0, 0); will-change: transform; }

/* иллюстрации услуг: линии и один тёплый акцент */
.art__l1, .art__l2, .art__l3 { animation: art-float 7s ease-in-out infinite alternate; }
.art__l2 { animation-delay: -2.4s; }
.art__l3 { animation-delay: -4.8s; }
@keyframes art-float { from { transform: translateY(5px); } to { transform: translateY(-5px); } }
.art__hl { animation: art-hop 7.5s var(--ease) infinite; }
@keyframes art-hop { 0%, 27% { transform: translateX(0); } 33%, 60% { transform: translateX(73px); } 66%, 93% { transform: translateX(146px); } 100% { transform: translateX(0); } }
.art__flow path { stroke-dasharray: 14 420; stroke-dashoffset: 14; animation: art-flow 3.4s linear infinite; }
.art__flow path + path { animation-delay: -1.7s; }
@keyframes art-flow { to { stroke-dashoffset: -214; } }
.art__ping { transform-box: fill-box; transform-origin: center; animation: art-ping 2.6s var(--ease) infinite; }
@keyframes art-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.art__env { animation: art-float 6s ease-in-out infinite alternate; }
.art__seal { transform-box: fill-box; transform-origin: center; animation: art-seal 6s var(--ease) infinite; }
@keyframes art-seal { 0%, 8% { transform: scale(.4); opacity: 0; } 18%, 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(.4); opacity: 0; } }
.art__beat { stroke-dasharray: 64 420; stroke-dashoffset: 64; animation: art-beat 3s linear infinite; }
@keyframes art-beat { to { stroke-dashoffset: -352; } }

/* ═══ Процесс: линия заполняется по мере прокрутки ═══ */
.process { padding: clamp(100px, 12vw, 180px) 0; }
.process__in { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 140px); align-items: start; }
.process__head { position: sticky; top: 120px; }
.steps { position: relative; padding-left: 64px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--ember-2), var(--ember)); box-shadow: 0 0 14px rgba(255,90,31,.7);
  transform: scaleY(var(--pp, 0)); transform-origin: top; }
.step { position: relative; padding: 0 0 54px; }
.step:last-child { padding-bottom: 0; }
.step__n { position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; letter-spacing: .08em; color: var(--mute); background: var(--bg); border: 1px solid var(--line-2); z-index: 1;
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s; }
.step.is-past .step__n { color: #0A0A0A; background: var(--ember); border-color: var(--ember); box-shadow: 0 0 22px rgba(255,90,31,.6); }
.step h3 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 350; letter-spacing: -.03em; padding-top: 4px; }
.step p { color: var(--mute); margin-top: 10px; max-width: 46ch; font-weight: 350; }
.step__t { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; }

/* ═══ Безопасность ═══ */
.security { padding: clamp(100px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.security__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.security__head { position: sticky; top: 100px; }
.shield { display: grid; gap: 14px; }
.shield li { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.shield svg { flex: none; color: var(--ember); margin-top: 3px; }
.shield b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.shield span { display: block; color: var(--mute); font-size: 15px; margin-top: 6px; line-height: 1.5; font-weight: 350; }
.term { margin: 40px 0 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, #0F0F11, #09090A); box-shadow: 0 50px 90px -60px rgba(0,0,0,.95); }
.term__bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #26262A; }
.term__body { margin: 0; padding: 16px 18px 18px; font: 12.5px/1.75 ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
  color: var(--mute); white-space: pre-wrap; overflow-wrap: anywhere; }
.term__body b { font-weight: 500; color: var(--ink-2); }
.term__cmd { color: var(--ember-2); }
.term figcaption { padding: 0 18px 16px; font-size: 13px; color: var(--mute); }

/* ═══ Почта ═══ */
.mail { position: relative; padding: clamp(110px, 13vw, 200px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.mail__glow { position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: 60%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.16) 0%, rgba(255,90,31,.05) 35%, transparent 62%); pointer-events: none; }
.mail__in { position: relative; }
.mail__h { font-size: clamp(52px, 9vw, 160px); font-weight: 220; letter-spacing: -.055em; line-height: .95; margin-top: 26px; }
/* путь письма: узлы загораются по очереди, по линии бежит импульс */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: var(--line-2); }
.flow::after { content: ""; position: absolute; left: 10%; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2);
  box-shadow: 0 0 16px 4px rgba(255,120,60,.7); opacity: 0; }
.flow.is-in::after { animation: pulse-run 3.6s var(--ease) infinite; }
@keyframes pulse-run { 0% { left: 10%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.flow__node { position: relative; text-align: center; padding-top: 70px; }
.flow__node::before { content: ""; position: absolute; left: 50%; top: 14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2); transition: border-color .5s, box-shadow .5s, background .5s; }
.flow__node b { display: block; font-size: 19px; font-weight: 500; }
.flow__node span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.flow.is-in .flow__node--ok::before { border-color: var(--ok); background: radial-gradient(circle, var(--ok) 0 30%, transparent 34%); box-shadow: 0 0 18px rgba(61,220,132,.5); }
.flow.is-in .flow__node--in::before { border-color: var(--ember); background: radial-gradient(circle, var(--ember) 0 36%, transparent 40%); box-shadow: 0 0 22px rgba(255,90,31,.7); }
.flow.is-in .flow__node:nth-child(2)::before { transition-delay: .3s; }
.flow.is-in .flow__node:nth-child(3)::before { transition-delay: .6s; }
.flow.is-in .flow__node:nth-child(4)::before { transition-delay: .9s; }
.flow.is-in .flow__node:nth-child(5)::before { transition-delay: 1.2s; }
.mail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); margin-top: 70px; align-items: center; }
.mail__text { color: var(--ink-2); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 350; max-width: 34ch; }
.ticks { margin-top: 28px; }
.ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 16px; height: 9px; margin-top: -7px; border-left: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember); transform: rotate(-45deg); }
.mailcard { margin: 0; padding: clamp(22px, 2.4vw, 32px); border-radius: 26px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(24,24,26,.92), rgba(11,11,12,.92)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 70px 130px -70px rgba(255,90,31,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.mailcard__row { display: flex; align-items: center; gap: 14px; }
.mailcard__av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 18px;
  color: #0A0A0A; background: linear-gradient(135deg, #FFB27A, var(--ember) 60%, #E0381A); }
.mailcard__who { flex: 1; min-width: 0; }
.mailcard__who b { display: block; font-weight: 500; }
.mailcard__who span { display: block; font-size: 13.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailcard__tag { flex: none; font-size: 12px; padding: 5px 11px; border-radius: 999px; color: var(--ok); background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.3); }
.mailcard__subj { margin-top: 22px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.mailcard__prev { margin-top: 6px; color: var(--mute); font-size: 15px; }
.mailcard__auth { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.mailcard__auth span { position: relative; padding: 8px 11px 8px 25px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font: 12.5px/1 ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace; color: var(--ink-2); }
.mailcard__auth i { position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(61,220,132,.8); }
.mailcard figcaption { margin-top: 16px; font-size: 12.5px; color: var(--mute); }

/* ═══ Конфигуратор ═══ */
.calc { padding: clamp(100px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.calc__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.calc__head { position: sticky; top: 100px; }
.calc__terms { margin-top: 36px; display: grid; gap: 12px; }
.calc__terms li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.calc__terms b { font-size: 22px; font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.calc__terms li:last-child b { color: var(--ember-2); }
.calc__terms span { color: var(--mute); font-size: 15px; }
.calc__form { border-radius: 30px; border: 1px solid var(--line); background: var(--glass); padding: clamp(22px, 3vw, 44px); }
.calc__form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__form fieldset + fieldset { margin-top: 30px; }
.calc__form legend { padding: 0; margin-bottom: 14px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.opt, .chk { display: block; position: relative; cursor: pointer; }
.opt + .opt, .chk + .chk { margin-top: 10px; }
.opt input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--line-2); transition: border-color .3s, background .3s, box-shadow .3s; }
.opt b { font-weight: 500; font-size: 17px; }
.opt i { font-style: normal; font-size: 14px; color: var(--mute); }
.opt input:checked + span { border-color: var(--ember); background: rgba(255,90,31,.07); box-shadow: 0 0 0 1px var(--ember) inset; }
.chk span { display: flex; justify-content: space-between; gap: 14px; padding: 14px 18px 14px 52px; border-radius: 14px; border: 1px solid var(--line);
  font-size: 15.5px; transition: border-color .3s, background .3s; position: relative; }
.chk span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 1.5px solid var(--line-2);
  transition: background .3s, border-color .3s; }
.chk span::after { content: ""; position: absolute; left: 24px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #0A0A0A; border-bottom: 2px solid #0A0A0A;
  transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); }
.chk i { font-style: normal; color: var(--mute); font-size: 14px; white-space: nowrap; }
.chk input:checked + span { border-color: rgba(255,120,60,.5); background: rgba(255,90,31,.05); }
.chk input:checked + span::before { background: var(--ember); border-color: var(--ember); }
.chk input:checked + span::after { transform: rotate(-45deg) scale(1); }
.opt input:focus-visible + span, .chk input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.calc__out { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: end; }
.calc__label { grid-column: 1 / -1; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.calc__sum { font-size: clamp(34px, 3.6vw, 56px); font-weight: 250; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__meta { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.calc__out .btn { grid-column: 2; grid-row: 2 / span 2; }

/* ═══ Вопросы ═══ */
.faq { padding: clamp(100px, 12vw, 180px) 0 0; border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 350; letter-spacing: -.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.faq summary:hover { color: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: rgba(255,120,60,.55); background-color: rgba(255,90,31,.12); }
.faq details p { color: var(--mute); padding: 0 56px 28px 0; max-width: 60ch; font-weight: 350; }

/* ═══ Контакт ═══ */
.contact { padding: clamp(110px, 14vw, 220px) 0 clamp(80px, 10vw, 140px); }
.contact__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.contact__h { font-size: clamp(56px, 9.6vw, 170px); font-weight: 220; letter-spacing: -.055em; line-height: .92; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact__art { margin: 0; }
.contact__ink { width: 100%; height: auto; color: var(--ink-2); }
.contact__ink .ink-eyes { color: var(--ember); }
.contact__art figcaption { margin-top: 12px; text-align: center; color: var(--mute); font-size: 14px; }
.steam { animation: steam 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.steam--2 { animation-delay: -1.7s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px) scaleY(.7); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px) scaleY(1.1); } }
.ink-eyes { animation: blink 5.5s infinite; transform-box: fill-box; transform-origin: 50% 40%; }
@keyframes blink { 0%, 95%, 100% { transform: none; } 97% { transform: scaleY(.12); } }

/* ═══ Подвал: знак во всю ширину, выложенный светодиодами ═══ */
.foot { border-top: 1px solid var(--line); padding: 34px 0 0; color: var(--mute); font-size: 13.5px; overflow: hidden; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot__in .logo { color: var(--ink); margin-right: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot__mark { margin: 30px 0 calc(-.18em + env(safe-area-inset-bottom)); text-align: center; white-space: nowrap; user-select: none;
  font-size: 23.5vw; font-weight: 900; line-height: .8; letter-spacing: -.045em;
  background: radial-gradient(circle, var(--ember) 0 38%, transparent 44%) 0 0 / 9px 9px, #111;
  -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

/* ── появление при прокрутке ── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* ── страницы-документы (конфиденциальность, 404) ── */
.doc { padding: 150px 0 110px; }
.doc h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 250; letter-spacing: -.045em; line-height: 1; }
.doc h2 { font-size: 22px; font-weight: 500; margin-top: 44px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); max-width: 68ch; margin-top: 14px; font-weight: 350; }
.doc ul { margin-top: 10px; }
.doc li { padding-left: 18px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.doc .btn { margin-top: 40px; }

/* ── адаптив ── */
@media (max-width: 1100px) {
  .tile--weight, .tile--scripts { grid-column: span 12; }
  .tile--req, .tile--headers, .tile--cookie { grid-column: span 6; }
  .tile--cookie { grid-column: span 12; min-height: 0; }
  .svc__card { grid-template-columns: 1fr; }
  .svc__art { min-height: 220px; order: -1; }
}
@media (max-width: 980px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 24px;
    background: rgba(5,5,5,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; padding: 16px; }
  .burger { display: flex; }
  .stage__row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .process__in, .security__in, .calc__in, .faq__in { grid-template-columns: minmax(0, 1fr); }
  .process__head, .security__head, .calc__head { position: static; }
  .contact__in { grid-template-columns: 1fr; }
  .contact__art { max-width: 460px; }
  .mail__cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; background-size: 20px 20px; }
  .top__in { height: 64px; }
  .nav { inset: 64px 0 auto 0; }
  .has-stage .stage { height: 300vh; }
  .stage__word { top: 12vh; font-size: 21vw; }
  .stage__hero { padding-bottom: 26px; }
  .stage__h { font-size: clamp(38px, 11.6vw, 50px); margin-top: 12px; }
  .stage__sub { display: none; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; width: 100%; }
  .hero__cta .btn { padding: 0 12px; font-size: 15px; min-height: 52px; }
  .stage__right { max-width: none; width: 100%; }
  .stage__hint { display: none; }
  .hero__orb { top: 38%; width: 90vw; }
  .band { padding: 18px 0; }
  .band__track { gap: 26px; }
  .bento { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .tile, .tile--weight, .tile--scripts, .tile--req, .tile--headers, .tile--cookie, .tile--own { grid-column: auto; min-height: 0; }
  .tile--own { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bar { grid-template-columns: 1fr auto; }
  .bar span { grid-column: 1 / -1; }
  .svc__card { width: 86vw; min-height: 0; padding: 22px; border-radius: 26px; }
  .svc__art { min-height: 180px; }
  .steps { padding-left: 56px; }
  .steps::before, .steps::after { left: 19px; }
  .step__n { left: -56px; width: 40px; height: 40px; }
  .flow { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .flow::before { left: 21px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .flow::after { display: none; }
  .flow__node { text-align: left; padding: 10px 0 10px 64px; }
  .flow__node::before { left: 8px; top: 50%; margin: -14px 0 0 0; }
  .calc__out { grid-template-columns: 1fr; }
  .calc__sum { font-size: 30px; }
  .chk span { flex-direction: column; gap: 2px; }
  .chk i { white-space: normal; }
  .stage .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .calc__out .btn { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .calc__terms li { grid-template-columns: 90px 1fr; }
  .contact__cta .btn { flex: 1 1 100%; }
  .faq details p { padding-right: 0; }
  .term__body { font-size: 11.5px; padding: 14px 14px 16px; }
  .term figcaption { padding: 0 14px 14px; }
  .foot__mark { font-size: 22vw; background-size: 6px 6px; }
}
@media (max-width: 370px) {
  .hero__cta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .band__track { transform: none; }
}
