/* EN | FR switcher in the page header, and the one-time "aussi en français" offer (lang.js). Works on the About, Learn,
   Media, Brief and Coast pages; uses their colour tokens when present. */
.lang-switch { display: inline-flex; margin-left: auto; padding: 3px; gap: 2px; border: 1px solid var(--rule, rgba(160,196,201,0.17)); border-radius: 999px; background: var(--glass, rgba(9,16,19,0.78)); }
.lang-switch a { min-width: 34px; padding: 5px 9px; border-radius: 999px; text-align: center; font: 600 12px/1 var(--mono, ui-monospace, Consolas, monospace); letter-spacing: 0.08em; color: var(--dim, #93a6a8); text-decoration: none; }
.lang-switch a:hover { color: var(--fg, #e4eceb); }
.lang-switch a[aria-current] { background: var(--aqua, #86d9dd); color: var(--aqua-ink, #0b1215); }
.lang-switch a:focus-visible { outline: 2px solid var(--aqua, #86d9dd); outline-offset: 2px; }
.lang-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 8px 16px; font: 500 14px/1.4 var(--body, system-ui, sans-serif); color: var(--fg, #e4eceb); background: rgba(134,217,221,0.14); border-bottom: 1px solid var(--rule, rgba(160,196,201,0.17)); }
.lang-offer a { font-weight: 600; color: var(--aqua, #86d9dd); }
.lang-offer button { padding: 2px 8px; font: 600 16px/1 var(--body, system-ui, sans-serif); color: inherit; background: none; border: 1px solid var(--rule, rgba(160,196,201,0.17)); border-radius: 6px; cursor: pointer; }

/* the French beta notice, at the top of every French page */
.lang-beta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 8px max(16px, env(safe-area-inset-left, 0px)); font: 400 13px/1.45 var(--body, "Public Sans", system-ui, sans-serif); color: #0b1215; background: #f3b94a; }
.lang-beta b { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }
.lang-beta a { color: #0b1215; text-decoration: underline; }
