/* Shared look for the terms and privacy pages; same tokens as the app. */
:root{
  --bg:#F3F5FA; --surface:#FFFFFF; --sunk:#E8ECF5; --ink:#0D1B3E; --muted:#46536F; --line:#D2D9E6;
  --accent:#2342B0; --accent-soft:#E3E9FB; --focus:#E39A00;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#0A1022; --surface:#111A31; --sunk:#18223D; --ink:#EDF1FA; --muted:#A8B3CB; --line:#2A3553;
  --accent:#9DB2FF; --accent-soft:#1B2650; --focus:#F5C04A; color-scheme:dark } }
:root[data-theme="dark"]{
  --bg:#0A1022; --surface:#111A31; --sunk:#18223D; --ink:#EDF1FA; --muted:#A8B3CB; --line:#2A3553;
  --accent:#9DB2FF; --accent-soft:#1B2650; --focus:#F5C04A; color-scheme:dark }

*{box-sizing:border-box}
html{font-size:calc(18px * var(--ts,1));-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-underline-offset:3px}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}

.top{border-bottom:1px solid var(--line)}
.top-in{max-width:44rem;margin:0 auto;padding:12px 16px;display:flex;align-items:center;gap:16px;font-size:min(1rem,20px)}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1.1em;letter-spacing:-.015em;color:var(--ink);text-decoration:none;margin-right:auto;white-space:nowrap}
.brand svg{width:26px;height:26px}
.top nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;font-weight:700}

.ts{position:relative}
.aa{font:inherit;font-weight:800;min-height:44px;min-width:52px;padding:0 12px;border-radius:999px;border:2px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer}
.aa:hover,.aa[aria-expanded="true"]{border-color:var(--accent)}
.ts-pop{position:absolute;right:0;top:calc(100% + 8px);display:flex;flex-direction:column;gap:4px;padding:6px;min-width:max-content;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 34px rgba(13,27,62,.18);z-index:10}
.ts-pop[hidden]{display:none}
.ts-pop button{font-family:inherit;font-weight:800;text-align:left;min-height:52px;padding:0 18px;border:0;border-radius:12px;background:transparent;color:var(--ink);cursor:pointer;white-space:nowrap}
.ts-pop button:hover{background:var(--sunk)}
.ts-pop button[aria-checked="true"]{background:var(--accent);color:var(--surface)}

main{max-width:44rem;margin:0 auto;padding:32px 16px 64px}
h1{font-size:2.3rem;font-weight:800;letter-spacing:-.03em;line-height:1.1;margin:0 0 8px;text-wrap:balance}
.updated{color:var(--muted);margin:0 0 28px}
h2{font-size:1.3rem;font-weight:800;letter-spacing:-.012em;line-height:1.25;margin:40px 0 10px}
h3{font-size:1.05rem;font-weight:800;margin:22px 0 6px}
p,ul{margin:0 0 14px;max-width:38em}
ul{padding-left:1.3rem}
li{margin-bottom:6px}
.short{background:var(--surface);border:2px solid var(--accent);border-radius:22px;padding:20px 22px;margin:0 0 8px}
.short h2{margin-top:0}
.short ul{margin-bottom:0}
.note{background:var(--sunk);border-radius:14px;padding:14px 16px}
footer{border-top:1px solid var(--line);color:var(--muted)}
footer div{max-width:44rem;margin:0 auto;padding:20px 16px 40px}

button[data-cookie-settings]{font:inherit;font-weight:700;background:none;border:0;padding:0;color:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px}
