/* ============ Tokens ============ */
:root {
  --bg: #05070f;
  --bg-2: #0a0e1a;
  --ink: #f2f1f7;
  --ink-2: #a9a8b8;
  --ink-3: #6b6a7d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(18, 18, 28, 0.55);
  --violet: #2f7bff;
  --cyan: #5ce1ff;
  --lime: #ff7a1a;
  --pink: #ff5ca8;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.muted { color: var(--ink-3); }

/* ============ Backdrop ============ */
#webgl {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; display: block;
}
body.no-webgl #webgl { display: none; }
body.no-webgl {
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(47, 123, 255, 0.35), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(92, 225, 255, 0.18), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav, .marquee { position: relative; z-index: 2; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--lime)); }

/* ============ Buttons ============ */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--body); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--lime); color: #0a0a0a; box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.4); }
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(255, 122, 26, 0.55); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.btn-small { --h: 40px; padding: 0 18px; font-size: 14px; background: var(--ink); color: #0a0a0a; }
.btn-small:hover { background: var(--lime); }
.btn-block { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(100% - 32px, 1100px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(12, 12, 18, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.5s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 18px var(--display); letter-spacing: -0.02em; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 7px; position: relative;
  background: conic-gradient(from 200deg, var(--violet), var(--cyan), var(--lime), var(--violet));
  box-shadow: 0 0 20px rgba(47, 123, 255, 0.6);
}
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(5, 7, 15, 0.94); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px; gap: 8px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 600 40px/1.2 var(--display); letter-spacing: -0.03em; }

/* ============ Type helpers ============ */
.eyebrow, .label {
  font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.label { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.label .num { color: var(--lime); }
.display { font-size: clamp(42px, 7vw, 104px); }
.display.big { font-size: clamp(46px, 7.6vw, 116px); }
.display em, .hero-title em {
  background: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 50%, var(--lime) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin-top: 28px; }

/* ============ Hero ============ */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; padding: 140px 0 100px; }
.hero-inner { position: relative; z-index: 3; }
.hero-title { font-size: clamp(48px, 8.4vw, 132px); max-width: 11ch; margin: 28px 0 28px; perspective: 800px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-meta { list-style: none; padding: 0; margin: 64px 0 0; display: flex; flex-wrap: wrap; gap: 14px 48px; }
.hero-meta li { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font: 600 28px var(--display); letter-spacing: -0.03em; }
.hero-meta span { font-size: 13px; color: var(--ink-3); }

.chips { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 14px; font-size: 13px; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}
.chip b, .notif b { color: var(--ink); font-weight: 600; }
.chip .ok, .notif .ok, .chip .bolt, .notif .bolt { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-style: normal; }
.ok { background: rgba(255, 122, 26, 0.15); } .ok::before { content: "✓"; color: var(--lime); font-size: 12px; }
.bolt { background: rgba(47, 123, 255, 0.2); } .bolt::before { content: "⚡"; font-size: 11px; }
.c1 { top: 24%; right: 9%; } .c2 { top: 44%; right: 30%; }
.c3 { bottom: 26%; right: 6%; } .c4 { bottom: 14%; right: 26%; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--ink); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ============ Marquee ============ */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(5, 7, 15, 0.6); backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font: 500 22px var(--display); color: var(--ink-3); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span:nth-child(3n) { color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(100px, 16vh, 180px) 0; position: relative; }
.intro { padding-bottom: 40px; }

.service-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.service.reverse .service-copy { order: 2; }
.service-copy > p:not(.label) { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.service-copy { padding: 36px; border-radius: var(--radius); background: rgba(10, 10, 16, 0.45); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); font-size: 15.5px; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; transform: translateY(2px);
  background: linear-gradient(135deg, var(--violet), var(--cyan)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3 3 7-7' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3 3 7-7' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.service-visual { perspective: 1400px; min-height: 440px; display: grid; place-items: center; }

/* --- Automation flow --- */
.flow { position: relative; width: min(100%, 480px); aspect-ratio: 420/340; transform-style: preserve-3d;
  padding: 0; border-radius: 28px; background: linear-gradient(160deg, rgba(47,123,255,0.12), rgba(10,10,16,0.6)); border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(47, 123, 255, 0.45); backdrop-filter: blur(10px); }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 2; }
.pulse { fill: none; stroke: url(#g1); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 30 300; animation: flow 2.4s linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.pulse.p2 { animation-delay: 0.6s; } .pulse.p3 { animation-delay: 0.9s; } .pulse.p4 { animation-delay: 1.2s; }
@keyframes flow { from { stroke-dashoffset: 330; } to { stroke-dashoffset: 0; } }
.node { position: absolute; transform: translate(-50%, -50%) translateZ(40px); display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px; border-radius: 12px; font-size: 12.5px; white-space: nowrap;
  background: rgba(16, 16, 26, 0.9); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.8); }
.node span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,0.07); font-size: 12px; }
.n1 { left: 21%; top: 20.5%; } .n2 { left: 21%; top: 79.5%; } .n3 { left: 79%; top: 20.5%; } .n4 { left: 79%; top: 79.5%; }
.core-node { left: 50%; top: 50%; transform: translate(-50%, -50%) translateZ(80px); padding: 12px 16px 12px 12px; font-weight: 600;
  background: linear-gradient(135deg, rgba(47,123,255,0.95), rgba(92,225,255,0.8)); border-color: transparent; color: #fff;
  box-shadow: 0 0 0 6px rgba(47,123,255,0.15), 0 20px 60px -10px rgba(47,123,255,0.8); animation: corePulse 2.4s infinite; }
.core-node span { background: rgba(255,255,255,0.2); }
@keyframes corePulse { 50% { box-shadow: 0 0 0 14px rgba(47,123,255,0.05), 0 20px 60px -10px rgba(47,123,255,0.8); } }
.log { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%) translateZ(60px); padding: 10px 14px; border-radius: 10px;
  background: #0b0b12; border: 1px solid var(--line-2); font: 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
.log b { color: var(--ink-2); font-weight: 500; } .log em { color: var(--lime); }

/* --- Browsers --- */
.browsers { position: relative; width: min(100%, 500px); aspect-ratio: 5/4; transform-style: preserve-3d; }
.browser { position: absolute; width: 82%; aspect-ratio: 16/11; border-radius: 16px; overflow: hidden;
  background: #101019; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(0,0,0,0.9); transform-style: preserve-3d; }
.b1 { left: 9%; top: 18%; }
.b2 { left: 9%; top: 18%; background: #0e0e17; }
.b3 { left: 9%; top: 18%; background: #0c0c14; }
.bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.bar i:first-child { background: #ff5f57; } .bar i:nth-child(2) { background: #febc2e; } .bar i:nth-child(3) { background: #28c840; }
.url { margin-left: 14px; flex: 1; max-width: 60%; padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,0.05); font: 11px var(--mono); color: var(--ink-3); }
.b-body { padding: 18px; display: grid; gap: 10px; align-content: start; height: calc(100% - 30px); }
.sk { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.sk.light { background: rgba(255,255,255,0.25); }
.w80 { width: 80%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.sk-grid div { aspect-ratio: 1; border-radius: 10px; background: rgba(255,255,255,0.05); }
.sk-chart { display: flex; align-items: end; gap: 8px; height: 110px; margin-top: 10px; }
.sk-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgba(92,225,255,0.1)); }
.hero-mini { position: relative; overflow: hidden; background: radial-gradient(80% 90% at 85% 10%, rgba(47,123,255,0.55), transparent 60%), #0d0d16; align-content: center; padding: 28px; }
.orb { position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0, var(--cyan) 18%, var(--violet) 55%, transparent 72%); filter: blur(2px); animation: float 6s ease-in-out infinite; }
.mini-h { position: relative; font: 600 clamp(24px, 3vw, 36px)/1 var(--display); letter-spacing: -0.03em; }
.mini-btn { position: relative; width: max-content; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: #000; font-size: 12px; font-weight: 600; }
@keyframes float { 50% { transform: translateY(10px) scale(1.04); } }

/* --- Phone --- */
.phone-stage { position: relative; width: 100%; height: 520px; display: grid; place-items: center; transform-style: preserve-3d; }
.phone { width: 250px; height: 510px; border-radius: 44px; padding: 10px; position: relative; transform-style: preserve-3d;
  background: linear-gradient(145deg, #2a2a36, #0a0e1a 40%, #1b1b25); border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 2px #050508, 0 80px 120px -40px rgba(92,225,255,0.35), 0 40px 80px -30px rgba(0,0,0,0.9); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #050508; transform: translateX(-50%); z-index: 2; box-shadow: inset 0 0 0 2px #1a1a24; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(92,225,255,0.25), transparent 60%), #0a0a12; }
.ps-status { position: absolute; top: 18px; left: 30px; right: 30px; display: flex; justify-content: space-between; font: 10px var(--mono); color: var(--ink-2); }
.ps-card { border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); min-height: 64px; flex: 1; }
.ps-card.big { flex: none; padding: 14px; min-height: 130px; background: linear-gradient(140deg, rgba(47,123,255,0.6), rgba(92,225,255,0.25)); border: 0; position: relative; overflow: hidden; }
.ps-card small { font-size: 10px; color: rgba(255,255,255,0.75); }
.ps-card strong { display: block; font: 600 22px var(--display); letter-spacing: -0.02em; margin-top: 4px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L25 32 L50 36 L75 22 L100 26 L125 14 L150 18 L175 6 L200 10' fill='none' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E") center/100% 100% no-repeat; opacity: 0.85; }
.ps-row { display: flex; gap: 10px; }
.ps-list { display: grid; gap: 8px; }
.ps-list div { height: 38px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.ps-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.05); }
.ps-nav i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,0.15); }
.ps-nav i.on { background: var(--lime); }
.notif { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; font-size: 13px;
  background: rgba(16,16,26,0.85); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -14px rgba(0,0,0,0.9); white-space: nowrap; }
.n-a { top: 18%; left: 2%; transform: translateZ(120px); } .n-b { bottom: 20%; right: 2%; transform: translateZ(90px); }

/* ============ Process ============ */
.process { position: relative; padding: clamp(100px, 14vh, 160px) 0 0; overflow: hidden; }
.process-head { margin-bottom: 96px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.process .display { font-size: clamp(40px, 5.6vw, 88px); }
.track-wrap { perspective: 1400px; }
.track { list-style: none; margin: 0; display: flex; gap: 28px; width: max-content; padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 120px; transform-style: preserve-3d; }
.step {
  width: clamp(290px, 28vw, 380px); min-height: 340px; padding: 34px; border-radius: 28px; position: relative;
  display: flex; flex-direction: column; transform-style: preserve-3d;
  background: linear-gradient(170deg, rgba(30,30,46,0.75), rgba(12,12,20,0.75)); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9);
}
.step-n { font: 600 96px/1 var(--display); letter-spacing: -0.05em; background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 32px; margin: auto 0 12px; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step-tag { margin-top: 22px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(255,122,26,0.3); }

/* ============ Bento ============ */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.b-card { padding: 32px; border-radius: var(--radius); min-height: 220px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(14, 14, 22, 0.6); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d; transition: border-color 0.3s; position: relative; overflow: hidden; }
.b-card:hover { border-color: var(--line-2); }
.b-card.wide { grid-column: span 2; }
.b-card h4 { font-size: 26px; }
.b-card p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.tilt-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(47,123,255,0.18), transparent 60%); }
.tilt-card:hover::before { opacity: 1; }
.b-viz { margin-top: auto; }
.connect { display: flex; align-items: center; gap: 10px; padding-top: 22px; flex-wrap: wrap; }
.connect span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 13px var(--mono); background: rgba(255,255,255,0.03); }
.connect i { flex: 1; min-width: 20px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); background-size: 200% 100%; animation: shimmer 2s linear infinite; border-radius: 2px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.uptime { height: 34px; margin-top: auto; padding-top: 22px; box-sizing: content-box;
  background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 10px) bottom/100% 34px no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 20%); opacity: 0.75; }

/* ============ Plans ============ */
.plan-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; align-items: stretch; }
.plan { position: relative; overflow: hidden; padding: 34px; border-radius: 26px; display: flex; flex-direction: column; gap: 14px;
  background: rgba(14, 14, 22, 0.6); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform-style: preserve-3d; }
.plan h4 { font-size: 28px; }
.plan > p:not(.plan-k) { color: var(--ink-2); font-size: 15.5px; }
.plan .ticks { margin: 8px 0 24px; }
.plan .btn { margin-top: auto; }
.plan-k { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.plan.featured { background: linear-gradient(170deg, rgba(47,123,255,0.28), rgba(14,14,22,0.75) 60%); border-color: rgba(47,123,255,0.45); box-shadow: 0 40px 100px -40px rgba(47,123,255,0.6); }
.badge { position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: #000; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: 18px; background: rgba(14,14,22,0.6); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color 0.3s; }
details[open] { border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font: 500 19px var(--display); letter-spacing: -0.01em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); font: 400 18px var(--body); transition: transform 0.4s var(--ease), background 0.3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: #000; border-color: var(--lime); }
details p { padding: 0 24px 24px; color: var(--ink-2); max-width: 62ch; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-alt { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; font: 500 18px var(--display); }
.contact-alt a { border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color 0.3s, color 0.3s; }
.contact-alt a:hover { border-color: var(--lime); color: var(--lime); }
.form { padding: 32px; border-radius: 28px; display: grid; gap: 18px;
  background: rgba(14, 14, 22, 0.7); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 60px 120px -50px rgba(47,123,255,0.5); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
input, textarea {
  width: 100%; font: 400 16px var(--body); color: var(--ink); padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); transition: border-color 0.2s, background 0.2s; resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus { outline: none; border-color: var(--violet); background: rgba(47,123,255,0.08); }
input[aria-invalid="true"] { border-color: var(--pink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; text-transform: none; letter-spacing: 0; font: 500 14px var(--body); color: var(--ink); }
.pills input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); transition: all 0.25s var(--ease); }
.pills input:checked + span { background: var(--ink); color: #000; border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--lime); min-height: 1em; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 48px 0 0; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(5,7,15,0.9)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-2); }
.footer-giant { font: 700 clamp(56px, 12.5vw, 220px)/0.8 var(--display); letter-spacing: -0.06em; text-align: center; margin-top: 40px; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Reveal base (JS enhances) ============ */
.js [data-reveal] { opacity: 0; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .chips .c2, .chips .c4 { display: none; }
  .c1 { top: auto; bottom: 10%; right: 6%; } .c3 { bottom: 4%; right: auto; left: 6%; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn-small { display: none; }
  .menu-toggle { display: block; }
  .service-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .service.reverse .service-copy { order: 0; }
  .service-copy { padding: 26px; }
  .service-visual { min-height: 380px; }
  .bento, .plan-grid { grid-template-columns: 1fr; }
  .b-card.wide { grid-column: auto; }
  .track { flex-direction: column; width: auto; padding: 0 24px 80px; }
  .step { width: 100%; min-height: 300px; }
  .chips { display: none; }
  .hero { padding-top: 120px; }
  #webgl { opacity: 0.4; }
  .hero-title, .hero-sub { text-shadow: 0 2px 24px rgba(5,7,15,0.9); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero-cta .btn { width: 100%; }
  .flow .node { font-size: 11px; padding: 6px 9px 6px 6px; }
  .node span { width: 20px; height: 20px; }
  .phone { transform: scale(0.88); }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; }
}

/* ============ Circuit (scroll-lit service connections) ============ */
.circuit { position: relative; }
.circuit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.circuit .section { z-index: 1; }
.c-base { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.c-trace { fill: none; stroke: rgba(92, 225, 255, 0.22); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.c-lit { fill: none; stroke: url(#cur); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: flicker 3s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: 0.6; } 50% { opacity: 1; } 72% { opacity: 0.85; } }
.c-spark { opacity: 0; transition: opacity 0.3s; }
.c-spark.on { opacity: 1; }
.c-spark-halo { fill: rgba(92, 225, 255, 0.35); animation: sparkPulse 0.5s ease-in-out infinite alternate; }
.c-spark-core { fill: #fff; }
@keyframes sparkPulse { to { r: 18; fill: rgba(255, 122, 26, 0.35); } }
.c-start circle { fill: var(--bg); stroke: var(--cyan); stroke-width: 2; }
.c-start text { fill: var(--ink-3); font: 500 10px var(--mono); letter-spacing: 0.2em; text-anchor: middle; }
.c-end { fill: var(--bg); stroke: rgba(255, 255, 255, 0.2); stroke-width: 2; transition: stroke 0.4s, fill 0.4s; }
.c-end.on { fill: var(--lime); stroke: var(--lime); filter: drop-shadow(0 0 10px var(--lime)); }

.node-card {
  position: relative;
  background: rgba(2, 3, 8, 0.94) !important; border-color: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transition: border-color 0.6s var(--ease), box-shadow 0.8s var(--ease), background 0.8s var(--ease);
}
/* unpowered: content sits in the dark */
.node-card > :not(.port):not(.status) {
  position: relative; z-index: 1;
  filter: brightness(0.16) grayscale(1);
  transition: filter 0.7s var(--ease);
}
.node-card > :nth-child(5) { transition-delay: 0.06s; } .node-card > :nth-child(6) { transition-delay: 0.12s; }
.node-card > :nth-child(7) { transition-delay: 0.18s; } .node-card > :nth-child(8) { transition-delay: 0.24s; }
/* inner light that blooms from the in-port */
.node-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(92, 225, 255, 0.28), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(255, 122, 26, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(20, 40, 90, 0.55), rgba(8, 12, 28, 0.85));
  transition: opacity 0.9s var(--ease);
}
/* energy sweep that runs top → bottom on power-up */
.node-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(92, 225, 255, 0) 35%, rgba(150, 235, 255, 0.35) 48%, rgba(255, 255, 255, 0.6) 50%, rgba(92, 225, 255, 0) 60%, transparent 100%) 0 0 / 100% 300% no-repeat;
}
.node-card.is-lit { background: rgba(6, 10, 24, 0.7) !important; }
.node-card.is-lit::before { opacity: 1; }
.node-card.is-lit > :not(.port):not(.status) { filter: none; }
.node-card.flash > :not(.port):not(.status) { animation: tubeOn 0.8s steps(1) backwards; }
.node-card.flash::after { animation: sweep 1s var(--ease); }
/* power-down when the current drains back past the card */
.node-card.off > :not(.port):not(.status) { animation: tubeOff 0.5s steps(1); }
.node-card.off::before { animation: glowOff 0.5s ease-out; }
@keyframes tubeOff {
  0% { filter: none; } 15% { filter: brightness(0.3) grayscale(1); } 30% { filter: brightness(1.2); }
  45% { filter: brightness(0.2) grayscale(1); } 60% { filter: brightness(0.7) grayscale(0.5); } 100% { filter: brightness(0.16) grayscale(1); }
}
@keyframes glowOff { 0% { opacity: 1; } 30% { opacity: 0.2; } 45% { opacity: 0.8; } 100% { opacity: 0; } }
@keyframes sweep { 0% { opacity: 1; background-position: 0 100%; } 100% { opacity: 1; background-position: 0 0%; } }
@keyframes tubeOn {
  0% { filter: brightness(0.16) grayscale(1); } 12% { filter: brightness(1.8); } 20% { filter: brightness(0.25) grayscale(1); }
  32% { filter: brightness(1.4); } 40% { filter: brightness(0.5) grayscale(0.6); } 55% { filter: brightness(1.25); } 100% { filter: none; }
}
.node-card .port {
  position: absolute; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(255, 255, 255, 0.22); z-index: 2;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.node-card .port-in { top: -8px; }
.node-card .port-out { bottom: -8px; }
.node-card .status {
  position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.node-card .status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: background 0.4s, box-shadow 0.4s; }
.node-card.is-lit {
  border-color: rgba(92, 225, 255, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(92, 225, 255, 0.15), 0 0 80px -20px rgba(47, 123, 255, 0.75), inset 0 0 60px -30px rgba(92, 225, 255, 0.5);
}
.node-card.is-lit .port-in { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.node-card.is-done .port-out { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 16px var(--lime); }
.node-card.is-lit .status { color: var(--cyan); border-color: rgba(92, 225, 255, 0.4); background: rgba(92, 225, 255, 0.08); }
.node-card.is-lit .status i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.2s infinite; }
.node-card.is-lit .label .num { text-shadow: 0 0 14px var(--lime); }
.node-card.flash { animation: nodeFlash 0.9s var(--ease); }
@keyframes nodeFlash {
  0% { box-shadow: 0 0 0 0 rgba(92, 225, 255, 0.9), 0 0 0 0 rgba(47, 123, 255, 0); }
  40% { box-shadow: 0 0 0 10px rgba(92, 225, 255, 0), 0 0 140px 10px rgba(47, 123, 255, 0.6); }
}
@media (max-width: 900px) {
  .node-card .port { left: 28px; }
  .node-card .status { top: 18px; right: 18px; }
}

.c-sparks line { stroke-linecap: round; }
.c-arc { fill: none; stroke: #dff8ff; stroke-width: 1.2; stroke-linejoin: bevel; }
.c-flare { fill: #f2fcff; transform-box: fill-box; transform-origin: center; animation: flare 0.9s linear infinite; }
@keyframes flare { 0% { transform: rotate(0) scale(0.7); opacity: 0.9; } 25% { transform: rotate(22deg) scale(1.15); opacity: 1; } 50% { transform: rotate(45deg) scale(0.6); opacity: 0.7; } 75% { transform: rotate(67deg) scale(1.05); opacity: 1; } 100% { transform: rotate(90deg) scale(0.7); opacity: 0.9; } }

/* ============ Process: hub + automation nodes ============ */
.process .track-wrap { position: relative; z-index: 1; }
.proc-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.process .track { position: relative; z-index: 2; }
.p-wires .w-base { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.p-wires .w-trace { fill: none; stroke: rgba(92, 225, 255, 0.18); stroke-width: 1.4; stroke-dasharray: 2 8; }
.p-wires .w-lit { fill: none; stroke: var(--cyan); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#pglow); }
.p-wires .w-done { fill: none; stroke: rgba(92, 225, 255, 0.35); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.4s; }
.p-wires .w-ret { fill: none; stroke: var(--lime); stroke-width: 3.2; stroke-linecap: round; filter: url(#pglow); }
.p-spark.ret .c-spark-halo { fill: rgba(255, 122, 26, 0.45); }

.hub {
  position: relative; flex: none; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: 18px; margin-bottom: 8px;
  background: rgba(2, 3, 8, 0.94); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.hub-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--cyan);
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.35), rgba(92, 225, 255, 0.12)); border: 1px solid rgba(92, 225, 255, 0.3); }
.hub-txt { display: grid; line-height: 1.15; }
.hub-txt small { font: 500 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hub-txt strong { font: 600 22px var(--display); letter-spacing: -0.02em; }
.hub-status { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.hub-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.hub.on { border-color: rgba(92, 225, 255, 0.5); box-shadow: 0 0 0 1px rgba(92, 225, 255, 0.15), 0 0 70px -15px rgba(47, 123, 255, 0.8); }
.hub.on .hub-status { color: var(--cyan); border-color: rgba(92, 225, 255, 0.4); }
.hub.on .hub-status i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1s infinite; }
.hub.pulse { animation: hubPulse 0.7s var(--ease); }
@keyframes hubPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.9); } 100% { box-shadow: 0 0 0 22px rgba(255, 122, 26, 0), 0 0 70px -15px rgba(47, 123, 255, 0.8); } }
.port-hub { position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(255, 255, 255, 0.25); transition: all 0.4s; }
.hub.on .port-hub { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.step.node-card { overflow: visible; }
.node-type { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-bottom: 18px;
  font: 500 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.n-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; letter-spacing: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: var(--cyan); }
.step.is-lit .n-ico { background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; border-color: transparent; box-shadow: 0 0 24px -4px var(--cyan); }
.step .step-n { font-size: 72px; }
.step.is-lit .step-n { background: linear-gradient(180deg, #fff, rgba(92, 225, 255, 0.15)); -webkit-background-clip: text; background-clip: text; }

@media (max-width: 900px) {
  .process-head { flex-direction: column; align-items: flex-start; margin-bottom: 70px; }
  .port-hub { left: 28px; }
  .process .track { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { flex-wrap: wrap; width: auto; }
}

/* ============ Dive (zoom into the orb and through the rooms) ============ */
.dive { position: relative; z-index: 2; height: 500vh; }
.dive-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; pointer-events: none; }
.dive-cap {
  position: absolute; left: max(24px, calc((100vw - var(--max)) / 2)); bottom: 13vh; margin: 0; max-width: 15ch;
  font: 600 clamp(32px, 4.6vw, 68px)/1.02 var(--display); letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(5, 7, 15, 0.85), 0 1px 2px rgba(5, 7, 15, 0.6);
  opacity: 0; transform: translateY(24px); will-change: opacity, transform;
  padding: 20px 26px 24px; border-radius: 22px; max-width: 17ch;
  background: rgba(5, 7, 15, 0.42); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dive-cap .label { display: flex; margin-bottom: 16px; color: var(--cyan); text-shadow: none; }
.dive-flash {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e6f9ff 35%, #9fe6ff 75%, #5ce1ff 100%);
}

/* ============ Nav: liquid hover ============ */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-links { position: relative; align-items: center; }
.nav-links a { position: relative; z-index: 1; display: inline-block; isolation: isolate; transform-origin: 50% 55%; will-change: transform; }
.nav-links.has-blob a:hover { background: none; color: #fff; }
.nav-goo { position: absolute; inset: -8px -14px; pointer-events: none; z-index: 0; filter: url(#goo); }
.nav-goo i {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 999px; opacity: 0;
  background: linear-gradient(180deg, #3a8bff, #1d4fa8);
}
.nav-goo .blob-a { animation: waterWobble 2.4s ease-in-out infinite; }
@keyframes waterWobble {
  0%, 100% { border-radius: 999px; }
  25% { border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; }
  50% { border-radius: 45% 55% 40% 60% / 45% 40% 60% 55%; }
  75% { border-radius: 55% 45% 60% 40% / 60% 45% 55% 40%; }
}

/* ============ "Start a project" — power button ============ */
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.btn-power {
  position: relative; isolation: isolate; gap: 8px; padding: 0 18px 0 14px;
  background: #0a0f1c; color: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s, color 0.25s, box-shadow 0.35s, border-color 0.25s;
}
.btn-power:hover, .btn-power:focus-visible { background: #0a0f1c; }
.pw-icon {
  width: 16px; height: 16px; flex: none; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round;
  animation: pwBreathe 2.2s ease-in-out infinite; transition: stroke 0.2s;
}
@keyframes pwBreathe { 50% { opacity: 0.35; } }
.pw-label { position: relative; }
/* charge ring that sweeps around the border before power-on */
.pw-ring {
  position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from -90deg, var(--lime) var(--p), transparent 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px var(--lime));
  transition: --p 0.2s ease-in, opacity 0.2s;
}
.btn-power:hover .pw-ring, .btn-power:focus-visible .pw-ring { --p: 100%; transition: --p 0.45s linear; }
/* the flicker as it switches on, then stays lit */
.btn-power:hover, .btn-power:focus-visible { animation: pwOn 0.6s steps(1) 0.45s forwards; border-color: transparent; }
.btn-power:hover .pw-icon, .btn-power:focus-visible .pw-icon { animation: pwIconOn 0.6s steps(1) 0.45s forwards; }
@keyframes pwOn {
  0%   { background: var(--lime); color: #0a0a0a; box-shadow: 0 0 26px rgba(255, 122, 26, 0.7); }
  14%  { background: #0a0f1c; color: var(--ink-3); box-shadow: none; }
  28%  { background: var(--lime); color: #0a0a0a; box-shadow: 0 0 18px rgba(255, 122, 26, 0.5); }
  40%  { background: #2a1606; color: var(--ink-2); box-shadow: none; }
  56%, 100% { background: var(--lime); color: #0a0a0a; box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.18), 0 10px 40px -6px rgba(255, 122, 26, 0.8); }
}
@keyframes pwIconOn { 0%, 28%, 56%, 100% { stroke: #0a0a0a; opacity: 1; } 14%, 40% { stroke: var(--lime); opacity: 0.4; } }
/* shockwave when it locks on */
.btn-power::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7);
}
.btn-power:hover::after, .btn-power:focus-visible::after { animation: pwWave 0.7s ease-out 0.75s; }
@keyframes pwWave { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7); } 100% { opacity: 0; box-shadow: 0 0 0 16px rgba(255, 122, 26, 0); } }
@media (prefers-reduced-motion: reduce) {
  .btn-power:hover, .btn-power:focus-visible { background: var(--lime); color: #0a0a0a; }
}

/* ============ Logo — lights up on hover ============ */
@property --la { syntax: '<angle>'; inherits: false; initial-value: 200deg; }
.logo { position: relative; isolation: isolate; }
.logo::before {
  content: ""; position: absolute; inset: -12px -20px; z-index: -1; border-radius: 999px; pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(92, 225, 255, 0.35), rgba(47, 123, 255, 0.18) 45%, transparent 72%);
  opacity: 0; transform: scale(0.8); filter: blur(6px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.logo-mark {
  background: conic-gradient(from var(--la), var(--violet), var(--cyan), var(--lime), var(--violet));
  transition: box-shadow 0.45s var(--ease), transform 0.6s var(--ease);
}
.logo-mark::after { transition: background 0.4s, inset 0.4s var(--ease); }
.logo-text {
  background: linear-gradient(100deg, var(--ink) 0 38%, #ffffff 45%, #b8f3ff 50%, #ffffff 55%, var(--ink) 62% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter 0.45s var(--ease);
}
.logo:hover::before, .logo:focus-visible::before { opacity: 1; transform: scale(1); }
.logo:hover .logo-mark, .logo:focus-visible .logo-mark {
  animation: logoSpin 1.8s linear infinite; transform: scale(1.14) rotate(-8deg);
  box-shadow: 0 0 10px #5ce1ff, 0 0 26px rgba(47, 123, 255, 0.95), 0 0 54px rgba(92, 225, 255, 0.55);
}
.logo:hover .logo-mark::after, .logo:focus-visible .logo-mark::after {
  inset: 5px; background: radial-gradient(circle, #ffffff 0%, #bff4ff 35%, #2f7bff 70%, #05070f 100%);
}
.logo:hover .logo-text, .logo:focus-visible .logo-text {
  animation: logoSweep 1.1s var(--ease) forwards;
  filter: drop-shadow(0 0 6px rgba(92, 225, 255, 0.9)) drop-shadow(0 0 16px rgba(47, 123, 255, 0.75));
}
@keyframes logoSpin { to { --la: 560deg; } }
@keyframes logoSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ============ CTA buttons — charge ring around the border on hover ============ */
.btn-charge { position: relative; isolation: isolate; --ring: var(--lime); --ring-glow: rgba(255, 122, 26, 0.9); }
.btn-charge.btn-primary { --ring: #fff3e0; }
.btn-charge .pw-ring {
  background: conic-gradient(from -90deg, var(--ring) var(--p), transparent 0);
  filter: drop-shadow(0 0 5px var(--ring-glow)) drop-shadow(0 0 12px var(--ring-glow));
}
.btn-charge:hover .pw-ring, .btn-charge:focus-visible .pw-ring { --p: 100%; transition: --p 0.45s linear; }
.btn-charge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
}
.btn-charge:hover::after, .btn-charge:focus-visible::after { animation: chargeWave 0.7s ease-out 0.45s; }
@keyframes chargeWave {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.75); }
  100% { opacity: 0; box-shadow: 0 0 0 16px rgba(255, 122, 26, 0); }
}

/* the split headline wraps each word in its own box, so the gradient has to live on the words themselves */
.hero-title em .w > span {
  background: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 50%, var(--lime) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Loading screen ============ */
#loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0s 0.7s, transform 0.9s var(--ease);
}
#loader.done { opacity: 0; visibility: hidden; transform: scale(1.06); pointer-events: none; }
.ld-box { display: grid; justify-items: center; gap: 18px; }
.ld-mark {
  width: 56px; height: 56px; border-radius: 18px; position: relative;
  background: conic-gradient(from var(--la), var(--violet), var(--cyan), var(--lime), var(--violet));
  box-shadow: 0 0 50px rgba(47, 123, 255, 0.7); animation: logoSpin 1.4s linear infinite;
}
.ld-mark::after { content: ""; position: absolute; inset: 15px; border-radius: 8px; background: var(--bg); }
.ld-name { font: 600 22px var(--display); letter-spacing: -0.02em; }
.ld-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--lime)); animation: ldFill 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
#loader.done .ld-bar i { animation: none; transform: scaleX(1); }
@keyframes ldFill { from { transform: scaleX(0); } to { transform: scaleX(0.9); } }
.ld-txt { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* ============ Nav: link of the section in view ============ */
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime); opacity: 0; transform: scale(0); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.nav-links a.active::after { opacity: 1; transform: scale(1); }

/* ============ Back to top ============ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 14, 26, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 0 30px -4px rgba(255, 122, 26, 0.7); }
.to-top:active { transform: scale(0.94); }
.to-top svg { width: 100%; height: 100%; display: block; }
.tt-track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.tt-ring { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.tt-arrow { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.to-top:hover .tt-arrow { transform: translateY(-2px); }

/* ============ Footer: columns ============ */
.footer { padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.f-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.f-brand p { color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.f-cta { font: 500 15px var(--display); color: var(--lime); border-bottom: 1px solid rgba(255, 122, 26, 0.4); padding-bottom: 3px; }
.f-cta span { display: inline-block; transition: transform 0.4s var(--ease); }
.f-cta:hover span { transform: translateX(4px); }
.f-col { display: grid; gap: 12px; align-content: start; }
.f-col h5 { margin: 0 0 6px; font: 500 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.f-col a { color: var(--ink-2); font-size: 15px; width: max-content; max-width: 100%; transition: color 0.2s, transform 0.3s var(--ease); }
.f-col a:hover { color: var(--ink); transform: translateX(3px); }
.footer-inner { padding-top: 24px; border-top: 1px solid var(--line); }
.f-status { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.f-status i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: blink 2s infinite; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .to-top { right: 14px; bottom: 14px; } }

/* Nav: centre without a transform, so animations and window resizing can never push it off position */
.nav { left: 0; right: 0; margin-inline: auto; transform: none; }
.nav.hide { transform: none; }

/* ============ Longer brand name + privacy links ============ */
.footer-giant { font-size: clamp(40px, 9.5vw, 170px); line-height: 0.86; }
.footer-giant span { font-size: 0.42em; letter-spacing: 0.02em; }
.form-legal { font-size: 13px; color: var(--ink-3); margin: -4px 0 0; }
.form-legal a, .f-privacy, .f-legal a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s; }
.form-legal a:hover, .f-privacy:hover, .f-legal a:hover { color: var(--ink); border-color: var(--ink); }
.f-legal { font-size: 14px; }
@media (min-width: 901px) and (max-width: 1180px) { .nav .logo { font-size: 16px; } .nav-links a { padding: 8px 10px; } }

/* never allow sideways scrolling (100vw elements are wider than the page when a scrollbar shows) */
html, body { overflow-x: clip; }

/* contact form: spam trap + sending state */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button.is-sending { opacity: 0.7; cursor: progress; }
