:root {
  --bg: #070604;
  --gold: #f3ba2f;
  --gold-2: #ffd978;
  --ink: #fff8ea;
  --muted: rgba(255, 244, 220, 0.84);
  --line: rgba(243, 186, 47, 0.32);
  --font-d: "Orbitron", sans-serif;
  --font-b: "Rajdhani", "Segoe UI", sans-serif;
  --nav: 76px;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  background: var(--bg);
  color-scheme: dark;
}

img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
a { color: var(--gold-2); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }

:focus-visible {
  outline: 2px solid #fff6d0;
  outline-offset: 3px;
}

::selection { background: var(--gold); color: #1a1203; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070604; }
::-webkit-scrollbar-thumb { background: #6d5310; border-radius: 99px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--gold);
  color: #1a1203;
  padding: 8px 12px;
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 12px;
}
.skip:focus { top: 12px; }

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#pointer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.16), transparent 68%);
  mix-blend-mode: screen;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 36% at 18% 22%, rgba(243, 186, 47, 0.09), transparent 70%),
    radial-gradient(ellipse 36% 30% at 82% 18%, rgba(243, 186, 47, 0.07), transparent 70%),
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 40%, rgba(7, 6, 4, 0.55) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 220, 140, 0.45) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050403;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  cursor: pointer;
}
.boot-card { display: grid; justify-items: center; gap: 16px; }
.boot img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(243, 186, 47, 0.5));
}
.boot p {
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
}
.boot-bar {
  width: 180px;
  height: 2px;
  background: rgba(243, 186, 47, 0.2);
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #a97812, #fff1c2);
  animation: load 1.45s ease forwards;
}
.boot.done { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes load { to { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scan {
  from { transform: translateY(-130%); }
  to { transform: translateY(560%); }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -140; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes travel {
  from { top: 0; }
  to { top: calc(100% - 72px); }
}
@keyframes sheen { to { transform: translateX(130%); } }
@keyframes spin-angle { to { --angle: 360deg; } }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.scrolled .header {
  background: rgba(7, 6, 4, 0.88);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(243, 186, 47, 0.28);
}
.brand-short { display: none; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex: 1;
}
.nav-links a {
  color: rgba(255, 236, 196, 0.78);
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
}
.icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover {
  background: var(--gold);
  color: #1a1203;
  border-color: var(--gold);
}
.icon-btn .icon { width: 15px; height: 15px; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  color: #1a1203;
  background: linear-gradient(180deg, #ffe08a 0%, #f3ba2f 46%, #d79a16 100%);
  box-shadow: 0 8px 28px rgba(243, 186, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(243, 186, 47, 0.38); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-primary:hover::after { animation: sheen 0.7s ease; }
.btn-ghost {
  color: var(--gold-2);
  background: rgba(7, 6, 4, 0.45);
  border-color: var(--line);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(243, 186, 47, 0.08);
}

main { position: relative; z-index: 2; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 88px 0; }

.kicker {
  margin-bottom: 10px;
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
h2 {
  margin-bottom: 14px;
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffe7a3;
  text-shadow: 0 0 24px rgba(243, 186, 47, 0.22);
}
h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.5rem;
  font-weight: 700;
}
.deck { max-width: 62ch; font-size: 1.25rem; }

.hero { padding: calc(var(--nav) + 42px) 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-grid > *,
.core-top > *,
.specs-grid > *,
.footer-grid > *,
.pillars > *,
.steps > * { min-width: 0; }
.stage {
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 1;
  margin-inline: auto;
}
.ring, .orbiter { position: absolute; border-radius: 50%; }
.ring { border: 1px dashed rgba(243, 186, 47, 0.5); animation: spin 28s linear infinite; }
.ring-a { inset: 6%; }
.ring-b {
  inset: -4%;
  border-style: dotted;
  animation-duration: 46s;
  animation-direction: reverse;
  opacity: 0.7;
}
.ring-c { inset: -14%; border-style: solid; border-color: rgba(243, 186, 47, 0.22); animation: none; }
.orbiter { inset: -14%; animation: spin 12s linear infinite; }
.orbiter-b { animation-duration: 19s; animation-direction: reverse; }
.orbiter i, .orbiter b {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff6d0;
  box-shadow: 0 0 10px #f3ba2f, 0 0 18px #f3ba2f;
}
.orbiter i { top: 50%; left: 0; margin: -4px; }
.orbiter b { top: 0; left: 50%; margin: -4px; }
.stage { display: grid; place-items: center; }
.chip {
  position: relative;
  z-index: 2;
  width: 72%;
  overflow: hidden;
  border-radius: 12px;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(243, 186, 47, 0.45)) drop-shadow(0 0 34px rgba(243, 186, 47, 0.25));
}
.chip img {
  width: 100%;
  -webkit-mask-image: radial-gradient(circle at center, #000 90%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 90%, transparent 100%);
}
.chip-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(255, 236, 180, 0.28), transparent);
  mix-blend-mode: screen;
  animation: scan 3.6s linear infinite;
  pointer-events: none;
}
.bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  z-index: 3;
}
.bracket.tl { top: 8%; left: 8%; border-right: 0; border-bottom: 0; }
.bracket.tr { top: 8%; right: 8%; border-left: 0; border-bottom: 0; }
.bracket.bl { bottom: 8%; left: 8%; border-right: 0; border-top: 0; }
.bracket.br { bottom: 8%; right: 8%; border-left: 0; border-top: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status .icon { width: 14px; height: 14px; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.bars i {
  display: block;
  width: 3px;
  background: var(--gold);
  transform-origin: bottom;
  animation: bar 1s ease-in-out infinite;
}
.bars i:nth-child(1) { height: 5px; animation-delay: 0s; }
.bars i:nth-child(2) { height: 9px; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 7px; animation-delay: 0.45s; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.45); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

.panel {
  position: relative;
  border: 1px solid rgba(243, 186, 47, 0.5);
  background: #000;
  box-shadow: 0 0 32px rgba(243, 186, 47, 0.16), inset 0 0 30px rgba(243, 186, 47, 0.05);
  overflow: hidden;
}
.panel img { width: 100%; }
.panel-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(255, 236, 180, 0.16), transparent);
  mix-blend-mode: screen;
  animation: scan 4.4s linear infinite;
  pointer-events: none;
}
.lede { margin-top: 16px; max-width: 62ch; font-size: 1.28rem; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  list-style: none;
  margin-top: 22px;
}
.facts li { min-width: 140px; padding-right: 18px; }
.facts li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.facts span {
  display: block;
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 236, 196, 0.55);
}
.facts strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1.15rem; font-weight: 700; }

.ca {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 680px;
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(8, 7, 5, 0.92);
  border: 1px solid rgba(243, 186, 47, 0.55);
  box-shadow: 0 0 28px rgba(243, 186, 47, 0.12), inset 0 0 24px rgba(243, 186, 47, 0.05);
}
.ca-value {
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.95rem;
  word-break: break-all;
}
.ca-note { margin-top: 10px; max-width: 62ch; font-size: 0.98rem; }
.ca-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: var(--gold);
  color: #1a1203;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.text-btn:hover { background: #ffe08a; }

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 186, 47, 0.04);
}
.marquee-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 18px;
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.sep { width: 12px; height: 12px; color: var(--gold); }

.core-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.term {
  background: rgba(10, 9, 7, 0.92);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 40px rgba(243, 186, 47, 0.05);
  min-height: 230px;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.term-bar .icon { width: 12px; height: 12px; }
.term-body {
  min-height: 160px;
  padding: 16px 14px 18px;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 244, 220, 0.86);
}
.term-line { display: flex; gap: 12px; align-items: baseline; }
.term-ok {
  margin-left: auto;
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.term-line:last-child::after {
  content: "";
  width: 8px;
  height: 0.9em;
  margin-left: 6px;
  background: var(--gold);
  animation: blink 1s steps(1) infinite;
}

.pillars, .steps { display: grid; gap: 16px; }
.pillars { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }
.pillar, .step, .map-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 186, 47, 0.06), rgba(12, 10, 7, 0.9));
  padding: 24px 22px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover, .step:hover, .map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 186, 47, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(243, 186, 47, 0.08);
}
.pillar::before, .step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.pillar:hover::before, .step:hover::before { transform: scaleX(1); }
.pillar-index, .step-no {
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.pillar-top, .step-top, .map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
}

.specs-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
}
.die-svg {
  width: min(100%, 460px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 18px rgba(243, 186, 47, 0.28));
}
.die-svg .flow {
  fill: none;
  stroke: #f3ba2f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 9;
  animation: flow 2.8s linear infinite;
}
.flow-2 { animation-delay: -1s; }
.flow-3 { animation-delay: -1.8s; }
.spec-list { margin-top: 8px; }
.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 236, 196, 0.55);
}
.spec-list dd { margin: 0; color: var(--ink); font-size: 1.15rem; }
.spec-list a { text-decoration: none; }
.spec-list a:hover { color: #fff; }
.fine { margin-top: 16px; font-size: 1rem; }

.warn {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(243, 186, 47, 0.06);
}
.warn .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--gold); }
.warn strong { color: var(--ink); }
.center-cta { margin-top: 26px; }

.map {
  position: relative;
  list-style: none;
  max-width: 760px;
  margin: 8px auto 0;
  padding: 0 0 0 56px;
}
.map::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(243, 186, 47, 0.4);
}
.map::after {
  content: "";
  position: absolute;
  left: 16px;
  width: 5px;
  height: 72px;
  border-radius: 99px;
  background: linear-gradient(#fff6cc, rgba(243, 186, 47, 0));
  box-shadow: 0 0 12px #f3ba2f;
  animation: travel 3.8s linear infinite;
}
.map li { position: relative; margin-bottom: 16px; }
.map-index {
  position: absolute;
  left: -56px;
  top: 18px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #070604;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 11px;
}
.tag {
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag.live { background: rgba(243, 186, 47, 0.16); }

.signal-panel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  background: #000;
  padding: 48px 20px;
}
.signal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.33;
}
.signal-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.86));
}
.signal-content { position: relative; z-index: 1; max-width: 680px; }
.handle {
  margin: 8px 0 18px;
  color: var(--gold);
  font-family: var(--font-d);
  letter-spacing: 0.12em;
}
.signal-content .actions { justify-content: center; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.pillars .pillar:nth-child(2), .steps .step:nth-child(2) { transition-delay: 0.08s; }
.pillars .pillar:nth-child(3), .steps .step:nth-child(3) { transition-delay: 0.16s; }
.steps .step:nth-child(4) { transition-delay: 0.24s; }

footer {
  position: relative;
  z-index: 2;
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: #050403;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin: 6px 0; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { margin-top: 12px; max-width: 36ch; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(243, 186, 47, 0.16); font-size: 0.95rem; }
.legal p + p { margin-top: 8px; }

.dock { display: none; }
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 16px;
  background: var(--gold);
  color: #1a1203;
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .nav-links {
    position: fixed;
    inset: var(--nav) 0 0 0;
    z-index: 39;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 28px 100px;
    background: rgba(7, 6, 4, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(243, 186, 47, 0.16);
    font-size: 20px;
  }
  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 7, 5, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .dock .btn { flex: 1; }
  body { padding-bottom: 78px; }
  #toast { bottom: 92px; }
}

@media (max-width: 900px) {
  .hero-grid, .core-top, .specs-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .status, .actions, .facts, .signal-content .actions { justify-content: center; }
  .lede, .deck, .ca, .ca-note { margin-inline: auto; }
  .panel { text-align: left; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav) + 16px); }
  .stage { width: min(250px, 64vw); }
  .ring-b { inset: 2%; }
  .ring-c, .orbiter, .orbiter-b { inset: -6%; }
  .pillars, .steps { grid-template-columns: minmax(0, 1fr); }
  .facts li + li { border-left: 0; padding-left: 0; }
  .ca, .spec-list div { display: block; }
  .ca-actions, .spec-list dd { margin-top: 10px; }
  .actions .btn { width: 100%; }
  section { padding: 68px 0; }
}

@media (pointer: coarse) { #pointer { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .boot { display: none; }
}
