/* Starwatch Commander — marketing & docs site
   Design system: "Galactic Command"
   Tactile futurism + glassmorphism. Deep void navy, plasma-cyan glow,
   solar-gold primary actions, nova-blue accents. Sora / Inter / JetBrains Mono. */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  /* surfaces */
  --bg: #081326;
  --surface-lowest: #040e21;
  --surface-low: #111c2f;
  --surface: #152033;
  --surface-high: #202a3e;
  --surface-highest: #2a3549;
  --panel: rgba(11, 22, 41, 0.70);
  --panel-solid: #0d1629;
  --panel-edge: rgba(0, 219, 233, 0.22);
  --panel-edge-strong: rgba(0, 219, 233, 0.45);

  /* accents */
  --cyan: #00dbe9;          /* plasma cyan / tertiary */
  --cyan-soft: #7df4ff;
  --cyan-deep: #00adb8;
  --blue: #98cbff;          /* nova blue / primary */
  --blue-bright: #00a3ff;
  --gold: #ffc703;          /* solar gold / secondary */
  --gold-soft: #ffe9b9;
  --gold-deep: #f5bf00;
  --green: #4be08a;
  --orange: #ff8a4c;
  --red: #ffb4ab;

  /* text */
  --text: #d8e2fd;
  --text-dim: #bec7d4;
  --text-faint: #88919d;
  --outline-variant: #3f4852;

  --on-gold: #3e2e00;
  --on-cyan: #00363a;

  --radius: 1rem;        /* lg  */
  --radius-xl: 1.5rem;   /* xl  */
  --maxw: 1200px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(1200px 720px at 82% -8%, rgba(0, 219, 233, 0.12), transparent 60%),
    radial-gradient(1000px 640px at 10% 4%, rgba(0, 163, 255, 0.12), transparent 58%),
    radial-gradient(900px 900px at 50% 120%, rgba(26, 58, 109, 0.55), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Starfield */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 45% 80%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(125,244,255,0.7), transparent),
    radial-gradient(2px 2px at 15% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 25%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 90% 85%, rgba(255,199,3,0.5), transparent);
  background-repeat: no-repeat;
  opacity: 0.6;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--cyan-soft); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(8, 19, 38, 0.82);
  border-bottom: 1px solid rgba(0, 219, 233, 0.30);
  box-shadow: 0 0 22px rgba(0, 219, 233, 0.15);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.brand b { color: var(--gold); font-weight: 800; }
.brand .badge {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 30%, var(--cyan), #0a5b78);
  box-shadow: 0 0 14px rgba(0,219,233,0.6);
  font-size: 15px; color: #04121a;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--font-head);
  color: var(--text);
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-links a:hover { color: var(--cyan); background: rgba(0,219,233,0.10); }
.nav-links a.active {
  color: var(--gold);
  background: transparent;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  padding-bottom: 5px;
}
/* injected Play Now button */
.nav-play {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 8px;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--on-gold) !important;
  padding: 9px 22px !important;
  border-radius: 10px;
  box-shadow: 0 4px 0 #b98d00, 0 0 22px rgba(255,199,3,0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border-bottom: 0 !important;
}
.nav-play:hover { color: var(--on-gold) !important; background: linear-gradient(180deg, #ffd633, var(--gold)); }
.nav-play:active { transform: translateY(4px); box-shadow: 0 0 0 #b98d00, 0 0 22px rgba(255,199,3,0.4); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  padding: 14px 30px;
  border-radius: 0.9rem;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  box-shadow: 0 4px 0 #b98d00, 0 0 25px rgba(255,199,3,0.35);
  text-transform: uppercase;
}
.btn-gold:hover { color: var(--on-gold); background: linear-gradient(180deg, #ffd633, var(--gold)); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 0 0 #b98d00, 0 0 25px rgba(255,199,3,0.35); }
.btn-blue {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn-blue:hover { color: var(--cyan-soft); background: rgba(0,219,233,0.12); box-shadow: 0 0 20px rgba(0,219,233,0.25); }
.btn-cyan {
  background: var(--cyan);
  color: var(--on-cyan);
  box-shadow: 0 4px 0 var(--cyan-deep), 0 0 22px rgba(0,219,233,0.35);
}
.btn-cyan:hover { color: var(--on-cyan); filter: brightness(1.08); }
.btn-cyan:active { transform: translateY(4px); box-shadow: 0 0 0 var(--cyan-deep); }

/* ---------- Panels / cards ---------- */
.glass, .panel {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.panel { padding: 28px; }

/* subtle scanline overlay for feature panels */
.scanline { position: relative; overflow: hidden; }
.scanline::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,219,233,0.05) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--panel-edge-strong); box-shadow: 0 0 30px rgba(0,219,233,0.18); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.97rem; margin: 0; }
/* boxed icon well (console-button look) */
.icon-well {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 0.85rem;
  background: var(--surface-highest);
  border: 1px solid rgba(0,219,233,0.15);
  font-size: 1.7rem;
  margin-bottom: 18px;
  transition: background 0.3s ease;
}
.card:hover .icon-well { background: rgba(0,219,233,0.16); }
.card .icon { font-size: 1.9rem; margin-bottom: 8px; display: block; }

/* ---------- Home hero ---------- */
.site-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
}
.site-hero-bg { position: absolute; inset: 0; z-index: 0; }
.site-hero-bg img {
  position: absolute;
  right: 0; bottom: 0;
  height: 100%;
  max-width: 60%;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
.site-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(8,19,38,0.30) 55%, rgba(8,19,38,0.15)),
    linear-gradient(to right, var(--bg) 12%, transparent 60%);
}
.site-hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 .accent { color: var(--cyan); text-shadow: 0 0 24px rgba(0,219,233,0.45); }
.hero-copy .sub { color: var(--text-dim); font-size: 1.18rem; max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* eyebrow / kicker (mono caps) */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  background: rgba(0,219,233,0.07);
}
.kicker {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 12px;
}

/* ---------- HUD card (commander log) ---------- */
.hud { padding: 30px; }
.hud-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hud-head .avatar { font-size: 2.4rem; line-height: 1; }
.hud-head .kicker { margin-bottom: 2px; }
.hud-head .status { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.hud-row { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--outline-variant); padding-bottom: 8px; margin-bottom: 12px; }
.hud-row .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; }
.hud-row .val { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--blue); }
.progress { height: 12px; background: var(--surface); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress > i { display: block; height: 100%; background: linear-gradient(to right, var(--blue-bright), var(--cyan-deep)); box-shadow: 0 0 18px rgba(0,163,255,0.5); }
.hud-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hud-stat { background: var(--surface-high); border: 1px solid rgba(63,72,82,0.4); border-radius: 0.7rem; padding: 16px; }
.hud-stat .lbl { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; }
.hud-stat .num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.hud-stat .num.gold { color: var(--gold); }
.hud-stat .num.cyan { color: var(--cyan); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .rule { height: 4px; width: 90px; background: var(--cyan); border-radius: 999px; margin: 0 auto; box-shadow: 0 0 16px rgba(0,219,233,0.5); }
.section-head p { color: var(--text-dim); }
.bg-low { background: var(--surface-low); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius-xl); padding: 8px; }
.about-media img { width: 100%; border-radius: var(--radius); display: block; box-shadow: 0 0 40px rgba(0,219,233,0.15); }
.about-media::before, .about-media::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.about-media::before { width: 200px; height: 200px; top: -40px; left: -40px; background: rgba(0,163,255,0.18); }
.about-media::after { width: 240px; height: 240px; bottom: -40px; right: -40px; background: rgba(0,219,233,0.16); }
.about-stats { display: flex; gap: 40px; margin-top: 12px; flex-wrap: wrap; }
.about-stats .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; }
.about-stats .num.blue { color: var(--blue); }
.about-stats .num.gold { color: var(--gold); }
.about-stats .num.cyan { color: var(--cyan); }
.about-stats .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-dim); text-transform: uppercase; }

/* ---------- Newsletter ---------- */
.news { max-width: 860px; margin: 0 auto; padding: 52px; text-align: center; border-radius: var(--radius-xl); }
.news h2 { color: var(--gold); }
.news p.desc { color: var(--text-dim); max-width: 48ch; margin: 0 auto 28px; }
.news form { display: flex; gap: 14px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; }
.news input {
  flex: 1; min-width: 220px;
  background: var(--surface-lowest);
  border: 1px solid var(--outline-variant);
  color: var(--text);
  border-radius: 0.8rem;
  padding: 15px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.news input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,219,233,0.18); }
.news .note { margin-top: 24px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- Doc layout ---------- */
.hero {
  position: relative;
  padding: 84px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { color: var(--text-dim); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 62ch; margin: 16px auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: 0.5; z-index: -1; }
.orb-1 { width: 190px; height: 190px; top: 30px; left: -60px; background: radial-gradient(circle at 35% 30%, var(--cyan-soft), #124a6b 70%, var(--bg)); }
.orb-2 { width: 120px; height: 120px; bottom: 10px; right: -30px; background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--orange) 60%, #5a2a00); }

.doc-hero { padding: 60px 0 30px; border-bottom: 1px solid var(--panel-edge); margin-bottom: 36px; }
.doc-hero .kicker { text-align: left; }
.toc { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; backdrop-filter: blur(16px); }
.toc strong { color: var(--gold); display: block; margin-bottom: 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-mono); }
.toc ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 6px; }
.doc-section { scroll-margin-top: 90px; margin-bottom: 46px; }
.doc-section h2 { border-left: 3px solid var(--cyan); padding-left: 14px; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--panel-edge); }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; background: var(--panel); min-width: 480px; }
th, td { padding: 11px 15px; text-align: left; border-bottom: 1px solid rgba(0,219,233,0.12); }
th { background: rgba(0,219,233,0.10); color: var(--cyan-soft); font-weight: 700; font-family: var(--font-head); position: sticky; top: 0; }
tbody tr:hover { background: rgba(0,219,233,0.05); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

/* ---------- Code ---------- */
code { font-family: var(--font-mono); background: rgba(0,219,233,0.12); padding: 2px 6px; border-radius: 5px; font-size: 0.88em; color: var(--cyan-soft); }
pre { background: var(--surface-lowest); border: 1px solid var(--panel-edge); border-radius: 12px; padding: 18px; overflow-x: auto; font-size: 0.85rem; line-height: 1.55; }
pre code { background: none; padding: 0; color: #cfe4ff; }

/* ---------- Badges / pills ---------- */
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; font-family: var(--font-mono); }
.pill-tier { color: #06121f; }
.tier-s { background: linear-gradient(90deg, var(--gold), var(--orange)); }
.tier-a { background: #7ee0a0; color:#06121f; }
.tier-b { background: #7fc9ff; color:#06121f; }
.tier-c { background: #b7a4e0; color:#06121f; }
.tier-d { background: #c98b8b; color:#fff; }
.pill-live { background: var(--green); color: #04160c; }
.pill-soon { background: rgba(255,199,3,0.18); color: var(--gold); border: 1px solid rgba(255,199,3,0.4); }
.pill-tech { background: rgba(0,219,233,0.18); color: var(--cyan-soft); border: 1px solid var(--panel-edge); }

.lead { font-size: 1.18rem; color: var(--text-dim); }
.muted { color: var(--text-faint); font-size: 0.9rem; }
.callout { border-left: 3px solid var(--gold); background: rgba(255,199,3,0.06); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.callout.cyan { border-color: var(--cyan); background: rgba(0,219,233,0.06); }
.callout p:last-child { margin: 0; }

ul.clean { list-style: none; padding: 0; }
ul.clean li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid rgba(0,219,233,0.10); }
ul.clean li::before { content: "▸"; color: var(--cyan); position: absolute; left: 4px; }

/* ---------- Stat strip ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.stat { text-align: center; padding: 14px 24px; }
.stat .big { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.stat .lbl { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Changelog ---------- */
.release { border-left: 2px solid var(--panel-edge); padding: 0 0 8px 24px; margin-left: 8px; position: relative; }
.release::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.release.milestone::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.release .ver { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text); }
.release .date { color: var(--text-faint); font-size: 0.85rem; margin-left: 8px; font-family: var(--font-mono); }
.chg { font-size: 0.85rem; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin-right: 8px; font-family: var(--font-mono); }
.chg-add { background: rgba(75,224,138,0.16); color: var(--green); }
.chg-fix { background: rgba(0,219,233,0.16); color: var(--cyan-soft); }
.chg-bal { background: rgba(255,199,3,0.16); color: var(--gold); }
.chg-chg { background: rgba(255,138,76,0.16); color: var(--orange); }

/* ---------- Footer ---------- */
footer { margin-top: 40px; border-top: 1px solid var(--panel-edge); background: var(--surface-lowest); padding: 40px 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
footer .brand { margin-bottom: 10px; }
footer p { color: var(--text-faint); font-size: 0.9rem; max-width: 40ch; }
.foot-cols { display: flex; gap: 50px; flex-wrap: wrap; }
.foot-col h4 { color: var(--cyan-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; font-family: var(--font-mono); }
.foot-col a { display: block; color: var(--text-dim); font-size: 0.9rem; padding: 3px 0; }
.foot-col a:hover { color: var(--cyan); }
.foot-note { text-align: center; color: var(--text-faint); font-size: 0.82rem; margin-top: 26px; }
/* slim footer variant (homepage) */
.foot-bar { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.foot-bar .foot-brand { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.foot-bar .foot-links { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-bar .foot-links a { color: var(--text-dim); font-size: 0.92rem; }
.foot-bar .foot-links a:hover { color: var(--cyan); }
.foot-bar .copy { color: var(--text-faint); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
/* Nav collapses to a menu earlier (8 links + Play button need room) */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--panel-solid);
    padding: 12px;
    border-bottom: 1px solid var(--panel-edge);
  }
  .nav-links.open { display: flex; }
  .nav-links a { white-space: normal; }
  .nav-links a.active { border-bottom: none; color: var(--gold); }
  .nav-play { text-align: center; margin-left: 0; margin-top: 6px; }
  .nav-toggle {
    display: block; margin-left: auto;
    background: rgba(0,219,233,0.12);
    border: 1px solid var(--panel-edge);
    color: var(--text); font-size: 1.3rem;
    border-radius: 9px; padding: 4px 12px; cursor: pointer;
  }
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-hero-bg img { max-width: 100%; opacity: 0.45; }
}
@media (max-width: 560px) {
  .grid-3.stay, .grid-4.stay { grid-template-columns: repeat(2,1fr); }
  .hud-stats { grid-template-columns: 1fr 1fr; }
  .site-hero { min-height: auto; }
}
