/* Pages légales (confidentialité, mentions légales, conditions) : texte simple et lisible. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f9f8f6;
  --surface: #ffffff;
  --line: #e7e5e0;
  --ink: #1d1c19;
  --muted: #6f6d68;
  --accent: #2d5bff;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 48px 16px 64px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 14px;
}

a { color: var(--accent); }
nav a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }

h1 { margin: 0 0 6px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h2 { margin: 36px 0 10px; font-size: 19px; font-weight: 600; }
h3 { margin: 24px 0 6px; font-size: 16px; font-weight: 600; }
p, ul { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.updated { margin-bottom: 28px; color: var(--muted); font-size: 14px; }

.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff3cd;
  color: #7a5200;
  font-weight: 500;
}

table {
  width: 100%;
  margin: 8px 0 18px;
  border-collapse: collapse;
  font-size: 14px;
}

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

th { font-weight: 600; }

@media (max-width: 640px) {
  body { padding: 24px 12px 48px; }
  main { padding: 28px 18px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; }
  td:first-child { font-weight: 600; }
}
