/* Athéna — pages statiques (légales, 404).
   Réutilise le design system « Pierre ». Pas de JS : le thème sombre suit la
   préférence système (l'app, elle, a un sélecteur jour/nuit). */

:root {
  --bg: #e6e3dc;
  --surface: #efebe2;
  --fg: #141312;
  --fg2: #4d4a45;
  --fg3: #8c867c;
  --line: rgba(20, 19, 18, 0.12);
  --accent: #1e3a5f;
  --warn: #9a7d1f;
  --fDisp: "Geist", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --fMono: "Geist Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161c25;
    --fg: #e8e4d8;
    --fg2: #a8a395;
    --fg3: #6e6a5f;
    --line: rgba(232, 228, 216, 0.12);
    --accent: #7aa7d4;
    --warn: #d4b96a;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  font-family: var(--fDisp);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 56px 24px 88px; }

.brand {
  display: flex; align-items: center;
  margin-bottom: 44px;
}
.brand a {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: inherit;
}
.brand svg { display: block; }
.brand .name {
  font-size: 22px; font-weight: 600; letter-spacing: -0.035em;
}

h1 {
  font-size: 34px; font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.08;
  margin-bottom: 10px;
}
.updated {
  font-family: var(--fMono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--fg3); margin-bottom: 38px;
}

h2 {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em;
  margin: 38px 0 12px;
}

p, li { color: var(--fg2); font-size: 15.5px; margin-bottom: 12px; }
ul { padding-left: 22px; margin-bottom: 12px; }
li { margin-bottom: 6px; }
strong { color: var(--fg); font-weight: 600; }
a { color: var(--accent); }

.lead { font-size: 16.5px; }

.todo {
  background: color-mix(in srgb, var(--warn) 16%, transparent);
  color: var(--warn);
  padding: 1px 6px; border-radius: 4px;
  font-family: var(--fMono); font-size: 13px;
}

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
}
.note p:last-child { margin-bottom: 0; }

.back {
  display: inline-block; margin-top: 28px;
  color: var(--accent); text-decoration: none; font-size: 14px;
}
.back:hover { text-decoration: underline; }

footer {
  margin-top: 52px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 13px;
}
footer a { color: var(--fg3); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Page 404 — centrée */
.center {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 10px;
}
.center .code {
  font-family: var(--fMono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg3);
}
.center h1 { font-size: 38px; margin-bottom: 2px; }
.center p { max-width: 340px; }
