:root {
  color-scheme: light dark;
  --fond: #ffffff;
  --texte: #1a1a1a;
  --texte-discret: #595959;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #121212;
    --texte: #f0f0f0;
    --texte-discret: #b3b3b3;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--fond);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--fond);
  color: var(--texte);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-align: center;
}

main {
  max-width: 40rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.2;
  font-weight: 600;
}

main p {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.25rem);
}

footer {
  max-width: 40rem;
  margin-top: 3rem;
  color: var(--texte-discret);
  font-size: 0.8125rem;
}

footer p {
  margin: 0;
}
