/* Rekindled / Firefall: Rekindled. One stylesheet for every page.
   Palette from the brand record: near-black navy, off-white, violet into ember orange (the meteor). */
:root {
  --navy: #02081a;
  --navy-2: #070f26;
  --navy-3: #0d1733;
  --line: rgba(160, 175, 220, 0.16);
  --line-strong: rgba(160, 175, 220, 0.3);
  --text: #eef0f8;
  --muted: #a4adc6;
  --violet: #a77bff;
  --ember: #ff7a2f;
  --ember-2: #ffb163;
  --grad: linear-gradient(100deg, #a77bff 0%, #e06a8c 52%, #ff7a2f 100%);
  --display: "Outfit", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(18px, 4.5vw, 44px);
  --header-h: 68px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
a { color: var(--ember-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffd0a0; }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 3px; border-radius: 4px; }
code, kbd { font-family: var(--mono); font-size: 0.88em; background: rgba(160, 175, 220, 0.12); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; overflow-wrap: anywhere; }
kbd { border-bottom-width: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  background: no-repeat linear-gradient(180deg, rgba(2, 8, 26, 0.86) 0%, rgba(2, 8, 26, 0.45) 60%, rgba(2, 8, 26, 0) 100%);
}
.site-header.menu-open { background: #02081a !important; }
.site-header.is-solid, .site-header.menu-open { background: rgba(2, 8, 26, 0.9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.site-header .brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; flex: none; }
.site-header .brand img { height: 34px; width: auto; }
.site-header .brand .mark { width: 30px; height: 30px; }
.site-header .brand .word { font-family: var(--display); font-weight: 300; letter-spacing: 0.42em; font-size: 15px; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a.nav-link {
  color: var(--muted); text-decoration: none; font-family: var(--display); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 8px; position: relative; transition: color 0.2s ease;
}
.site-nav a.nav-link:hover { color: var(--text); }
.site-nav a.nav-link[aria-current="page"] { color: var(--text); }
.site-nav a.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(2, 8, 26, 0.5); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #02081a; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 22px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav a.nav-link { font-size: 15px; padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a.nav-link[aria-current="page"]::after { left: 0; right: auto; width: 34px; bottom: 8px; }
  .site-nav .btn { margin: 18px 0 0; justify-content: center; }
}

@media (max-width: 1180px) {
  .site-nav.is-static { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; background: none; border: 0; padding: 0; overflow: visible; margin-left: auto; max-height: none; }
  .site-nav.is-static .btn { margin: 0; }
}
@media (max-width: 420px) { .site-header .brand .word { letter-spacing: 0.28em; font-size: 13px; } .site-nav.is-static .btn { padding: 9px 12px; font-size: 11px; letter-spacing: 0.08em; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 14.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.btn-primary { background: var(--grad); color: #0a0614; box-shadow: 0 8px 30px -10px rgba(255, 122, 47, 0.65); }
.btn.btn-primary:hover { color: #0a0614; box-shadow: 0 12px 38px -10px rgba(255, 122, 47, 0.85); }
.btn.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(2, 8, 26, 0.35); }
.btn.btn-ghost:hover { border-color: rgba(255, 177, 99, 0.7); color: #fff; }
.btn.btn-small { padding: 10px 18px; font-size: 12.5px; }
.btn.is-pending { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); box-shadow: none; }
.btn.is-pending:hover { color: var(--text); transform: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- hero (Firefall overview) ---------- */
.hero { position: relative; min-height: min(100vh, 1180px); min-height: min(100svh, 1180px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #050a1c; }
.hero-media { position: absolute; inset: -8% 0 -8% 0; z-index: -2; will-change: transform; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media video { opacity: 0; transition: opacity 0.9s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 8, 26, 0.7) 0%, rgba(2, 8, 26, 0.12) 24%, rgba(2, 8, 26, 0.1) 46%, rgba(2, 8, 26, 0.78) 80%, var(--navy) 100%),
    linear-gradient(90deg, rgba(2, 8, 26, 0.62) 0%, rgba(2, 8, 26, 0) 62%);
}
.hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(56px, 9vh, 104px); will-change: transform, opacity; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.hero h1 { margin: 0 0 18px; text-transform: uppercase; font-weight: 200; }
.hero h1 .t1 { display: block; font-size: clamp(44px, 11.5vw, 124px); letter-spacing: 0.2em; margin-right: -0.2em; line-height: 1; text-shadow: 0 2px 40px rgba(2, 8, 26, 0.6); }
.hero h1 .t2 { display: block; font-size: clamp(15px, 3.1vw, 30px); letter-spacing: 0.72em; margin-top: 0.7em; font-weight: 300; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.15em; }
.hero .lede { font-size: clamp(17px, 2.1vw, 21px); max-width: 34em; color: #dfe3f1; margin-bottom: 28px; text-shadow: 0 1px 18px rgba(2, 8, 26, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 760px; }
.hero-meta div { font-family: var(--display); }
.hero-meta dt { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.hero-meta dd { margin: 2px 0 0; font-size: 17px; letter-spacing: 0.04em; }
.hero-meta dl { margin: 0; display: contents; }
.hero-note { position: absolute; right: var(--gutter); bottom: 14px; font-size: 11.5px; color: rgba(200, 208, 230, 0.72); letter-spacing: 0.04em; max-width: 60vw; text-align: right; }
.hero-pause { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 14px); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(2, 8, 26, 0.45); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.no-video .hero-pause { display: none; }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, rgba(2, 8, 26, 0.82) 0%, rgba(2, 8, 26, 0.3) 18%, rgba(2, 8, 26, 0.42) 40%, rgba(2, 8, 26, 0.86) 78%, var(--navy) 100%); }
  .hero h1 .t2 { letter-spacing: 0.6em; font-size: 17px; font-weight: 400; }
  .eyebrow { letter-spacing: 0.22em; font-size: 12px; }
  .hero-note { position: static; text-align: left; max-width: none; margin-top: 22px; }
  .hero-meta { gap: 14px 22px; }
  .hero .cta-row .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section.tight { padding: clamp(44px, 7vw, 84px) 0; }
.section.alt { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 18%, var(--navy-2) 82%, var(--navy) 100%); }
.kicker { font-family: var(--display); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; display: block; }
.section h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 300; letter-spacing: 0.02em; max-width: 18em; }
.section .intro { color: var(--muted); max-width: 40em; font-size: 1.05em; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; } .split.flip > :first-child { order: 2; } }
.art { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); background: var(--navy-3); }
.art img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.art.tall img { aspect-ratio: 4 / 3; }
.art figcaption, .art-note { font-size: 12px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(2, 8, 26, 0.6); }

.cards { display: grid; gap: 16px; margin-top: 38px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(13, 23, 51, 0.72), rgba(7, 15, 38, 0.6)); transition: border-color 0.3s ease, transform 0.3s ease; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card .num { font-family: var(--display); font-size: 12px; letter-spacing: 0.3em; color: var(--ember-2); display: block; margin-bottom: 14px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(255, 177, 99, 0.55); transform: translateY(-3px); }
a.card .more { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-2); }

.band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(84px, 14vw, 170px) 0; }
.band .band-bg { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--navy) 0%, rgba(2, 8, 26, 0.62) 30%, rgba(2, 8, 26, 0.62) 70%, var(--navy) 100%); }
.band h2 { margin-left: auto; margin-right: auto; }
.band p { max-width: 36em; margin-left: auto; margin-right: auto; color: #d9deef; }
.band .cta-row { justify-content: center; margin-top: 26px; }
.launch { margin-bottom: 20px; }
.launch .eyebrow { margin-bottom: 12px; }
.launch-clock { display: flex; gap: clamp(8px, 2vw, 14px); font-family: var(--display); }
.launch-clock[hidden] { display: none; }
.launch-clock span { min-width: clamp(62px, 15vw, 84px); padding: 10px 8px 9px; text-align: center; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(2, 8, 26, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.launch-clock b { display: block; font-weight: 300; font-size: clamp(26px, 6vw, 40px); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.launch-clock i { display: block; margin-top: 7px; font-style: normal; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.launch.is-live .eyebrow { font-size: 15px; color: var(--text); }
.band .when { font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-2); margin: -4px 0 18px; }
@media (prefers-reduced-motion: reduce) { .launch-clock .sec { display: none; } }

/* updates */
.update-list { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 860px) { .update-list.grid3 { grid-template-columns: repeat(3, 1fr); } }
.update { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(13, 23, 51, 0.5); }
.update .shot { display: block; cursor: zoom-in; background: var(--navy-3); }
.update .shot img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 686; }
.update .shot:focus-visible { outline-offset: -3px; }
.prose.notes-col { max-width: 800px; margin: 0 auto; width: 100%; }
.update .body { padding: 22px 22px 24px; }
.update .meta { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.update .meta .rel { color: var(--ember-2); }
.update h3 { font-size: 21px; }
.update h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 400; }
.update p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.prose .update h2 { margin: 0 0 0.5em; padding-top: 0; }
.prose .update p { color: var(--muted); }
.update details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.update summary { cursor: pointer; font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-2); }
.update details h4 { font-size: 16px; margin: 20px 0 8px; color: var(--text); }
.update details li { color: var(--muted); font-size: 15px; }
.nav-support { display: inline-flex; align-items: center; gap: 7px; }
.nav-support svg { width: 13px; height: 13px; color: var(--ember); flex: none; }
.btn.is-pending svg { width: 15px; height: 15px; }
.fine { font-size: 14px; color: var(--muted); }
.support-box { border: 1px solid var(--line-strong); border-radius: 18px; padding: clamp(26px, 5vw, 48px); background: radial-gradient(120% 140% at 0% 0%, rgba(167, 123, 255, 0.14), rgba(255, 122, 47, 0.07) 55%, rgba(7, 15, 38, 0.6) 100%); }
.support-box h2 { font-size: clamp(26px, 4vw, 38px); }
.support-box p { max-width: 40em; color: #dfe3f1; }
.support-box p.fine { color: var(--muted); }
.support-box .cta-row { margin-top: 22px; }
.support-box .cta-row + .fine { margin: 16px 0 0; }
.prose .cta-row { margin: 1.4em 0 1em; }

/* ---------- inner pages ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 9vw, 96px)) 0 clamp(40px, 6vw, 68px); border-bottom: 1px solid var(--line); }
.page-head .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-head .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.5; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 8, 26, 0.72) 0%, rgba(2, 8, 26, 0.55) 40%, var(--navy) 100%), linear-gradient(90deg, rgba(2, 8, 26, 0.8), rgba(2, 8, 26, 0.1)); }
.crumbs { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-head h1 { font-size: clamp(36px, 7vw, 68px); font-weight: 200; letter-spacing: 0.04em; margin-bottom: 14px; }
.page-head .lede { font-size: clamp(17px, 2.2vw, 20px); color: #dfe3f1; max-width: 38em; margin: 0; }

.doc { display: grid; gap: 40px; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(64px, 9vw, 110px); }
@media (min-width: 1000px) { .doc.has-toc { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; } }
.toc { font-family: var(--display); font-size: 14px; }
.toc strong { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: block; text-decoration: none; color: var(--text); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; letter-spacing: 0.04em; }
.toc a:hover { border-color: rgba(255, 177, 99, 0.6); }
.toc li { margin: 0; }
@media (min-width: 1000px) {
  .toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .toc ul { flex-direction: column; gap: 2px; }
  .toc a { border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 7px 0 7px 16px; color: var(--muted); }
  .toc a:hover { color: var(--text); border-left-color: var(--ember-2); }
}
.prose { max-width: 780px; min-width: 0; }
.prose h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 300; margin: 2.2em 0 0.6em; padding-top: 0.2em; }
.prose > h2:first-child, .prose > section:first-child > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 1.8em 0 0.5em; }
.prose p, .prose li { color: #d3d8e8; }
.prose strong { color: var(--text); font-weight: 600; }
.prose section + section { margin-top: 3.2em; padding-top: 2.6em; border-top: 1px solid var(--line); }
.prose section > h2:first-child { margin-top: 0; }

.callout { border: 1px solid var(--line-strong); border-left: 3px solid var(--violet); background: rgba(167, 123, 255, 0.07); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin: 1.6em 0; }
.callout.pending { border-left-color: var(--ember); background: rgba(255, 122, 47, 0.07); }
.callout p:last-child { margin-bottom: 0; }
.callout .tag { display: inline-block; font-family: var(--display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember-2); margin-bottom: 6px; }
.callout:not(.pending) .tag { color: var(--violet); }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.6em 0; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 26px 58px; margin: 0; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 16px; color: var(--text); border: 1px solid var(--line-strong); background: var(--navy-3); }
ol.steps > li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 1px; background: var(--line); }
ol.steps > li:last-child::after { display: none; }
ol.steps h3 { margin: 4px 0 6px; font-size: 19px; }
ol.steps p { margin-bottom: 0.6em; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child > td { border-bottom: 0; }
th { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); background: rgba(13, 23, 51, 0.6); }
td:first-child { color: var(--text); }
td { color: #cfd5e6; }
@media (max-width: 640px) {
  .stack thead { display: none; }
  .stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .stack tr:last-child { border-bottom: 0; }
  .stack td { display: block; border: 0; padding: 6px 16px; }
  .stack td:first-child { font-weight: 600; padding-top: 12px; }
}

.dl-grid { display: grid; gap: 16px; margin: 1.6em 0; }
@media (min-width: 760px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }
.dl { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: linear-gradient(180deg, rgba(13, 23, 51, 0.72), rgba(7, 15, 38, 0.6)); display: flex; flex-direction: column; }
.dl .os { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--violet); }
.dl h3 { font-size: 21px; margin: 8px 0 6px; }
.dl p { font-size: 15px; color: var(--muted); }
.dl .file { font-family: var(--mono); font-size: 12.5px; color: #cfd5e6; overflow-wrap: anywhere; margin-bottom: 16px; }
.dl dl { margin: 0 0 18px; font-size: 13.5px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; color: var(--muted); }
.dl dt { font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.dl dd { margin: 0; overflow-wrap: anywhere; color: #cfd5e6; }
.dl .btn { margin-top: auto; justify-content: center; }

.codeblock { position: relative; margin: 1em 0 1.4em; }
.codeblock pre { margin: 0; padding: 16px 18px; padding-right: 76px; background: #050b1f; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: #dfe3f1; }
.codeblock pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.copy { position: absolute; top: 8px; right: 8px; font-family: var(--display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--navy-3); border: 1px solid var(--line-strong); border-radius: 7px; padding: 7px 10px; cursor: pointer; }
.copy:hover { color: var(--text); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-size: 19px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ember-2); border-bottom: 1.5px solid var(--ember-2); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 22px; max-width: 46em; }
.faq .a p:last-child { margin-bottom: 0; }

.credit-list { list-style: none; padding: 0; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.credit-list li { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.credit-list li:last-child { border-bottom: 0; }
.credit-list b { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--text); }
.credit-list span { color: var(--muted); font-size: 15px; }

.next { display: grid; gap: 14px; margin-top: 3em; }
@media (min-width: 720px) { .next { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #010511; padding: 56px 0 34px; font-size: 14.5px; color: var(--muted); }
.site-footer .cols { display: grid; gap: 34px; }
@media (min-width: 820px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }
.site-footer h2 { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .f-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer .f-brand .word { font-family: var(--display); font-weight: 300; letter-spacing: 0.42em; font-size: 16px; text-transform: uppercase; color: var(--text); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer .f-brand .mark { width: 30px; height: 30px; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.site-footer .legal p { margin-bottom: 0.6em; max-width: 70em; }

/* ---------- umbrella landing ---------- */
.portal { position: relative; min-height: min(100vh, 1180px); min-height: min(100svh, 1180px); display: grid; align-items: center; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 30px) 0 60px; }
.portal .p-bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.portal .p-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.portal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 8, 26, 0.94) 0%, rgba(2, 8, 26, 0.72) 42%, rgba(2, 8, 26, 0.18) 100%), linear-gradient(180deg, rgba(2, 8, 26, 0.5) 0%, rgba(2, 8, 26, 0) 30%, rgba(2, 8, 26, 0) 70%, var(--navy) 100%); }
.portal h1 { font-weight: 200; text-transform: uppercase; letter-spacing: 0.3em; margin-right: -0.3em; font-size: clamp(34px, 9.4vw, 96px); margin-bottom: 20px; }
.portal .lede { font-size: clamp(18px, 2.4vw, 23px); max-width: 26em; color: #dfe3f1; margin-bottom: 36px; }
.game-card { display: grid; max-width: 620px; text-decoration: none; color: var(--text); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: rgba(4, 10, 30, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(255, 177, 99, 0.7); box-shadow: 0 30px 70px -30px rgba(255, 122, 47, 0.5); color: var(--text); }
.game-card .thumb { aspect-ratio: 21 / 9; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.game-card:hover .thumb img { transform: scale(1.04); }
.game-card .gc-body { padding: 22px 24px 24px; display: grid; gap: 6px; }
.game-card .gc-body img { height: 38px; width: auto; margin-bottom: 6px; }
.game-card .status { font-family: var(--display); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ember-2); }
.game-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.game-card .go { margin-top: 10px; font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.game-card .go svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.game-card:hover .go svg { transform: translateX(5px); }

.err { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.err b { font-family: var(--display); font-weight: 200; font-size: clamp(90px, 22vw, 200px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media, .band .band-bg, .portal .p-bg, .hero-inner { transform: none !important; }
  .btn, .card, .game-card, .game-card .thumb img { transition: none; }
}
@media print { .site-header, .hero-media video, .toc, .site-footer .cols { display: none; } body { background: #fff; color: #000; } }
