:root {
  color-scheme: light dark;
  --text: #1a1a1a;
  --muted: #555;
  --bg: #fafafa;
  --link: #0b5fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f0f0f0;
    --muted: #a8a8a8;
    --bg: #121212;
    --link: #6eb3ff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}

nav a {
  font-weight: 500;
}

ul.landing-links {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
}

ul.landing-links li {
  margin-bottom: 0.5rem;
}

.site-footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a {
  font-weight: 500;
}

.site-footer__placeholder {
  margin: 0;
}
