:root {
  color-scheme: light;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #526070;
  --border: #d9e2ef;
  --accent: #2357c6;
}

* {
  box-sizing: border-box;
}

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

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

.hero,
.document,
section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.hero + section {
  margin-top: 20px;
}

h1,
h2 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

h2 {
  font-size: 1.35rem;
  margin-top: 28px;
}

h2:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

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

.link-list {
  margin: 0;
  padding-left: 1.25rem;
}

.link-list li + li {
  margin-top: 8px;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 20px, 760px);
    padding: 20px 0;
  }

  .hero,
  .document,
  section {
    padding: 20px;
  }
}
