/* grimlanes.com: one dark page style in the brand colours (tools/art/brand.py), headings in Jersey 10 like the HUD. */
@font-face {
  font-family: "Jersey 10";
  src: url("fonts/jersey10-latin.woff2") format("woff2");
  font-display: swap;
}
:root {
  --ink: #150e22;
  --night: #1b1624;
  --card: #231c2e;
  --line: #3a3150;
  --text: #eadcbc;
  --muted: #b3a88f;
  --gold: #e7b14a;
  --gold-hi: #ffed93;
  --gold-lo: #8f4a1c;
  --humans: #66a0dc;
  --orcs: #df5858;
  --pixel: "Jersey 10", "Courier New", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; image-rendering: pixelated; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
code {
  font: 0.92em/1.4 ui-monospace, "Cascadia Mono", Menlo, monospace;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header: crest + name, and the three links */
.top { border-bottom: 1px solid var(--line); background: var(--night); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); font: 2rem/1 var(--pixel); }
.brand img { width: 48px; height: 48px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font: 1.35rem/1 var(--pixel); letter-spacing: 0.02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); }

/* Home */
.hero { margin: 24px auto 0; border: 4px solid var(--gold-lo); background: var(--night); display: block; image-rendering: auto; }
.soon { text-align: center; padding: 36px 0 12px; }
.badge {
  display: inline-block;
  font: 1.4rem/1 var(--pixel);
  color: var(--ink);
  background: var(--gold);
  padding: 6px 14px 4px;
  border-bottom: 3px solid var(--gold-lo);
  letter-spacing: 0.04em;
}
h1, h2, h3 { font-family: var(--pixel); font-weight: 400; line-height: 1.05; color: var(--gold-hi); }
h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); margin: 18px 0 12px; }
h2 { font-size: 2.1rem; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1.6rem; margin: 0 0 6px; }
.lead { font-size: 1.15rem; max-width: 40rem; margin: 0 auto 1.4rem; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-block;
  font: 1.5rem/1 var(--pixel);
  text-decoration: none;
  padding: 10px 18px 8px;
  border: 2px solid var(--gold);
  color: var(--gold-hi);
}
.button.main { background: var(--gold); color: var(--ink); border-bottom-width: 4px; border-color: var(--gold-lo); }
.button.main:hover { background: var(--gold-hi); color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 36px 0 12px; padding: 0; list-style: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 18px; }
.steps .num { font: 1.2rem/1 var(--pixel); color: var(--gold); }
.steps p { margin: 0; }

/* Manual and privacy */
.doc { padding: 12px 0 24px; }
.doc p, .doc ul { margin: 0 0 0.9rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.note { color: var(--muted); }
table { border-collapse: collapse; width: 100%; margin: 0.4rem 0 1.2rem; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { font: 1.3rem/1 var(--pixel); color: var(--gold); font-weight: 400; }
td:first-child { white-space: nowrap; }
.h { color: var(--humans); }
.o { color: var(--orcs); }
.table-scroll { overflow-x: auto; }
.circle { background: var(--card); border: 1px solid var(--line); padding: 12px 16px; }

.bottom { margin-top: 48px; border-top: 1px solid var(--line); background: var(--night); color: var(--muted); font-size: 0.92rem; }
.bottom .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; gap: 8px 22px; flex-wrap: wrap; }
.bottom a { color: var(--muted); }
.bottom a:hover { color: var(--gold-hi); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  td:first-child { white-space: normal; }
}
