/* Corrobora: the shared look of the site's inner pages (privacy, terms, security, about, how the checks work). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/Inter-Bold.woff2") format("woff2"); }
:root {
  --surface: #f7f6f7; --surface-raised: #ffffff; --line: #e6e2e4; --line-strong: #8a8186;
  --ink: #1f1b1d; --ink-muted: #645d61; --brand: #9e1b34; --brand-deep: #681024; --brand-tint: #f8e8ec; --on-brand: #ffffff;
  --false: #a3125f; --false-bg: #fbe3f0; --true: #23683f; --true-bg: #e3f1e8; --hand: #85570f; --hand-bg: #fbf0dc;
  --none: #5d6470; --none-bg: #eceef1;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --surface: #141214; --surface-raised: #1e1b1d; --line: #332e31; --line-strong: #7a7176;
  --ink: #efeaec; --ink-muted: #a9a0a5; --brand: #e07489; --brand-deep: #f2a9b8; --brand-tint: #35181f; --on-brand: #1a1214;
  --false: #f39bd0; --false-bg: #42182f; --true: #8fd4a8; --true-bg: #1c3326; --hand: #ecc078; --hand-bg: #3a2e18;
  --none: #b4bac4; --none-bg: #2a2d33; color-scheme: dark; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.65 var(--sans); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* only the chosen language shows */
html[lang="en"] [lang="fr"]:not(html), html[lang="fr"] [lang="en"]:not(html) { display: none; }

header.site { position: sticky; top: 0; z-index: 20; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.35rem; letter-spacing: -.035em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.back { margin-left: auto; color: var(--ink-muted); font-size: .92rem; text-decoration: none; font-weight: 500; }
.lang { font: inherit; font-size: .85rem; font-weight: 600; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 6px; padding: 4px 9px; cursor: pointer; }

.page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-block: 56px 88px; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 6px; font-size: .9rem; }
.toc a { color: var(--ink-muted); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.toc b { font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
@media (max-width: 860px) { .page { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

article { max-width: 72ch; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin: 0; }
article h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 14px; text-wrap: balance; }
article h2 { font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.25; margin: 44px 0 10px; scroll-margin-top: 90px; text-wrap: balance; }
article h3 { font-size: 1.05rem; margin: 26px 0 6px; }
article p, article li { color: var(--ink); }
article .lede { font-size: 1.12rem; color: var(--ink-muted); }
article ul, article ol { padding-left: 22px; } article li { margin: 6px 0; }
.updated { font-size: .88rem; color: var(--ink-muted); }
.note { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 14px 0; }
th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.chip { display: inline-flex; gap: 4px; white-space: nowrap; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.chip.false { color: var(--false); background: var(--false-bg); } .chip.true { color: var(--true); background: var(--true-bg); }
.chip.hand { color: var(--hand); background: var(--hand-bg); } .chip.none { color: var(--none); background: var(--none-bg); }
/* details still to be decided, kept visible so nothing goes live by mistake */
.todo { background: var(--hand-bg); color: var(--hand); border: 1px dashed var(--hand); border-radius: 4px; padding: 0 5px; font-weight: 600; white-space: nowrap; }

footer.site { padding-block: 36px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site nav a { color: var(--ink-muted); }
