/* Shared by the policy and help pages (privacy, terms, legal, support,
   delete-account, child-safety). Same palette and type as the FAQ. */
:root { --black: #000; --white: #fff; --green: #56a36f; --green-hover: #6fb887; --raised: #111412; --sunken: #1b1f1c; --line: #262b27; --line-strong: #5f6862; --muted: #a1aaa4; --body: #d6dbd8; --faint: #6f7872; --green-soft: #10241a; --ph-bg: #2a2410; --ph-ink: #f2d16b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
html, body { margin: 0; background: var(--black); color: var(--white); }
body { font-family: Poppins, "Avenir Next", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
body:not(.fr) .t-fr, body.fr .t-en { display: none !important; }
[hidden] { display: none !important; }
.wrap { max-width: 680px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom)); }
a:focus-visible, button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--green); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; }
.top > a { display: block; border-radius: 8px; }
.word { display: block; width: 104px; height: auto; }
.lang { display: inline-flex; padding: 3px; border-radius: 9999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; height: 32px; min-width: 44px; padding: 0 12px; border-radius: 9999px; cursor: pointer; transition: background-color .15s, color .15s; }
.lang button[aria-pressed="true"] { background: var(--green); color: var(--black); }

/* Draft banner: remove the element before publishing. */
.draft { margin: 22px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--ph-bg); color: var(--ph-ink); font-size: 13px; line-height: 19px; font-weight: 600; box-shadow: inset 0 0 0 1px #4a3f17; }
/* Something the owner still has to fill in or confirm. */
.ph { padding: 0 5px; border-radius: 5px; background: var(--ph-bg); color: var(--ph-ink); font-weight: 600; }

/* Title */
.lbl { margin: 28px 0 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
h1 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h1 em { font-style: italic; color: var(--green); }
.sub { margin: 12px 0 0; font-size: 15px; line-height: 23px; color: var(--muted); }
.updated { margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--faint); }

/* Contents */
.toc { margin: 26px 0 0; padding: 16px 18px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.toc p { margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0 0 0 22px; columns: 2; column-gap: 24px; }
.toc li { margin: 0 0 4px; font-size: 14px; line-height: 20px; color: var(--muted); break-inside: avoid; }
.toc a { color: var(--white); text-decoration: none; }
.toc a:hover { color: var(--green); }

/* Body text */
.doc h2 { margin: 36px 0 10px; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.doc h2 .n { margin-right: 8px; color: var(--green); font-variant-numeric: tabular-nums; }
.doc h3 { margin: 20px 0 6px; font-size: 16px; line-height: 22px; font-weight: 700; }
.doc p, .doc li { font-size: 15px; line-height: 24px; color: var(--body); }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin: 0 0 6px; }
.doc li::marker { color: var(--green); }
.doc strong { color: var(--white); font-weight: 700; }
.doc a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; margin: 4px 0 14px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.doc th, .doc td { padding: 10px 10px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--body); }
.doc th { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc td:first-child { color: var(--white); font-weight: 600; }

/* A card: steps, a key fact, the contact box */
.card { margin: 14px 0; padding: 18px 18px 6px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { position: relative; padding-left: 38px; min-height: 26px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 13px; line-height: 26px; font-weight: 700; text-align: center; }

/* Contact box */
.mailrow { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; padding: 6px 6px 6px 18px; border-radius: 9999px; background: var(--black); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mailrow a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--white) !important; font-size: 17px; font-weight: 700; text-decoration: none !important; letter-spacing: -.01em; }
.copy { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 9999px; background: var(--green); color: var(--black); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s, transform .1s; }
.copy:hover { background: var(--green-hover); }
.copy:active { transform: scale(.96); }

/* Footer, on every page */
.foot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; line-height: 18px; color: var(--faint); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0 0 12px; font-size: 13px; line-height: 20px; }
.foot a { color: var(--muted); }
.foot a[aria-current="page"] { color: var(--white); text-decoration: none; }
.foot p { margin: 0; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 9999px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) { h1 { font-size: 34px; } .toc ol { columns: 1; } .doc table { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
