:root {
  --text: #1a1a1a;
  --muted: #666;
  --accent: #0066cc;
  --bg: #fafafa;
  --rule: #ddd;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 2rem 1rem;
}

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

header {
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem 0;
  font-weight: 600;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
}

p, ul {
  margin: 0.75rem 0;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin: 0.25rem 0;
}

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

a:hover {
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

section[lang="fr"] h1,
section[lang="fr"] h2 {
  /* visual cue to distinguish FR section subtly */
  color: var(--text);
}
