:root {
  color-scheme: light dark;
  --text: #1c1c1e;
  --muted: #5b5b60;
  --bg: #ffffff;
  --accent: #2f5bd3;
  --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececef;
    --muted: #a2a2a8;
    --bg: #141416;
    --accent: #7a9cff;
    --accent-text: #0b0b0c;
  }
}

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

main, footer {
  max-width: 40rem;
  margin: 0 auto;
}

main { padding: 3rem 0 2rem; }

h1 { font-size: 2.2rem; margin: 0 0 1.5rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }

section + section {
  border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  margin-top: 2rem;
  padding-top: 1rem;
}

.lead { font-size: 1.25rem; font-weight: 600; }

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

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

footer {
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
