/* Colour tokens. One value per role; nothing outside this block should
   declare a text colour of its own. */
:root{
  --ink:#16212e;                     /* headings on light         16.3:1 */
  --body:#3f4e5e;                    /* body copy on light         8.5:1 */
  --muted:#5b6b7b;                   /* captions, units, SKU       5.5:1 */
  --brand:#0054a5;                   /* links, icons, kickers      7.5:1 */
  --brand-deep:#003f7c;              /* headings that must outrank body 10.5:1 */
  --on-dark:#ffffff;                 /* text on navy               7.5:1 */
  --on-dark-muted:rgba(255,255,255,.72); /* labels on navy */
  --accent:#ffc10e;                  /* dark surfaces only — 1.6:1 on white, 4.6:1 on brand */
}

/* Role assignment. Bootstrap paints body and headings with one value and
   ships its own link colours; these three rules put them on tokens. */
body{color:var(--ink)}
#mainNav .navbar-nav .nav-item .nav-link{color:var(--accent)}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:focus{color:var(--on-dark)}
.link-warning{color:var(--accent) !important}

/* Bootstrap's own defaults: utilities and the plain link colour */
.text-dark{color:var(--ink) !important}
.text-body{color:var(--body) !important}
.text-warning{color:var(--accent) !important}
.btn-warning{color:var(--ink)}
a{color:var(--brand)}
/* two bootstrap components paint themselves with --bs-body-color */
.modal-title{color:var(--ink)}
.accordion-body{color:var(--body)}
