/* Moins Deux — pages d'assistance et de confidentialité.
   Aucune ressource externe : ni police, ni statistiques, ni script. */

:root {
  --bg: #0b0e14;
  --surface: #151a23;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --secondary: rgba(255, 255, 255, 0.62);
  --accent: #3dd68c;
  --rainbow: linear-gradient(45deg, #5b6cff, #3cc8f5, #3dd68c, #f5d33c, #ff5a5f, #b36bff, #5b6cff);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5f8;
    --surface: #ffffff;
    --border: rgba(11, 14, 20, 0.1);
    --text: #0b0e14;
    --secondary: rgba(11, 14, 20, 0.62);
    --accent: #13894f;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.top {
  display: flex;
  justify-content: flex-end;
  font-size: 15px;
}

.top a { color: var(--secondary); }

header {
  text-align: center;
  padding: 16px 0 28px;
}

header img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(91, 108, 255, 0.35);
}

h1 {
  margin: 16px 0 4px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  color: var(--secondary);
}

h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

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

section.summary {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--rainbow) border-box;
}

p { margin: 0 0 10px; }
p:last-child, ul:last-child { margin-bottom: 0; }

ul { margin: 0 0 10px; padding-left: 20px; }
li { margin: 4px 0; }

.muted { color: var(--secondary); }

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

.date {
  text-align: center;
  color: var(--secondary);
  font-size: 15px;
  margin: -12px 0 16px;
}

details { border-top: 1px solid var(--border); padding: 12px 0; }
details:first-of-type { border-top: 0; padding-top: 4px; }
details:last-of-type { padding-bottom: 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; color: var(--secondary); }

footer {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--secondary);
}

footer nav { margin-bottom: 10px; }
footer nav a { margin: 0 8px; }
