:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #14161a;
  --muted: #596171;
  --border: #dfe3ea;
  --accent: #3858e9;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
  font-weight: 700;
}

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

.document {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
}

.updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lede {
  margin: 22px 0 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

section {
  margin: 16px 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

section p {
  margin: 0;
}

section p + p {
  margin-top: 12px;
}

.links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
}

.footer-links {
  margin-top: 24px;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 760px);
    padding: 36px 0;
  }

  h1 {
    font-size: 34px;
  }

  .lede {
    font-size: 16px;
  }

  section {
    padding: 18px;
  }
}
