/* The site's one palette.
 *
 * There were five copies of this block, one per page, and site/demo does not inherit the web
 * build, so a colour changed in the app used to have to be changed in six places by hand. It is
 * one file now, linked from every page. The site has no build step and does not need one for this.
 *
 * Gold is gone, in the same way it is gone from the app: it was a single value doing two jobs, and
 * it failed one of them. --mark is the mark on a light ground, --mark-bright is the mark on the
 * dark header, and the rule is the ground, not the page. The old --gold was 1.43:1 on mint and
 * 1.60:1 on white, so every star, note and rule drawn on a card was invisible as a signal. --mark
 * is 4.79:1 on mint and 5.37:1 on a card, and --mark-bright is 8.12:1 on the header it lives on.
 *
 * The app's brass does not appear here. Brass is the material of the application's front door and
 * this site does not show that door, and a material that carries no meaning has no business being
 * on a page that is all meaning.
 */

:root {
  --dark: #1b362e;
  --mint: #eef3f1;
  --teal: #206a5d;
  --mark: #8a6410;
  --mark-bright: #f1c84b;
  --ink: #22312f;
  --muted: #54655f;
  --card: #ffffff;
  --line: #d8e3de;
  --head: #1b362e;
  --wash: #dfeae5;
  --dim: #c9d6d0;
  --danger: #9a4a3a;
  --danger-wash: #f3e4e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mint: #11201b;
    --teal: #5cbfa6;
    --mark: #f1c84b;
    --ink: #dce8e2;
    --muted: #93a89f;
    --card: #1e3a30;
    --line: #2c4a40;
    --head: #eaf3ee;
    --wash: #1a3029;
    --dim: #5f8578;
    --danger: #e08a7a;
    --danger-wash: #3a2320;
  }
}
