:root {
  --bg: #fbfaf7;
  --text: #1c1c1a;
  --muted: #5f5e59;
  --rule: #dddad2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --text: #ecebe6;
    --muted: #a3a19a;
    --rule: #34332f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
}

header strong { font-weight: 600; }

.lang { font-size: .9rem; color: var(--muted); }
.lang [aria-current] { color: var(--text); text-decoration: none; }

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

.dates {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.tools { margin-top: 2rem; }

.tools h2 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 .4rem;
}

a { color: inherit; text-underline-offset: 3px; }

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

footer a { margin-right: 1rem; }
