
/* ===================== the one palette, dark (dark.py) ================= */
:root{
  --paper:#111740;          /* the alternating section tint */
  --mist:rgba(255,255,255,.07);
  --head:#ffffff;           /* headings, now on a dark ground */
  --body:rgba(255,255,255,.74);
  --muted:rgba(255,255,255,.55);
  --line:rgba(255,255,255,.14);
  --aqua-dk:#00eecc;        /* aqua is legible on dark, so it is just aqua */
  --aqua-pale:rgba(0,238,204,.14);
  --e1:0 6px 30px rgba(0,0,0,.38);
  --e2:0 18px 44px rgba(0,0,0,.5);
}
body{background:#0b0f2e;color:var(--body);}
.alt{background:var(--paper);}

/* the card surfaces are painted by the one blue rule in akit.py, which
   runs on every page rather than only on the interiors this file converts.
   Only the hover lift that belongs to the dark palette stays here. */
.card:hover{box-shadow:var(--e2);}
.faq details{background:rgba(255,255,255,.04);}
/* the comparison table stripes the WHOLE row, label included, and its label
   is no longer a tinted panel: it is the same aqua label as every other
   table on the site (tables.py, 1 October) */
.spec tr:nth-child(odd),
.ctable tbody tr:nth-child(odd) th,
.ctable tbody tr:nth-child(odd) td{
  background:rgba(255,255,255,.04) !important;}
.ctable thead th{color:#fff;}
.btn-soft,.chips.lt .chip,.mtags span{
  background:rgba(255,255,255,.09) !important;color:#fff !important;}
.chips.lt .chip:hover{background:rgba(0,238,204,.18) !important;}

/* the form: fields have to read as fields on a dark ground */
.fin{background:rgba(255,255,255,.06) !important;color:#fff;}
.fin::placeholder{color:rgba(255,255,255,.45);}
.fin:focus{background:rgba(255,255,255,.1) !important;}

/* the quality chips were white pills, which is the one thing on these pages
   that still read as the light system */
.certs .chip{background:rgba(255,255,255,.08) !important;color:rgba(255,255,255,.82) !important;
  box-shadow:none !important;}
.certs .chip b{color:#fff;}
.certs .ukline{color:rgba(255,255,255,.82);}

/* THE REBUILT SERVICE AND INDUSTRY HEADERS (hero.py) are a third token set:
   a white plate over the photograph with the page title on it, and four
   white stat chips below. Same swap, different names. */
.shero-plate,.hs{background:linear-gradient(165deg,#181f4e,#111640) !important;
  color:#fff !important;box-shadow:0 10px 40px rgba(0,0,0,.45) !important;}
.shero-plate h1,.hs b{color:#fff !important;}
.hs i{color:rgba(255,255,255,.66) !important;}
.crumbs{color:rgba(255,255,255,.5) !important;}
.crumbs a{color:rgba(255,255,255,.72) !important;}
.crumbs a:hover{color:#fff !important;}
.crumbs span{color:rgba(255,255,255,.4) !important;}

/* three panels that named #fff or --white directly and are only on one page
   each: the About values cards, a case study's next card, and the home
   page's Knowledge Hub photo frame */
.vcard,.nextcard{background:linear-gradient(165deg,#181f4e,#111640) !important;
  box-shadow:0 6px 30px rgba(0,0,0,.38) !important;color:var(--body);}
.vcard p,.nextcard p{color:rgba(255,255,255,.74) !important;}
.vlist li{color:#fff !important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.12) !important;}
.vk,.nextcard .n{color:var(--aqua) !important;}

/* three strings that were written as ink with an alpha rather than as a
   token, found by the contrast check rather than by eye: the timeline note
   on About, the certificate footnote on Quality, and the assistant's own
   small print, which at 11px was under AA even in white */
.tl-b p,.tl-b h3,.tl-i:not(.tl-open) .tl-b{color:rgba(255,255,255,.7) !important;}
.tl-b h3{color:#fff !important;}
.cr-foot,.cr-foot a{color:rgba(255,255,255,.72) !important;}
.cr-foot a{text-decoration:underline;}
.dk-note{color:rgba(255,255,255,.62) !important;}

/* prose and small print that was set against white */
.sec-head p,.lede,.ans,.card p,.step p,.newsrow p{color:var(--body);}
.crumb a{color:rgba(255,255,255,.6);}
.crumb{color:rgba(255,255,255,.5);}
a{color:inherit;}
/* a link inside prose has to look like one: the palette makes everything
   inherit, which is right for cards and wrong for a sentence */
p.lede a,.ans a,.sec-head p a,.vcard p a{color:var(--aqua) !important;
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1px;}
hr{background:var(--line);}

/* THE SPEC TABLE'S ROW LABELS. Matt, 23 September: "make titles same size
   text / spec as the sentences, but titles in aqua." They were sharing the
   .eyebrow rule, which is 11px, 700 and uppercase with letterspacing: a
   label shouting at the sentence beside it. Now they are the same type as
   the value they introduce, and the aqua is what tells them apart. */
.spec th{font-size:var(--fs-6) !important;font-weight:500 !important;
  text-transform:none !important;letter-spacing:normal !important;
  color:var(--aqua) !important;line-height:1.6;}
