/* The one set of brand colours and shapes for the whole site: public pages, sign-in and dashboard.
   Change the brand here and nowhere else.

   Arrangement (Jay, 2026-09-26, after gobackload.co.nz/contact): flat charcoal-black feature areas
   (no glow anywhere: Jay, keep it simple), warm cream page background, white cards on big soft shadows, one bold accent on
   pill-shaped buttons (a deeper red than theirs, per Jay), small uppercase accent labels over heavy tight headings, dark footer.

   Always light (Jay, 2026-09-27): our colours whatever the device's dark-mode setting. No dark variant. */
:root {
  color-scheme: light;
  /* the accent: buttons, active menu item, labels, links */
  --accent: #b5121b;
  --accent-hover: #950e16;
  --accent-ink: #ffffff;                 /* text on the accent */
  --accent-soft: rgba(181, 18, 27, .08); /* tinted backgrounds */

  /* tertiary highlight (Jay, 2026-09-26): marks illustrations, e.g. the "Example" pills. Never used for
     actions (those are the accent red) or statuses. Black text on it: 6.5:1; stands out on charcoal: 6.2:1. */
  --highlight: #f07c1e;
  --highlight-ink: #171717;

  /* neutrals: warm, not blue-grey */
  --ink: #171717;
  --ink-2: #333333;
  --dim: #696560;
  --faint: #9d9d9d;
  --paper: #ffffff;                      /* cards, inputs */
  --paper-2: #faf9f6;                    /* subtle fills */
  --bg: #f5f2ec;                         /* page background (cream) */
  --surface: #ffffff;
  --hover: #f3efe8;
  --line: rgba(23, 23, 23, .12);

  /* charcoal feature areas: hero, sidebar, footer, phone tab bar */
  --charcoal: #1b1b1c;
  --on-dark: #ffffff;
  --on-dark-dim: rgba(255, 255, 255, .66);
  --on-dark-line: rgba(255, 255, 255, .14);
  --on-dark-hover: rgba(255, 255, 255, .08);
  --accent-on-dark: #ff8a90;              /* links on charcoal (the deep red is too dark there) */
  --amber-on-dark: #ffd08a;               /* warnings on charcoal (out of credits) */

  /* the notebook illustrations (homepage, who it's for): paper, pen, margin and ruled lines */
  --note-paper: #fffdf5;
  --note-pen: #1d3a8a;
  --note-margin: rgba(200, 40, 40, .35);
  --note-rule: rgba(40, 90, 200, .22);

  /* statuses (kept distinct from the accent so "unpaid" never looks like an error) */
  --green: #16835c; --green-soft: #e7f5ee;
  --amber: #a15c07; --amber-soft: #fdf1dc;
  --blue: #1d5fbf; --blue-soft: #e8f0fc;
  --grey: #5c5a57; --grey-soft: #eeebe5;
  --red: #7f1d1d; --red-soft: #fcebea;   /* errors: darker again than the accent */

  /* shape */
  --radius: 12px;
  --radius-lg: 18px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(23, 23, 23, .04);
  --shadow-lg: 0 18px 50px rgba(23, 23, 23, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
