/* Starlane — flight-deck styling for the public pages.
   Fonts are self-hosted so these pages make no third-party requests. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/BigShouldersDisplay.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #0B0E14;
  --panel: #12161F;
  --panel2: #181E2A;
  --line: #232A38;
  --line2: #323B4D;
  --text: #EEF1F5;
  --muted: #98A3B6;
  --faint: #7A869A;
  --flare: #F97B2F;
  --ice: #7EDCF2;
  --gold: #F2B544;
  --display: "Big Shoulders Display", "Haettenschweiler", "Impact", sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Hazard strip, the primary-button motif from the game */
.hazard {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--flare) 0 8px,
    #B9521B 8px 16px
  );
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 96px;
}

header.site {
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
header.site .wrap {
  padding-top: 26px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.mark span { color: var(--flare); }

nav.site {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--flare); }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 8vw, 56px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 10px;
}

.stamp {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 34px;
}

/* Tick ruler, the divider motif */
.rule {
  height: 10px;
  margin: 44px 0 26px;
  background-image: linear-gradient(to right, var(--line2) 1px, transparent 1px);
  background-size: 8px 10px;
  background-repeat: repeat-x;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--text);
}

h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 26px 0 6px;
  color: var(--text);
}

p { margin: 0 0 16px; color: var(--muted); }
p.lead { color: var(--text); font-size: 18px; }

strong { color: var(--text); font-weight: 600; }

a { color: var(--ice); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--flare); }

ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
li { margin-bottom: 8px; }
li::marker { color: var(--flare); }

/* Panel, the surface motif */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
  margin: 0 0 20px;
}
.panel.flag {
  border-color: var(--flare);
  background: var(--panel2);
}
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flare);
  margin: 0 0 8px;
}

dl.faq { margin: 0; }
dl.faq dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 22px;
  font-size: 15px;
}
dl.faq dt:first-child { margin-top: 0; }
dl.faq dd { margin: 6px 0 0; color: var(--muted); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
th {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
td:first-child { color: var(--text); }

.scroll { overflow-x: auto; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 28px 0 60px;
  font-size: 13px;
  color: var(--faint);
}
footer.site .wrap { padding-bottom: 0; }
footer.site a { color: var(--muted); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--ice);
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  nav.site { margin-left: 0; width: 100%; gap: 14px; }
}
