/* The house palette, for the pages that never had one of their own.

   Fifteen stylesheets each carried an identical copy of the same colours.
   This file redefines that set once, in the language worked out on /video/:
   near-black on warm white, one red, and hairlines where there used to be
   boxes. Changing the look of those pages is one edit from here.

   It is linked AFTER a page's own stylesheet — and after type.css — so these
   definitions win and not one line of those stylesheets had to change. Every
   rule that already says var(--gold) keeps saying it and comes out in the new
   accent.

   WHO DOES NOT LINK THIS, and why

   Pages whose colour was chosen on purpose keep it: /ielts-speaking/ has the
   IELTS red, /winkle/ and /business-journal/ their teals, /jill/ and
   /riva-rex/ the greens that belong to the two ten-to-twelve pages,
   /ielts-part3/ its slate, /fab-english/ its blue, /landscape-portfolio/ its
   forest green, and /junior-high/ sets a brand per section. They share the
   typography through type.css and nothing else — the way a magazine's sections
   share a typeface and keep their own colour.

   The three pages for young children share neither.

   WHAT MAPS TO WHAT

     --navy      was the interactive colour: buttons, links, hovers. It becomes
                 ink. A filled control is black now, which leaves red free to
                 mean something.
     --gold      was the attention colour: labels, highlights, the current
                 thing. It becomes the accent, and it is the only colour on
                 these pages allowed to shout.
     --gold-line was a saturated border around highlight boxes. It becomes a
                 soft tint: in this language a box is held by a hairline and a
                 ground, not by a coloured frame.

   The greens stay green. They mean "right" on the pages that mark answers, and
   no amount of restraint should make a correct answer red. */

:root {
  /* ground and ink */
  --paper:      #fbfaf8;
  --card:       #ffffff;
  --ink:        #1a1a1c;
  --ink-soft:   #55555d;
  --ink-faint:  #8c8c95;

  /* what used to be navy: the interactive face, now ink */
  --navy:       #1a1a1c;
  --navy-soft:  #f4f2ee;
  --navy-line:  #d3d0ca;

  /* what used to be gold: the one accent */
  --gold:       #b0202a;
  --gold-soft:  #fdf3f2;
  --gold-line:  #edd3d4;

  /* right answers stay green */
  --good:       #146b51;
  --good-soft:  #eef6f2;
  --good-line:  #a9cfc0;

  /* wrong, where a page marks it */
  --bad:        #b0202a;
  --bad-soft:   #fdf3f2;

  /* hairlines */
  --line:       #e7e5e1;
  --rule:       #d3d0ca;
}
