/* ═════════════ HYPERION — styles ═════════════ */
:root {
  --hue: 262;
  --bg: #05050a;
  --bg-2: #0a0a12;
  --fg: #f5f5fa;
  --muted: #9b9bb2;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --a1: hsl(var(--hue) 100% 70%);
  --a2: hsl(calc(var(--hue) + 70) 100% 62%);
  --a3: hsl(calc(var(--hue) - 60) 100% 66%);
  --lime: #c4ff3d;
  --grad: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a3));
  --r: 22px;
  --f-head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--f-body);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--a1); color: #000; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shift 8s linear infinite; }
@keyframes shift { to { background-position: 200% 0; } }
.mono { font-family: var(--f-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* noise + grid overlays */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ═════ header ═════ */
.header { position: fixed; inset: 0 0 auto; z-index: 90; transition: background .4s, border-color .4s, backdrop-filter .4s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(5, 5, 10, .68); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font: 800 18px var(--f-head); letter-spacing: .02em; }
.logo small { font: 500 11px var(--f-mono); color: var(--muted); letter-spacing: .08em; text-transform: lowercase; margin-left: 2px; }
.logo-mark { width: 34px; height: 34px; position: relative; display: grid; place-items: center; }
.logo-mark svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; gap: 6px; }
.nav a, .nav button { padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav a.active { color: var(--fg); background: rgba(255, 255, 255, .06); }
.nav-dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -20px; width: 420px; padding: 12px; margin-top: 10px; background: rgba(12, 12, 20, .92); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(22px); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transition: .3s var(--ease); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.3; }
.dd-menu a:hover { background: rgba(255, 255, 255, .06); }
.head-cta { display: flex; align-items: center; gap: 16px; }
.head-phone { font: 600 14px var(--f-mono); color: var(--muted); }
.head-phone:hover { color: var(--fg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fg); border-radius: 2px; transition: .3s var(--ease); }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ═════ buttons ═════ */
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 99px; border: 0; font: 700 15px var(--f-body); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, background .3s; transform: translate(var(--bx), var(--by)); overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn-primary { background: var(--fg); color: #05050a; box-shadow: 0 0 0 0 var(--a1); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; z-index: -1; }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 50px -8px var(--a1); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--fg); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 20px 36px; font-size: 16px; }
.btn-shine::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; z-index: 1; }
@keyframes shine { 0%, 55% { left: -120%; } 100% { left: 170%; } }

/* ═════ hero ═════ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent 78%, var(--bg)); }
.hero-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); opacity: .7; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font: 500 12.5px var(--f-mono); letter-spacing: .02em; color: #d6d6e6; backdrop-filter: blur(10px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(196, 255, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 255, 61, 0); } }
h1, h2, h3 { overflow-wrap: break-word; font-family: var(--f-head); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.hero h1 { font-size: clamp(32px, 4.5vw, 68px); margin: 26px 0 24px; }
/* слот под сменяющееся слово: ширина = самое длинное слово, поэтому вёрстка не прыгает */
.scr-wrap { display: inline-grid; vertical-align: top; white-space: nowrap; max-width: 100%; }
.scr-wrap > * { grid-area: 1 / 1; }
.scr-size { visibility: hidden; pointer-events: none; user-select: none; }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); color: #bdbdd0; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.hero-bullets li { display: flex; align-items: center; gap: 8px; }
.hero-bullets svg { width: 18px; height: 18px; color: var(--lime); flex: none; }

/* floating code window */
.hero-visual { position: relative; perspective: 1400px; }
.codewin { position: relative; border-radius: 20px; background: rgba(10, 10, 18, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .8), 0 0 80px -20px var(--a1); transform-style: preserve-3d; transition: transform .2s ease-out; }
.codewin::before { content: ''; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--a1), var(--a2), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 6s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rot { to { --ang: 360deg; } }
.cw-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: 10px; font: 500 12px var(--f-mono); color: var(--muted); }
.cw-body { padding: 20px 22px 24px; font: 500 13.5px/1.75 var(--f-mono); min-height: 300px; color: #c9c9e0; white-space: pre-wrap; }
.cw-body .k { color: #ff7ad9; } .cw-body .s { color: #a8ff78; } .cw-body .f { color: #7dd3fc; } .cw-body .c { color: #6b6b88; } .cw-body .n { color: #fbbf24; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--lime); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(14, 14, 24, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font: 700 13px var(--f-body); animation: float 6s ease-in-out infinite; transform: translateZ(60px); }
.chip b { font: 800 20px var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip small { display: block; font: 500 11px var(--f-mono); color: var(--muted); }
.chip.c1 { top: -26px; right: -18px; } .chip.c2 { bottom: 70px; left: -44px; animation-delay: -2s; } .chip.c3 { bottom: -28px; right: 40px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateZ(60px) translateY(-14px); } }

.scroll-hint { position: absolute; z-index: 3; bottom: 28px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px var(--f-mono); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.scroll-hint i { width: 22px; height: 36px; border: 1.5px solid var(--muted); border-radius: 14px; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--fg); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ═════ marquee ═════ */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.m-track { display: flex; gap: 14px; width: max-content; animation: marq 55s linear infinite; }
.marquee:hover .m-track { animation-play-state: paused; }
.marquee.rev .m-track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marq { to { transform: translateX(-50%); } }
.m-pill { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font: 600 14px var(--f-mono); color: #d0d0e2; white-space: nowrap; }
.m-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--h, 262) 100% 68%); box-shadow: 0 0 12px hsl(var(--h, 262) 100% 68%); }

/* ═════ sections ═════ */
section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--a1); margin-bottom: 20px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--a1); }
h2 { font-size: clamp(30px, 4.2vw, 58px); }
.sec-head p { margin-top: 20px; font-size: 18.5px; color: var(--muted); max-width: 680px; }
.sec-head.center p { margin-inline: auto; }

/* stats */
.stats { padding: 70px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: left; padding: 6px 0 6px 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(38px, 5vw, 68px)/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* spotlight card base */
.spot { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--c-hue, var(--hue)) 100% 65% / .2), transparent 45%); }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--c-hue, var(--hue)) 100% 70% / .9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ═════ services bento ═════ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { grid-column: span 4; padding: 34px; display: flex; flex-direction: column; min-height: 300px; }
.svc.wide { grid-column: span 8; }
.svc .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: hsl(var(--c-hue) 100% 65% / .12); border: 1px solid hsl(var(--c-hue) 100% 65% / .3); color: hsl(var(--c-hue) 100% 72%); margin-bottom: auto; transition: transform .5s var(--ease), background .3s; }
.svc .ico svg { width: 26px; height: 26px; }
.svc:hover .ico { transform: rotate(-8deg) scale(1.1); background: hsl(var(--c-hue) 100% 65% / .22); }
.svc h3 { font-size: 23px; margin: 36px 0 12px; }
.svc p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.svc .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font: 600 13px var(--f-mono); color: #cfcfe2; }
.svc .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .4s var(--ease); }
.svc:hover .arrow { background: var(--fg); color: #000; transform: rotate(-45deg); }
.svc .arrow svg { width: 16px; height: 16px; }
.svc .badge { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: 99px; background: rgba(196, 255, 61, .12); border: 1px solid rgba(196, 255, 61, .4); color: var(--lime); font: 700 11.5px var(--f-mono); letter-spacing: .04em; }

/* ═════ process timeline ═════ */
.tl { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.tl-sticky { position: sticky; top: 120px; }
.tl-sticky .big { font: 800 clamp(120px, 18vw, 260px)/.85 var(--f-head); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 30px 0 10px; opacity: .95; }
.tl-sticky .cur { font: 700 clamp(22px, 2.4vw, 32px) var(--f-head); }
.tl-list { position: relative; padding-left: 46px; }
.tl-list::before { content: ''; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-line { position: absolute; left: 11px; top: 10px; width: 2px; height: 0; background: var(--grad); box-shadow: 0 0 20px var(--a1); transition: height .2s linear; }
.step { position: relative; padding: 0 0 56px; opacity: .35; transition: opacity .5s; }
.step.on { opacity: 1; }
.step::before { content: ''; position: absolute; left: -46px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: .5s var(--ease); }
.step.on::before { border-color: var(--a1); background: var(--a1); box-shadow: 0 0 0 7px hsl(var(--hue) 100% 70% / .18), 0 0 30px var(--a1); }
.step .no { font: 600 12.5px var(--f-mono); color: var(--a1); letter-spacing: .1em; }
.step h3 { font-size: 26px; margin: 8px 0 12px; }
.step p { color: var(--muted); max-width: 520px; }
.step .term { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); font: 500 12px var(--f-mono); color: #cfcfe2; }

/* ═════ stack sphere ═════ */
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sphere-box { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-inline: auto; }
.sphere-box::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, hsl(var(--hue) 100% 60% / .28), transparent 65%); filter: blur(30px); }
#sphere { position: relative; width: 100%; height: 100%; cursor: grab; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: 600 13.5px var(--f-body); cursor: pointer; transition: .3s; }
.tab:hover { color: var(--fg); border-color: rgba(255, 255, 255, .25); }
.tab.on { background: var(--fg); color: #05050a; border-color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 180px; align-content: flex-start; }
.tchip { padding: 10px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font: 600 14px var(--f-mono); transition: .3s var(--ease); animation: pop .5s var(--ease) backwards; }
.tchip:hover { transform: translateY(-4px); border-color: var(--a1); box-shadow: 0 10px 30px -10px var(--a1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }

/* ═════ rescue terminal ═════ */
.rescue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.term { border-radius: 20px; background: #07070d; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.term .cw-body { min-height: 360px; font-size: 13px; }
.ok { color: #28c840; } .warn { color: #febc2e; } .bad { color: #ff5f57; }
.checks { display: grid; gap: 14px; margin: 30px 0 36px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: #cacadd; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: rgba(196, 255, 61, .14); color: var(--lime); }

/* ═════ SEO gift ═════ */
.seo { background: radial-gradient(ellipse at 20% 50%, hsl(var(--hue) 100% 50% / .1), transparent 60%); }
.seo-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); position: relative; overflow: hidden; }
.seo-card::before { content: 'GIFT'; position: absolute; right: -20px; top: -30px; font: 900 180px/1 var(--f-head); color: rgba(255, 255, 255, .025); letter-spacing: -.06em; pointer-events: none; }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gauge { position: relative; text-align: center; padding: 22px 10px; border-radius: 22px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.ring { --p: 0; width: 110px; height: 110px; margin: 0 auto 12px; border-radius: 50%; position: relative; display: grid; place-items: center; background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); transition: --p 2s var(--ease); }
@property --p { syntax: '<number>'; initial-value: 0; inherits: false; }
.ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #0b0b13; }
.ring b { position: relative; font: 800 30px var(--f-head); color: var(--lime); }
.gauge span { font: 500 12.5px var(--f-mono); color: var(--muted); }
.seo-list { display: grid; gap: 12px; margin: 28px 0 0; }
.seo-list li { display: flex; gap: 12px; color: #d3d3e4; font-size: 15.5px; }
.seo-list svg { flex: none; width: 20px; height: 20px; color: var(--lime); margin-top: 3px; }
.gift-tag { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 99px; background: rgba(196, 255, 61, .12); border: 1px solid rgba(196, 255, 61, .4); color: var(--lime); font: 700 13px var(--f-mono); margin-bottom: 22px; }

/* ═════ portfolio ═════ */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { display: block; perspective: 1000px; }
.case-in { position: relative; border-radius: 24px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s, box-shadow .4s; will-change: transform; }
.case:hover .case-in { border-color: rgba(255, 255, 255, .25); box-shadow: 0 40px 90px -30px hsl(var(--c-hue, var(--hue)) 100% 60% / .5); }
.case-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, hsl(var(--c-hue, var(--hue)) 70% 16%), hsl(calc(var(--c-hue, var(--hue)) + 60) 70% 8%)); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-media img { transform: scale(1.06); }
/* placeholder (faux UI) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph .win { width: 72%; aspect-ratio: 16/10.5; border-radius: 12px; background: rgba(8, 8, 14, .8); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); padding: 10px; display: grid; grid-template-rows: auto 1fr; gap: 8px; transform: translateZ(40px) rotate(-3deg); transition: transform .6s var(--ease); }
.case:hover .ph .win { transform: translateZ(40px) rotate(0) scale(1.05); }
.ph .win i { display: block; height: 6px; width: 40px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.ph .blk { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.ph .blk div { border-radius: 8px; background: linear-gradient(135deg, hsl(var(--c-hue, var(--hue)) 100% 65% / .5), hsl(calc(var(--c-hue, var(--hue)) + 60) 100% 60% / .25)); position: relative; overflow: hidden; }
.ph .blk div::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); transform: translateX(-100%); animation: shim 3s infinite; }
.ph .blk div:nth-child(2) { background: rgba(255, 255, 255, .06); }
@keyframes shim { to { transform: translateX(100%); } }
.ph .lbl { position: absolute; left: 16px; bottom: 14px; font: 600 11px var(--f-mono); letter-spacing: .08em; color: rgba(255, 255, 255, .55); text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.ph .lbl::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.case-info { padding: 22px 24px 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.case-info h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; letter-spacing: -.01em; }
.case-info .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-info .tags span { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); font: 500 11.5px var(--f-mono); color: var(--muted); }
.case-info .go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: .4s var(--ease); }
.case:hover .go { background: var(--fg); color: #000; transform: rotate(-45deg); }
.case-info .go svg { width: 16px; height: 16px; }
.pf-note { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 500 13px var(--f-mono); color: var(--muted); }
.case.hide { display: none; }

/* ═════ pricing ═════ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 34px 28px; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(160deg, hsl(var(--hue) 100% 60% / .18), rgba(255, 255, 255, .03)); border-color: hsl(var(--hue) 100% 70% / .5); }
.plan .pill { align-self: flex-start; padding: 5px 12px; margin-bottom: 14px; border-radius: 99px; background: var(--grad); color: #05050a; font: 800 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 22px; }
.plan .note { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.plan .pr { font: 800 28px var(--f-head); letter-spacing: -.03em; margin-bottom: 24px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 30px; font-size: 14.5px; color: #cfcfe2; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--lime); margin-top: 3px; }
.plan .btn { width: 100%; }
.price-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* ═════ guarantees ═════ */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gcard { padding: 30px; }
.gcard .num { font: 700 13px var(--f-mono); color: var(--a1); margin-bottom: 18px; }
.gcard h3 { font-size: 19px; margin-bottom: 10px; }
.gcard p { color: var(--muted); font-size: 15px; }

/* ═════ FAQ ═════ */
.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: hsl(var(--hue) 100% 70% / .45); background: rgba(255, 255, 255, .05); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font: 600 18px var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--fg); translate: -50% -50%; transition: .4s var(--ease); }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i { background: var(--fg); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #000; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq .ans { padding: 0 28px 26px; color: #b9b9cf; max-width: 760px; }
.faq details[open] .ans { animation: down .5s var(--ease); }
@keyframes down { from { opacity: 0; transform: translateY(-8px); } }

/* ═════ CTA / form ═════ */
.cta { overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1)); filter: blur(160px); opacity: .22; animation: spin 24s linear infinite; pointer-events: none; }
.cta-box { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: clamp(28px, 5vw, 72px); border-radius: 40px; background: rgba(8, 8, 14, .72); backdrop-filter: blur(28px); border: 1px solid rgba(255, 255, 255, .12); }
.cta-box h2 { font-size: clamp(30px, 3.8vw, 52px); }
.cta-box .lead { color: #bdbdd0; margin: 22px 0 32px; font-size: 18px; }
.contacts { display: grid; gap: 14px; }
.contacts a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: .3s; font-weight: 600; }
.contacts a:hover { border-color: var(--a1); transform: translateX(6px); }
.contacts svg { width: 22px; height: 22px; color: var(--a1); flex: none; }
.contacts small { display: block; font: 500 11.5px var(--f-mono); color: var(--muted); }
.form { display: grid; gap: 14px; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; padding: 22px 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); outline: none; transition: border-color .3s, background .3s, box-shadow .3s; font-size: 16px; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: .25s var(--ease); transform-origin: 0 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--a1); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px hsl(var(--hue) 100% 70% / .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-11px) scale(.76); color: var(--a1); }
.field select option { background: #12121c; }
.field.sel::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -70%; pointer-events: none; }
.form .agree { font-size: 12.5px; color: var(--muted); }
.form .agree a { text-decoration: underline; }
.form .ok-msg { display: none; padding: 18px; border-radius: 16px; background: rgba(196, 255, 61, .1); border: 1px solid rgba(196, 255, 61, .4); color: var(--lime); font-weight: 600; }
.form.sent .ok-msg { display: block; animation: down .5s var(--ease); }
.form.sent .btn { display: none; }
.hp { position: absolute; left: -9999px; }

/* ═════ footer ═════ */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer h4 { font: 600 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer li a { color: #cfcfe2; transition: color .2s; } .footer li a:hover { color: var(--a1); }
.f-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.f-mega { overflow: hidden; white-space: nowrap; font: 900 clamp(36px, 13.5vw, 230px)/.85 var(--f-head); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); margin-top: 60px; user-select: none; background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 70%); -webkit-background-clip: text; background-clip: text; }

/* ═════ service page extras ═════ */
.crumbs { display: flex; gap: 10px; font: 500 12.5px var(--f-mono); color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--fg); }
.hero.sub { min-height: auto; padding: 150px 0 100px; }
.hero.sub .wrap { grid-template-columns: 1.2fr .8fr; }
.price-card { padding: 36px; position: relative; }
.price-card .big { font: 800 clamp(34px, 3.4vw, 46px)/1.1 var(--f-head); letter-spacing: -.03em; margin: 8px 0 4px; }
.price-card dl { display: grid; gap: 0; margin: 26px 0; }
.price-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.price-card dt { color: var(--muted); }
.price-card dd { font-weight: 700; text-align: right; }
.price-card .btn { width: 100%; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 32px; }
.feat .n { font: 600 12.5px var(--f-mono); color: var(--a1); margin-bottom: 40px; display: block; }
.feat h3 { font-size: 20px; margin-bottom: 12px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.others a { padding: 22px; display: block; font-weight: 700; font-size: 15px; }
.others small { display: block; font-weight: 500; color: var(--muted); margin-top: 6px; font-size: 13px; }
.sticky-cta { display: none; }

/* ═════ cursor ═════ */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .5); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s, border-color .3s; mix-blend-mode: difference; }
.cur-ring.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 255, 255, .9); border-color: transparent; }
.has-cursor .cur-dot, .has-cursor .cur-ring { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; } }

/* ═════ reveal ═════ */
.rv { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv-l { transform: translateX(-50px); } .rv-r { transform: translateX(50px); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }
.no-js .rv, .no-js .split .w > span { opacity: 1; transform: none; filter: none; }

/* ═════ responsive ═════ */
@media (max-width: 1100px) {
  .hero .wrap, .hero.sub .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .svc, .svc.wide { grid-column: span 6; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-grid, .feat-grid, .g-grid { grid-template-columns: repeat(2, 1fr); }
  .tl, .stack-grid, .rescue-grid, .seo-card, .cta-box { grid-template-columns: 1fr; }
  .tl-sticky { position: static; } .tl-sticky .big { font-size: 110px; margin: 10px 0; }
  .others { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .head-phone { display: none; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; padding: 20px; background: rgba(5, 5, 10, .96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); gap: 2px; transform: translateY(-120%); transition: transform .5s var(--ease); max-height: calc(100svh - 76px); overflow: auto; }
  .menu-open .nav { transform: none; }
  .nav a, .nav button { font-size: 17px; padding: 14px; text-align: left; }
  .nav-dd .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; width: auto; background: none; border: 0; box-shadow: none; padding: 0 0 0 10px; grid-template-columns: 1fr; margin: 0; backdrop-filter: none; }
  .burger { display: block; }
  .head-cta .btn { display: none; }
}
@media (max-width: 900px) { .rv-l, .rv-r { transform: translateY(40px); } }
@media (max-width: 480px) { .logo small { display: none; } .header .wrap { gap: 12px; } }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .svc, .svc.wide { grid-column: span 12; min-height: 0; padding: 26px; }
  .price-grid, .pf-grid, .feat-grid, .g-grid, .others, .f-grid, .form .row, .gauges { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: 1fr 1fr; }
  .chip { display: none; }
  .hero-actions .btn { width: 100%; }
  .faq summary { padding: 20px; font-size: 16px; } .faq .ans { padding: 0 20px 22px; }
  .scroll-hint { display: none; }
  .sticky-cta { display: flex; position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px; gap: 10px; padding: 10px; border-radius: 22px; background: rgba(12, 12, 20, .88); backdrop-filter: blur(18px); border: 1px solid var(--line); transform: translateY(140%); transition: transform .5s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; padding: 14px; font-size: 14px; }
  .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .split .w > span { opacity: 1; transform: none; filter: none; }
}
