:root {
  color-scheme: light dark;
  --bg: #f7f7f4;
  --text: #171717;
  --muted: #626262;
  --line: #deded8;
  --accent: #1769e0;
  --panel: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --text: #f5f5f2;
    --muted: #a7a7a0;
    --line: #2d2d2d;
    --accent: #66a6ff;
    --panel: #181819;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.document {
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.document h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 18px;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

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

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}
