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

body {
  margin: 0;
  background: Canvas;
  color: CanvasText;
}

main {
  width: min(42rem, calc(100% - 2rem));
  margin: 4rem auto;
}

h1,
h2 {
  line-height: 1.2;
}

h2 {
  margin-top: 2rem;
}

a {
  color: LinkText;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid GrayText;
  font-size: 0.9rem;
}
