/* The legal pages (/privacy, /terms: legal/*.html, served by server/src/routes/frontend.js on the landing hosts and the app host).
   The landing's look with its colours copied from src/styles/tokens.css ("Night Atlas"), because these static files cannot use the built CSS.
   No web fonts and no script: Geist is used when the visitor has it, the system font otherwise. */
:root{--ink:#0A1113;--panel:#0D1518;--surface:#111A1D;--line-soft:#1B282D;--line:#1F2E33;--text:#EDF2F0;--text-2:#C9D5D1;--muted:#A3B4AE;--subtle:#82958F;
  --accent:#F4B740;--accent-hi:#FFD27A;--f-sans:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--f-mono:"Geist Mono",ui-monospace,SFMono-Regular,Consolas,monospace;color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:104px}
body{margin:0;background:var(--ink);color:var(--text);font:16px/1.65 var(--f-sans);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
a{color:var(--accent)}
a:hover{color:var(--accent-hi)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wrap{max-width:820px;margin:0 auto;padding:0 28px}
.bar{position:sticky;top:0;z-index:2;background:var(--ink);border-bottom:1px solid var(--line-soft)}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:18px;font-weight:700;letter-spacing:-.01em}
.brand:hover{color:var(--text)}
.brand svg{width:28px;height:28px;flex:none}
.bar nav{display:flex;gap:18px;font-size:14px}
.bar nav a{color:var(--muted);text-decoration:none}
.bar nav a:hover,.bar nav a[aria-current]{color:var(--text)}
main.wrap{padding-top:48px;padding-bottom:64px}
.eyebrow{margin:0 0 12px;font:500 12px/1.4 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--subtle)}
h1{margin:0;font-size:clamp(30px,5vw,44px);line-height:1.1;font-weight:700;letter-spacing:-.028em;text-wrap:balance}
.meta{margin:14px 0 0;color:var(--subtle);font-size:14px}
.lead{margin:24px 0 0;color:var(--text-2);font-size:18px}
.toc{margin:32px 0 8px;padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.toc p{margin:0 0 8px;color:var(--text);font-weight:600}
.toc ol{margin:0;padding-left:22px;color:var(--muted);columns:2 260px;column-gap:32px}
.toc li{margin:2px 0;break-inside:avoid}
h2{margin:44px 0 12px;font-size:22px;line-height:1.3;font-weight:700;letter-spacing:-.015em}
h3{margin:24px 0 8px;font-size:17px;line-height:1.4;font-weight:600}
p,li{color:var(--muted)}
p{margin:10px 0}
ul,ol{margin:10px 0;padding-left:22px}
li{margin:6px 0}
b,strong{color:var(--text-2);font-weight:600}
.box{margin:16px 0;padding:14px 18px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:12px;background:var(--surface)}
.box p{margin:6px 0}
table{width:100%;margin:14px 0;border-collapse:collapse;font-size:15px}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;color:var(--muted)}
th{color:var(--text-2);font-weight:600;border-bottom-color:var(--line-soft)}
.scroll{overflow-x:auto}
footer{border-top:1px solid var(--line-soft);padding:28px 0 40px;font-size:14px;color:var(--subtle)}
footer p{margin:6px 0;color:var(--subtle)}
@media (max-width:600px){
  .wrap{padding:0 16px}
  main.wrap{padding-top:32px;padding-bottom:48px}
  .bar .wrap{min-height:56px;padding-top:8px;padding-bottom:8px}
  .lead{font-size:17px}
  th,td{padding:8px 6px;font-size:14px}
}
