/* Pages de texte (/transparence/, /en/) : mêmes couleurs que le tableau de bord, mise en page d'article */
:root {
  --bg: #141415;
  --card: #19191b;
  --raised: #232325;
  --line: rgba(237, 237, 237, 0.08);
  --line-strong: rgba(237, 237, 237, 0.14);
  --text: #ededed;
  --text-2: #a1a1a6;
  --muted: #85858b;
  --accent: #ff5a1f;
  --accent-ink: #141415;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  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/26px var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color 150ms var(--ease); }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }

.top { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; }
.beta { margin-left: -2px; color: var(--accent); font: 600 17px/1 'Caveat', cursive; transform: rotate(-6deg); }
.top nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; }
.top nav a { color: var(--text-2); text-decoration: none; padding: 8px 0; }
.top nav a:hover { color: var(--text); }

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { margin: 0 0 16px; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0 0 24px; color: var(--text-2); font-size: 18px; line-height: 28px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--raised); font-weight: 500; font-size: 14px; text-decoration: none; transition: background-color 150ms var(--ease); }
.btn:hover { background: #2a2a2d; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn.primary:hover { background: #ff6a33; }

section { margin-top: 48px; }
h2 { margin: 0 0 16px; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
h3 { margin: 24px 0 4px; font-size: 16px; line-height: 24px; font-weight: 600; }
p { margin: 0 0 12px; color: var(--text-2); text-wrap: pretty; }
ol, ul { margin: 0 0 12px; padding-left: 22px; color: var(--text-2); }
li { margin-bottom: 8px; padding-left: 4px; }
li::marker { color: var(--muted); font-family: var(--mono); font-size: 13px; }

.facts { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-size: 15px; line-height: 24px; }

.table-wrap { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 16px; text-align: right; white-space: nowrap; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--muted); font-weight: 400; }
th:first-child { text-align: left; }
tbody th { font-weight: 500; }
tbody td { font-family: var(--mono); font-size: 13px; }

footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); }
footer p { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 20px; }
footer a { color: var(--text-2); }

@media (max-width: 640px) {
  h1 { font-size: 30px; line-height: 34px; }
  .lead { font-size: 16px; line-height: 26px; }
  h2 { font-size: 20px; line-height: 26px; }
  .facts > div { grid-template-columns: 1fr; gap: 0; }
  .top nav { gap: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
