/* Site légal Kolyx — charte DESIGN.md (fond #191919, surface #202020, violet #8978F4). Aucune dépendance. */
/* Polices hébergées sur le site (point 14 du site légal, 2026-11-02) : plus aucun appel à Google Fonts,
   l'adresse IP des visiteurs ne quitte pas le site. Fichiers latin variables (Inter 400–600, Plus Jakarta Sans 700–800),
   licence SIL Open Font License 1.1. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  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;
}

:root {
  --bg: #191919;
  --surface: #202020;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --primary: #8978f4;
  --primary-button: #6b55f1;
  --warning: #ffa85c;
  --warning-soft: rgba(255, 168, 92, 0.12);
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  letter-spacing: -0.011em;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

header.top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

header.top a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
header.top img { width: 36px; height: 36px; display: block; }
header.top .brand { font: 700 20px/1 var(--display); letter-spacing: -0.01em; }

h1 {
  font: 800 28px/1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font: 700 20px/1.3 var(--display);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

h3 {
  font: 600 17px/1.35 var(--body);
  margin: 24px 0 8px;
}

p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.lead { color: var(--muted); font-size: 15px; margin-bottom: 0; }

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

.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.draft {
  background: var(--surface);
  border: 1px solid var(--warning);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0 8px;
  font-size: 15px;
}

.draft strong { color: var(--warning); }
.draft p:last-child { margin-bottom: 0; }

.todo {
  background: var(--warning-soft);
  color: var(--warning);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.95em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

dl.data { margin: 0 0 16px; }
dl.data dt { font-weight: 600; margin-top: 12px; }
dl.data dt:first-child { margin-top: 0; }
dl.data dd { margin: 4px 0 0; color: var(--muted); }

nav.links { display: grid; gap: 12px; margin: 24px 0 32px; }

nav.links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
}

nav.links a span { display: block; }
nav.links a .title { font: 600 17px/1.35 var(--body); }
nav.links a .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
nav.links a:hover { border-color: var(--primary); }

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

footer p { margin-bottom: 6px; }

header.top h1.brand { margin: 0; }

/* Page d'accueil courte : un seul groupe centré dans l'écran (LECONS L-37), jamais un bloc en haut avec le bas vide. */
.page.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page.home h2 { margin-top: 8px; }

/* Icône de l'app (même forme arrondie que sur le téléphone). */
img[src="/logo.png"] { border-radius: 22%; }

/* « Pourquoi chaque membre est vérifié » (accueil, 2026-11-27) : texte seul (L-81), points séparés par des filets comme
   l'écran Identité de l'app, pour ne pas ressembler aux cartes cliquables de la liste juste en dessous. */
section.verified { margin: 32px 0 8px; }
section.verified h2 { margin: 0 0 8px; }
section.verified .intro { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
section.verified .points { display: grid; }
section.verified .point { padding: 14px 0; border-top: 1px solid var(--border); }
section.verified .point:first-child { border-top: 0; padding-top: 4px; }
section.verified .point h3 { margin: 0 0 4px; }
section.verified .point p { color: var(--muted); font-size: 15px; margin: 0; }
section.verified .note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
