/* Goodrush — « Graphite précieux » : ivoire sur graphite en sombre, graphite sur papier en clair.
   Polices du système (SF Pro sur les appareils Apple), aucune ressource externe. */
:root {
  color-scheme: light dark;
  --fond: #EFEBE5;
  --feuille: #FAF8F5;
  --ligne: #FFFFFF;
  --texte: #1E1C1A;
  --second: #5E5850;
  --attenue: #6B645C;
  --accent: #24221F;
  --filet: rgba(30, 28, 26, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #161513;
    --feuille: #201E1C;
    --ligne: #2A2724;
    --texte: #F2EEE8;
    --second: #A49D94;
    --attenue: #8A847B;
    --accent: #EFE9DF;
    --filet: rgba(242, 238, 232, 0.1);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  padding: 0 16px;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.haut, .texte, .bas { max-width: 42rem; margin: 0 auto; }
.haut {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--filet);
}
.marque { font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; color: var(--texte); }
.haut nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.9375rem; }
.haut nav a { color: var(--second); text-decoration: none; }
.haut nav a:hover, .haut nav a[aria-current="page"] { color: var(--texte); }

.texte { padding: 2rem 0 3rem; }
h1 { font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
h2 { font-size: 1.1875rem; line-height: 1.3; margin: 2.25rem 0 0.6rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }
strong { font-weight: 620; }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; }

.chapeau { font-size: 1.1875rem; color: var(--second); }
.liens { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.6rem; }
.liens a {
  display: block; padding: 0.9rem 1rem; border-radius: 14px; background: var(--feuille);
  text-decoration: none; color: var(--texte); border: 1px solid var(--filet);
}
.liens a span { display: block; color: var(--second); font-size: 0.9375rem; }
.liens a:hover { background: var(--ligne); }

.meta {
  display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0 0 1.5rem;
  padding: 1rem; border-radius: 14px; background: var(--feuille); font-size: 0.9375rem;
}
.meta dt { color: var(--second); }
.meta dd { margin: 0; }

.tableau { overflow-x: auto; margin: 0 0 1rem; border-radius: 14px; background: var(--feuille); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--filet); }
thead th { color: var(--second); font-weight: 600; font-size: 0.875rem; }
tbody th { font-weight: 500; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.bas { padding: 1.25rem 0 2rem; border-top: 1px solid var(--filet); color: var(--attenue); font-size: 0.875rem; }
.bas a { color: var(--attenue); }
