:root {
  --void: #05070d;
  --ink: #0a101c;
  --panel: rgba(10, 16, 32, 0.72);
  --paper: #e8f1ff;
  --mute: #8b9bb4;
  --line: rgba(126, 240, 255, 0.16);
  --line-strong: rgba(126, 240, 255, 0.36);
  --cyan: #7ef0ff;
  --cyan-hot: #e8f7ff;
  --blue: #3aa0ff;
  --violet: #8b5cf6;
  --optanik: #3aa0ff;
  --optanik-hot: #7ec8ff;
  --optanik-violet: #8b5cf6;
  --tcc: #3090f0;
  --xavian: #ff8a65;
  --green: #34d399;
  --red: #ff2bd6;
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: "Share Tech Mono", "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 5.4rem;
  --radius: 0.15rem;
  --pad: clamp(1.1rem, 4vw, 5.5rem);
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--paper);
}

body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 0.5rem 0.8rem;
  z-index: 80;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

#field, .grid-floor, .grain, .vignette, .scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#field { z-index: 0; }
.grid-floor {
  z-index: 0;
  background-image:
    linear-gradient(rgba(126, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 38%, rgba(0,0,0,0.85) 100%);
  transform: perspective(560px) rotateX(64deg) scale(2.35) translateY(16%);
  transform-origin: center bottom;
  opacity: 0.55;
}
.scanlines {
  z-index: 1;
  opacity: 0.22;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.35) 2px 3px
  );
  mix-blend-mode: multiply;
}
.grain {
  z-index: 1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.vignette {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(126, 240, 255, 0.14), transparent 42%),
    radial-gradient(ellipse at 88% 82%, rgba(217, 70, 239, 0.1), transparent 38%),
    radial-gradient(circle at 50% 40%, transparent 10%, rgba(5, 7, 13, 0.82) 100%);
}

.top, main, .foot, .to-top { position: relative; z-index: 2; }

.shell {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.hero,
.section,
.realm {
  scroll-margin-top: calc(var(--header-h) + 0.6rem);
}

.kicker {
  margin: 0 auto 0.85rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-shadow: 0 0 14px rgba(126, 240, 255, 0.45);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

.grad-optanik {
  background: linear-gradient(135deg, #3aa0ff, #6d7dff 48%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-tcc {
  background: linear-gradient(135deg, #7ec8ff, #3090f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-xavian {
  background: linear-gradient(135deg, #ffb199, #ff8a65 50%, #e85d3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 3.25rem; padding: 0.75rem 1.55rem; font-size: 1rem; }
.btn-primary {
  background: var(--cyan);
  color: #041018;
  box-shadow: 0 0 28px rgba(126, 240, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 42px rgba(126, 240, 255, 0.55); }
.btn-ghost {
  background: rgba(126, 240, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--cyan);
  clip-path: none;
}
.btn-ghost:hover { background: rgba(126, 240, 255, 0.1); }
.btn-optanik { background: var(--optanik); color: #041018; box-shadow: 0 8px 24px rgba(58, 160, 255, 0.28); }
.btn-tcc { background: var(--tcc); color: #041018; box-shadow: 0 8px 24px rgba(48, 144, 240, 0.28); }
.btn-xavian { background: var(--xavian); color: #1a0c08; box-shadow: 0 8px 24px rgba(255, 138, 101, 0.28); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.65rem;
}
.realm-copy .hero-actions { justify-content: flex-start; }

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0 0.75rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
body.is-scrolled .top,
body.nav-open .top {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--line);
}

.top-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.6rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  z-index: 2;
}
.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 8px rgba(126, 240, 255, 0.55));
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-type {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan-hot);
  text-shadow: 0 0 16px rgba(126, 240, 255, 0.35);
}

.top-nav {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.top-nav a { color: var(--mute); }
.top-nav a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(126, 240, 255, 0.4); }
.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: absolute;
  right: 0;
  top: 0.15rem;
  z-index: 3;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin: 5px auto;
  background: var(--cyan);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.5);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 5.5rem;
  overflow: hidden;
}

.hud {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
  opacity: 0.7;
  border: 1px solid var(--line-strong);
}
.hud::before,
.hud::after {
  content: "";
  position: absolute;
  background: var(--cyan);
}
.hud.tl { top: calc(var(--header-h) + 1.4rem); left: var(--pad); border-right: 0; border-bottom: 0; }
.hud.tr { top: calc(var(--header-h) + 1.4rem); right: var(--pad); border-left: 0; border-bottom: 0; }
.hud.bl { bottom: 2.2rem; left: var(--pad); border-right: 0; border-top: 0; }
.hud.br { bottom: 2.2rem; right: var(--pad); border-left: 0; border-top: 0; }
.hud.tl::before, .hud.tr::before, .hud.bl::before, .hud.br::before { width: 14px; height: 1px; }
.hud.tl::after, .hud.tr::after, .hud.bl::after, .hud.br::after { width: 1px; height: 14px; }
.hud.tl::before, .hud.tl::after { top: -1px; left: -1px; }
.hud.tr::before, .hud.tr::after { top: -1px; right: -1px; }
.hud.bl::before, .hud.bl::after { bottom: -1px; left: -1px; }
.hud.br::before, .hud.br::after { bottom: -1px; right: -1px; }

.hero-inner {
  width: min(780px, 100%);
  text-align: center;
}

.mark-wrap {
  position: relative;
  width: min(200px, 46vw);
  margin: 0 auto 1.5rem;
}
.ax-mark { width: 100%; height: auto; filter: drop-shadow(0 0 28px rgba(126, 240, 255, 0.38)); }
.mark-halo {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 240, 255, 0.28), transparent 68%);
  animation: pulse 6s ease-in-out infinite;
}
.mark-orbit {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(126, 240, 255, 0.32);
  animation: spin 28s linear infinite;
}
.mark-orbit.slow {
  inset: -18%;
  border-style: dotted;
  animation-duration: 48s;
  animation-direction: reverse;
  border-color: rgba(217, 70, 239, 0.3);
}

.h1-small {
  display: block;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.4rem;
}
h1 { margin: 0; line-height: 0.92; }
.h1-name {
  position: relative;
  display: block;
  font-family: var(--mono);
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-hot);
  text-shadow:
    0 0 18px rgba(126, 240, 255, 0.45),
    0 0 42px rgba(126, 240, 255, 0.18);
}
.h1-name::before,
.h1-name::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}
.h1-name::before {
  color: #ff2bd6;
  text-shadow: -2px 0 #ff2bd6;
  clip-path: inset(0 0 58% 0);
  animation: glitch-a 3.2s infinite linear alternate-reverse;
}
.h1-name::after {
  color: #67e8ff;
  text-shadow: 2px 0 #67e8ff;
  clip-path: inset(62% 0 0 0);
  animation: glitch-b 2.4s infinite linear alternate-reverse;
}
@keyframes glitch-a {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-4px, 1px); }
  94% { transform: translate(3px, -1px); }
  96% { transform: translate(-2px, 0); }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: translate(0); }
  91% { transform: translate(3px, 0); }
  95% { transform: translate(-3px, 1px); }
}

.lede {
  margin: 1.2rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #b7c4d8;
}

.sys-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.sys-row span {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  margin-right: 0.4rem;
  color: var(--cyan);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}
.scroll-cue i {
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: drop 1.8s ease-in-out infinite;
}

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.58s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes drop {
  0% { transform: scaleY(0.4); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.marquee {
  border-block: 1px solid var(--line);
  background: rgba(8, 12, 22, 0.7);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.8rem 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  animation: marquee 42s linear infinite;
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::before {
  content: "//";
  margin-right: 2.4rem;
  color: var(--cyan);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head h2,
.realm-copy h2,
.laws h3,
.house-cta h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
}
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
.section-lead, .realm-lead {
  margin: 0;
  color: #9aabc4;
  font-size: 1.12rem;
}

.gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem 1.3rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.gate::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
}
.gate-optanik::before { background: linear-gradient(90deg, var(--optanik), var(--optanik-violet)); }
.gate-tcc::before { background: linear-gradient(90deg, var(--tcc), #7c3aed); }
.gate-xavian::before { background: linear-gradient(90deg, var(--xavian), #9aa8ff); }
.gate:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 40px rgba(58, 160, 255, 0.12);
}
.gate-num {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  color: var(--cyan);
  font-size: 0.72rem;
}
.gate-mark {
  width: 108px;
  height: 108px;
  margin: 1rem 0 1.1rem;
  display: grid;
  place-items: center;
}
.gate-mark img {
  max-height: 108px;
  width: auto;
  object-fit: contain;
}
.gate-optanik .gate-mark img {
  max-height: 108px;
  width: 108px;
}
.gate h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.gate-tag {
  margin: 0.25rem 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.gate p { margin: 0; color: var(--mute); font-size: 0.98rem; }
.gate-go {
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
}

.realm {
  position: relative;
  padding: clamp(4.2rem, 8vw, 6.8rem) 0;
  overflow: hidden;
}
.realm-bg { position: absolute; inset: 0; pointer-events: none; }
.realm-optanik .realm-bg {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(58, 160, 255, 0.16), transparent 46%),
    radial-gradient(ellipse at 10% 90%, rgba(139, 92, 246, 0.12), transparent 40%);
}
.realm-tcc .realm-bg {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(48, 144, 240, 0.16), transparent 48%),
    radial-gradient(ellipse at 90% 80%, rgba(124, 58, 237, 0.12), transparent 42%);
}
.realm-xavian .realm-bg {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 138, 101, 0.16), transparent 42%),
    radial-gradient(ellipse at 10% 100%, rgba(154, 168, 255, 0.12), transparent 40%);
}

.realm-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.realm-grid.invert { grid-template-columns: 1.1fr 1.05fr; }
.realm-grid.invert .realm-copy { order: 2; }

.realm-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
.optanik-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.2rem 0 0.95rem;
}
.optanik-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
.realm-word { width: min(280px, 70%); height: auto; }
.tcc-lockup, .xavian-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.2rem 0 0.9rem;
}
.tcc-lockup img, .xavian-lockup img { width: 48px; height: 48px; object-fit: contain; }
.tcc-lockup strong, .xavian-lockup strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.tcc-lockup em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tcc);
}

.points {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.points li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--cyan);
  color: #b7c4d8;
  font-size: 1rem;
}
.points strong {
  display: block;
  font-size: 0.92rem;
  color: var(--paper);
  margin-bottom: 0.1rem;
}

.stage {
  background: #0a0f18;
  border: 1px solid rgba(126, 240, 255, 0.14);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(58, 160, 255, 0.08);
}
.stage-tcc { background: #fafbfc; color: #0f172a; }
.stage-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #8b95a8;
}
.stage-tcc .stage-chrome {
  background: #fff;
  border-bottom-color: #e2e8f0;
  color: #64748b;
}
.dots { display: flex; gap: 0.28rem; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a4150; }
.dots i:nth-child(1) { background: #f87171; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }
.stage-url { margin-right: auto; }
.live {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}
.live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.ox { display: grid; grid-template-columns: 132px 1fr; min-height: 340px; }
.ox aside {
  padding: 0.9rem 0.75rem;
  background: #070b12;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #8b95a8;
}
.ox aside b { color: #f4f7fb; margin-bottom: 0.5rem; }
.ox aside span { padding: 0.35rem 0.45rem; border-radius: 0.4rem; }
.ox aside .is-on { background: rgba(58, 160, 255, 0.15); color: var(--optanik-hot); }
.ox-main { padding: 0.95rem; }
.ox-main header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.ox-main h3 { margin: 0; font-size: 1rem; }
.ox-main header p { margin: 0.2rem 0 0; color: #8b95a8; font-size: 0.82rem; }
.ox-btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  background: var(--optanik);
  color: #041018;
  white-space: nowrap;
}
.ox-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.ox-cards article {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  background: #0c111c;
}
.ox-cards article.hot { border-color: rgba(248, 113, 113, 0.45); }
.ox-cards em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--optanik-hot);
}
.ox-cards strong { display: block; font-size: 0.86rem; margin: 0.15rem 0; }
.ox-cards small { color: #8b95a8; }
.ox-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.ox-stats div {
  text-align: center;
  padding: 0.5rem 0.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.45rem;
}
.ox-stats b { display: block; font-size: 1.05rem; }
.ox-stats span { font-size: 0.68rem; color: #8b95a8; }

.tcc-board { padding: 1.1rem 1.15rem 1.2rem; }
.tcc-eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tcc);
}
.tcc-frame {
  margin: 0.25rem 0 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.mods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.mods li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.mods b { font-size: 0.88rem; }
.mods span { font-size: 0.75rem; color: #64748b; }
.tcc-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}
.tcc-proof strong {
  display: block;
  font-size: 1.15rem;
  color: #0f172a;
}

.vault {
  position: relative;
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
}
.vault-ring { width: 100%; height: 100%; }
.spin-stroke {
  stroke: rgba(126, 240, 255, 0.28);
  stroke-width: 1;
  stroke-dasharray: 6 10;
  animation: spin 36s linear infinite;
  transform-origin: 200px 200px;
}
.spin-stroke.b { animation-duration: 52s; animation-direction: reverse; stroke: rgba(255, 138, 101, 0.35); }
.ring-text { fill: #7ef0ff; font-size: 12px; letter-spacing: 4px; font-family: var(--mono); }
.ring-text.a { animation: spin 80s linear infinite; transform-origin: 200px 200px; }
.ring-text.b { fill: #ff8a65; animation: spin 64s linear infinite reverse; transform-origin: 200px 200px; }
.vault-core {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 101, 0.16), rgba(8, 11, 18, 0.9) 70%);
  border: 1px solid rgba(255, 138, 101, 0.28);
}
.vault-core img { width: 72%; height: auto; }

.laws {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.laws article {
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
}
.laws .num {
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}
.laws h3 { font-size: 1.2rem; margin-top: 0.55rem; }
.laws p { margin: 0; color: var(--mute); font-size: 1rem; }

.house-cta {
  margin-top: 2.4rem;
  padding: 2rem 1.6rem;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(58, 160, 255, 0.14), transparent 55%),
    var(--panel);
}
.house-cta p { margin: 0 auto; max-width: 32rem; color: #9aabc4; }
.house-cta .hero-actions { justify-content: center; }

.foot {
  padding: 3rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
}
.foot-brand p:last-child { color: var(--mute); max-width: 26rem; font-size: 1rem; }
.foot-heading {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--cyan);
  margin: 0 0 0.7rem;
}
.foot a { display: block; color: var(--mute); font-size: 0.98rem; margin: 0.28rem 0; }
.foot a:hover { color: var(--cyan); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  border: 1px solid var(--line-strong);
  background: rgba(5, 7, 13, 0.75);
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .gates, .laws, .realm-grid, .realm-grid.invert, .foot-grid {
    grid-template-columns: 1fr;
  }
  .realm-grid.invert .realm-copy { order: 0; }
  .ox { grid-template-columns: 1fr; }
  .ox aside { display: none; }
  .top > .shell > .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .top-nav {
    position: fixed;
    inset: 0 0 auto;
    margin: 0;
    padding: calc(var(--header-h) + 0.8rem) 1.4rem 1.6rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(5, 7, 13, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.28s ease;
  }
  body.nav-open .top-nav { transform: none; }
  .nav-cta { display: inline-flex; margin-top: 0.4rem; }
  body.nav-open .nav-scrim { display: block; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .hud { display: none; }
  .ox-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-floor { opacity: 0.22; }
}

@media (max-width: 640px) {
  .ox-cards, .mods, .tcc-proof { grid-template-columns: 1fr; }
  .h1-name { letter-spacing: -0.03em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .marquee-track, .mark-orbit, .mark-halo, .spin-stroke, .ring-text, .scroll-cue i, .pulse-dot, .h1-name::before, .h1-name::after {
    animation: none !important;
    transition: none !important;
  }
  .rise, .reveal { opacity: 1; transform: none; }
}
