/* Pages légales MyTree — lisibilité d'abord (contrastes ≥ 7:1, texte 16 px). */
@import url('/fonts/fonts.css');
:root {
  --bg: #0a140a; --panel: #101d10; --line: #2c4a22;
  --text: #e8f0dc;      /* 16:1 sur --bg */
  --muted: #c3d4b0;     /* 12:1 */
  --accent: #cce880;    /* 13,8:1 */
  --focus: #ffd75e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.65;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 8px; background: var(--focus); color: #111;
  padding: 8px 14px; border-radius: 8px; font-weight: 800; z-index: 10;
}
.skip:focus { left: 8px; }
header.top {
  border-bottom: 1px solid var(--line); background: var(--panel);
}
header.top .in, main, footer.bottom .in { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top .in { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.top img { width: 40px; height: 40px; border-radius: 10px; }
header.top .brand { font-weight: 800; font-size: 18px; color: var(--accent); text-decoration: none; }
nav.legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; font-size: 14.5px; }
nav.legal a[aria-current="page"] { font-weight: 800; text-decoration: none; }
main { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; color: #f4f9ec; }
.updated { color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }
h2 { font-size: 21px; margin: 36px 0 10px; color: var(--accent); line-height: 1.3; }
h3 { font-size: 17px; margin: 22px 0 6px; color: #f4f9ec; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.summary {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 0 0 8px;
}
.summary h2 { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 14.5px; }
caption { text-align: left; padding: 10px 12px; color: var(--muted); font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
thead th { background: var(--panel); color: var(--accent); border-top: none; }
td { color: var(--text); }
.note { color: var(--muted); font-size: 14.5px; }
footer.bottom { border-top: 1px solid var(--line); background: var(--panel); }
footer.bottom .in { padding-top: 18px; padding-bottom: 22px; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  h1 { font-size: 24px; }
  nav.legal { margin-left: 0; width: 100%; }
}
