:root {
  --bg: #04060c;
  --bg-2: #070b14;
  --navy: #0a1730;
  --panel: rgba(10, 20, 38, 0.72);
  --line: rgba(90, 170, 255, 0.16);
  --line-strong: rgba(120, 200, 255, 0.38);
  --cyan: #4ec8ff;
  --cyan-2: #9ee7ff;
  --blue: #2b74ff;
  --blue-deep: #163a8a;
  --text: #eaf1fa;
  --muted: #8ea0b8;
  --faint: #5d6f86;
  --ok: #3dffc0;
  --warn: #ffb020;
  --danger: #ff5d73;
  --radius: 22px;
  --font-d: "Exo 2", sans-serif;
  --font-b: "Outfit", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-b);
  line-height: 1.55;
  overflow-x: hidden;
}
body.custom-cursor, body.custom-cursor button { cursor: none; }
::selection { background: rgba(78, 200, 255, 0.28); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
body.custom-cursor button { cursor: none; }

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor.hot { width: 28px; height: 28px; background: transparent; border: 1px solid var(--cyan); }
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(78, 200, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
body.touch .cursor, body.touch .cursor-ring { display: none; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 0.6rem 1rem;
  z-index: 10001;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Boot */
.boot {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: #020308;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { text-align: center; width: min(420px, 86vw); }
.boot-inner img { width: 92px; height: 92px; margin: 0 auto 1.4rem; border-radius: 50%; box-shadow: 0 0 60px rgba(78, 200, 255, 0.28); }
.boot-k { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.28em; color: var(--cyan); }
.boot-title { font-family: var(--font-d); font-weight: 500; font-size: 1.25rem; margin: 0.45rem 0 1.3rem; }
.boot-bar { height: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: bootfill 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes bootfill { to { width: 100%; } }

.bg-flow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-flow canvas { width: 100%; height: 100%; display: block; }
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(43, 116, 255, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 10%, rgba(78, 200, 255, 0.08), transparent 36%),
    radial-gradient(ellipse at 50% 120%, rgba(12, 40, 90, 0.45), transparent 40%);
}

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.section { position: relative; z-index: 2; padding: 6.5rem 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

.kicker {
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(2.55rem, 6.4vw, 5.15rem); font-weight: 600; }
h2 { font-size: clamp(1.95rem, 4vw, 3.15rem); font-weight: 600; }
h3 { font-size: 1.28rem; font-weight: 500; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 42rem; }

/* Nav */
.nav {
  position: sticky;
  top: max(0.5rem, env(safe-area-inset-top));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.4rem 0.45rem 0.4rem 0.9rem;
  margin: 0.7rem auto;
  width: min(calc(var(--max) + 1rem), calc(100% - 1.2rem));
  background: rgba(4, 8, 16, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 44px;
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.1rem;
}
.nav-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 0.9rem;
  line-height: 1;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links .nav-cta,
.nav-links .btn {
  height: 44px;
  padding: 0 1.15rem;
  margin-left: 0.4rem;
  color: #041018;
  box-shadow: none;
}
.nav .btn:hover { transform: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-cyan {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #041018;
  box-shadow: 0 8px 28px rgba(78, 200, 255, 0.22);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn:disabled { opacity: 0.45; transform: none; box-shadow: none; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero h1 span { display: block; }
.hero h1 .soft { color: #9fb4ce; font-weight: 400; }
.hero-copy { display: flex; flex-direction: column; gap: 1.35rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 0.6rem; }
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
}
.stat b { display: block; font-family: var(--font-d); font-size: 1.25rem; color: var(--cyan-2); }
.stat span { color: var(--faint); font-size: 0.78rem; letter-spacing: 0.04em; }

.hud {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-left: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hud::before, .hud::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(78, 200, 255, 0.28);
  animation: spin 28s linear infinite;
}
.hud::after { inset: -2%; border-style: solid; border-color: transparent transparent rgba(43, 116, 255, 0.35) rgba(78, 200, 255, 0.15); animation-duration: 18s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hud img {
  width: 72%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 80px rgba(78, 200, 255, 0.22), 0 20px 60px rgba(0,0,0,0.5);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-8px); } }
.hud-chip {
  position: absolute;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--cyan-2);
  background: rgba(4, 10, 20, 0.8);
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}
.hud-chip.c1 { top: 12%; left: -6%; }
.hud-chip.c2 { bottom: 18%; right: -8%; }
.hud-chip.c3 { top: 42%; right: -14%; }

.marquee-wrap {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: rgba(8, 14, 26, 0.55);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee { display: flex; gap: 2.2rem; width: max-content; animation: ticker 32s linear infinite; }
.marquee span { font-family: var(--font-m); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; }
.marquee b { color: var(--cyan); font-weight: 500; }
@keyframes ticker { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.tax-list { display: grid; gap: 1rem; }
.tax-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 32, 58, 0.5), rgba(8, 12, 22, 0.4));
}
.tax-item .id { font-family: var(--font-m); color: var(--cyan); font-size: 0.8rem; padding-top: 0.2rem; }
.tax-item p { color: var(--muted); margin-top: 0.35rem; }

.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 280px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card .num { font-family: var(--font-m); color: var(--cyan); font-size: 0.78rem; }
.card h3 { margin: 1.1rem 0 0.7rem; font-size: 1.55rem; }
.card p { color: var(--muted); }
.card .flow {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 18px solid rgba(78, 200, 255, 0.08);
  border-top-color: rgba(78, 200, 255, 0.35);
  animation: spin 12s linear infinite;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 2rem; }
.step {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 32, 0.5);
}
.step i { font-style: normal; font-family: var(--font-m); color: var(--cyan); font-size: 0.75rem; }
.step h3 { margin: 0.7rem 0 0.45rem; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.vision {
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(43, 116, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(12, 22, 42, 0.9), rgba(5, 8, 16, 0.92));
  padding: clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
}
.vision-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: center; }
.giant {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 0.8;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.chip {
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip.on { color: var(--cyan-2); border-color: rgba(78, 200, 255, 0.4); background: rgba(78, 200, 255, 0.08); }

.leak-box {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 12, 22, 0.7);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.q { display: none; }
.q.active { display: block; animation: fadeup 0.4s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } }
.q h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.choices { display: grid; gap: 0.65rem; }
.choice {
  text-align: left;
  background: rgba(12, 22, 40, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.choice:hover, .choice.picked { border-color: var(--cyan); background: rgba(78, 200, 255, 0.08); }
.progress { height: 3px; background: rgba(255,255,255,0.06); margin-bottom: 1.4rem; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); width: 20%; transition: width 0.35s; }
.result { display: none; text-align: left; }
.result.show { display: block; }
.meter {
  font-family: var(--font-d);
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--cyan-2);
}
.meter small { font-size: 0.28em; color: var(--muted); letter-spacing: 0.08em; }

.careers-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(22, 58, 138, 0.28), rgba(8, 16, 32, 0.5));
}

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
.form {
  display: grid;
  gap: 0.8rem;
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
label { display: grid; gap: 0.35rem; font-size: 0.82rem; color: var(--muted); }
input, select, textarea {
  background: rgba(4, 8, 16, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.status { font-size: 0.9rem; min-height: 1.2em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }

.circuit {
  margin: 0.4rem 0 0.6rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  background: rgba(4, 10, 22, 0.55);
}
.circuit h4 { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 0.45rem; }
.circuit p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }
.nodes { display: flex; justify-content: space-between; gap: 0.5rem; position: relative; }
.nodes::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.35;
}
.node {
  position: relative;
  z-index: 1;
  flex: 1;
  background: #071018;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 0.4rem 0.8rem;
  color: var(--text);
  text-align: center;
}
.node b { display: block; font-family: var(--font-d); }
.node small { color: var(--faint); }
.node:hover { border-color: var(--cyan); }
.node.lit { border-color: var(--ok); box-shadow: 0 0 18px rgba(61, 255, 192, 0.2); }
.node.bad { border-color: var(--danger); }
.locked { color: var(--ok); font-family: var(--font-m); font-size: 0.78rem; letter-spacing: 0.08em; }

.footer {
  position: relative;
  z-index: 2;
  padding: 2.2rem 0 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 980px) {
  .hero, .split, .systems, .steps, .vision-grid, .contact-grid, .careers-band { grid-template-columns: 1fr; }
  .hud { margin: 1.4rem auto 0; max-width: min(320px, 78vw); }
  .nav { border-radius: 22px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(7, 11, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    height: 48px;
    width: 100%;
    justify-content: flex-start;
    padding: 0 0.95rem;
  }
  .nav-links .nav-cta,
  .nav-links .btn {
    margin-left: 0;
    margin-top: 0.25rem;
    width: 100%;
    justify-content: center;
    color: #041018;
  }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .nodes { flex-direction: column; }
  .nodes::before { display: none; }
  .hud-chip.c3 { right: 4%; }
  .hud-chip.c1 { left: 4%; }
  .hud-chip.c2 { right: 4%; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 1.4rem)); }
  .nav { width: calc(100% - 1rem); margin: 0.5rem auto; padding-left: 0.7rem; }
  .section { padding: 3.4rem 0; }
  .hero { padding: 2rem 0 2.6rem; gap: 1.2rem; }
  .cta-row .btn { width: 100%; }
  .hud-chip { font-size: 0.58rem; padding: 0.28rem 0.45rem; }
  input, select, textarea { font-size: 16px; }
  .card { min-height: 0; }
  .vision { padding: 1.25rem; border-radius: 22px; }
  .careers-band { padding: 1.25rem; }
  .form { padding: 1rem; }
  .footer { padding: 1.6rem 0 calc(1.6rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .boot { display: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
