:root {
  color-scheme: dark;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

header, main, footer {
  width: min(40rem, calc(100% - 48px));
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0 0;
}

.brand {
  font-weight: 560;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav { display: flex; gap: 18px; }

nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); }

main { padding: 48px 0 72px; }

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 520;
  letter-spacing: -0.03em;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

p, li { color: rgba(255, 255, 255, 0.88); }

.muted, .updated { color: var(--muted); }

ol, ul { padding-left: 1.2rem; }

footer {
  padding: 0 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
