/* Depth Strike — neon on void. No JavaScript, no third-party anything. */

:root {
  color-scheme: dark;
  --void: #04040c;
  --void-2: #0b0a22;
  --ink: #eef3ff;
  --muted: #a7b0d4;
  --faint: #737ca8;
  --line: rgba(140, 160, 255, 0.17);
  --panel: rgba(14, 16, 42, 0.68);
  --cyan: #29e6ff;
  --violet: #8c52ff;
  --magenta: #ff2d95;
  --gold: #ffdb59;
  --amber: #ffb020;
  --blue: #6bc2ff;
  --green: #4dff80;
  --lime: #d6ff4d;
  --orange: #ff801f;
  --teal: #66ffe0;
  --purple: #b875ff;
  --radius: 22px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 17px/1.62 var(--sans);
  color: var(--ink);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(140, 82, 255, 0.16), transparent 70%),
    url("img/stars.svg") repeat,
    var(--void);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8ff2ff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 10;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--void);
}
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Type ---------- */

h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 850; }
h3 { font-size: 20px; font-weight: 750; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cyan);
}
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 44em; }
.muted { color: var(--muted); }

.wordmark {
  margin: 0;
  font-size: clamp(42px, 9vw, 112px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 52%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(41, 230, 255, 0.32));
}

.tagline {
  margin: 18px 0 0;
  font-size: clamp(14px, 1.9vw, 19px); font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink);
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 60%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 2; padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: 0.02em;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 18px rgba(41, 230, 255, 0.35); }

.nav { display: flex; gap: clamp(12px, 2.5vw, 26px); flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 640px) {
  .nav .optional { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
  background:
    radial-gradient(55% 45% at 50% 34%, rgba(140, 82, 255, 0.34), transparent 72%),
    radial-gradient(35% 30% at 50% 34%, rgba(41, 230, 255, 0.12), transparent 70%);
}
.hero::before {
  /* Depth gates: faint rings receding into the rift. */
  content: "";
  position: absolute; inset: -20% -20% 20%;
  background: repeating-radial-gradient(circle at 50% 42%, transparent 0 62px, rgba(41, 230, 255, 0.07) 63px 64px);
  mask-image: radial-gradient(closest-side at 50% 42%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 42%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; text-align: center; }
.hero-copy { padding: clamp(40px, 8vw, 88px) 0 clamp(32px, 5vw, 52px); }
.hero .lede { margin: 26px auto 0; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 12, 32, 0.7);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 750; text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid var(--line); color: var(--ink); background: rgba(16, 18, 46, 0.72);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.button:hover { color: var(--ink); border-color: rgba(41, 230, 255, 0.6); transform: translateY(-1px); }
.button.primary {
  border-color: transparent; color: #03040c;
  background: linear-gradient(90deg, var(--cyan), #9f7bff);
  box-shadow: 0 10px 34px -10px rgba(41, 230, 255, 0.65);
}
.button.primary:hover { color: #03040c; box-shadow: 0 14px 40px -10px rgba(41, 230, 255, 0.85); }
.button .icon { width: 18px; height: 18px; }

.shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--void-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 40px 90px -40px rgba(140, 82, 255, 0.75);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #05050e; }
.shot.wide img { aspect-ratio: 32 / 9; }
.feature-video { max-width: 1040px; margin: 0 auto 44px; }
.shot figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.hero .shot { max-width: 1040px; margin-inline: auto; }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.band { background: linear-gradient(180deg, rgba(11, 10, 34, 0.0), rgba(11, 10, 34, 0.75) 18%, rgba(11, 10, 34, 0.75) 82%, rgba(11, 10, 34, 0)); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
}

.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Look · Lean · Pinch */
.step { position: relative; }
.step .icon { width: 42px; height: 42px; color: var(--cyan); margin-bottom: 18px; }
.step .number {
  position: absolute; top: 22px; right: 24px;
  font-size: 44px; font-weight: 900; line-height: 1; color: rgba(140, 160, 255, 0.14);
}
.step p { color: var(--muted); margin: 0; }

/* Chain scores */
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chain li { display: grid; grid-template-columns: 48px 1fr 70px; align-items: center; gap: 14px; }
.chain .n { font-weight: 850; color: var(--ink); }
.chain .pts { text-align: right; font-variant-numeric: tabular-nums; font-weight: 750; color: var(--muted); }
.chain .track { height: 12px; border-radius: 999px; background: rgba(140, 160, 255, 0.08); overflow: hidden; }
.chain .bar { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta)); }
.chain .b1 { width: 4.2%; } .chain .b2 { width: 10.4%; } .chain .b3 { width: 20.8%; }
.chain .b4 { width: 37.5%; } .chain .b5 { width: 62.5%; } .chain .b6 { width: 100%; }
.chain .compare .bar { background: rgba(167, 176, 212, 0.45); width: 25%; }
.chain .compare .n { color: var(--faint); font-weight: 700; }
.chain-note { margin-top: 18px; font-size: 15px; color: var(--muted); }

.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.facts li { padding-left: 28px; position: relative; color: var(--muted); }
.facts li::before {
  content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px;
  transform: rotate(45deg); border: 2px solid var(--cyan);
}
.facts strong { color: var(--ink); }

/* Ships */
.ship { text-align: center; }
.ship .icon { width: 96px; height: 96px; margin: 4px auto 16px; filter: drop-shadow(0 0 10px currentColor); }
.ship .model { display: block; width: 136px; height: 136px; margin: 0 auto 12px; filter: drop-shadow(0 0 16px currentColor); }
.ship p { color: var(--muted); margin: 0; font-size: 15.5px; }
.scout { color: var(--cyan); }
.diver { color: var(--magenta); }
.strider { color: var(--amber); }
.bastion { color: var(--green); }
.phantom { color: #bd9eff; }
.burster { color: var(--orange); }
.warden { color: #5c85ff; }
.ship h3 { color: var(--ink); }

/* Power-ups */
.powerups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.powerup { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.powerup .icon { width: 54px; height: 54px; filter: drop-shadow(0 0 8px currentColor); }
.powerup .model { width: 58px; height: 58px; margin-top: -2px; filter: drop-shadow(0 0 8px currentColor); }
.powerup h3 { margin-bottom: 4px; }
.powerup .kind { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.powerup p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.pu-barrier { color: var(--blue); } .pu-repair { color: var(--green); } .pu-wide { color: var(--lime); }
.pu-nova { color: var(--orange); } .pu-trident { color: var(--teal); } .pu-collapse { color: var(--purple); }
.powerup h3, .powerup p { color: inherit; }
.powerup h3 { color: var(--ink); }
.powerup p { color: var(--muted); }

/* Modes */
.modes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mode h3 { font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.mode p { margin: 0; color: var(--muted); font-size: 15px; }
.mode.featured { border-color: rgba(41, 230, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(41, 230, 255, 0.15); }

.gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Closing call */
.cta { text-align: center; }
.cta .wordmark { font-size: clamp(30px, 6vw, 64px); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; margin-top: 24px; background: rgba(4, 4, 12, 0.6); }
.footer .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer nav a:hover { color: var(--ink); }
.legal { margin: 22px 0 0; font-size: 13px; color: var(--faint); max-width: 70em; }

/* ---------- Document pages (support, privacy) ---------- */

.page-hero { padding: clamp(40px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 900; }
.page-hero .lede { margin-top: 10px; }

.doc { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: 72px; }
.doc h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 48px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 28px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--cyan); }
.doc p, .doc li { color: #d9def5; }
.updated { font-size: 14px; color: var(--faint); }

.summary { margin: 0 0 40px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.summary li { position: relative; padding-left: 28px; margin: 0; }
.summary li::before {
  content: ""; position: absolute; left: 3px; top: 0.55em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}

.contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.contact h2 { margin: 0 0 6px; }
.contact p { margin: 0; }
.address { font-weight: 700; white-space: nowrap; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p { color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.not-found .code { font-size: clamp(72px, 16vw, 160px); font-weight: 900; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary::after { transition: none; }
}

.section-gallery { margin-top: 28px; }

.pu-seeker { color: #ff8cbf; } .pu-stasis { color: #bdeeff; } .pu-overdrive { color: #ffe638; } .pu-pulse { color: #ff5c66; }
.difficulty { margin-top: 18px; }
.training-head { margin-top: 64px; margin-bottom: 28px; }
.pu-aegis { color: #5c85ff; } .pu-deflector { color: #3dffb8; } .pu-fortify { color: #9eff61; }
.pu-arc { color: #db7aff; } .pu-burn { color: #ff571f; } .pu-fork { color: #ff75eb; }
.pu-cluster { color: #ff996b; } .pu-singularity { color: #8f4dff; } .pu-smart { color: #fff2d1; }
.pu-group + .pu-group { margin-top: 34px; }
.group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font-size: 14px;
  font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.group-title span { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--faint); }
.group-title.spaced { margin-top: 30px; }

.shot.wide { margin-top: 18px; }
.modes.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
