/* Tokens du design system « Lueur » (§ 1), clair par défaut puis sombre. */
:root {
  --background: #fbf6ee;
  --on-surface: #2a2420;
  --on-surface-variant: #6b5f55; /* #7A6E64 du système, assombri pour le corps de texte (AA) */
  --primary: #f2a33a;
  --on-primary: #2a2420;
  --primary-ink: #9a5a0e;
  --surface: #ffffff;
  --outline-subtle: #e4d9ca;
  --halo: none;
  --cta-border: var(--primary-ink); /* bordure ambre foncé : le fond #F2A33A seul n'atteint pas 3:1 sur le crème */
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #16130f;
    --on-surface: #f3ece2;
    --on-surface-variant: #a89c8f;
    --primary: #ffb84d;
    --on-primary: #2a1a05;
    --primary-ink: #ffb84d;
    --surface: #221d17;
    --outline-subtle: #3a332b;
    --cta-border: transparent;
    --halo: radial-gradient(circle, rgba(255, 184, 77, 0.3) 0%, rgba(255, 122, 89, 0.12) 38%, transparent 70%);
  }
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--background);
  color: var(--on-surface);
  font: 17px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 560px; margin: 0 auto; padding: 32px 16px 48px; }
.brand { display: flex; align-items: center; gap: 8px; font: 600 28px/32px Fraunces, Georgia, serif; letter-spacing: -0.02em; }
.hero { position: relative; text-align: center; padding: 48px 0 32px; }
.hero::before { content: ""; position: absolute; left: 50%; top: 8px; width: 280px; height: 280px; transform: translateX(-50%); background: var(--halo); pointer-events: none; }
.hero img { position: relative; width: 72px; height: 72px; }
h1 { position: relative; margin: 24px 0 0; font: 600 32px/38px Fraunces, Georgia, serif; letter-spacing: -0.01em; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 32px; padding: 0 24px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; position: relative; border: 1px solid var(--cta-border); }
.cta:focus-visible, a:focus-visible { outline: 3px solid var(--primary-ink); outline-offset: 3px; }
.note { margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--on-surface-variant); position: relative; }
h2 { margin: 40px 0 16px; font-size: 17px; line-height: 22px; font-weight: 600; }
ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
li { counter-increment: step; display: flex; gap: 12px; padding: 16px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--outline-subtle); border-radius: 20px; }
li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 600; text-align: center; line-height: 28px; }
footer { margin-top: 40px; color: var(--on-surface-variant); font-size: 15px; }
footer a { color: var(--primary-ink); }
