:root {
  --bg: #050913;
  --bg2: #0a1224;
  --ink: #eef2ff;
  --muted: #9aa6c4;
  --line: rgba(140, 170, 255, .16);
  --blue: #3d7bff;
  --navy: #0f2e66;
  --cyan: #5ee7ff;
  --orange: #ff6a00;
  --green: #6cc04a;
  --glass: rgba(18, 28, 56, .45);
  --radius: 22px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {               /* faint grid + vignette */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(61,123,255,.18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(94,231,255,.10), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  opacity: .55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  left: 0; top: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(61,123,255,.16), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity .3s;
}

/* ── Nav ─────────────────────────────── */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 18px; border-radius: 18px;
  background: rgba(8, 14, 30, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  max-width: 1240px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 27px; fill: none; stroke: var(--blue); stroke-width: 6; }
.brand-word { font: 700 15px/1 var(--display); letter-spacing: .14em; display: flex; flex-direction: column; }
.brand-word small { font: 500 9px/1.4 var(--display); letter-spacing: .5em; color: var(--muted); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { padding: 8px 14px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links .nav-cta { color: var(--ink); background: var(--blue); }
.nav-links .nav-cta:hover { background: #5a8fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 6px auto; transition: .3s; }

/* ── Type & buttons ──────────────────── */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(42px, 8.4vw, 116px); line-height: .98; }
h1 .line { display: block; }
h2 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.06; }
h3 { font-size: 19px; line-height: 1.25; }
.grad {
  background: linear-gradient(100deg, #9ec0ff 0%, var(--cyan) 45%, #b9a4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
.eyebrow { font: 500 12px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 620px; margin-top: 28px; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 15px 26px; border-radius: 14px; font: 600 15px/1 var(--body);
  border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn i { font-style: normal; transition: transform .25s; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #6a5cff); color: #fff; box-shadow: 0 10px 40px -10px rgba(61,123,255,.7); }
.btn-primary:hover { box-shadow: 0 14px 50px -8px rgba(94,140,255,.9); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(140,170,255,.45); }

.glass {
  position: relative; background: var(--glass); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.glass::before {             /* light edge on top */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(160,190,255,.35), transparent 40%, transparent 70%, rgba(94,231,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.tag {
  display: inline-block; font: 500 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 8px; color: #b9ccff; background: rgba(61,123,255,.14);
}
.tag-orange { color: #ffb27a; background: rgba(255,106,0,.14); }
.tag-green { color: #a9e58f; background: rgba(108,192,74,.14); }
.tag-cyan { color: var(--cyan); background: rgba(94,231,255,.12); }

/* ── Hero ────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 24px 100px; overflow: hidden; }
#orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid var(--line); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: drip 2s infinite; }
@keyframes drip { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Stats ───────────────────────────── */
.stats {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 34px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 500 clamp(32px, 4vw, 52px)/1 var(--display); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ── Sections ────────────────────────── */
.section { max-width: 1240px; margin: 0 auto; padding: 140px 24px 0; scroll-margin-top: 40px; }
.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head .muted { margin-top: 22px; font-size: 18px; }
.center { text-align: center; margin-top: 56px; }

/* ── Ecosystem ───────────────────────── */
.eco { position: relative; height: 560px; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-lines path {
  fill: none; stroke: rgba(94,231,255,.35); stroke-width: 1.5;
  stroke-dasharray: 6 8; animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -28; } }
.eco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(61,123,255,.35), rgba(10,18,36,.9) 70%);
  border: 1px solid rgba(94,231,255,.35);
  box-shadow: 0 0 80px -10px rgba(61,123,255,.6), inset 0 0 40px rgba(94,231,255,.12);
}
.eco-core::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(94,231,255,.3); animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.eco-core svg { width: 76px; fill: none; stroke: var(--blue); stroke-width: 5; }
.eco-core b { font: 500 13px/1 var(--display); letter-spacing: .1em; }
.eco-node { position: absolute; width: 300px; padding: 22px 24px; transition: transform .35s, border-color .35s; }
.eco-node:hover { transform: translateY(-4px); border-color: rgba(94,231,255,.45); }
.eco-node h3 { margin: 14px 0 10px; }
.eco-node ul { list-style: none; color: var(--muted); font-size: 14.5px; }
.eco-node li { padding: 3px 0; }
.eco-node li b { color: var(--ink); font-weight: 600; }
.n1 { left: 0; top: 10px; }
.n2 { left: 0; bottom: 10px; }
.n3 { right: 0; top: 10px; }
.n4 { right: 0; bottom: 10px; }

/* ── Cards / brands ──────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 30px 26px; transition: transform .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); border-color: rgba(94,231,255,.4); }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; color: var(--cyan); background: rgba(94,231,255,.08); border: 1px solid rgba(94,231,255,.2);
  margin-bottom: 26px;
}
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 0 0; position: relative; }
.steps li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 16px var(--cyan);
}
.steps b { font: 500 13px var(--display); color: var(--cyan); }
.steps span { display: block; font: 500 26px/1.2 var(--display); margin: 8px 0; }
.steps p { color: var(--muted); }

/* ── Companies ───────────────────────── */
.companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.co { padding: 22px 22px 26px; overflow: hidden; transition: transform .35s; }
.co::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: var(--accent); filter: blur(70px); opacity: .18; transition: opacity .35s; pointer-events: none;
}
.co:hover { transform: translateY(-6px); }
.co:hover::after { opacity: .35; }
.co-logo {
  height: 130px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 18px 26px; margin-bottom: 20px;
}
.co-logo img { max-height: 92px; object-fit: contain; }
.co-logo-black { background: #161716; }
.co-logo-black img { width: 100%; max-height: 64px; }
.co-logo-dark { background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--line); }
.co-logo-dark span { font: 500 15px/1.3 var(--display); letter-spacing: .08em; text-align: center; color: #cfdbff; }
.co h3 { font-size: 24px; margin: 14px 0 8px; }
.co p { color: var(--muted); font-size: 15px; }
.co .meta { margin-top: 14px; font-size: 13px; color: #c6d2f2; letter-spacing: .02em; }
.co.soon .co-logo-dark { border-style: dashed; border-color: rgba(155,225,93,.45); }
.co.soon .co-logo-dark span { color: #b9ef8f; }

/* ── Careers ─────────────────────────── */
.careers { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 56px; overflow: hidden; }
.careers::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,92,255,.35), transparent 65%); pointer-events: none;
}
.careers h2 { margin-bottom: 20px; }
.perks { list-style: none; margin: 28px 0 34px; display: grid; gap: 10px; }
.perks li { padding-left: 26px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--cyan); }
.roles { display: grid; gap: 10px; align-content: center; position: relative; z-index: 1; }
.role {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5,9,19,.45);
  transition: border-color .25s, transform .25s;
}
.role:hover { border-color: rgba(94,231,255,.4); transform: translateX(4px); }
.role span { font-weight: 600; }
.role i { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ── Contact ─────────────────────────── */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
form.glass { padding: 34px; display: grid; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips input { position: absolute; opacity: 0; }
.chips span {
  display: inline-block; padding: 9px 14px; border-radius: 10px; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); color: var(--muted); transition: .2s;
}
.chips input:checked + span { background: rgba(61,123,255,.18); border-color: var(--blue); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(5,9,19,.5); color: var(--ink); font: 15px var(--body); resize: vertical; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,123,255,.15); }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; color: var(--cyan); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--cyan); min-height: 1.4em; }
.contact-info { display: grid; gap: 18px; }
.info { padding: 28px; }
.info p { margin: 16px 0; color: #d4ddf5; }
.info a:hover { color: var(--cyan); }
.link { color: var(--cyan); font-size: 14px; font-weight: 600; }

/* ── Footer ──────────────────────────── */
.footer { max-width: 1240px; margin: 140px auto 0; padding: 40px 24px 50px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font: 500 15px var(--display); letter-spacing: .08em; }
.footer p { color: #c3cde8; }
.footer .muted { color: var(--muted); }

/* ── Reveal on scroll ────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(2, 1fr); }
  .eco { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .eco-lines { display: none; }
  .eco-core { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; justify-self: center; width: 170px; height: 170px; margin-bottom: 10px; }
  .eco-node { position: relative; inset: auto; width: auto; }
}
@media (max-width: 820px) {
  .nav { inset: 10px 10px auto; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: 16px; background: rgba(8,14,30,.95); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s;
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links a { padding: 14px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 100px 16px 0; }
  .hero { padding: 120px 16px 90px; }
  .careers { grid-template-columns: 1fr; padding: 32px 22px; }
  .contact { grid-template-columns: 1fr; }
  form.glass { padding: 24px 18px; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .steps li { padding: 0 0 28px 24px; }
  .steps li::before { top: 4px; left: -5px; }
  .footer { padding: 32px 16px 40px; }
}
@media (max-width: 600px) {
  .grid-4, .companies, .eco { grid-template-columns: 1fr; }
  .stat { padding: 24px 12px; }
  .role { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Announcement banner ── */
.promo { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 6, 14, .72); backdrop-filter: blur(6px); animation: promoIn .35s ease; }
.promo[hidden] { display: none; }
.promo-card { position: relative; width: min(760px, 100%); border-radius: 18px; overflow: hidden; background: #0b1020;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: promoUp .45s cubic-bezier(.2,.8,.2,1); }
.promo-card img { display: block; width: 100%; height: auto; }
.promo-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.65); color: #fff; font-size: 26px; line-height: 40px; text-align: center; z-index: 2; transition: transform .2s, background .2s; }
.promo-close:hover, .promo-close:focus-visible { background: #c8102e; transform: rotate(90deg); outline: none; }
.promo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; color: #dfe6ff; font-size: 15px; }
.promo-bar .btn { padding: 10px 18px; }
@keyframes promoIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes promoUp { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .promo-bar { justify-content: center; text-align: center; } }