/* Shared styles for the small secondary pages (404, privacy, terms). */
:root{
  --bg:#F6F8FB;--surface:#FFFFFF;--text:#0E1B2B;--muted:#4A5A70;--border:#D3DCE8;
  --primary:#12355B;--primary-hover:#0C2740;--on-primary:#FFFFFF;--focus:#2E6FA7;--tint:#E1EAF5;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0B1622;--surface:#12202F;--text:#EEF3F8;--muted:#A8B8CA;--border:#2A3D53;
    --primary:#8DBBEA;--primary-hover:#A9CCEF;--on-primary:#0B1622;--focus:#8DBBEA;--tint:#172B42;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0B1622;--surface:#12202F;--text:#EEF3F8;--muted:#A8B8CA;--border:#2A3D53;
  --primary:#8DBBEA;--primary-hover:#A9CCEF;--on-primary:#0B1622;--focus:#8DBBEA;--tint:#172B42;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Inter","Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased}
h1,h2,h3,.brand{font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2,h3,p,ul{margin:0}
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
a{color:var(--primary)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:8px}
.wrap{max-width:720px;margin:0 auto;padding:40px 16px 80px}
@media (min-width:768px){.wrap{padding:64px 32px 96px}}
.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);min-height:48px;font-size:16px;line-height:24px;font-weight:500}
.brand b{font-weight:800}
.brand{letter-spacing:-0.02em}
.brand svg{width:32px;height:32px;border-radius:8px}
h1{font-size:36px;line-height:40px;font-weight:600;margin-top:32px}
h2{font-size:24px;line-height:32px;font-weight:600;margin-top:40px;margin-bottom:8px}
p{margin-top:12px}
.muted{color:var(--muted)}
.caption{font-size:14px;line-height:20px;font-weight:400;color:var(--muted)}
ul{padding-left:24px;margin-top:12px;display:grid;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px 12px;border-radius:12px;background:var(--primary);color:var(--on-primary);text-decoration:none;font-size:16px;line-height:24px;font-weight:600;margin-top:24px;transition:background-color 300ms cubic-bezier(0.22,1,0.36,1),transform 300ms cubic-bezier(0.22,1,0.36,1)}
.btn:hover{background:var(--primary-hover);transform:translateY(-1px)}
.btn:active{transform:scale(0.98)}
.note{margin-top:24px;padding:12px 16px;border-radius:12px;background:var(--tint);color:var(--text);font-size:14px;line-height:20px}
.center{text-align:center}
.center .btn{margin-left:auto;margin-right:auto}
footer{margin-top:64px;padding-top:24px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px;line-height:20px;color:var(--muted)}
footer a{display:inline-flex;align-items:center;min-height:48px;color:var(--muted)}
