:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555555;
  --link: #0b57d0;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #f2f2f2;
    --muted: #b3b3b3;
    --link: #8ab4f8;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw + 1rem, 3.5rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1vw + 0.9rem, 1.25rem);
}

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

/* Lien isolé (hors texte courant) : zone cliquable ≥ 44 px */
.placeholder p > a:only-child {
  display: inline-block;
  min-height: 44px;
  padding: 0.6rem 0;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
