/* Duffy Companies colour tokens: option B, "from the logo" (Mike, 2026-12-02).
   The only place colours are set. site.css reads these by role; change a colour here, never in site.css.
   Brand source, measured 2026-12-02: logo green #026226 to #01a949 (median #018236), logo black #0e0e0d;
   duffygc.com renders #019D49 on white with black text. Contrast figures: site/previews/colour-options.html.

   Rules
   - One action colour: the logo green. Deeper on light ground (white label), brighter on dark ground (black label).
   - Red is reserved for the life-safety line ("call 911 first") and the "not safe" note in the form. Nothing else:
     not errors, not badges, not decoration.
   - No third colour for decoration.
   States: hover = the next step of the same green (--action-hover, --action-on-dark-hover); focus = a 3 px ring in
   --focus (light ground) or --focus-on-dark; disabled and sending = the same button at 60% opacity; error = --error
   text and a 3 px border with a "!" mark and words (never red); success = --success-bg behind a check. */
:root{
  /* surfaces */
  --bg:#ffffff;            /* page */
  --bg-alt:#f1f4f1;        /* tinted band */
  --surface:#ffffff;       /* cards, fields; also text on dark */
  --line:#dfe4df;          /* hairlines */
  --field-border:#828b85;  /* field and chip borders (3:1 on white) */
  /* ink: text on light, and the dark bands (the logo black) */
  --ink:#131614;
  --ink-2:#1f2421;         /* cards on dark */
  --ink-3:#0b0d0c;         /* deepest dark: top strip, footer */
  --ink-line:#353c37;      /* lines on dark */
  --muted:#4c544f;         /* secondary text on light */
  --on-ink:#c5ccc7;        /* secondary text on dark */
  --on-ink-2:#e7ebe8;      /* body text on dark */
  /* brand green */
  --brand:#017f37;         /* green labels, icons and emphasis on light */
  --brand-on-dark:#2fbf69; /* green labels, step numbers and highlights on dark */
  --brand-tint:#e1f3e6;    /* pale green behind ink text */
  /* the one action colour */
  --action:#017f37; --action-hover:#01652b; --action-text:#ffffff;
  --action-on-dark:#2fbf69; --action-on-dark-hover:#5bd08a; --action-on-dark-text:#0b0d0c;
  /* alarm: the life-safety line only */
  --alarm:#b3261e;         /* on light */
  --alarm-on-dark:#ff8c80; /* on dark */
  /* focus and states */
  --focus:#131614; --focus-on-dark:#ffffff;
  --error:#131614; --error-bg:#f1f4f1;
  --success-bg:#e1f3e6;
  --stars:#131614; --stars-on-dark:#2fbf69;
  /* the same colours as numbers, for see-through shades */
  --shade-rgb:10,12,11; --bg-rgb:255,255,255; --pulse-rgb:47,191,105; --action-rgb:1,127,55;
}
