:root {
  color-scheme: dark;
  background: #151e1c;
  color: #f4eee3;
  font: 100%/1.6 system-ui, sans-serif;
}

body { margin: 0; }

main {
  max-width: 43rem;
  margin-inline: auto;
  padding: clamp(1rem, 5vw, 3rem);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  border-bottom: 1px solid #53645b;
  margin-bottom: 2rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

a { color: #accbff; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid #f6bd74; outline-offset: 4px; }

h1, h2, h3 { line-height: 1.18; }
h1, h2 { font-family: Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
h2, h3 { margin-top: 1.7em; }

section {
  margin-top: 3.5rem;
  border-top: 1px solid #53645b;
}
