/* Zherodius colours (ZherodiuS docs/colours.md, chosen by Rey 15/11/2026), the same as the device pages */
:root {
  --aqua: #2fe6d8; --lime: #c6f432; --blend: linear-gradient(135deg, #2fe6d8, #c6f432);
  --good: #4fd18b; --warn: #f3c14e; --bad: #ff7b6b;
  --page: #0c1214; --card: #151d1f; --raised: #1d2729; --line: #283436;
  --ink: #eef5f4; --soft: #93a8a6; --off: #34474a; --onblend: #06231a;
  color-scheme: dark;
}
/* Light pages follow the visitor's device (29/11/2026): the same two colours, deeper so they read on white. */
@media (prefers-color-scheme: light) {
  :root {
    --aqua: #0a8077; --lime: #5e8a00; --blend: linear-gradient(135deg, #0a8f84, #5e8a00);
    --good: #1f8a52; --warn: #a86a00; --bad: #c4372a;
    --page: #f6f9f8; --card: #ffffff; --raised: #eef4f3; --line: #dbe6e4;
    --ink: #0f1a1b; --soft: #4f6563; --off: #c9d6d4; --onblend: #ffffff; --topbar: rgba(246,249,248,.92);
    color-scheme: light;
  }
}
html, body { margin: 0; background: var(--page); color: var(--ink); }
body { font-family: Inter, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: var(--aqua); }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.top { position: sticky; top: 0; z-index: 5; background: var(--topbar, rgba(12,18,20,.92)); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .in { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.top .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; margin-right: auto; }
.top .brand img { width: 34px; height: 34px; }
.top .brand picture { display: flex; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 16px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.btn { display: inline-block; font: inherit; font-weight: 700; padding: 11px 24px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn.main { background: var(--blend); border: 0; color: var(--onblend); }
.btn:disabled { opacity: .5; cursor: default; }
.foot { border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.foot .in { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--soft); }
.foot .c { margin-left: auto; }
@media (max-width: 560px) { .top nav { gap: 12px; } .top .brand span { display: none; } .foot .c { margin-left: 0; } }
