:root{
  color-scheme: dark;
  --bg:#1A1F24;        /* app page background */
  --surface:#0F1316;   /* app card surface */
  --text:#F2F4F5;
  --muted:#9B9FC4;     /* app label colour */
  --primary:#AA0C16;   /* app brand red */
  --link:#FF8A90;      /* lighter red so links stay readable on dark */
  --line:#2B3238;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font:17px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
a{color:var(--link); text-underline-offset:3px}
a:focus-visible{outline:3px solid var(--link); outline-offset:3px; border-radius:3px}
header.site{background:var(--primary)}
header.site div{max-width:46rem; margin:0 auto; padding:1rem 1.25rem; display:flex; gap:1.25rem; align-items:baseline; flex-wrap:wrap}
header.site .brand{font-weight:700; font-size:1.2rem; color:#fff; text-decoration:none; margin-right:auto}
header.site nav a{color:#fff; text-decoration:none; font-size:.95rem; opacity:.92}
header.site nav a:hover{opacity:1; text-decoration:underline}
header.site a:focus-visible{outline-color:#fff}
main{max-width:46rem; margin:0 auto; padding:2.5rem 1.25rem 4rem}
h1{font-size:2rem; line-height:1.2; margin:0 0 .5rem}
h2{font-size:1.25rem; margin:2.25rem 0 .5rem}
p,ul{margin:.75rem 0}
ul{padding-left:1.25rem}
li{margin:.35rem 0}
.meta{color:var(--muted); font-size:.95rem; margin-bottom:1.5rem}
.box{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:1rem 1.25rem; margin:1.25rem 0}
.box h2{margin-top:0}
footer{max-width:46rem; margin:0 auto; padding:1.5rem 1.25rem 3rem; color:var(--muted); font-size:.9rem; border-top:1px solid var(--line)}
