:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

body {
  max-width: 45rem;
  margin: 0 auto;
  padding: 1.5rem;
}

header,
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

header {
  justify-content: space-between;
  border-bottom: 1px solid CanvasText;
  padding-bottom: 1rem;
}

a {
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.brand {
  color: inherit;
  font-weight: 700;
}

h1,
h2 {
  line-height: 1.2;
}

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