/* Pixel Gift design tokens: the one file to edit for colours and fonts.
   Palette and type come from the approved Pixel Gift brand site (red wrapping,
   cream box, yellow ribbon, bottle-green ink). Fonts load in site/layout.html. */
:root {
  /* Brand palette */
  --red: #e0263d;
  --red-deep: #c91f35;
  --red-dark: #8f1424;
  --green: #0f3b2c;
  --green-mid: #1a4d3b;
  --green-deep: #082a1f;
  --cream: #fff4d6;
  --cream-deep: #e9dcb4;
  --yellow: #ffd04f;
  --yellow-deep: #e3b13a;
  --maroon: #4d0005;
  --white: #ffffff;
  --paper: #fffdf8;

  /* The range: the blue Level Up card and the green Gift Box */
  --blue: #2f48c4;
  --blue-deep: #1f2f8a;
  --box-green: #2a6b4f;
  --box-green-deep: #1a4d3b;

  /* What each colour is for */
  --page: var(--red);            /* page background, header, hero */
  --on-page: var(--white);
  --surface: var(--cream);       /* light bands, forms, the box maker */
  --on-surface: var(--green);
  --band: var(--red-dark);       /* dark bands */
  --on-band: var(--cream);
  --heading-on-surface: var(--red-deep);
  --panel: var(--paper);         /* cards and inputs on light bands */
  --ink: var(--green);           /* outlines and hard shadows */
  --muted: #3d5c4f;              /* secondary text on light bands */
  --action: var(--yellow);       /* main buttons */
  --on-action: var(--green);
  --selected: var(--yellow);
  --done: var(--green-mid);
  --error: var(--red-deep);
  --error-soft: #ffe3e2;
  --note-soft: #fff0b8;
  --screen: var(--green-deep);   /* the screen bezel in the box lid */

  /* Type */
  --font-display: "Pixelify Sans", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-letter: Georgia, "Times New Roman", serif;

  /* Edges: a 3px outline with a hard offset shadow, like the logo */
  --pixel-border: 0 0 0 3px var(--ink), 5px 5px 0 3px var(--ink);
  --pixel-border-thin: 0 0 0 2px var(--ink), 3px 3px 0 2px var(--ink);
  --pixel-ring: 0 0 0 3px var(--ink);
}
