:root{
  --bg:#2B3A67; --bg2:#22305A; --slip:#FFFDF7; --ink:#1D1D1F; --muted:#6B6A66; --rule:#D9D4C7;
  --money:#1E8C4E; --sun:#F2C14E; --on-bg:#F4F2EA;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --bg:#151B30; --bg2:#10152A; --slip:#23283A; --ink:#EDEBE3; --muted:#A5A7B3; --rule:#3A4058; --money:#5CD08F; --on-bg:#EDEBE3; }
}
:root[data-theme="dark"]{ --bg:#151B30; --bg2:#10152A; --slip:#23283A; --ink:#EDEBE3; --muted:#A5A7B3; --rule:#3A4058; --money:#5CD08F; --on-bg:#EDEBE3; }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; background:var(--bg); color:var(--on-bg); font-family:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.6; }
:focus-visible{ outline:3px solid var(--sun); outline-offset:2px; }
.wrap{ max-width:680px; margin:0 auto; padding:28px 16px 48px; }
.topnav{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; font-weight:700; }
.topnav a{ color:var(--on-bg); text-decoration:none; }
.topnav .brand{ font-weight:800; }
.topnav .brand span{ color:var(--sun); }
.topnav nav{ display:flex; gap:16px; font-size:.92rem; opacity:.9; }
h1{ font-weight:800; font-size:clamp(1.9rem,7vw,2.6rem); line-height:1.08; letter-spacing:-.02em; margin:0 0 8px; }
.dek{ opacity:.85; margin:0 0 20px; }
.page{ background:var(--slip); color:var(--ink); border-radius:18px; padding:22px 20px; }
.page h2{ font-size:1.3rem; margin:28px 0 8px; line-height:1.2; }
.page h2:first-child{ margin-top:0; }
.page p,.page li{ max-width:65ch; }
.page a{ color:var(--money); font-weight:700; }
.page .num{ font-family:"DM Mono",ui-monospace,monospace; }
.tablewrap{ overflow-x:auto; margin:12px 0; }
table{ border-collapse:collapse; width:100%; min-width:420px; font-size:.95rem; }
th,td{ text-align:left; padding:8px 10px; border-bottom:1px dashed var(--rule); }
th{ font-weight:800; }
td.num{ white-space:nowrap; }
.callout{ margin:20px 0; background:var(--sun); color:#1D1D1F; border-radius:14px; padding:14px 16px; font-weight:700; }
.callout a{ color:#1D1D1F; }
.updated{ color:var(--muted); font-size:.85rem; }
.sitefoot{ margin-top:28px; padding-top:16px; border-top:1px solid rgba(244,242,234,.2); font-size:.85rem; display:flex; flex-wrap:wrap; gap:16px; opacity:.85; }
.sitefoot a{ color:var(--on-bg); }
