/* Shared styling for the text pages. Deliberately not under /assets/,
   because that path is cached immutably and this file has no content hash. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #000;
  --fg: #e8e6e3;
  --muted: #9a958e;
  --gold: #e2b65c;
  --rule: #26231f;
}

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 48px 24px 72px;
  -webkit-font-smoothing: antialiased;
}

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

header { margin-bottom: 48px; }

header img { display: block; width: 240px; height: auto; }

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 32px 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.05rem;
  margin: 36px 0 10px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

p, li { margin-bottom: 14px; }

ul { padding-left: 22px; }

a { color: var(--gold); }

.updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.callout {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

footer a { margin-right: 16px; }

@media (max-width: 560px) {
  body { padding: 32px 20px 56px; }
  header img { width: 180px; }
  h1 { font-size: 1.5rem; }
}
