/*
  Colour tokens. Every colour on the site comes from here.
  The live palette is chosen by <html data-palette="…">. Workbench is the default.
  To change the final palette, edit the hex values in its block.
  To compare palettes, use the dev switcher (localhost or ?palette=name).
*/

:root,
[data-palette="workbench"] {
  /* Straight from the Prinnit icon: slate gradient + orange arrow */
  --bg: #1d222b;
  --surface: #272e39;
  --raised: #363e4d;
  --line: #434a55;
  --text: #e4e8ed;
  --muted: #9ea5ae;
  --accent: #f3a342;
  --on-accent: #1a1f25;
  --label: #f3a342;
  --hero-glow: #2c3443;      /* top of the hero gradient (icon's top tone) */
  --grid: transparent;       /* drafting grid lines; transparent = off */
}

[data-palette="graphite"] {
  --bg: #131518;
  --surface: #1c1f24;
  --raised: #262a31;
  --line: #343943;
  --text: #e6e8eb;
  --muted: #969ca6;
  --accent: #f3a342;
  --on-accent: #131518;
  --label: #6aa2f8;
  --hero-glow: #1a1d22;
  --grid: transparent;
}

[data-palette="blueprint"] {
  --bg: #161d2b;
  --surface: #1e2738;
  --raised: #2a3448;
  --line: #3a4660;
  --text: #dfe5ee;
  --muted: #93a0b5;
  --accent: #f3a342;
  --on-accent: #161d2b;
  --label: #7fb0ff;
  --hero-glow: #161d2b;
  --grid: rgba(58, 70, 96, 0.35);
}

[data-palette="shoplight"] {
  --bg: #171513;
  --surface: #211e1b;
  --raised: #2d2925;
  --line: #3d3833;
  --text: #ece5d8;
  --muted: #a89f92;
  --accent: #f3a342;
  --on-accent: #171513;
  --label: #8fbf9f;
  --hero-glow: #1f1c19;
  --grid: transparent;
}

/*
  Studio accents (candidates). Set on <html data-accent="…"> to give the
  studio its own accent, separate from any product's. With no data-accent,
  the palette's own accent (Workbench orange) is used.
*/
[data-accent="phosphor"] { --accent: #8fd1a8; --on-accent: #12251b; --label: #8fd1a8; }
[data-accent="signal"]   { --accent: #6cc6d9; --on-accent: #0f2329; --label: #6cc6d9; }
[data-accent="lilac"]    { --accent: #b3a5f2; --on-accent: #1d1838; --label: #b3a5f2; }
[data-accent="chalk"]    { --accent: #e4e8ed; --on-accent: #1d222b; --label: #b9c0ca; }

/*
  Product accents. Put data-product="…" on a product's card, page <main> or
  support section; the studio header and footer keep the studio accent.
  Each new product adds one line here.
*/
[data-product="prinnit"] { --accent: #f3a342; --on-accent: #1a1f25; --label: #f3a342; }

/* Type */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --font-heading: var(--font-sans);
}
[data-headings="mono"] { --font-heading: var(--font-mono); }
