:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 0 1.25rem;
}

header,
footer {
  padding: 1.5rem 0;
}

header {
  border-bottom: 1px solid currentColor;
}

main {
  padding: 2rem 0;
}

h1,
h2 {
  line-height: 1.2;
}

h2 {
  margin-top: 2rem;
}

footer {
  border-top: 1px solid currentColor;
}
