:root {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #f8fafc;
}

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  max-width: 48rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin-top: 0;
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

p {
  line-height: 1.65;
}

code {
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  background: #e2e8f0;
}

a {
  color: #0369a1;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #e5e7eb;
    background: #111827;
  }

  code {
    background: #374151;
  }

  a {
    color: #7dd3fc;
  }
}
