:root {
  --ink: #121212;
  --surface: #1a1a1a;
  --surface-raised: #211f1c;
  --brass: #d2a24c;
  --brass-dim: #b8a88a;
  --text: #e8e3da;
  --text-dim: #a39c90;
  --rule: #2e2a25;
  --max: 46rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  /* Long-form reading is the only job this page has. */
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: #e6bd72;
}

header.site {
  border-bottom: 1px solid var(--rule);
}

header.site .wrap {
  padding-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}

.brand strong {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--text-dim);
}

h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.4rem 0 0.6rem;
  color: var(--brass);
}

h3 {
  font-size: 1rem;
  margin: 1.6rem 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-dim);
}

.updated {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}

.card.key {
  border-color: #4a3a1c;
  background: var(--surface-raised);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

dl.facts {
  margin: 1.5rem 0;
}

dl.facts dt {
  font-weight: 600;
  color: var(--brass-dim);
  margin-top: 1rem;
}

dl.facts dd {
  margin: 0.2rem 0 0;
}

footer.site {
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer.site .wrap {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

footer.site a {
  color: var(--brass-dim);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

code {
  background: #000;
  border: 1px solid var(--rule);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* The policy must stay readable on paper: Play reviewers sometimes print. */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  h2 {
    color: #000;
  }

  .card {
    border-color: #999;
    background: #fff;
  }

  a {
    color: #000;
  }
}
