/* Delta Protocol — "Δ: o‘zgarish belgisi" */
:root {
  color-scheme: dark;
  --bg: #040d14;
  --bg-2: #071722;
  --ink: #f2f8f6;
  --muted: #9fb6b5;
  --faint: #66807f;
  --line: #ffffff14;
  --line-2: #ffffff24;
  --glass: #ffffff0a;
  --green: #10b981;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --grad: linear-gradient(100deg, #34d399 0%, #22d3ee 50%, #3b82f6 100%);
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1560px, calc(100% - 2 * clamp(16px, 4vw, 40px))); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--bg); font-weight: 700; }
.skip:focus { top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 15px; letter-spacing: -.01em; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #071722; box-shadow: 0 10px 40px -10px #34d39999; }
.btn-light:hover { box-shadow: 0 16px 50px -10px #22d3eeaa; }
.btn-glass { background: var(--glass); border-color: var(--line-2); }
.btn-glass:hover { border-color: #ffffff55; }
.btn-grad { background: var(--grad); color: #071722; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.header.scrolled { background: #040d14f2; border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark svg { width: 28px; height: 28px; }
.menu { display: flex; align-items: center; gap: 30px; font-size: 15px; color: #c8d8d6; }
.menu a:not(.btn):hover { color: #fff; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass); }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.burger i:first-of-type { top: 19px; } .burger i:last-of-type { top: 25px; }
.burger[aria-expanded="true"] i:first-of-type { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; isolation: isolate; padding: 104px 0 36px; }
.hero-inner { margin-top: auto; }
.hero-proof { margin-bottom: auto; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; contain: strict; will-change: transform; }
.blob { position: absolute; border-radius: 50%; opacity: .55; }
.b1 { width: 70vw; height: 70vw; right: -20vw; top: -30vw; background: radial-gradient(circle, #065f46 0%, transparent 62%); }
.b2 { width: 56vw; height: 56vw; right: 8vw; bottom: -30vw; background: radial-gradient(circle, #0e7490 0%, transparent 62%); }
.b3 { width: 40vw; height: 40vw; right: -8vw; bottom: -4vw; background: radial-gradient(circle, #1e40af 0%, transparent 62%); opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(#ffffff10 1px, transparent 1px) 0 0 / 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.scene { contain: layout paint; position: absolute; z-index: -1; right: max(0px, calc(50vw - 830px)); top: 50%; width: min(50vw, 920px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.prism-fallback { position: absolute; inset: 22%; width: 56%; height: 56%; filter: drop-shadow(0 0 40px #10b98188); }
.webgl .prism-fallback { display: none; }
.hero-inner { position: relative; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #0a1c28cc; font-size: 14px; color: #cfe0dd; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px #22d3ee33; animation: pulse 2.4s ease-in-out infinite; }
h1 { margin-top: 26px; font-size: clamp(42px, 6.4vw, 104px); line-height: .98; letter-spacing: -.05em; font-weight: 750; }
.h1-static { display: block; }
.rotator { display: block; height: 1.3em; line-height: 1.2; overflow: hidden; margin-bottom: -.2em; }
.rot-word { display: inline-block; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; transition: transform .5s var(--ease), opacity .5s; }
.rot-word.out { transform: translateY(-105%); opacity: 0; }
.rot-word.pre { transform: translateY(105%); opacity: 0; transition: none; }
.hero-sub { max-width: 540px; margin-top: 26px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.formula { margin-top: 34px; font-size: 14px; color: var(--faint); }
.f-d { color: #fff; font-weight: 700; }
.f-a { color: #34d399; } .f-b { color: var(--cyan); } .f-c { color: var(--blue); }
.hero-proof { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 8vh, 90px); }
.hero-proof a { display: grid; gap: 2px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: #071722e6; transition: border-color .25s, transform .25s var(--ease); }
.hero-proof a:hover { border-color: #ffffff40; transform: translateY(-3px); }
.hero-proof b { font-size: 17px; letter-spacing: -.01em; }
.hero-proof span { font-size: 13.5px; color: var(--muted); }

/* Sections */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tint { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow { font-size: 13px; color: var(--cyan); margin-bottom: 14px; }
h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 720; }
.sec-lead { max-width: 600px; margin-top: 20px; font-size: 17px; color: var(--muted); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Stacking project slides */
.stack { display: grid; }
.slide { --s: 1; position: sticky; top: calc(92px + var(--i) * 20px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); align-items: center; min-height: min(640px, calc(100svh - 140px)); margin-bottom: 7vh; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line-2); border-radius: 36px; overflow: hidden; background: radial-gradient(ellipse 70% 90% at 100% 100%, color-mix(in srgb, var(--tone) 38%, transparent), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 0%, color-mix(in srgb, var(--tone2) 22%, transparent), transparent 70%), #0a1c28; box-shadow: 0 -20px 60px -20px #000c; transform: scale(var(--s)); transform-origin: 50% 0; }
.slide:last-child { margin-bottom: 0; }
.slide-tag { font-size: 12.5px; color: color-mix(in srgb, var(--tone) 60%, #fff); letter-spacing: .02em; }
.slide h3 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 740; }
.slide-text > p:not(.slide-tag):not(.tech) { margin-top: 18px; color: #c3d4d2; font-size: 16.5px; line-height: 1.7; }
.ticks { display: grid; gap: 8px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: #d7e6e3; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 2px solid var(--tone); border-bottom: 2px solid var(--tone); transform: rotate(-45deg) scale(.7); transform-origin: 30% 30%; }
.tech { margin-top: 22px; font-size: 12.5px; color: var(--faint); }
.arrow-link { display: inline-flex; gap: 6px; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid #ffffff55; font-weight: 600; }
.arrow-link:hover { border-color: #fff; }
.slide-visual { position: relative; display: grid; place-items: center; perspective: 1400px; min-width: 0; }

.device { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid #ffffff2a; background: #0b1b26; box-shadow: 0 40px 90px -20px #000d, 0 0 0 8px #ffffff08; transform: rotateY(-14deg) rotateX(5deg) rotateZ(1deg); transition: transform .8s var(--ease); }
.slide:hover .device { transform: rotateY(-6deg) rotateX(2deg); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #0f2433; border-bottom: 1px solid var(--line); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ffffff26; }
.device-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: #071722; font-size: 11.5px; color: var(--muted); }
.device img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.visual-jarvis { min-height: 360px; }
.panel { width: 82%; padding: 18px; border: 1px solid #ffffff22; border-radius: 18px; background: #0c1a2acc; box-shadow: 0 30px 70px -20px #000; transform: rotateY(-16deg) rotateX(6deg) translateX(-8%); }
.panel-head { font-size: 12px; color: #a5f3fc; }
.panel-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.panel-kpis span { padding: 10px; border: 1px solid #ffffff14; border-radius: 10px; font-size: 11px; color: #cbd5e1; }
.panel-chart { width: 100%; height: 120px; margin-top: 10px; }
.phone { position: absolute; right: 0; bottom: -4%; width: min(250px, 54%); display: grid; gap: 8px; padding: 14px; border: 1px solid #ffffff26; border-radius: 26px; background: #071722; box-shadow: 0 30px 70px -10px #000e; transform: rotateY(-10deg) translateZ(80px); }
.phone-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ava { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #10b981); font: 700 13px var(--mono); }
.bubble { max-width: 92%; padding: 8px 11px; border-radius: 13px; font-size: 12.5px; line-height: 1.45; }
.bubble.out { justify-self: end; background: #10b981; border-bottom-right-radius: 4px; }
.bubble.in { justify-self: start; background: #12283a; color: #dbeafe; border-bottom-left-radius: 4px; }
.bubble.draft { border: 1px dashed #22d3ee99; }
.bubble small { display: block; font-size: 10px; color: var(--cyan); }

.visual-ig { min-height: 340px; }
.feed { position: relative; width: min(100%, 420px); padding: 20px; border: 1px solid #ffffff22; border-radius: 24px; background: #0b2230cc; box-shadow: 0 30px 80px -20px #000; transform: rotateY(-12deg) rotateX(5deg); }
.post { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.post i { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #3b82f655, #22c55e33); }
.post i:nth-child(2) { background: linear-gradient(135deg, #10b98155, #0ea5e933); }
.scan { position: relative; margin: 14px 0; padding: 8px 12px; border-radius: 10px; background: #ffffff0d; font-size: 12px; color: #bae6fd; overflow: hidden; }
.scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #3b82f655, transparent); transform: translateX(-100%); animation: scan 2.6s ease-in-out infinite; }
.alert { display: grid; gap: 4px; padding: 14px; border-left: 3px solid var(--blue); border-radius: 12px; background: #071722; transform: translateZ(60px); font-size: 14px; }
.alert span { font-size: 11.5px; color: var(--muted); }

.others { margin-top: clamp(60px, 8vw, 100px); }
.others-title { font-size: 22px; letter-spacing: -.02em; margin-bottom: 20px; }
.others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, #ffffff0b, #ffffff03); transition: border-color .3s, transform .3s var(--ease); }
.mini:hover { border-color: #ffffff33; transform: translateY(-4px); }
.mini-code { align-self: flex-start; padding: 6px 12px; border-radius: 10px; background: #ffffff0d; font-size: 14px; font-weight: 600; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; border: 1px solid var(--line-2); }
.mini h4 { margin-top: 6px; font-size: 20px; letter-spacing: -.02em; }
.mini p { color: var(--muted); font-size: 14.5px; }
.mini .tech { margin-top: auto; padding-top: 6px; }
.footnote { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc { --mx: 50%; --my: 50%; position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #0a1c28; overflow: hidden; isolation: isolate; transition: border-color .3s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx) var(--my), #10b98133, transparent 60%); }
.svc:hover { border-color: #ffffff30; }
.svc:hover::before { opacity: 1; }
.svc-code { display: block; font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 36px; }
.svc h3 { font-size: 21px; letter-spacing: -.02em; }
.svc p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps li { position: relative; padding: 28px 24px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40%; height: 2px; background: var(--grad); }
.step-n { display: block; font-size: 56px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px #ffffff44; }
.steps h3 { margin-top: 22px; font-size: 21px; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 20px; background: #ffffff05; transition: border-color .3s, background .3s; }
details[open] { border-color: #ffffff2a; background: #ffffff09; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { padding: 0 22px 20px; color: var(--muted); }

/* Order */
.order-card { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); padding: clamp(26px, 5vw, 64px); border-radius: 40px; background: radial-gradient(ellipse 60% 70% at 0% 0%, #10b98133, transparent 70%), radial-gradient(ellipse 60% 70% at 100% 100%, #22d3ee22, transparent 70%), #0a1c28; overflow: hidden; }
.order-card::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }
.contacts { display: grid; gap: 10px; margin-top: 30px; }
.contacts a { display: inline-flex; gap: 12px; font-weight: 600; }
.contacts a span { min-width: 80px; color: var(--faint); font-weight: 400; }
.contacts a:hover { color: var(--cyan); }
.wizard { display: grid; gap: 22px; align-content: start; min-width: 0; }
.wizard-steps { display: flex; gap: 8px; font-size: 12.5px; }
.wizard-steps li { flex: 1; padding-top: 10px; border-top: 2px solid var(--line-2); color: var(--faint); transition: color .3s, border-color .3s; }
.wizard-steps li.on { border-color: var(--cyan); color: var(--ink); }
.wstep { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
.wstep legend { padding: 0; margin-bottom: 16px; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.js .wstep:not(.active) { display: none; }
.js .wstep.active { animation: step-in .45s var(--ease); }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice label { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: grid; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--line-2); border-radius: 18px; background: #ffffff05; font-size: 14.5px; font-weight: 600; transition: all .2s; }
.choice span b { font-size: 15px; color: var(--faint); }
.choice label:hover span { border-color: #ffffff44; }
.choice input:checked + span { border-color: var(--cyan); background: #22d3ee14; box-shadow: 0 0 0 1px var(--cyan) inset; }
.choice input:checked + span b { color: var(--cyan); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.field { display: grid; gap: 8px; font-size: 14px; color: #c8d8d6; }
.field input, .field textarea { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #040d1499; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px #22d3ee22; }
.field [aria-invalid="true"] { border-color: #f87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.wizard-nav .btn { flex: 1; min-width: 140px; }
html:not(.js) .wizard-nav { display: none; }
.form-msg { min-height: 24px; font-size: 14.5px; color: #a5f3fc; }
.form-msg.err { color: #fca5a5; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot-nav, .foot-contacts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.foot-nav a:hover, .foot-contacts a:hover { color: #fff; }
.copy { font-size: 13px; color: var(--faint); }

/* ---------- Progress, code rain, cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px #22d3ee88; }
.code-rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
/* Δ-arrow as a native cursor: moves exactly like the system mouse */
@media (hover: hover) and (pointer: fine) {
  body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%236ee7b7'/%3E%3Cstop offset='.5' stop-color='%2322d3ee'/%3E%3Cstop offset='1' stop-color='%233b82f6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2.5 2.5 21 9.6 12.2 12.2 9.6 21Z' fill='url(%23g)' stroke='%23041018' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, auto; }
  a, button, summary, label, [data-cmd], .choice span { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 2.5 21 9.6 12.2 12.2 9.6 21Z' fill='%2334d399' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, pointer; }
  input, textarea { cursor: text; }
}
.drag-hint { display: none; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; color: #8fb3ad; }
@media (hover: hover) and (pointer: fine) { .drag-hint { display: flex; } }
.hint-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid #22d3ee66; border-radius: 50%; color: var(--cyan); animation: spin 4s linear infinite; }
.drag-hint + .formula { margin-top: 12px; }

/* ---------- Side navigation (wide screens) ---------- */
.side-nav, .side-meta { display: none; }
@media (min-width: 1380px) {
  .side-nav { position: fixed; left: 26px; top: 50%; z-index: 40; display: grid; gap: 14px; transform: translateY(-50%); }
  .side-nav a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #ffffff44; transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s; }
  .side-nav a span { position: absolute; left: 24px; top: 50%; translate: 0 -50%; padding: 4px 10px; border-radius: 8px; background: #0a1c28ee; border: 1px solid var(--line-2); font-size: 12.5px; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; pointer-events: none; }
  .side-nav a:hover span, .side-nav a:focus-visible span { opacity: 1; transform: none; }
  .side-nav a:hover { border-color: var(--cyan); }
  .side-nav a.active { background: var(--cyan); border-color: var(--cyan); transform: scale(1.25); box-shadow: 0 0 14px #22d3ee99; }
  .side-meta { position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 40; display: grid; justify-items: center; gap: 16px; font-size: 12px; color: var(--faint); }
  .side-meta .pct { color: var(--cyan); font-weight: 700; }
  .side-text { writing-mode: vertical-rl; letter-spacing: .2em; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #06131bcc; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li { display: flex; align-items: center; gap: 26px; padding-right: 26px; font-size: 15px; color: #a9c4c0; white-space: nowrap; }
.ticker li::after { content: "Δ"; font-size: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Yaqingram radar ---------- */
.visual-radar { min-height: 380px; }
.radar { position: relative; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #2aabee1f, #04111a 70%); border: 1px solid #2aabee44; box-shadow: 0 30px 80px -20px #000, inset 0 0 60px #2aabee22; transform: rotateX(18deg); }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid #2aabee33; }
.r1 { width: 33%; height: 33%; } .r2 { width: 66%; height: 66%; } .r3 { width: 100%; height: 100%; border-style: dashed; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #22d3ee55, transparent 22%); animation: spin 4s linear infinite; }
.radar .me { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #2aabee, #10b981); font-weight: 700; font-size: 13px; box-shadow: 0 0 0 8px #2aabee22; }
.ping { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 #34d39988; animation: ping 2.4s ease-out infinite; }
.ping b { position: absolute; left: 20px; top: -4px; padding: 2px 8px; border-radius: 8px; background: #071722e6; border: 1px solid var(--line-2); font: 600 11px var(--mono); color: #bfe9ff; white-space: nowrap; }
.p1 { left: 64%; top: 30%; } .p2 { left: 20%; top: 66%; animation-delay: .8s; } .p3 { left: 28%; top: 22%; animation-delay: 1.6s; }
.match-chip { position: absolute; right: -6%; bottom: 10%; padding: 8px 14px; border-radius: 999px; background: var(--grad); color: #04110f; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px #0008; animation: bob 3s ease-in-out infinite; }

/* ---------- MiraMatch ---------- */
.visual-mira { min-height: 380px; }
.phone-lg { position: relative; right: auto; bottom: auto; width: min(320px, 90%); transform: rotateY(-12deg) rotateX(4deg); }
.ava-g { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.plans span { padding: 8px; border-radius: 10px; border: 1px solid #ffffff1f; text-align: center; font-size: 12px; color: #cfe7e3; }
.plans .hot { border-color: var(--green); color: var(--green); background: #10b98118; }
.stars i { position: absolute; bottom: 10%; width: 14px; height: 14px; background: #34d399; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: 0; animation: star-up 4s ease-in infinite; }
.stars i:nth-child(1) { left: 12%; } .stars i:nth-child(2) { left: 30%; animation-delay: .8s; background: #22d3ee; } .stars i:nth-child(3) { left: 78%; animation-delay: 1.6s; } .stars i:nth-child(4) { left: 88%; animation-delay: 2.4s; background: #3b82f6; } .stars i:nth-child(5) { left: 55%; animation-delay: 3.2s; }

/* ---------- Terminal ---------- */
.term-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.term-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.term-chips button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #ffffff06; font-size: 13.5px; color: #bfe9e0; transition: border-color .2s, background .2s, color .2s; }
.term-chips button:hover { border-color: var(--cyan); color: #fff; background: #22d3ee14; }
.term { border: 1px solid #22d3ee33; border-radius: 22px; overflow: hidden; background: #030b10f2; box-shadow: 0 40px 100px -30px #000, 0 0 0 1px #10b98114, 0 0 80px -30px #22d3ee55; transition: border-color .3s; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #071722; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff22; }
.term-bar i:first-child { background: #10b981; } .term-bar i:nth-child(2) { background: #22d3ee; } .term-bar i:nth-child(3) { background: #3b82f6; }
.term-bar span { margin-left: 12px; font-size: 12px; color: var(--faint); }
.term-out { height: 360px; overflow-y: auto; padding: 18px 20px 6px; font-size: 14px; line-height: 1.7; color: #cfe3df; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #22d3ee44 transparent; }
.term-out .cmd { color: #fff; } .term-out .cmd b { color: var(--green); font-weight: 500; }
.term-out .ok { color: var(--green); } .term-out .info { color: var(--cyan); } .term-out .warn { color: #fca5a5; } .term-out .dim { color: var(--faint); }
.term-out a { color: var(--cyan); text-decoration: underline; }
.term-line { display: flex; align-items: center; gap: 10px; padding: 12px 20px 18px; font-size: 14px; }
.prompt { color: var(--green); white-space: nowrap; }
.term-line input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; caret-color: var(--cyan); }
.term-line input:focus { outline: none; }
.term:focus-within { border-color: #22d3ee88; }
.term.flash { border-color: var(--green); }

/* ---------- Header tools: phone + language ---------- */
.nav-tools { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 650; font-size: 15px; white-space: nowrap; letter-spacing: .01em; }
.phone-link:hover { color: var(--cyan); }
.menu-phone { display: none; }
.menu-cta { gap: 10px; padding-right: 8px; }
.cta-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #04110f; color: #fff; font-size: 13px; transition: transform .3s var(--ease); }
.menu-cta:hover .cta-arrow { transform: rotate(45deg); }
.lang-switch { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: #ffffff08; }
.lang-switch button { min-width: 38px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; transition: background .2s, color .2s; }
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] { background: var(--grad); color: #04110f; }

/* ---------- Delta bot (corner robot) ---------- */
.dbot { position: fixed; right: 22px; bottom: 22px; z-index: 75; display: grid; justify-items: end; gap: 12px; }
.dbot-btn { position: relative; width: 66px; height: 66px; padding: 6px; border: 1px solid #22d3ee55; border-radius: 22px; background: radial-gradient(circle at 30% 20%, #12384a, #061620); box-shadow: 0 14px 40px #000a, 0 0 0 0 #22d3ee55; animation: bot-float 3.6s ease-in-out infinite, bot-glow 3s ease-out infinite; transition: transform .25s var(--ease); }
.dbot-btn:hover { transform: scale(1.08) rotate(-4deg); }
.robot { width: 100%; height: 100%; overflow: visible; }
.robot .eyes { transition: transform .15s; }
.robot .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.robot .antenna { animation: antenna 1.6s ease-in-out infinite; }
.dbot-badge { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #22c55e; color: #04110f; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 3px var(--bg); }
.dbot-bubble { position: relative; max-width: 290px; padding: 14px 34px 14px 16px; border: 1px solid #22d3ee44; border-radius: 18px 18px 6px 18px; background: #0a1c28f2; box-shadow: 0 16px 40px #000a; cursor: pointer; }
.dbot-bubble.pop { animation: pop-in .45s var(--ease); }
.dbot-name { display: block; font-size: 13px; color: var(--cyan); margin-bottom: 2px; }
.dbot-bubble p { font-size: 14px; line-height: 1.5; color: #dcefeb; }
.dbot-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #ffffff10; color: var(--muted); font-size: 16px; line-height: 1; }
.dbot-x:hover { background: #ffffff22; color: #fff; }
.dbot-panel { width: min(360px, calc(100vw - 32px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: min(520px, calc(100svh - 130px)); border: 1px solid #22d3ee44; border-radius: 22px; overflow: hidden; background: #071722f7; box-shadow: 0 30px 80px #000c; animation: pop-in .35s var(--ease); }
.dbot-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #10b98122, #3b82f622); }
.dbot-head b { display: block; font-size: 15px; }
.dbot-head small { font-size: 12px; color: #6ee7b7; }
.dbot-head .dbot-x { top: 50%; translate: 0 -50%; right: 12px; }
.dbot-avatar { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #34d399, #3b82f6); box-shadow: inset 0 0 0 7px #041018, inset 0 0 0 9px #7dfcc9; }
.dbot-log { display: grid; align-content: start; gap: 8px; padding: 16px; overflow-y: auto; min-height: 140px; }
.dbot-msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; animation: pop-in .3s var(--ease); }
.dbot-msg.from-bot { justify-self: start; background: #12283a; color: #dcefeb; border-bottom-left-radius: 4px; }
.dbot-msg.from-user { justify-self: end; background: var(--grad); color: #04110f; font-weight: 600; border-bottom-right-radius: 4px; }
.dbot-msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.dbot-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; animation: dots 1s infinite; }
.dbot-msg.typing i:nth-child(2) { animation-delay: .15s; } .dbot-msg.typing i:nth-child(3) { animation-delay: .3s; }
.dbot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 16px; border-top: 1px solid var(--line); }
.dbot-quick button { padding: 8px 12px; border: 1px solid #22d3ee55; border-radius: 999px; background: #22d3ee0f; color: #bff6ec; font-size: 13px; transition: background .2s, border-color .2s; }
.dbot-quick button:hover { background: #22d3ee22; border-color: var(--cyan); }
@keyframes bot-float { 50% { transform: translateY(-6px); } }
@keyframes bot-glow { 0% { box-shadow: 0 14px 40px #000a, 0 0 0 0 #22d3ee55; } 70%, 100% { box-shadow: 0 14px 40px #000a, 0 0 0 14px #22d3ee00; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes antenna { 50% { fill: #34d399; filter: drop-shadow(0 0 4px #34d399); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes dots { 50% { opacity: .3; transform: translateY(-3px); } }
@media (max-width: 1180px) { .phone-link { display: none; } .menu-phone:not([hidden]) { display: block; } }
@media (max-width: 640px) {
  .dbot { right: 14px; bottom: 14px; }
  .dbot-btn { width: 56px; height: 56px; border-radius: 18px; }
  .dbot-bubble { max-width: calc(100vw - 100px); }
  .lang-switch button { min-width: 32px; padding: 0 5px; }
  .nav-tools { gap: 8px; }
}

/* ---------- Work: filters + 2-column grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #ffffff06; color: var(--muted); font-size: 15px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { color: #fff; border-color: #ffffff44; }
.filters button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #04110f; }
.filters b { font-size: 12px; font-weight: 700; opacity: .7; }
.f-ico { font-size: 12px; opacity: .8; }
.filter-status { margin-top: 18px; font-size: 12.5px; color: var(--faint); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 10%, #0a1c28), #081620 60%); transition: border-color .3s, transform .3s var(--ease); }
.pcard:hover { border-color: color-mix(in srgb, var(--tone) 60%, transparent); transform: translateY(-4px); }
.pcard[hidden] { display: none; }
.pcard:target { border-color: var(--tone); }
.pcard-visual { position: relative; display: grid; place-items: center; height: 300px; padding: 28px; overflow: hidden; perspective: 1200px; background: radial-gradient(ellipse 70% 80% at 50% 110%, color-mix(in srgb, var(--tone) 30%, transparent), transparent 70%), #061520; border-bottom: 1px solid var(--line); }
.pcard-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; flex: 1; }
.pcard-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: color-mix(in srgb, var(--tone) 55%, #fff); }
.pcard-tag .cat { padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tone) 50%, transparent); background: color-mix(in srgb, var(--tone) 14%, transparent); color: #e6fbf6; }
.pcard h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.035em; font-weight: 740; }
.pcard-body > p { color: #c3d4d2; font-size: 15.5px; line-height: 1.65; }
.pcard .ticks { margin-top: 2px; gap: 6px; }
.pcard .ticks li { font-size: 14.5px; }
.pcard .ticks li::before { border-color: var(--tone); }
.pcard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: auto; padding-top: 8px; }
.pcard-foot .tech, .pcard-foot .arrow-link { margin-top: 0; }

/* Card visuals */
.v-device { padding: 30px 30px 0; place-items: end center; }
.v-device .device { width: 100%; max-width: 560px; border-radius: 14px 14px 0 0; border-bottom: 0; transform: none; box-shadow: 0 30px 60px -20px #000c; }
.pcard:hover .v-device .device { transform: translateY(-6px); transition: transform .5s var(--ease); }
.v-panel .panel { width: min(100%, 460px); transform: rotateX(8deg); }
.panel-rows { display: grid; gap: 7px; margin-top: 4px; }
.panel-rows i { display: block; height: 6px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #22d3ee66, #22d3ee11); }
.v-chat .phone { position: relative; right: auto; bottom: auto; width: min(300px, 92%); transform: none; }
.v-radar .radar { width: min(250px, 80%); }
.v-feed .feed { width: min(100%, 380px); padding: 16px; transform: none; }
.v-feed .post i { aspect-ratio: 1.4; }
.quiz { width: min(320px, 92%); display: grid; gap: 9px; padding: 16px; border: 1px solid #ffffff22; border-radius: 20px; background: #0a1c28; box-shadow: 0 24px 50px -20px #000; }
.quiz-top { display: flex; justify-content: space-between; font-size: 12px; color: #9fe8d8; }
.quiz-top .timer { color: var(--cyan); }
.quiz-q { height: 12px; width: 80%; border-radius: 6px; background: #ffffff22; margin-bottom: 4px; }
.quiz-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #ffffff1a; border-radius: 12px; }
.quiz-opt i { font: 700 12px var(--mono); font-style: normal; color: var(--muted); }
.quiz-opt b { height: 8px; flex: 1; border-radius: 4px; background: #ffffff18; }
.quiz-opt.ok { border-color: var(--green); background: #10b98118; }
.quiz-opt.ok i { color: var(--green); }
.v-term .mini-term { width: min(100%, 420px); margin: 0; padding: 18px 20px; border: 1px solid #34d39944; border-radius: 16px; background: #030b10; font-size: 13.5px; line-height: 1.9; color: #cfe3df; white-space: pre-wrap; box-shadow: 0 24px 50px -20px #000; }
.mini-term .ok { color: var(--green); } .mini-term .dim { color: var(--faint); }
.blink { color: var(--cyan); animation: blink-c 1s steps(1) infinite; }
.kino { position: relative; width: min(300px, 90%); aspect-ratio: 16 / 10; display: grid; place-items: center; border: 1px solid #3b82f655; border-radius: 18px; background: linear-gradient(135deg, #0f2433, #071722); box-shadow: 0 24px 50px -20px #000; }
.kino-code { position: absolute; top: 14px; left: 16px; font-size: 22px; font-weight: 700; color: var(--cyan); }
.kino-play { width: 0; height: 0; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent #e6fbf6; filter: drop-shadow(0 0 14px #22d3ee88); }
.kino-strip { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; gap: 6px; }
.kino-strip i { flex: 1; height: 10px; border-radius: 3px; background: #ffffff18; }
.kino-strip i:nth-child(2) { background: #3b82f6aa; }

/* Pause card animations while they are off-screen (performance) */
.pcard-visual:not(.live) *, .pcard-visual:not(.live) *::before, .pcard-visual:not(.live) *::after { animation-play-state: paused !important; }
@keyframes blink-c { 50% { opacity: 0; } }
@media (max-width: 900px) { .pgrid { grid-template-columns: minmax(0, 1fr); } .pcard-visual { height: 260px; } }
@media (max-width: 640px) { .pcard-body { padding: 22px; } .filters button { min-height: 42px; padding: 8px 14px; font-size: 14px; } .f-ico { display: none; } }

/* ---------- Projects from admin + footer contacts ---------- */
.v-code .big-code { font-size: clamp(54px, 6vw, 84px); font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px #22d3ee44); }
.v-device img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.foot-connect { width: 100%; display: grid; gap: 14px; padding-bottom: 26px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.foot-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.foot-contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-contacts a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--line-2); border-radius: 16px; background: #0a1c28; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.foot-contacts a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.foot-contacts i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #04110f; font-style: normal; font-weight: 800; font-size: 13px; }
.foot-contacts span { display: grid; line-height: 1.3; }
.foot-contacts small { font-size: 12px; color: var(--muted); }
.foot-contacts b { font-size: 15px; }

.logo-alt { font-style: normal; font-weight: 500; color: var(--muted); }
@media (max-width: 1240px) { .header .logo-alt { display: none; } }

/* Motion off */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-play-state: paused !important; }

@keyframes drift { to { transform: translate(-6vw, 4vw) scale(1.12); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px #22d3ee11; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes scan { 60%, 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 18px #34d39900; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes star-up { 10% { opacity: 1; } 100% { opacity: 0; transform: translateY(-260px) rotate(180deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }

/* Responsive */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .js .menu { position: fixed; inset: 72px 12px auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; border: 1px solid var(--line-2); border-radius: 24px; background: #0a1c28f5; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .js .menu.open { opacity: 1; visibility: visible; transform: none; }
  .js .menu a:not(.btn) { padding: 15px 6px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .js .menu .btn { margin-top: 14px; min-height: 52px; font-size: 16px; }
  html:not(.js) .menu { flex-wrap: wrap; gap: 14px; }
  html:not(.js) .nav { height: auto; flex-wrap: wrap; padding: 12px 0; }
  .hero { justify-content: flex-start; padding-top: 0; }
  .scene { position: relative; right: auto; top: auto; transform: none; width: min(100%, 560px); margin: 64px auto -40px; }
  .slide { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; margin-bottom: 18px; transform: none; }
  .slide-visual { order: -1; }
  .faq, .order-card, .term-layout { grid-template-columns: minmax(0, 1fr); }
  .term-out { height: 300px; }
}
@media (max-width: 640px) {
  .hero-proof { grid-template-columns: minmax(0, 1fr); }
  .others-grid, .svc-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .match-chip { right: 0; }
  .choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide { border-radius: 28px; }
  .phone { width: 62%; }
  .panel { width: 92%; transform: rotateY(-10deg) translateX(-4%); }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .logo { font-size: 16px; }
  h1 { font-size: 44px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide { transform: none !important; }
}
