:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101312;
  color: #f4f2ea;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  width: min(100%, 48rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(1.5rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 8vh, 5rem);
}

p { margin: 0; }
.wordmark { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.04em; }
.caption { margin-top: 0.4rem; color: #b8c4bd; font-size: 0.9rem; }
h1 { margin: 0; max-width: 13ch; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; }
.description { max-width: 40rem; margin-top: 1.5rem; color: #b8c4bd; font-size: 1.0625rem; line-height: 1.7; }
nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
a { color: inherit; text-underline-offset: 0.25em; }
a:focus-visible { outline: 3px solid #b2dfcb; outline-offset: 5px; }
nav a { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.75rem 1rem; border: 1px solid transparent; border-radius: 0.4rem; text-align: center; text-decoration: none; font-size: 0.9375rem; line-height: 1.5; }
.primary { background: #b2dfcb; color: #101312; }
.primary:hover { background: #c6ecdc; }
.secondary { border-color: #57675f; }
.secondary:hover { background: #202823; }
footer { padding-top: 1.25rem; border-top: 1px solid #344039; color: #b8c4bd; font-size: 0.875rem; }

@media (max-width: 28rem) {
  nav { flex-direction: column; }
}
