/* MadeGood brand tokens, version 1.3 (30 November 2026)
   Link the fonts once in <head>:
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap">
*/
:root {
  /* Core colours. These are fixed. */
  --mg-ink: #1c1c1c;
  --mg-paper: #efede8;
  --mg-stone: #e3e0d8;      /* panels, quiet fills */
  --mg-graphite: #5c5953;   /* small text, captions */

  /* Accent. NOT FINAL. Default is Tide. Shortlist: Tide and Marigold.
     To try another, put data-mg-accent="marigold" (or any id below) on <html>. */
  --mg-accent: #27a2f4;                      /* flat colour: text on Ink, thin lines, SVG fills, one-colour print */
  --mg-accent-bg: linear-gradient(135deg,#2f7bff,#1fc8e8);   /* big areas: buttons, cards, posters. Use with background:, not color: */
  --mg-on-accent: #1c1c1c;                   /* text and logo colour on top of the accent */

  /* Type */
  --mg-font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* headlines 700, subheads 600, tracking -0.025em */
  --mg-font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;            /* 16 to 18 px, line height 1.5 */
  --mg-font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;         /* labels: 12 px, uppercase, tracking 0.07em */

  /* Shape. Corners are square. The only round things are the badge and app icons. */
  --mg-radius: 0;
}

/* Accent presets */
:root[data-mg-accent="marigold"] { --mg-accent: #f6a609; --mg-accent-bg: #f6a609; --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="vermilion"] { --mg-accent: #f2461f; --mg-accent-bg: #f2461f; --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="pink"] { --mg-accent: #ff3d7f; --mg-accent-bg: #ff3d7f; --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="cobalt"] { --mg-accent: #2b4eff; --mg-accent-bg: #2b4eff; --mg-on-accent: #efede8; }
:root[data-mg-accent="green"] { --mg-accent: #129b5a; --mg-accent-bg: #129b5a; --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="lime"] { --mg-accent: #c8f03c; --mg-accent-bg: #c8f03c; --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="sunrise"] { --mg-accent: #f98429; --mg-accent-bg: linear-gradient(135deg,#ffc233,#f2461f); --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="ember"] { --mg-accent: #f34f4d; --mg-accent-bg: linear-gradient(135deg,#ff7a1f,#e6247b); --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="citrus"] { --mg-accent: #edcc23; --mg-accent-bg: linear-gradient(135deg,#e4f23c,#f6a609); --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="meadow"] { --mg-accent: #6cc74a; --mg-accent-bg: linear-gradient(135deg,#0f9d58,#c8f03c); --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="tide"] { --mg-accent: #27a2f4; --mg-accent-bg: linear-gradient(135deg,#2f7bff,#1fc8e8); --mg-on-accent: #1c1c1c; }
:root[data-mg-accent="dusk"] { --mg-accent: #ad55bd; --mg-accent-bg: linear-gradient(135deg,#5b4dff,#ff5c7a); --mg-on-accent: #1c1c1c; }
