/*
 * Feuille commune aux pages légales.
 *
 * Elles sont lues par des humains inquiets et par des examinateurs pressés :
 * une colonne, des titres lisibles, aucun script, aucune police à télécharger,
 * aucun cookie. La page fonctionne hors ligne une fois chargée.
 */

:root {
  --bg: #eff1ee;
  --surface: #ffffff;
  --text: #16181a;
  --muted: #55606b;
  --faint: #626c77;
  --line: #e2e6e1;
  --accent: #1b6b4a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121415;
    --surface: #1c1f21;
    --text: #f2f4f2;
    --muted: #aab4bd;
    --faint: #838d96;
    --line: #2a2e30;
    --accent: #6ecfa2;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 720px;
  margin: 0 auto;
}

header {
  padding: 48px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

header .app a {
  color: inherit;
  text-decoration: none;
}

header .app {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--faint);
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 16px;
  margin: 28px 0 8px;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

ul {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.date {
  color: var(--faint);
  font-size: 14px;
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 24px 0;
}

.card h2,
.card h3 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}

th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.langs {
  display: flex;
  gap: 14px;
  font-size: 14px;
  margin-top: 10px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}

footer a {
  color: var(--faint);
}
