/* Each product's colours, in one place. The product pages read the named values;
   a .product--<name> element hands them on as the --p-* set that shared pieces
   (the home page's windows, the follow row) are built from. Custom properties
   only, so every theme can load it. Every product is dark: one style each. */
:root {
  --vigil-bg: #18191b;
  --vigil-surface: #25272a;
  --vigil-text: #eeece6;
  --vigil-muted: #b5b1aa;
  --vigil-gold: #c59a5a;
  --vigil-line: #3c3e40;

  /* Billet: the app's Aurora style (billet/docs/style.md). The ember only marks
     running work. */
  --billet-top: #1c1612;
  --billet-bottom: #101215;
  --billet-glow: rgb(190 80 30 / .32);
  --billet-pane: #1f1c19;
  --billet-ink: #f1ece6;
  --billet-ink2: #a59d93;
  --billet-line: #302d29;
  --billet-hover: #282522;
  --billet-selected: #2f2c28;
  --billet-ember: #ff7a3d;
  --billet-ember-text: #ff7a3d;
  --billet-heat: rgb(255 122 61 / .16);
  --billet-shadow: rgb(0 0 0 / .55);
  --billet-well: rgb(255 255 255 / .016);
  --billet-proposed: #b0a99f;
  --billet-ready: #7192a8;
  --billet-done: #e6e0d8;
  --billet-sans: "IBM Plex Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --billet-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.product--billet {
  --p-ground: var(--billet-bottom);
  --p-backdrop: radial-gradient(ellipse 90% 80% at 70% 0, var(--billet-glow), transparent 75%), linear-gradient(var(--billet-top), var(--billet-bottom));
  --p-surface: var(--billet-pane);
  --p-line: var(--billet-line);
  --p-text: var(--billet-ink);
  --p-muted: var(--billet-ink2);
  --p-accent: var(--billet-ink);
  --p-on-accent: var(--billet-pane);
  --p-signature: var(--billet-ember);
  --p-radius: 28px;
  --p-button-radius: 999px;
  --p-font: var(--billet-sans);
}

.product--vigil {
  --p-ground: var(--vigil-bg);
  /* Vigil's page backdrop in still form: its dithered ridges (made by
     scripts/build-media.mjs) under a warm gold light. */
  --p-backdrop: radial-gradient(ellipse 85% 90% at 82% 0, rgb(197 154 90 / .24), transparent 72%), url('/vigil/dither.webp') top center / 1120px 640px no-repeat, var(--vigil-bg);
  --p-surface: var(--vigil-surface);
  --p-line: var(--vigil-line);
  --p-text: var(--vigil-text);
  --p-muted: var(--vigil-muted);
  --p-accent: var(--vigil-gold);
  --p-on-accent: var(--vigil-bg);
  --p-signature: var(--vigil-gold);
  --p-radius: 12px;
  --p-button-radius: 6px;
  --p-font: var(--font-ui);
}
