/* Copyright Ayers Electronics Inc. All rights reserved. */
/* Magpie's skin - HAND-KEPT CONFIG (owner ruling 2026-09-01: no generators; a product holds
 * its pages, its skin and its content). Two vocabularies, one file:
 *
 * 1. The KIT ROLES the shared sitekit's sheets consume (kit/kit.css, kit/guide.css) - the
 *    binding model of platform sitekit/ROLES.md. Magpie is dark-only, single look, by design.
 * 2. Magpie's own short names, kept because the landing page's landing-brand.css is the
 *    product's unique surface (owner: landing pages stay unique) and speaks them.
 *
 * The values are the brand palette (brand/src/tokens.json is the mark's source of truth);
 * a colour changed there is changed here by hand, in the same commit. */

:root {
  /* kit roles */
  --surface: #08090b;
  --surface-panel: #101216;
  --border: #23262c;
  --ink: #f4efe2; /* brand neutral.cream */
  --ink-muted: #9aa0a8;
  --ink-dim: #9aa0a8; /* no third grey in the voice: dim binds to muted */
  --accent: #94ba3f; /* brand body.light */
  --accent-strong: #bcd76b; /* brand body.lightest - hover brightens */
  --accent-alt: #da430a; /* brand accent.warm */
  --accent-wash: #15181d; /* a raised well on the dark ground */
  --face-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --face-text: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --face-mono: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* magpie's own short names (the landing page's vocabulary) */
  --bg: var(--surface);
  --panel: var(--surface-panel);
  --panel2: #0c0e11;
  --line: var(--border);
  --muted: var(--ink-muted);
  --accent-deep: var(--accent-alt);
  --shimmer: linear-gradient(90deg, #527c12 0%, #94ba3f 35%, #da430a 100%); /* body.deep -> body.light -> accent.warm */
  --serif: var(--face-display);
  --sans: var(--face-text);
}

/* A signable installer shows only once the release publishes it (scripts/release/published-downloads.mjs);
   a format or package left with nothing to download shows nothing. */
.download-file[data-signed-only]:not([data-published]),
.download-format:has([data-signed-only]):not(:has(.download-file:not([data-signed-only]), [data-published])),
.download-package:has([data-signed-only]):not(:has(.download-file:not([data-signed-only]), [data-published])) {
  display: none;
}
