@font-face { font-family: "Golos"; font-weight: 400 700; 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: "JB Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-Regular.woff2) format("woff2"); }
@font-face { font-family: "JB Mono"; font-weight: 500 700; font-display: swap; src: url(fonts/jetbrains-mono-Medium.woff2) format("woff2"); }
@font-face { font-family: "Golos"; font-weight: 400 700; 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; }

:root {
  --bg: #04060d; --ink: #eef2ff; --soft: #c7d0e8; --muted: #8e9abb; --line: rgba(170, 190, 255, .13);
  --panel: rgba(9, 12, 21, .88); --panel-solid: #0a0d17; --head: #e9edf7;
  --tint: #f0b493; --tint-deep: #7a2f3f; --tint-glow: rgba(240, 180, 147, .35); --on-tint: #170b0f;
  --sans: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --code: "JB Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 28px; --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 3.2vw, 44px);
  color-scheme: dark;
}
html[data-tint="copper"] { --tint: #f0b493; --tint-deep: #7a2f3f; --tint-glow: rgba(240, 180, 147, .35); }
html[data-tint="ice"] { --tint: #b9d3ff; --tint-deep: #2d3f8f; --tint-glow: rgba(150, 190, 255, .35); }
html[data-tint="wine"] { --tint: #ff9db3; --tint-deep: #6c1a3a; --tint-glow: rgba(255, 130, 170, .35); }
html[data-tint="sage"] { --tint: #a8f0b8; --tint-deep: #1e5a3c; --tint-glow: rgba(140, 240, 170, .3); }
html[data-tint="red"] { --tint: #ff7a7f; --tint-deep: #5a1220; --tint-glow: rgba(255, 90, 100, .35); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.55 var(--sans); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(1200px 800px at 70% 20%, #0c1736 0%, transparent 60%), radial-gradient(900px 700px at 10% 90%, #160b22 0%, transparent 60%), var(--bg); background-attachment: fixed; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, input, select { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 54px); }
h3 { font-size: clamp(21px, 2.1vw, 28px); font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 8px; }
.label { font: 500 12px/1.4 var(--code); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.lead { color: var(--soft); font-size: clamp(16px, 1.35vw, 19px); max-width: 62ch; text-wrap: pretty; }
.center-text { margin-inline: auto; text-align: center; }
.glow { color: var(--head); text-shadow: 0 0 24px rgba(210, 220, 255, .28), 0 0 1px rgba(255, 255, 255, .25); }
kbd { font: 600 .92em var(--sans); }
code { font-family: var(--code); }
.nowrap { white-space: nowrap; }

/* ---------- фон ---------- */
.field { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.fx-glow { position: fixed; inset: -20%; z-index: 0; pointer-events: none; background: radial-gradient(40% 35% at var(--mx, 50%) var(--my, 40%), var(--tint-glow), transparent 70%); opacity: .22; mix-blend-mode: screen; }
.fx-grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 14px clamp(14px, 2.6vw, 36px); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 7, 14, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .06); opacity: 0; transition: opacity .35s; pointer-events: none; }
.scrolled .top::before { opacity: 1; }
.brand { display: inline-flex; color: var(--tint); text-decoration: none; transition: color .6s; flex: none; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; }
.brandmark .dl-mark { width: 30px; height: 31px; }
.brandword { display: inline-flex; font: 700 21px/1 var(--sans); letter-spacing: -.03em; color: var(--tint); transition: color .6s; }
.brandword span { display: inline-block; }
/* надпись проявляется по буквам вслед за знаком: каждая буква выезжает из-под маски и вспыхивает светом */
.brandmark.play .brandword span { animation: letter .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.32s + var(--i) * 42ms); }
@keyframes letter { 0% { opacity: 0; transform: translateY(70%); clip-path: inset(0 0 100% 0); } 55% { color: #fff; text-shadow: 0 0 14px var(--tint-glow); } 100% { opacity: 1; transform: none; clip-path: inset(-20% 0 -20% 0); } }
.hint { margin: 0; font: 500 11px/1 var(--code); letter-spacing: .08em; color: var(--muted); white-space: nowrap; transition: opacity .3s; }
.hint kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 4px; }
.scrolled .hint { opacity: 0; pointer-events: none; }
.keys { display: flex; gap: 8px; margin-left: auto; font: 500 12px/1 var(--code); letter-spacing: .06em; text-transform: uppercase; }
.keys a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 8px; text-decoration: none; color: #d9dfef; border-radius: 3px; background: rgba(255, 255, 255, .09); transition: background .2s, color .2s; }
.keys a:hover { background: rgba(255, 255, 255, .16); }
.keys a.is-on { background: var(--tint); color: var(--on-tint); }
.keys kbd { font: inherit; }
.keys kbd::before { content: "["; } .keys kbd::after { content: "]"; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); transition: background .2s, transform .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.lang a { padding: 6px 9px; border-radius: 7px; font: 500 12px/1 var(--code); letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: rgba(255, 255, 255, .12); color: var(--ink); }
.lang a:not([aria-current]):hover { color: var(--ink); }

html { overflow-x: clip; }

/* валюта */
.currency { position: relative; }
.currency details:not([open]) > .currency-panel { display: none; }
.currency summary { list-style: none; display: inline-flex; gap: 6px; align-items: center; height: 36px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; font: 500 12px/1 var(--code); letter-spacing: .06em; }
.currency summary::-webkit-details-marker { display: none; }
.currency summary:hover { background: rgba(255, 255, 255, .1); }
.chev { font-size: 10px; opacity: .6; transition: transform .2s; }
details[open] > summary .chev, [aria-expanded="true"] .chev { transform: rotate(180deg); }
.currency-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, 92vw); padding: 14px; border-radius: 16px; background: var(--panel-solid); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); display: grid; gap: 10px; animation: pop .18s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.currency-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.currency-quick button, .currency-panel li button { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 8px; cursor: pointer; font-weight: 600; font-size: 13px; }
.currency-quick button[aria-pressed="true"], .currency-panel li button[aria-pressed="true"] { background: var(--tint); color: var(--on-tint); border-color: transparent; }
.currency-panel input { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.currency-panel ul { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; display: grid; gap: 3px; }
.currency-panel li button { width: 100%; display: flex; gap: 10px; text-align: left; font-weight: 400; border-color: transparent; background: none; }
.currency-panel li button:hover { background: rgba(255, 255, 255, .07); }
.currency-panel li b { width: 38px; flex: none; }
.currency-panel li span { color: var(--soft); font-size: 13px; }

/* мобильное меню */
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 40px; height: 36px; display: grid; place-content: center; gap: 5px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.menu[open] summary span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; padding: 8px; border-radius: 16px; background: var(--panel-solid); border: 1px solid rgba(255, 255, 255, .12); display: grid; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: pop .18s var(--ease); }
.menu nav a { padding: 11px 12px; border-radius: 9px; text-decoration: none; }
.menu nav a:hover { background: rgba(255, 255, 255, .07); }

/* ---------- кнопки и мелочи ---------- */
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .09); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .13); }
.btn.primary { background: #eef1f8; color: #0a0d17; border-color: transparent; box-shadow: 0 10px 30px -14px rgba(255, 255, 255, .35); }
.btn.primary:hover { background: #fff; box-shadow: 0 14px 40px -12px rgba(255, 255, 255, .4); }
.btn.ghost { background: transparent; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

.link { color: var(--tint); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--tint) 40%, transparent); transition: border-color .2s, color .6s; }
.link:hover { border-color: var(--tint); }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.linkish:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 400 12px/1 var(--code); padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--soft); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); padding: 10px 16px; border-radius: 999px; background: var(--panel-solid); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- раскладка ---------- */
main { position: relative; z-index: 2; }
.section { position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding-bottom: 12vh; }
.stage { min-height: 88vh; display: grid; align-content: end; padding-bottom: 7vh; }
.stage.tall { min-height: 100vh; }
.stage.short { min-height: 52vh; }
.sec-head { text-align: center; margin: 0 auto; max-width: 820px; display: grid; justify-items: center; gap: 14px; }
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.panel::after, .pack::after, .product::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; background: radial-gradient(280px circle at var(--gx, -300px) var(--gy, -300px), var(--tint), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 86px 16px 70px; text-align: center; }
.mega { width: 100%; font-size: 0; line-height: 0; perspective: 900px; }
.mega-word { position: relative; display: inline-block; font: 700 clamp(58px, min(15vw, 24vh), 236px)/.92 var(--sans); letter-spacing: -.06em; padding-right: .06em; color: var(--tint);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) skewX(-11deg); transition: color .6s, transform .25s linear;
  text-shadow: 1px 1px 0 var(--tint-deep), 2px 2px 0 var(--tint-deep), 3px 3px 0 var(--tint-deep), 4px 4px 0 var(--tint-deep), 5px 5px 0 var(--tint-deep), 6px 6px 0 var(--tint-deep), 7px 7px 0 var(--tint-deep), 8px 8px 0 var(--tint-deep), 9px 9px 0 var(--tint-deep), 10px 10px 0 #1a0a12, 11px 11px 0 #1a0a12, 14px 16px 30px rgba(0, 0, 0, .6);
  animation: rise 1s var(--ease) both; will-change: transform; }
.mega-word::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; text-shadow: none; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .5) 47%, transparent 58%) -200% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: sheen 1.6s 1.3s var(--ease) both; }
@keyframes sheen { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) skewX(-11deg) scale(.96); } }
.hero-copy { max-width: 780px; margin-top: clamp(14px, 3.6vh, 44px); display: grid; justify-items: center; gap: clamp(10px, 1.9vh, 18px); animation: rise2 1.1s .25s var(--ease) both; }
@keyframes rise2 { from { opacity: 0; transform: translateY(24px); } }
.eyebrow { display: block; text-align: center; }
.headline { font-size: clamp(32px, min(5.2vw, 7.2vh), 64px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.hero .lead { margin: 0 auto; }
.cta { justify-content: center; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .3); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--tint); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* командная строка */
.command { display: flex; align-items: stretch; width: min(600px, 100%); background: rgba(8, 11, 22, .82); border: 1px solid rgba(255, 255, 255, .11); border-radius: 14px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); text-align: left; position: relative; }
.cmd-pick { position: relative; flex: none; }
.cmd-current { height: 100%; min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-right: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: 14px; border-radius: 14px 0 0 14px; cursor: pointer; }
.cmd-current:hover { background: rgba(255, 255, 255, .07); }
.cmd-icon { display: inline-flex; }
.cmd-icon svg, .cmd-list svg { width: 18px; height: 18px; color: var(--tint); }
.cmd-list { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--panel-solid); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .7); animation: pop .18s var(--ease); }
.cmd-list li { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.cmd-list li:hover, .cmd-list li:focus { background: rgba(255, 255, 255, .08); outline: none; }
.cmd-list li[aria-selected="true"] { color: var(--tint); }
.cmd-text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 14px; color: #dfe6fb; text-decoration: none; }
.cmd-text code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt { color: var(--tint); font-weight: 700; }
.cmd-text:hover code { text-decoration: underline; text-underline-offset: 3px; }
.cmd-copy { width: 52px; flex: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .08); background: transparent; color: #cfd8f2; cursor: pointer; border-radius: 0 14px 14px 0; display: grid; place-items: center; }
.cmd-copy:hover { background: rgba(255, 255, 255, .06); }
.cmd-copy svg { width: 20px; height: 20px; }
.cmd-copy .tick { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .3s; }
.cmd-copy.copied { color: var(--tint); }
.cmd-copy.copied .tick { stroke-dashoffset: 0; }

/* стикеры */
.sticker { position: absolute; z-index: 3; width: clamp(100px, 11vw, 150px); aspect-ratio: 1; top: 20vh; right: -6px; display: grid; place-items: center; color: var(--tint); transform: rotate(var(--spin, 0deg)); transition: color .6s; filter: drop-shadow(0 0 18px var(--tint-glow)); pointer-events: none; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sticker .ring { fill: rgba(6, 8, 18, .6); stroke: currentColor; stroke-width: 3; }
.sticker .ring.inner { fill: none; stroke-width: 1.5; stroke-dasharray: 4 6; }
.sticker text { fill: currentColor; font: 700 15px var(--sans); letter-spacing: .14em; }
.sticker b { font: 700 clamp(20px, 2.3vw, 28px) var(--sans); transform: rotate(calc(var(--spin, 0deg) * -1)) skewX(-10deg); letter-spacing: -.03em; }

/* ---------- услуги ---------- */
.tabbed { padding-top: 0; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tabs { background: rgba(255, 255, 255, .02); border-radius: var(--r) var(--r) 0 0; }
.tabs [role="tab"] { flex: 1 0 auto; position: relative; padding: 24px 18px; border: 0; background: none; color: #6f7a96; font: 500 12px/1 var(--code); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--soft); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, .035); }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--tint); transform: scaleX(0); transition: transform .35s var(--ease); box-shadow: 0 0 12px var(--tint); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(30px, 4vw, 52px) 0 8px; }
.tabpanel[hidden] { display: none; }
.tabpanel:not([hidden]) .tp-copy > * { animation: rise2 .55s var(--ease) both; }
.tabpanel:not([hidden]) .tp-copy > :nth-child(2) { animation-delay: .05s; }
.tabpanel:not([hidden]) .tp-copy > :nth-child(3) { animation-delay: .1s; }
.tabpanel:not([hidden]) .tp-copy > :nth-child(4) { animation-delay: .15s; }
.tp-copy { display: grid; gap: 14px; justify-items: start; }
.tp-copy h3 { font-size: clamp(26px, 3vw, 38px); }
.tp-copy p:not(.label) { color: var(--soft); font-size: 17px; max-width: 52ch; }
/* иконки со старого сайта: штрих прорисовывается при показе, лёгкое покачивание при наведении */
.tp-icon, .pack-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: var(--tint); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: color .6s; }
.tp-icon svg, .pack-icon svg { width: 30px; height: 30px; }
.ai-icon :is(path, rect, circle, ellipse, line, polyline, polygon) { stroke-dasharray: 1; stroke-dashoffset: 0; }
.draw .ai-icon :is(path, rect, circle, ellipse, line, polyline, polygon) { animation: draw 1s var(--ease) both; }
.draw .ai-icon :nth-child(2) { animation-delay: .08s; } .draw .ai-icon :nth-child(3) { animation-delay: .16s; } .draw .ai-icon :nth-child(4) { animation-delay: .24s; }
@keyframes draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 60% { fill-opacity: 0; } }
.pack:hover .ai-icon, .tabpanel:hover .tp-icon .ai-icon { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 35% { transform: rotate(-8deg) scale(1.08); } 70% { transform: rotate(4deg); } }
.window { margin: 0; border-radius: 18px; background: rgba(4, 6, 12, .7); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.window figcaption { display: flex; gap: 14px; align-items: center; padding: 14px 18px; font: 400 12px/1 var(--code); color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.window .dots { display: flex; gap: 6px; } .window .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.window pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font: 400 14px/1.75 var(--code); color: #dfe5f3; tab-size: 2; }
.window .k { color: #7fb4ff; } .window .s { color: #9be3a5; }
.tabpanel:not([hidden]) .window { animation: rise2 .6s .08s var(--ease) both; }

.packs-head { margin: 14vh auto 28px; text-align: center; max-width: 720px; display: grid; gap: 14px; }
.packs-head p { color: var(--muted); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack { position: relative; padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), border-color .3s; }
.pack:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); }

.pack h3 { font-size: 20px; }
.pack p { color: var(--muted); font-size: 15px; }
.price { font: 700 26px/1.2 var(--sans); color: var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rate-note { text-align: center; margin-top: 18px; min-height: 1.4em; }

/* ---------- кейсы ---------- */
.drive-hint { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--soft); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--tint); animation: ping 1.8s infinite; }
.cases { display: grid; gap: 22vh; padding-top: 6vh; }
.case { display: grid; gap: 26px; }
.case-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-num { font: 700 clamp(44px, 6vw, 84px)/.8 var(--sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--tint); transition: -webkit-text-stroke-color .6s; }
.case-head h3 { font-size: clamp(30px, 4vw, 52px); margin-top: 6px; }
.status { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; font: 500 12px/1 var(--code); letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #5ee38a; box-shadow: 0 0 0 0 #5ee38a; animation: ping 1.8s infinite; }
.status.demo i { background: #f5c86a; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.case-stage { position: relative; display: block; padding: 0 9% 5% 0; text-decoration: none; perspective: 1400px; }
.case-stage .browser { border-radius: 16px; overflow: hidden; background: #0b0f1d; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95); transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease); transform-origin: 50% 60%; }
.bar { position: relative; display: flex; justify-content: center; align-items: center; height: 34px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.bar .dots { position: absolute; left: 14px; display: flex; gap: 6px; }
.bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.bar .dots i:first-child { background: #ff6159; } .bar .dots i:nth-child(2) { background: #ffbd2e; } .bar .dots i:nth-child(3) { background: #28c941; }
.bar .url { font: 12px/1 var(--code); color: var(--muted); padding: 6px 14px; border-radius: 7px; background: rgba(255, 255, 255, .05); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen { overflow: hidden; }
.browser .screen { aspect-ratio: 16 / 10; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.4s var(--ease); }
.case-stage:hover .browser .screen img { transform: scale(1.03); }
.phone { position: absolute; right: 0; bottom: 0; width: 21%; min-width: 120px; aspect-ratio: 390 / 844; padding: 5px; border-radius: 26px; background: linear-gradient(150deg, #2b3142, #0d1018 55%, #232836); box-shadow: 0 40px 70px -20px #000, inset 0 1px 1px rgba(255, 255, 255, .25); transform: translateY(var(--py, 0px)) rotate(2deg); transition: transform .6s var(--ease); }
.phone .screen { height: 100%; border-radius: 21px; background: #000; display: grid; grid-template-rows: auto 1fr; }
.phone .screen img { height: 100%; min-height: 0; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 7% 9% 3.5%; color: #fff; font: 600 clamp(7px, .75vw, 11px)/1 var(--sans); position: relative; }
.statusbar .island { position: absolute; left: 50%; top: 22%; width: 31%; height: 46%; transform: translateX(-50%); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.statusbar .sb { display: inline-flex; gap: 1.5px; align-items: flex-end; }
.statusbar .sb i { width: 2.5px; background: #fff; border-radius: 1px; }
.statusbar .sb i:nth-child(1) { height: 4px; } .statusbar .sb i:nth-child(2) { height: 6px; } .statusbar .sb i:nth-child(3) { height: 8px; }
.statusbar .sb b { width: 14px; height: 7px; margin-left: 3px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .7); background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: 1px; }
.case-stage:hover .phone { transform: translateY(-14px) rotate(0deg); }
.stage-cta { position: absolute; left: 22px; bottom: calc(5% + 18px); padding: 9px 14px; border-radius: 999px; background: rgba(5, 7, 15, .78); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.case-stage:hover .stage-cta, .case-stage:focus-visible .stage-cta { opacity: 1; transform: none; }

.case-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-story section { position: relative; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 10px; align-content: start; }
.case-story h4 { display: flex; gap: 10px; align-items: center; font: 500 12px/1 var(--code); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-story h4 span { color: var(--tint); transition: color .6s; }
.case-story p { color: var(--soft); font-size: 15.5px; }
.case-story .accent { background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, transparent), var(--panel) 60%); border-color: color-mix(in srgb, var(--tint) 35%, transparent); }
.case-story .accent p { color: var(--ink); }
.flow-card { padding: 22px 24px 26px; border-radius: 20px; background: #0b0f1b; border: 1px solid rgba(255, 255, 255, .09); display: grid; gap: 18px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 14px; right: calc(100% / var(--n) - 14px); top: 14px; height: 2px; background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 25%, transparent)); transition: background .6s; }
.flow li { position: relative; display: grid; gap: 12px; padding-right: 14px; font-size: 15px; color: var(--ink); line-height: 1.35; }
.flow li b { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #0b0f1b; border: 2px solid var(--tint); color: var(--tint); font: 500 11px/1 var(--code); transition: border-color .6s, color .6s; }
.flow li:first-child b { background: var(--tint); color: var(--on-tint); }
.case-foot { display: grid; gap: 16px; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--tint); padding-left: 12px; max-width: 80ch; }

/* ---------- продукты ---------- */
.aura { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(22px, 4vw, 56px); align-items: center; margin-bottom: 20px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.aura-visual { display: grid; place-items: center; min-height: 300px; border-radius: 22px; background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--tint) 18%, transparent), transparent 70%); }
.watch { position: relative; width: 190px; aspect-ratio: 41 / 49; padding: 9px; border-radius: 26%; background: linear-gradient(150deg, #5d6070, #1b1d26 45%, #3a3d4b); box-shadow: 0 40px 70px -20px #000, inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -2px 3px rgba(0, 0, 0, .5); animation: bob 7s ease-in-out infinite; }
.watch .crown { position: absolute; right: -7px; top: 26%; width: 8px; height: 20%; border-radius: 4px; background: linear-gradient(90deg, #4a4d5b, #8a8d9a); }
.watch .face { height: 100%; border-radius: 22%; background: #000; display: grid; align-content: center; gap: 10px; padding: 20px 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.watch small { font: 500 10px/1.2 var(--code); color: var(--tint); letter-spacing: .04em; transition: color .6s; }
.watch b { font: 600 17px/1.25 var(--sans); color: #fff; min-height: 3.8em; }
.watch b::after { content: "▍"; color: var(--tint); animation: blink 1s steps(2) infinite; }
.watch .meter { height: 3px; width: 40%; border-radius: 3px; background: var(--tint); animation: meter 3s ease-in-out infinite alternate; }
@keyframes meter { to { width: 88%; opacity: .45; } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@keyframes blink { 50% { opacity: 0; } }
.aura-copy { display: grid; gap: 14px; justify-items: start; }
.aura-copy h3 { font-size: clamp(30px, 3.4vw, 44px); }
.aura-copy p:not(.label) { color: var(--soft); }
.status-line { display: inline-flex; gap: 8px; align-items: center; }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--tint); animation: ping 1.8s infinite; }
.pv { position: absolute; inset: 0; padding: 44px 16px 18px; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, rgba(120, 150, 255, .1), transparent 70%), linear-gradient(160deg, #121828, #090c16); }
.pv-systems { grid-template-columns: auto auto auto; justify-content: center; gap: 0; }
.pv-systems .node { display: grid; justify-items: center; gap: 10px; width: clamp(130px, 14vw, 170px); padding: 20px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); text-align: center; font-size: 13px; line-height: 1.3; color: var(--soft); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pv-systems .node svg { width: 30px; height: 30px; color: var(--tint); }
.pv-systems .wire { position: relative; width: clamp(70px, 10vw, 150px); height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 20%, transparent), color-mix(in srgb, var(--tint) 60%, transparent), color-mix(in srgb, var(--tint) 20%, transparent)); }
.pv-systems .wire i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 12px var(--tint); animation: flowdot 2.4s linear infinite; }
.pv-systems .wire i:nth-child(2) { animation-delay: .8s; } .pv-systems .wire i:nth-child(3) { animation-delay: 1.6s; }
@keyframes flowdot { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
/* Cognivue: тёмный рекламный макет, по которому «гуляют» пятна внимания */
.pv-audience { gap: 14px; align-content: center; }
.pv-audience .creative { position: relative; width: 280px; height: 168px; border-radius: 16px; overflow: hidden; background: #141a2b; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 50px -20px #000; }
.pv-audience .creative i { position: absolute; display: block; border-radius: 6px; }
.pv-audience .creative .hero { left: 0; top: 0; right: 0; height: 82px; border-radius: 0; background: linear-gradient(135deg, #2b3a66, #6a4a7a 55%, #c08a6a); }
.pv-audience .creative .line { left: 16px; top: 98px; width: 70%; height: 10px; background: rgba(255, 255, 255, .7); }
.pv-audience .creative .short { top: 116px; width: 46%; height: 8px; background: rgba(255, 255, 255, .3); }
.pv-audience .creative .cta { left: 16px; top: 136px; width: 82px; height: 20px; border-radius: 99px; background: var(--tint); transition: background .6s; }
.pv-audience .heat { position: absolute; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 80, 70, .85), rgba(255, 190, 60, .35) 55%, transparent); animation: heat 3.6s ease-in-out infinite; }
.pv-audience .h1 { width: 120px; height: 90px; left: 70px; top: -6px; } .pv-audience .h2 { width: 100px; height: 60px; left: 0; top: 82px; animation-delay: 1.2s; } .pv-audience .h3 { width: 90px; height: 60px; left: 10px; top: 116px; animation-delay: 2.4s; }
@keyframes heat { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: .85; transform: scale(1.05); } }
.pv-audience .ask { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.pv-tutor { align-content: center; gap: 12px; font-variant-numeric: tabular-nums; }
.pv-tutor .eq { font: 600 clamp(26px, 3vw, 36px)/1 var(--sans); color: var(--ink); letter-spacing: .02em; }
.pv-tutor i { font-family: Georgia, serif; }
.pv-tutor .step { display: flex; gap: 12px; align-items: baseline; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); opacity: 0; animation: solve 6s var(--ease) infinite; }
.pv-tutor .step span { font-size: 12px; color: var(--muted); } .pv-tutor .step b { font-size: 18px; color: var(--tint); transition: color .6s; }
.pv-tutor .s2 { animation-delay: 1.2s; }
@keyframes solve { 0%, 8% { opacity: 0; transform: translateY(8px); } 18%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.pv-keys { gap: 10px; align-content: center; }
.pv-keys .keyrow { display: flex; gap: 10px; justify-content: center; }
.pv-keys kbd { width: clamp(46px, 5.5vw, 62px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; font: 600 clamp(17px, 2vw, 22px)/1 var(--sans); color: var(--ink); background: linear-gradient(180deg, #252c44, #171c2e); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 0 #0a0d18, 0 10px 24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); animation: keypress 3.2s var(--ease) infinite; animation-delay: calc(var(--k) * .22s); }
.pv-keys kbd.hot { color: var(--on-tint); background: linear-gradient(180deg, var(--tint), color-mix(in srgb, var(--tint) 70%, #000)); }
@keyframes keypress { 0%, 18%, 100% { transform: none; } 8% { transform: translateY(5px); box-shadow: 0 1px 0 #0a0d18, 0 4px 12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); } }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product { position: relative; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .4s var(--ease), border-color .3s; }
.product:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
.product-media { position: relative; height: clamp(230px, 22vw, 280px); overflow: hidden; border-bottom: 1px solid var(--line); }

.status-chip { position: absolute; z-index: 1; left: 16px; top: 14px; padding: 6px 11px; border-radius: 999px; font: 500 11px/1.2 var(--code); letter-spacing: .04em; background: rgba(5, 7, 15, .75); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.product-body { padding: 22px 24px 26px; display: grid; gap: 12px; align-content: start; }
.product-body > p { color: var(--soft); font-size: 15.5px; }
.product details { border-top: 1px solid var(--line); padding-top: 12px; }
.product summary { cursor: pointer; color: var(--tint); font-weight: 600; font-size: 14px; }
.product details p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.roles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.roles li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 14px; color: var(--muted); }
.roles b { color: var(--ink); font-weight: 600; }

/* ---------- процесс ---------- */
.wide { display: grid; gap: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; }
.steps li { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li:last-child { grid-column: 1 / -1; }
.num { font: 500 12px/1 var(--code); color: var(--tint); letter-spacing: .08em; transition: color .6s; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- студия ---------- */
.story { position: relative; height: 260vh; margin-bottom: 8vh; }
.story-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.story-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; cursor: pointer; perspective: 900px; }
.story-mark::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, var(--tint-glow), transparent 70%); opacity: calc(.15 + var(--p, 1) * .85); transform: scale(calc(.6 + var(--p, 1) * .5)); transition: background .6s; }
.story-mark::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px solid var(--tint); opacity: 0; pointer-events: none; }
.story.done .story-mark::after { animation: ripple 1.6s cubic-bezier(.2, .7, .2, 1); }
@keyframes ripple { from { opacity: .7; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
.story-mark .dl-mark { width: 70%; }
.story .story-svg .dl-line { opacity: 1; stroke-dashoffset: calc(1 - var(--p1, 1)); stroke-width: 1; }
.story .story-svg .dl-fill { fill-opacity: calc(.22 + var(--p2, 1) * .78); }
.story .story-svg .dl-cut { opacity: calc(var(--p3, 1) * (1 - var(--p4, 0))); stroke-dashoffset: calc(1 - var(--p3, 1)); }
.story .story-svg { position: relative; transform: rotateY(calc((1 - var(--p2, 1)) * -40deg)) rotateX(calc((1 - var(--p1, 1)) * 14deg)) scale(calc(.84 + var(--p2, 1) * .16)); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 calc(var(--p3, 1) * 46px) var(--tint-glow)); }
.story-copy { display: grid; gap: 18px; align-content: center; }
.story-lines { position: relative; list-style: none; margin: 0; padding: 0 0 0 20px; display: grid; gap: 14px; }
.story-lines::before, .story-lines::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.story-lines::after { bottom: auto; height: calc((100% - 12px) * var(--p, 1)); background: linear-gradient(var(--tint), color-mix(in srgb, var(--tint) 40%, transparent)); box-shadow: 0 0 12px var(--tint-glow); transition: background .6s; }
.story-lines li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: var(--ink); opacity: .34; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story-lines li.on { opacity: 1; transform: none; }
.story-lines .num { padding-top: .35em; }
.story-end { display: grid; gap: 16px; justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story-end.on { opacity: 1; transform: none; }
.logo-floor { position: absolute; left: 24%; right: 24%; bottom: 10%; height: 18px; transform: scaleX(calc(.4 + var(--p, 1) * .6)); border-radius: 50%; background: radial-gradient(closest-side, var(--tint-glow), transparent); filter: blur(6px); opacity: .7; }
.about-copy { display: grid; gap: 16px; justify-items: start; }
.founder { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.founder .dl-mark { width: 34px; height: 36px; }
.founder b { display: block; font-size: 17px; } .founder small { color: var(--muted); font-size: 13px; }
.faq-panel { display: grid; gap: 8px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { color: var(--tint); font: 400 24px/1 var(--sans); transition: transform .3s var(--ease); }
.qa[open] summary span { transform: rotate(45deg); }
.qa p { padding: 0 0 18px; color: var(--muted); max-width: 80ch; animation: rise2 .4s var(--ease); }

/* ---------- калькулятор ---------- */
.quiz { display: grid; gap: 14px; }
.estimate-form { display: grid; gap: 18px; }
.estimate-form[hidden] { display: none; }
.quiz-count { font: 500 12px/1 var(--code); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
progress[data-progress] { width: 100%; height: 4px; margin-top: 10px; appearance: none; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
progress[data-progress]::-webkit-progress-bar { background: rgba(255, 255, 255, .08); }
progress[data-progress]::-webkit-progress-value { background: var(--tint); transition: width .4s var(--ease); }
progress[data-progress]::-moz-progress-bar { background: var(--tint); }
.estimate-form fieldset { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.estimate-form legend { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; outline: none; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.quiz-option { position: relative; cursor: pointer; }
.quiz-option[hidden] { display: none; }
.quiz-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz-option > span { display: grid; gap: 4px; height: 100%; padding: 14px 16px 14px 42px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 15px; transition: border-color .2s, background .2s; position: relative; }
.quiz-option > span::before { content: ""; position: absolute; left: 14px; top: 16px; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255, 255, 255, .35); transition: background .2s, border-color .2s, box-shadow .2s; }
.quiz-option input[type="radio"] + span::before { border-radius: 50%; }
.quiz-option small { color: var(--muted); font-size: 13px; }
.quiz-option:hover > span { background: rgba(255, 255, 255, .07); }
.quiz-option input:checked + span { border-color: var(--tint); background: color-mix(in srgb, var(--tint) 12%, transparent); }
.quiz-option input:checked + span::before { background: var(--tint); border-color: var(--tint); box-shadow: inset 0 0 0 3px var(--panel-solid); }
.quiz-option input:focus-visible + span { outline: 2px solid var(--tint); outline-offset: 2px; }
.quiz-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.quiz-inputs label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.quiz-inputs select, .quiz-inputs input { padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-solid); color: var(--ink); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.quiz-edit { background: none; border: 0; color: var(--tint); cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-selection-needed] { color: #ffb3b8; margin-top: 10px; }
.estimate-result { display: grid; gap: 16px; }
.estimate-result[hidden] { display: none; }
.estimate-result h3 { font-size: clamp(28px, 3.6vw, 44px); color: var(--head); outline: none; text-shadow: 0 0 30px rgba(210, 220, 255, .25); font-variant-numeric: tabular-nums; }
.quiz-breakdown { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.quiz-breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.quiz-breakdown dt { color: var(--soft); } .quiz-breakdown dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.quiz-guidance { color: var(--muted); font-size: 14px; }
[data-copy-status] { color: var(--muted); font-size: 14px; white-space: pre-wrap; }

/* ---------- контакт / финал ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: stretch; }
.split .panel { display: grid; gap: 18px; align-content: start; }
.split .panel > p:not(.label) { color: var(--soft); font-size: 18px; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.channels a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: background .2s, transform .2s; }
.channels a:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.channels svg { width: 20px; height: 20px; color: var(--tint); }
.channels i { margin-left: auto; font-style: normal; color: var(--muted); }
.road-space { height: 72vh; }
.foot { position: relative; z-index: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding: 40px 0 28px; }
.foot::before { content: ""; position: absolute; z-index: -1; top: -40px; bottom: 0; left: -50vw; right: -50vw; background: linear-gradient(transparent, rgba(4, 6, 13, .86) 55%); pointer-events: none; }
.foot-brand { display: grid; gap: 14px; color: var(--tint); }
.foot-brand .dl-mark { width: 30px; height: 31px; }
.foot-links { display: grid; gap: 6px; justify-items: end; text-align: right; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #dfe6fb; transition: transform .25s var(--ease), color .25s, background .25s; }
.social a:hover { transform: translateY(-3px) rotate(-6deg); color: var(--on-tint); background: var(--tint); }
.social svg { width: 18px; height: 18px; }
.fine { font: 400 11px/1.7 var(--code); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fine a { text-decoration: none; } .fine a:hover { color: var(--ink); }

/* ---------- 404 ---------- */
.nf-page { min-height: 100vh; }
.nf { position: relative; z-index: 2; min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 40px 20px; text-align: center; color: var(--tint); }
.nf h1 { font-size: clamp(30px, 4vw, 48px); }
.nf-unfold { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); perspective: 1000px; }
.nf-unfold .dl-mark { width: clamp(110px, 16vw, 190px); height: auto; }
.nf-code { font: 700 clamp(110px, 18vw, 220px)/.9 var(--sans); letter-spacing: -.06em; color: var(--head); text-shadow: 0 0 40px rgba(210, 220, 255, .25); clip-path: inset(0 100% 0 0); animation: wipe 1s 1.5s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.nf .lead { color: var(--soft); }

/* ---------- появление ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1240px) { .keys { display: none; } .tools { margin-left: auto; } }
@media (max-width: 980px) {
  .split, .aura { grid-template-columns: 1fr; }
  .story { height: 230vh; }
  .story-pin { grid-template-columns: 1fr; align-content: center; gap: 8px; padding-top: 64px; }
  .story-mark { width: min(34vw, 150px); margin: 0 auto; }
  .story-lines { gap: 8px; } .story-lines li { font-size: 15.5px; grid-template-columns: 28px 1fr; }
  .story-copy { gap: 12px; } .story-copy h2 { font-size: 30px; }
  .story-end { gap: 10px; } .story-end .chips { display: none; }
  .packs, .case-story { grid-template-columns: 1fr; }
  .tabpanel { grid-template-columns: 1fr; }
  .tp-icon { width: 120px; border-radius: 30px; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hint, .tools > .icon-btn, .tools > .btn { display: none; }
  .menu { display: block; }
  .stage { min-height: 70vh; } .stage.tall { min-height: 85vh; } .stage.short { min-height: 40vh; }
  .sticker { width: 86px; top: 8vh; }
  .command { flex-wrap: wrap; }
  .cmd-pick { flex: 1 1 100%; } .cmd-current { width: 100%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 14px 14px 0 0; }
  .cmd-text { min-height: 50px; }
  .cmd-copy { border-radius: 0 0 14px 0; }
  .mega-word { text-shadow: 1px 1px 0 var(--tint-deep), 2px 2px 0 var(--tint-deep), 3px 3px 0 var(--tint-deep), 4px 4px 0 var(--tint-deep), 5px 5px 0 #1a0a12, 8px 10px 20px rgba(0, 0, 0, .6); }
  .case-head { grid-template-columns: auto 1fr; } .case-head .status { grid-column: 1 / -1; justify-self: start; }
  .case-stage { padding: 0 12% 8% 0; }
  .phone { min-width: 0; width: 30%; padding: 3px; border-radius: 15px; } .phone .screen { border-radius: 12px; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; background: linear-gradient(180deg, var(--tint), color-mix(in srgb, var(--tint) 25%, transparent)); }
  .flow li { grid-template-columns: 30px 1fr; align-items: center; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .foot-links { justify-items: start; text-align: left; }
  .lang a { padding: 6px 7px; }
}

/* ---------- знак Devlarion ----------
   Появление: контур прорисовывается, заливка проявляется, вырез L прорезается, по знаку проходит блик.
   Затем раз в несколько секунд — только мягкий блик. На 404 знак «разворачивается» вокруг стойки D. */
.dl-mark { display: block; overflow: visible; color: var(--tint); transition: color .6s; }
.dl-mark .dl-fill { fill: currentColor; }
.dl-mark .dl-line { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.dl-mark .dl-cut { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.dl-mark .dl-sheen { transform: translateX(-30px) skewX(-18deg); opacity: .55; }
.dl-mark.big { width: 62%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px var(--tint-glow)); }
.dl-mark.play .dl-line { animation: dl-line 1.6s var(--ease) both; }
.dl-mark.play .dl-fill { animation: dl-fill 1.6s var(--ease) both; }
.dl-mark.play .dl-cut { animation: dl-cut 1.6s var(--ease) both; }
.dl-mark.play .dl-sheen, .dl-mark.shine .dl-sheen { animation: dl-sheen 1.3s cubic-bezier(.4, 0, .2, 1) both; }
.dl-mark.play .dl-sheen { animation-delay: 1.1s; }
@keyframes dl-line { 0% { opacity: 1; stroke-dashoffset: 1; } 55% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes dl-fill { 0%, 35% { fill-opacity: 0; } 75%, 100% { fill-opacity: 1; } }
@keyframes dl-cut { 0%, 45% { opacity: 1; stroke-dashoffset: 1; } 80% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes dl-sheen { from { transform: translateX(-30px) skewX(-18deg); } to { transform: translateX(64px) skewX(-18deg); } }
.dl-mark.unfold { transform-origin: 18% 50%; animation: dl-unfold 1.4s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes dl-unfold { from { transform: rotateY(-88deg); opacity: .2; } 30% { opacity: 1; } to { transform: rotateY(0deg); } }
@media (max-width: 1520px) { .hint { display: none; } }

@media (max-width: 360px) {
  .top { gap: 10px; }
  .brandword { display: none; }
  .tools { gap: 6px; }
}
@media (max-width: 720px) {
  .currency-panel { position: fixed; left: 12px; right: 12px; top: 66px; width: auto; }
  .story-lines { padding-left: 16px; }
}
.section.finale { padding-bottom: 0; }
