/* One stylesheet, system fonts only: nothing to download, nothing to update.
   Dark by default, with a light variant when the visitor's system asks. */

:root {
  --bg: #131316;
  --text: #eef1f8;
  --muted: #a4acbf;
  --accent: #f0b860;
  --link: #8fa8dc;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfaf7;
    --text: #1a1c22;
    --muted: #5a6172;
    --accent: #c47f12;
    --link: #3f5787;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}

main,
footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dot {
  color: var(--accent);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--link);
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

footer p {
  padding: 1.5rem 0;
  font-size: 0.875rem;
}
