/* Legal pages (mentions légales, CGV, confidentialité): plain static HTML, same palette as the site. */
:root {
  color-scheme: dark light;
  --bg: #080b10;
  --surface: #0e1218;
  --border: #252d38;
  --text: #f5f7fa;
  --muted: #a8b0bd;
  --faint: #737d8c;
  --brand: #58a6ff;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --border: #d8dee6;
    --text: #10151c;
    --muted: #4b5563;
    --faint: #7b8795;
    --brand: #1264d9;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

header,
main,
footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.back {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back:hover,
a:hover {
  color: var(--brand);
}

main {
  padding-top: 24px;
  padding-bottom: 48px;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

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

h2 {
  margin: 36px 0 10px;
  font-size: 20px;
}

h3 {
  margin: 22px 0 6px;
  font-size: 16px;
}

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

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

a {
  color: var(--brand);
}

.card {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.card p {
  margin: 4px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

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

footer {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}
