/* ==========================================================================
   InnovexLab — site stylesheet
   --------------------------------------------------------------------------
   One stylesheet for every page. No build step: GitHub Pages serves this
   file as-is. Sections, in order:

     1. Design tokens (colors, type, spacing) — change brand values HERE only
     2. Base / reset
     3. Layout helpers (.container, .section, .stack)
     4. Accessibility helpers (skip link, visually-hidden, focus)
     5. Header, utility bar and mobile navigation
     6. Buttons and links
     7. Page sections (hero, cards, steps, callouts, limits, CTA band)
     8. Forms (labels, errors, notices)
     9. Footer
    10. Utilities and print

   Conventions
   - Mobile-first: base rules target phones; @media (min-width: …) adds
     desktop layout. Breakpoints: 40rem (~640px) and 60rem (~960px).
   - Class names follow a light BEM style: .block, .block__part, .block--variant
   - Never hard-code a color outside section 1; use a var(--token).
   ========================================================================== */

/* 1. Design tokens ======================================================== */
:root {
  color-scheme: light;

  /* Brand — navy and teal carried over from the original site */
  --color-navy: #0b2c4a;          /* header, headings, footer */
  --color-navy-700: #123d63;      /* hover / secondary dark surface */
  --color-action: #006f9c;        /* the ONE action color (buttons, links). 5.6:1 on white */
  --color-action-hover: #00577a;
  --color-teal-tint: #e6f2f7;     /* soft background for highlighted blocks */

  /* Neutrals */
  --color-ink: #1c2733;           /* body text. 14.9:1 on white */
  --color-muted: #4a5868;         /* secondary text. 7.1:1 on white */
  --color-line: #d5dee8;          /* borders and dividers */
  --color-surface: #f4f7fb;       /* alternating section background */
  --color-bg: #ffffff;

  /* Feedback */
  --color-error: #b3261e;         /* 6.3:1 on white */
  --color-error-bg: #fdecea;
  --color-warning-bg: #fff6e0;
  --color-warning-line: #e0b54a;
  --color-focus: #f2a900;         /* focus ring: visible on navy AND white */

  /* Typography — system fonts: fast, no third-party requests */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-sm: 0.9375rem;   /* 15px */
  --text-base: 1.0625rem; /* 17px — readable on phones */
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: clamp(1.75rem, 1.15rem + 2.2vw, 2.625rem); /* hero headline scales with viewport */

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --radius: 6px;          /* restrained corners: clinical, not playful */
  --shadow: 0 1px 2px rgba(11, 44, 74, 0.05);
  --container: 72rem;     /* max content width */
  --measure: 40rem;       /* max line length for paragraphs */
  --tap: 44px;            /* minimum touch target (WCAG 2.5.5) */
}

/* 2. Base / reset ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; /* anchors clear the sticky header */ }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--text-lg); }

p, ul, ol { margin: 0 0 var(--space-4); max-width: var(--measure); }
li + li { margin-top: var(--space-2); }

img, svg { max-width: 100%; height: auto; }

a { color: var(--color-action); text-underline-offset: 0.18em; }
a:hover { color: var(--color-action-hover); }

/* 3. Layout helpers ======================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4); /* 16px phone gutter */
}
@media (min-width: 40rem) { .container { padding-inline: var(--space-6); } }

.section { padding-block: var(--space-7); }
.section--surface { background: var(--color-surface); }
.section--tight { padding-block: var(--space-6); }
@media (min-width: 60rem) { .section { padding-block: var(--space-8); } }

.section__intro { margin-bottom: var(--space-6); }
.section__intro p { color: var(--color-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-action);
  margin-bottom: var(--space-3);
}

/* Responsive grid: 1 column on phones, auto-fit columns on wider screens */
.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
/* Three cards go straight from 1 to 3 columns (at 48rem = 768px tablets), so a
   2-column step never leaves the third card alone on its own row. */
@media (min-width: 48rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 60rem) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Two-column split used for "text + side panel" layouts (side panels are <div>, not <aside>: an aside inside <main> is a misplaced landmark) */
.split { display: grid; gap: var(--space-6); }
@media (min-width: 60rem) {
  .split { grid-template-columns: 1.4fr 1fr; align-items: start; gap: var(--space-7); }
}

/* 4. Accessibility helpers ================================================ */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;              /* off-screen until focused */
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-3); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* One consistent focus ring for keyboard users: navy inner ring (visible on light
   backgrounds, 13:1 on white) + amber outer ring (visible on navy, 7:1). WCAG 1.4.11. */
:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--color-focus);
  border-radius: 4px;
}

/* The HTML `hidden` attribute must always win over component display rules
   (e.g. .button is inline-flex). Client Portal links rely on this. */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* 5. Header, utility bar and navigation =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Thin top bar: location, phone and the existing-client Client Portal link.
   Kept visually separate from the new-account meeting button (owner decision 2026-11-06). */
.utility-bar {
  background: #07203a;
  font-size: var(--text-sm);
}
.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 2.25rem;
}
.utility-bar__place { color: #c9d6e3; display: none; }
@media (min-width: 40rem) { .utility-bar__place { display: inline; } }
.utility-bar__links { display: flex; gap: var(--space-5); margin-left: auto; }
.utility-bar a { color: #fff; text-decoration: none; font-weight: 600; padding-block: var(--space-2); }
.utility-bar a:hover { text-decoration: underline; color: #fff; }

.site-header__main {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  margin-right: auto;     /* pushes nav and button to the right */
}
/* Logo mark on a white disc: the logo's dark greens would be lost on the navy header. */
.brand__logo {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 3px;
  background: #fff;
  border-radius: 50%;
}
.brand span { color: #8fd3ee; }
.brand:hover { color: #fff; }

/* Mobile menu button — only shown when JavaScript is running (.js on <html>),
   so the menu is always reachable even if the script fails to load. */
.nav-toggle {
  display: none;
  min-height: var(--tap);
  padding: 0 var(--space-4);
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; gap: var(--space-2); }

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }                 /* collapsed by default on phones */
.js .site-nav.is-open {
  display: block;
  max-height: calc(100vh - 7rem);   /* stays scrollable at high zoom / landscape (WCAG 1.4.10) */
  overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 0 0 var(--space-4); max-width: none; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: block;
  padding: var(--space-3) 0;
  min-height: var(--tap);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-nav a:hover { color: #8fd3ee; }
.site-nav a[aria-current="page"] { color: #8fd3ee; }

/* The Client Portal also appears inside the mobile menu (header utility covers desktop) */
.site-nav__portal a { color: #8fd3ee; }

.header-cta { order: 0; }
/* Small phones: tighten spacing so brand, meeting button and Menu share one row */
@media (max-width: 29.99rem) {
  .site-header__main { gap: var(--space-2); }
  /* Two classes so this beats the general .button rule defined further down. */
  .site-header__main .header-cta { padding-inline: var(--space-3); font-size: var(--text-sm); }
  .nav-toggle { padding-inline: 0; width: var(--tap); justify-content: center; }
  /* Text stays available to screen readers ("Menu"); sighted users see the icon */
  .nav-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .brand { font-size: 1.125rem; gap: 0.3125rem; }
  .brand__logo { width: 28px; height: 28px; padding: 2px; }
}

/* Three-bar "hamburger" icon drawn with CSS (no image request) */
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.header-cta .label-long { display: none; }
@media (min-width: 30rem) {
  .header-cta .label-long { display: inline; }
  .header-cta .label-short { display: none; }
}

@media (min-width: 60rem) {
  .site-header__main { flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav.is-open { display: block; flex-basis: auto; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: var(--space-5); padding: 0; }
  .site-nav a { border: 0; padding: var(--space-3) 0; display: inline-flex; align-items: center; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #8fd3ee; }
  .site-nav__portal { display: none; }          /* desktop uses the utility-bar link */
}

/* 6. Buttons and links ==================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: var(--space-3) var(--space-5);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.button--primary { background: var(--color-action); color: #fff; }
.button--primary:hover { background: var(--color-action-hover); color: #fff; }
/* On the navy header the primary button gets a light border so it reads as a button */
.site-header .button--primary { border-color: rgba(255, 255, 255, 0.35); }

.button--secondary { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.button--secondary:hover { background: var(--color-navy); color: #fff; }

.button--on-dark { background: #fff; color: var(--color-navy); }
.button--on-dark:hover { background: var(--color-teal-tint); color: var(--color-navy); }
.button--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.button--ghost-on-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* Text link with an arrow, used at the bottom of cards */
.arrow-link { font-weight: 700; text-decoration: none; }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; }

/* 7. Page sections ======================================================== */

/* Hero — dark band at the top of the home page and inner pages */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, #0d3a5e 100%);
  color: #e8f0f7;
  padding-block: var(--space-7);
}
@media (min-width: 60rem) { .hero { padding-block: var(--space-8); } }
.hero h1 { color: #fff; max-width: 26ch; }
.hero p { color: #d3e0ec; font-size: var(--text-lg); max-width: 38rem; }
.hero .eyebrow { color: #8fd3ee; }
.hero a:not(.button) { color: #fff; }
.hero--page { padding-block: var(--space-7); }   /* shorter hero for inner pages */
.hero--page h1 { max-width: 28ch; }

/* "Situation" quote used to open the home page on a recognizable moment */
.situation {
  border-left: 4px solid #8fd3ee;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  margin: 0 0 var(--space-5);
  color: #fff;
  font-size: var(--text-lg);
  font-style: italic;
  max-width: 36rem;
}

/* Card */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--color-muted); }
.card > :last-child { margin-bottom: 0; }
.card .arrow-link { margin-top: auto; padding-top: var(--space-3); }
.card__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

/* Panel card on the Testing page: situation → what the result informs → action */
.panel-card dl { margin: 0 0 var(--space-4); }
.panel-card dt { font-size: var(--text-sm); font-weight: 700; color: var(--color-navy); }
.panel-card dd { margin: 0 0 var(--space-3); color: var(--color-muted); }

/* Simple panel name list (Home page) */
.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  max-width: none;
}
@media (min-width: 40rem) { .panel-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .panel-list { grid-template-columns: repeat(4, 1fr); } }
.panel-list li { margin: 0; }
.panel-list a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: none;
}
.panel-list a:hover { border-color: var(--color-action); color: var(--color-action); }

/* Numbered steps (How to Start, Home summary) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: none; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin: 0 0 var(--space-6);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -0.1rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 4px;
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  font-size: var(--text-sm);
  font-weight: 700;
}
.steps h3 { margin-bottom: var(--space-2); }
.steps p { color: var(--color-muted); }
.steps--compact > li { margin-bottom: var(--space-5); }

/* Highlighted note (startup benefit, billing notes) */
.callout {
  background: var(--color-teal-tint);
  border-left: 4px solid var(--color-action);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4) var(--space-5);
  margin: 0 0 var(--space-5);
}
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--color-navy); }

/* "What the test can't tell you" — honest limits, stated plainly */
.limits {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: var(--color-bg);
}
.limits h2, .limits h3 { font-size: var(--text-lg); }
.limits ul { padding-left: 1.25rem; margin-bottom: 0; }

/* FAQ — native <details> works without JavaScript and with keyboards */
.faq details {
  border-top: 1px solid var(--color-line);
  padding: var(--space-4) 0;
}
.faq details:last-child { border-bottom: 1px solid var(--color-line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy);
  min-height: var(--tap);
  display: flex;
  align-items: center;
}
.faq details p { margin-top: var(--space-3); color: var(--color-muted); }

/* Contact facts block */
.contact-facts { list-style: none; padding: 0; margin: 0; max-width: none; }
.contact-facts li { margin: 0 0 var(--space-4); }
.contact-facts strong { display: block; color: var(--color-navy); font-size: var(--text-sm); }
.contact-facts a { font-weight: 700; }

/* Two-path chooser on the Contact page: new account vs existing client */
.path-card h2 { font-size: var(--text-lg); }

/* Call-to-action band at the bottom of every page */
.cta-band {
  background: var(--color-navy);
  color: #d3e0ec;
  padding-block: var(--space-7);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e0ec; }
.cta-band a:not(.button) { color: #fff; }

/* 8. Forms ================================================================ */
.form { max-width: 40rem; }
.form-row { margin-bottom: var(--space-5); }
.form-row--split { display: grid; gap: 0; }
.form-row--split.form-row { margin-bottom: 0; } /* phones: inner rows carry the spacing */
@media (min-width: 40rem) {
  .form-row--split { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .form-row--split.form-row { margin-bottom: var(--space-5); }
  .form-row--split .form-row { margin-bottom: 0; }
}

label, .label {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.optional { font-weight: 400; color: var(--color-muted); }

.hint { display: block; font-size: var(--text-sm); color: var(--color-muted); margin: calc(-1 * var(--space-1)) 0 var(--space-2); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: var(--tap);
  padding: var(--space-3);
  font: inherit;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1.5px solid #8a98a8;     /* 3:1 non-text contrast against white */
  border-radius: 8px;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--color-action); }

/* Error state — set by assets/js/site.js; message text is announced via aria-describedby */
[aria-invalid="true"] { border-color: var(--color-error) !important; background: #fffafa; }
.field-error { display: block; color: var(--color-error); font-weight: 600; font-size: var(--text-sm); margin-top: var(--space-2); }
.field-error:empty { display: none; }

.error-summary {
  border: 2px solid var(--color-error);
  background: var(--color-error-bg);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}
.error-summary h2 { font-size: var(--text-lg); color: var(--color-error); margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--color-error); font-weight: 600; }

/* Patient-information warning beside the free-text field (required by the site plan) */
.notice-phi {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-line);
  border-radius: 8px;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  max-width: none;
}

/* Honeypot spam trap: hidden from people, visible to naive bots */
.form-privacy { margin-top: var(--space-4); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9. Footer =============================================================== */
.site-footer {
  background: #07203a;
  color: #c9d6e3;
  padding-block: var(--space-7) var(--space-5);
  font-size: var(--text-sm);
}
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 var(--space-2); }
.site-footer li a { display: inline-block; padding-block: var(--space-1); }
.site-footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 40rem) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .brand { font-size: 1.25rem; display: inline-block; margin-bottom: var(--space-3); }
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}
.site-footer__legal p { margin: 0; max-width: none; }

/* 10. Utilities and print ================================================= */
.text-muted { color: var(--color-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; margin-inline: auto; }

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1, .hero p { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* 11. Professional refinement (2026-11-16) ================================ */

/* Credentials band directly under the hero */
.credentials {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}
.credentials__list {
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0;
  max-width: none;
  display: grid;
  gap: var(--space-4) var(--space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 60rem) { .credentials__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.credentials__list li { margin: 0; padding-left: var(--space-4); border-left: 2px solid var(--color-action); }
.credentials__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}
.credentials__value { display: block; font-size: var(--text-sm); color: var(--color-muted); }

/* Testing services index (Home): name + indication, whole tile is the link */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-grid li { margin: 0; }
.service-link {
  display: block;
  height: 100%;
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  text-decoration: none;
}
.service-link:hover { border-top-color: var(--color-action); }
.service-link__name { display: block; font-weight: 700; color: var(--color-navy); margin-bottom: var(--space-1); }
.service-link__text { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.service-link:hover .service-link__name { color: var(--color-action); }

/* Plain feature columns (no card chrome) */
.feature { border-top: 2px solid var(--color-line); padding-top: var(--space-4); }
.feature h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.feature p { color: var(--color-muted); margin: 0; }

/* Audience list beside the onboarding note */
.audience h3 { font-size: var(--text-base); }
.audience ul { padding-left: 1.1rem; color: var(--color-muted); }

/* Term/value list (About: credentials) */
.fact-list { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: 0; }
.fact-list dt { font-weight: 700; color: var(--color-navy); }
.fact-list dd { margin: 0; color: var(--color-muted); }
.card + .card { margin-top: var(--space-5); }

.site-footer__ids { font-size: var(--text-sm); opacity: 0.85; }
