:root {
  color-scheme: light dark;
  --bg: #f7f5f0;
  --fg: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #f0ede5;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}
