/* Precise Diagnostics: ink blue, coral, ice and gold. Archivo for headings and text, IBM Plex Mono for numbers.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0D1530;
  --surface: #131D3D;
  --soft: #18223F;
  --ink: #EAF4FF;
  --muted: #A3B2CC;
  --line: #24305A;
  --line-strong: #34437A;
  --brand: #FF5A5F;
  --brand-hover: #FF7A7E;
  --brand-ink: #0D1530;
  --brand-text: #FF7A7E;
  --ice: #D8F3FF;
  --eyebrow: #8FD9FF;
  --announce-bg: #D8F3FF;
  --announce-ink: #0D1530;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --wrap: 1200px;
  --gap: 22px;
  --menu-bg: #0D1530;
  --input-bg: #0D1530;
  color-scheme: dark;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; }
h1 em { font-style: normal; color: var(--brand); }
.eyebrow { font-family: var(--mono); letter-spacing: .06em; }
.btn { font-weight: 700; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* header */
.header { background: rgba(13,21,48,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { font: 600 1.15rem var(--mono); color: var(--muted); }
.logo b { color: var(--ink); }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

/* hero: a sample report */
.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.02; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.report { padding: 22px; border-radius: var(--radius-lg); background: #F7FBFF; color: #0D1530; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.rp-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid #0D1530; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.report ul { list-style: none; display: grid; }
.report li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid #DCE6F2; }
.rp-n { font-weight: 600; }
.report b { font: 600 1.1rem var(--mono); text-align: right; }
.report b small { font-size: .72rem; color: #5A6785; }
.rp-bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FFB3B5 0 25%, #A8E6C9 25% 75%, #FFB3B5 75%); }
.rp-bar i { position: absolute; top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: #0D1530; }
.rp-r { font: .78rem var(--mono); color: #5A6785; text-align: right; }
.report li.low b { color: #D7262C; }
.rp-foot { margin-top: 12px; font-size: .82rem; color: #5A6785; }
.lab-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 760px) { .lab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lab-stats li { display: grid; gap: 4px; padding: 20px; background: var(--surface); }
.lab-stats b { font: 600 clamp(1.5rem, 3vw, 2rem) var(--mono); color: var(--ice); }
.lab-stats span { color: var(--muted); }

/* test basket */
.tb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .tb { grid-template-columns: minmax(0, 1fr); } }
.tb-list { list-style: none; display: grid; gap: 6px; }
.tb-list .check { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; }
.tb-list .check:has(input:checked) { border-color: var(--brand); background: rgba(255,90,95,.08); }
.tb-list input { width: 20px; height: 20px; accent-color: var(--brand); }
.tb-list small { display: block; color: var(--muted); font-size: .82rem; }
.tb-list b { font: 600 1rem var(--mono); }
.tb-out { position: sticky; top: 96px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .tb-out { position: static; } }
.tb-total b { font: 600 clamp(2.4rem, 5vw, 3.2rem) var(--mono); color: var(--ice); }
.tb-total span { color: var(--muted); }
.tb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.tb-facts div { padding: 10px 12px; border-radius: var(--radius); background: var(--soft); }
.tb-facts dt { font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tb-facts dd { margin: 4px 0 0; font-weight: 700; }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: #0D1530; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #0D1530; color: var(--ice); }
.cta-band .btn-ghost { color: #0D1530; border-color: #0D1530; }
.footer { background: #080E22; color: var(--muted); --footer-line: var(--line); border-top: 1px solid var(--line); }
.footer h2 { color: var(--ink); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--ink); }
@media (max-width: 420px) { .header .logo span { font-size: .84rem; } .header .logo-mark { width: 34px; height: 34px; } .header-cta .btn { padding-inline: 12px; } }
