/* ==========================================================================
   23rd Pair Lab Limited — site stylesheet
   Palette derived from the company logo:
     navy   #14274F   (primary)
     grey   #ABABAB / slate #7C869D (secondary)
     lime   #6C9C48   (network-graph node accent)
     violet #903CF0   (network-graph node accent)
   All text pairings verified at WCAG AA (4.5:1) or better.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand ground */
  --navy-900: #0A1730;
  --navy-800: #0F1E3D;
  --navy-700: #14274F;  /* brand primary, straight from the logo */
  --navy-600: #1D3466;
  --navy-500: #27427C;

  /* Neutrals */
  --slate-400: #7C869D;
  --slate-300: #A8B3C9;
  --grey-300:  #ABABAB;
  --paper:     #F4F6FA;
  --paper-alt: #E8ECF4;
  --white:     #FFFFFF;

  /* Accents — graphics use the raw logo values, text uses the lifted values */
  --lime-fill:   #6C9C48;
  --lime:        #8CC45C;
  --lime-bright: #A6DE6A;
  --lime-deep:   #4E7130;
  --violet-fill: #903CF0;
  --violet:      #B98CF8;
  --violet-deep: #6B21C7;

  /* Semantic */
  --bg:        var(--navy-900);
  --fg:        var(--white);
  --fg-muted:  var(--slate-300);
  --rule:      rgba(168, 179, 201, 0.22);
  --rule-firm: rgba(168, 179, 201, 0.40);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Spacing scale (density 5/10 — standard) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  --measure: 68ch;
  --shell: 1240px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }

a { color: inherit; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--lime-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.u-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime-bright);
  color: var(--navy-900);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  z-index: 200;
}
.u-skip:focus { left: var(--space-3); top: var(--space-3); }

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

/* ---------- Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.band { padding-block: var(--space-8); position: relative; }
.band--tight { padding-block: var(--space-7); }
.band--navy { background: var(--navy-900); color: var(--white); }
.band--navy-mid { background: var(--navy-800); color: var(--white); }
.band--paper { background: var(--paper); color: var(--navy-700); }
.band--paper .band__lead { color: #37456B; }

/* Diagonal cut between bands — the one structural flourish, used sparingly */
.band--cut-top { clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%); margin-top: -44px; }
.band--cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); }

.band__head { max-width: 760px; margin-bottom: var(--space-6); }
.band__lead {
  margin-top: var(--space-4);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: var(--measure);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 90px;
}
.eyebrow--violet { color: var(--violet); }
.eyebrow--onpaper { color: var(--lime-deep); }
.eyebrow--onpaper::after { background: rgba(20, 39, 79, 0.2); }

.title-xl { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.title-lg { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.title-md { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.015em; }
.title-sm { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

.tint-lime { color: var(--lime); }
.tint-violet { color: var(--violet); }
.tint-lime-deep { color: var(--lime-deep); }

.prose { max-width: var(--measure); }
.prose + .prose { margin-top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--lime-bright); color: var(--navy-900); }
.btn--primary:hover { background: var(--lime); }

.btn--ghost { border-color: var(--rule-firm); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--lime-bright); color: var(--lime-bright); }

.btn--onpaper { border-color: rgba(20, 39, 79, 0.28); color: var(--navy-700); background: transparent; }
.btn--onpaper:hover { border-color: var(--navy-700); background: var(--navy-700); color: var(--white); }

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

/* Inline text link with underline that grows */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--lime);
  text-decoration: none;
  padding-block: var(--space-1);
}
.link-arrow svg { transition: transform 200ms var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--onpaper { color: var(--violet-deep); }
/* Any arrow link inside a light band: lime on white is ~1.9:1 and unreadable. */
.band--paper .link-arrow { color: var(--violet-deep); }

/* ---------- Utility bar above the nav ----------
   Carries contact details and the social links. Not sticky: it scrolls away
   and leaves the navigation pinned, so it costs nothing once you start reading. */
.topbar {
  background: var(--navy-800);
  border-bottom: 1px solid var(--rule);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 42px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--slate-300);
  min-width: 0;
}
.topbar__contact a {
  text-decoration: none;
  /* WCAG 2.5.8 minimum target size: these sat at 21px tall. */
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding-inline: 2px;
}
.topbar__contact a:hover { color: var(--lime-bright); text-decoration: underline; text-underline-offset: 3px; }

.social--compact { gap: 0; }
.social--compact .social__link {
  width: 36px;
  height: 36px;
  border-color: transparent;
  color: var(--slate-300);
}
.social--compact .social__link svg { width: 16px; height: 16px; }
.social--compact .social__link:hover {
  background: transparent;
  border-color: transparent;
  color: var(--lime-bright);
}

/* ---------- Site header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 23, 48, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; flex: none; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.site-nav__list { display: flex; align-items: center; gap: var(--space-2); }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate-300);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.site-nav__link:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.site-nav__link[aria-current="page"] { color: var(--lime-bright); }
.site-nav__cta { margin-left: var(--space-3); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule-firm);
  border-radius: var(--radius);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 620px at 78% 22%, rgba(29, 52, 102, 0.75), transparent 62%),
    linear-gradient(158deg, var(--navy-700) 0%, var(--navy-900) 58%);
  overflow: hidden;
  padding-block: var(--space-8) var(--space-9);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: var(--space-7);
  align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero__sub {
  margin-top: var(--space-5);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.62;
  color: var(--slate-300);
  max-width: 54ch;
}
.hero__rule {
  width: 96px; height: 3px;
  background: var(--lime-bright);
  margin-top: var(--space-6);
}

/* Interior page headers — same ground as the hero, without the karyotype */
.page-head {
  background:
    radial-gradient(760px 520px at 82% 30%, rgba(29, 52, 102, 0.7), transparent 62%),
    linear-gradient(158deg, var(--navy-700) 0%, var(--navy-900) 62%);
  padding-block: var(--space-8) var(--space-7);
  position: relative;
}
.page-head .band__head { margin-bottom: 0; }
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: var(--space-7);
  align-items: center;
}

/* Chromosome row — the interior-page counterpart to the hero karyogram */
.motif { width: 100%; }
.motif__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 190;
  overflow: visible;
}

@media (max-width: 1024px) {
  .page-head__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .motif { max-width: 340px; }
}

/* Karyotype figure — the signature element */
.karyotype {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 0 0 auto;
}
.karyotype__svg { width: 100%; height: auto; aspect-ratio: 420 / 432; overflow: visible; }
.karyotype__caption {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  text-align: center;
}
.karyotype__caption b { color: var(--lime); font-weight: 500; }
.karyotype__caption i { color: var(--violet); font-style: normal; }

/* Chromosome drawing primitives */
.chr { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.chr__body { fill: #3D5C9E; }
.chr__band { fill: rgba(10, 23, 48, 0.5); }
.chr__label {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: var(--slate-400);
  text-anchor: middle;
  letter-spacing: 0.04em;
}
.chr--x .chr__body { fill: var(--lime-fill); }
.chr--y .chr__body { fill: var(--violet-fill); }
.chr--x .chr__label, .chr--y .chr__label { fill: var(--white); font-size: 8px; }
.chr--hero .chr__band { fill: rgba(10, 23, 48, 0.42); }

.karyotype__halo { fill: none; stroke: var(--lime-bright); stroke-width: 1; opacity: 0.5; }

/* Reveal animation.
   Scoped to .js so that content is visible by default: if the script fails, is
   blocked, or the browser has JS off, nothing is left stranded at opacity 0. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}


/* ---------- In-page sub-navigation ---------- */
.subnav {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: rgba(15, 30, 61, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
  flex: none;
}
.subnav__list { display: flex; align-items: center; gap: var(--space-1); flex: none; }
.subnav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-300);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.subnav__link:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.subnav__link.is-current { color: var(--lime-bright); background: rgba(166, 222, 106, 0.1); }

/* Anchored sections must clear both sticky bars */
[id]:not(body) { scroll-margin-top: 140px; }

/* ---------- Pipeline diagram ----------
   Built from HTML rather than SVG so it reflows to a vertical list on a phone
   instead of shrinking to illegibility. Schematic: no numbers, no measurements. */
.pipeline { margin: 0 0 var(--space-7); }
.pipeline__flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  counter-reset: none;
  flex-wrap: nowrap;
}
.pipeline__stage {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  border-right: 0;
  background: rgba(255, 255, 255, 0.03);
}
.pipeline__stage:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.pipeline__stage:last-child {
  border-right: 1px solid var(--rule);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
/* Chevron between stages */
.pipeline__stage:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--navy-900);
  z-index: 2;
}
.pipeline__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.pipeline__note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}
/* Last stage is the output — give it the accent */
.pipeline__stage:last-child .pipeline__name { color: var(--lime-bright); }

/* On paper bands */
.band--paper .pipeline__stage {
  border-color: rgba(20, 39, 79, 0.16);
  background: var(--white);
}
.band--paper .pipeline__stage:not(:last-child)::after {
  border-color: rgba(20, 39, 79, 0.16);
  background: var(--paper);
}
.band--paper .pipeline__name { color: var(--navy-700); }
.band--paper .pipeline__note { color: #6A7691; }
.band--paper .pipeline__stage:last-child .pipeline__name { color: var(--lime-deep); }

.product__body { display: grid; gap: 0; }

@media (max-width: 900px) {
  .pipeline__flow { flex-direction: column; }
  .pipeline__stage {
    border-right: 1px solid var(--rule);
    border-bottom: 0;
    border-radius: 0;
    padding: var(--space-3) var(--space-4);
  }
  .pipeline__stage:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pipeline__stage:last-child {
    border-bottom: 1px solid var(--rule);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .band--paper .pipeline__stage { border-color: rgba(20, 39, 79, 0.16); }
  /* Chevron rotates to point down the list */
  .pipeline__stage:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -7px;
    transform: translateX(-50%) rotate(135deg);
  }
}


/* ---------- Kit sections (NanoAmp) ---------- */
.kit__head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.kit__iconwrap {
  flex: none;
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lime-bright);
}
.kit__icon { width: 36px; height: 36px; }
.band--paper .kit__iconwrap {
  border-color: rgba(20, 39, 79, 0.16);
  background: var(--white);
  color: var(--violet-deep);
}
.kit__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--lime);
  margin-bottom: var(--space-3);
}
.band--paper .kit__tagline { color: var(--lime-deep); }
.kit__apps {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-300);
}
.band--paper .kit__apps { border-color: rgba(20, 39, 79, 0.16); color: #3B4966; }
.kit__apps-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 4px;
}
.band--paper .kit__apps-label { color: var(--violet-deep); }

/* --------------------------------------------------------------------------
   Per-kit workflow — the brochure's workflow strip, rebuilt in HTML.
   It is always a dark panel, on light and dark bands alike, exactly as it is
   printed in the brochure, so the four icon rings read the same everywhere.
   -------------------------------------------------------------------------- */
.kit__workflow {
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-5) var(--space-4);
  border: 1px solid rgba(124, 160, 255, 0.30);
  border-radius: var(--radius-lg);
  /* solid colour first, gradients layered over it, so the panel still reads as
     dark if gradients fail to paint (and so contrast tooling can measure it) */
  background-color: var(--navy-800);
  background-image:
    radial-gradient(120% 160% at 85% 0%, rgba(144, 60, 240, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(15, 30, 61, 0), rgba(10, 23, 48, 0.9));
}
.kit__workflow-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.kit__workflow-cap {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.kit__locus {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed rgba(124, 160, 255, 0.26);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate-300);
}

/* The strip itself */
.wf { margin: 0; }
.wf__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.wf__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* chevron between stages, sitting in the gap at the height of the rings */
.wf__stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: calc(var(--space-6) / -2 - 5px);
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--violet);
  border-right: 2px solid var(--violet);
  transform: rotate(45deg);
}
.wf__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(124, 160, 255, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(39, 66, 124, 0.55), rgba(15, 30, 61, 0.2));
  color: var(--white);
}
.wf__icon { width: 40px; height: 40px; display: block; }
/* accent fills used inside the stage glyphs */
.wf-v { fill: var(--violet); stroke: var(--violet); }
.wf-c { fill: #5BC8F5; stroke: #5BC8F5; }
.wf-l { fill: var(--lime-bright); stroke: var(--lime-bright); }
.wf__icon .wf-v[stroke="none"], .wf__icon .wf-c[stroke="none"],
.wf__icon .wf-l[stroke="none"] { stroke: none; }
.wf__num {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--violet-fill);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}
.wf__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--lime-bright);
  text-wrap: balance;
}
.wf__note {
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--slate-300);
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  .wf__flow { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); }
  .wf__stage:nth-child(2n)::after { display: none; }
  .wf__stage:not(:last-child)::after { right: calc(var(--space-5) / -2 - 5px); }
}
@media (max-width: 620px) {
  .kit__workflow { padding: var(--space-4) var(--space-4) var(--space-3); }
  .wf__flow { grid-template-columns: 1fr; gap: var(--space-6); }
  .wf__stage { flex-direction: row; align-items: center; text-align: left; flex-wrap: wrap; }
  .wf__ring { width: 58px; height: 58px; margin: 0 var(--space-3) 0 0; flex: 0 0 auto; }
  .wf__icon { width: 32px; height: 32px; }
  .wf__name { flex: 1 1 0; min-width: 0; }
  .wf__note { flex: 1 1 100%; margin-left: calc(58px + var(--space-3)); }
  .wf__stage:not(:last-child)::after,
  .wf__stage:nth-child(2n)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: calc(var(--space-6) / -2 - 5px);
    left: 29px;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* Research Use Only notice — a regulatory statement, so it is given its own frame */
.ruo {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border: 1px solid rgba(20, 39, 79, 0.2);
  border-left: 3px solid var(--violet-fill);
  border-radius: var(--radius);
  background: rgba(144, 60, 240, 0.05);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--navy-700);
  max-width: var(--measure);
}

/* ---------- NanoAmp poster (the brochure cover) ---------- */
.posterfig { margin: 0; }
.posterfig__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-firm);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

/* ---------- Legacy CSS poster (kept for reference) ---------- */
.poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule-firm);
  background:
    radial-gradient(520px 420px at 78% 12%, rgba(29, 52, 102, 0.85), transparent 62%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 62%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}
.poster__inner { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.poster__head { display: flex; align-items: center; gap: var(--space-3); }
.poster__logo { width: 34px; height: 34px; border-radius: 50%; background: var(--white); flex: none; }
.poster__brand {
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
  color: var(--white); line-height: 1.1;
}
.poster__kicker {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate-400);
}
.poster__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--white); margin: var(--space-2) 0 0;
}
.poster__sub {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime-bright);
}
.poster__kits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.poster__kit {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--space-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.poster__kit-icon { color: var(--lime-bright); display: block; margin-bottom: 4px; }
.poster__kit-icon .kit__icon { width: 26px; height: 26px; }
.poster__kit-name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.86rem;
  letter-spacing: -0.01em; color: var(--white);
}
.poster__kit-target {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em;
  color: var(--slate-300);
}
.poster__flow {
  /* A 2x2 grid with counters rather than an arrow row: arrows break the moment
     the row wraps, and these four steps are a sequence, so numbers carry it. */
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3);
  counter-reset: pstep;
  padding-top: var(--space-3); border-top: 1px solid var(--rule);
}
.poster__step {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2);
  align-items: baseline;
}
.poster__step::before {
  counter-increment: pstep;
  content: counter(pstep, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.58rem; color: var(--violet);
}
.poster__step-name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; color: var(--lime);
}
.poster__step-note {
  /* Third child of a 2-column grid: without this it lands in the counter column
     and wraps to a few characters wide. */
  grid-column: 2;
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.06em;
  color: var(--slate-400); line-height: 1.4;
}
.poster__ruo {
  font-family: var(--font-mono); font-size: 0.56rem; line-height: 1.55;
  color: var(--slate-400); border-top: 1px solid var(--rule); padding-top: var(--space-3);
}

@media (max-width: 1024px) {
  .poster { max-width: 460px; }
}
@media (max-width: 480px) {
  .kit__head { gap: var(--space-3); }
  .kit__iconwrap { width: 56px; height: 56px; }
  .kit__icon { width: 30px; height: 30px; }
  .poster__kits { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), transform 220ms var(--ease);
}
.card:hover { border-color: rgba(140, 196, 92, 0.55); background: rgba(255, 255, 255, 0.06); transform: translateY(-3px); }
.card__icon { width: 38px; height: 38px; color: var(--lime); flex: none; }
.card__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: -6px;
}
.card__title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.card__body { color: var(--slate-300); font-size: 0.98rem; line-height: 1.62; }
.card__foot { margin-top: auto; padding-top: var(--space-2); }

.card--paper {
  background: var(--white);
  border-color: rgba(20, 39, 79, 0.14);
  box-shadow: 0 1px 2px rgba(10, 23, 48, 0.05);
}
.card--paper:hover { border-color: rgba(20, 39, 79, 0.36); background: var(--white); }
.card--paper .card__body { color: #3B4966; }
.card--paper .card__icon { color: var(--violet-deep); }
.card--paper .card__title { color: var(--navy-700); }

/* Feature list with hairline rules — structure that reads as a spec sheet */
.speclist { border-top: 1px solid var(--rule); }
.speclist__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.speclist__key {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime);
  padding-top: 4px;
}
.speclist__val { color: var(--slate-300); font-size: 1rem; line-height: 1.68; }
.speclist--onpaper { border-color: rgba(20, 39, 79, 0.16); }
.speclist--onpaper .speclist__row { border-color: rgba(20, 39, 79, 0.16); }
.speclist--onpaper .speclist__key { color: var(--violet-deep); }
.speclist--onpaper .speclist__val { color: #37456B; }

/* Numbered process — numbering used only where order genuinely carries meaning */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.steps__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.steps__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-900);
  background: var(--lime-bright);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.steps__title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: var(--space-2); }
.steps__body { color: var(--slate-300); font-size: 0.98rem; }
.steps--onpaper .steps__body { color: #3B4966; }
.steps--onpaper .steps__title { color: var(--navy-700); }
.steps--onpaper .steps__item::before { background: var(--navy-700); color: var(--white); }

/* Ticked capability list */
.ticks { display: grid; gap: var(--space-3); }
.ticks__item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ticks__mark { width: 18px; height: 18px; color: var(--lime); margin-top: 4px; }
.ticks__text { color: var(--slate-300); font-size: 0.98rem; }
.ticks--onpaper .ticks__mark { color: var(--lime-deep); }
.ticks--onpaper .ticks__text { color: #3B4966; }

/* Split layout */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }

/* Pull quote / thesis strip */
.thesis {
  border-left: 3px solid var(--lime-bright);
  padding-left: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

/* Company fact strip — concrete proof there is an organisation behind the copy */
.factstrip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(20, 39, 79, 0.16);
}
.factstrip__item { display: flex; flex-direction: column; gap: 3px; }
.factstrip__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.factstrip__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--navy-700);
}

/* Standing caution under the free-text field on the contact form */
.field__caution {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--slate-300);
  border-left: 2px solid var(--violet);
  padding-left: var(--space-3);
  margin-top: var(--space-1);
}

/* Placeholder marker — makes every unfilled fact obvious */
.placeholder {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--navy-900);
  background: var(--lime-bright);
  padding: 1px 7px;
  border-radius: 3px;
  font-weight: 500;
  /* Must wrap: some of these run long, and nowrap pushes the page sideways. */
  white-space: normal;
  overflow-wrap: anywhere;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); }
.field__label { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.field__hint { font-size: 0.82rem; color: var(--slate-400); }
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rule-firm);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.field__textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--slate-300); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  border-color: var(--lime-bright);
  background: rgba(255, 255, 255, 0.08);
}
.field__input::placeholder, .field__textarea::placeholder { color: rgba(168, 179, 201, 0.65); }
.field__select {
  appearance: none;
  padding-right: var(--space-7);
  /* Chevron drawn inline so the control still looks like a dropdown */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8B3C9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 18px 18px;
  cursor: pointer;
}
.field__select option { background: var(--navy-800); color: var(--white); }

.form__intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-300);
  margin-bottom: var(--space-5);
  max-width: 60ch;
}
.form__intro a { color: var(--lime-bright); }

.field__optional { font-weight: 400; color: var(--slate-400); }

.field__error[hidden] { display: none; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.86rem;
  font-weight: 500;
  color: #FFC4C4;
}
.field__error::before {
  content: "!";
  flex: none;
  width: 17px; height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: #E5484D;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: #E5484D;
  background: rgba(229, 72, 77, 0.08);
}

.form__note:empty { display: none; }
.form__note {
  font-size: 0.86rem;
  color: var(--slate-400);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-3);
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--navy-900);
  border-top: 1px solid var(--rule);
  padding-block: var(--space-7) var(--space-5);
}
.site-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.15fr 200px;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--rule);
}
.site-foot__blurb { color: var(--slate-400); font-size: 0.95rem; margin-top: var(--space-4); max-width: 40ch; }
.site-foot__head {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: var(--space-3);
}
.site-foot__list { display: grid; gap: var(--space-2); }
.site-foot__link {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}
.site-foot__link:hover { color: var(--lime-bright); text-decoration: underline; text-underline-offset: 3px; }
/* Social links — 44px targets, brand glyphs inherit currentColor */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  color: var(--slate-300);
  text-decoration: none;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              background-color 180ms var(--ease), transform 180ms var(--ease);
}
.social__link svg { width: 19px; height: 19px; }
.social__link:hover {
  color: var(--navy-900);
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  transform: translateY(-2px);
}

.site-foot__legal {
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .karyotype { max-width: 520px; margin-inline: auto; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--space-6); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-800);
    border-bottom: 1px solid var(--rule);
    padding: var(--space-3) var(--space-4) var(--space-5);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .site-nav__link { min-height: 52px; padding-inline: var(--space-3); }
  .site-nav__cta { margin-left: 0; margin-top: var(--space-3); }
  .site-nav__cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .grid--3 { grid-template-columns: 1fr; }
}

/* Below the nav breakpoint the utility strip is dropped entirely: on a phone
   the page should start at the logo, and these links all repeat in the footer. */
@media (max-width: 860px) {
  .topbar { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .factstrip { gap: var(--space-4); margin-top: var(--space-6); }
  .band { padding-block: var(--space-7); }
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .speclist__row { grid-template-columns: 1fr; gap: var(--space-2); }
  /* Two columns rather than one long stack: halves the scroll on a phone. */
  .site-foot { padding-block: var(--space-6) var(--space-4); }
  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-4);
    padding-bottom: var(--space-5);
  }
  .site-foot__brandcol { grid-column: 1 / -1; }
  .site-foot__social { grid-column: 1 / -1; }
  .site-foot__blurb { margin-top: var(--space-3); }
  .site-foot__link { min-height: 30px; font-size: 0.92rem; }
  .site-foot__legal { font-size: 0.8rem; }
  .band--cut-top { clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; }
  .hero::after { height: 40px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .social__link:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-head, .nav-toggle, .karyotype { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Production pass — commercial structure components.
   Everything below reuses the existing tokens: no new colours, no new fonts.
   ========================================================================== */

/* ---------- Homepage offering cards (4-up) ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.offer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease),
              transform 220ms var(--ease);
}
.offer--paper {
  border-color: rgba(20, 39, 79, 0.16);
  background: #fff;
}
.offer:hover { border-color: rgba(140, 196, 92, 0.55); transform: translateY(-3px); }
.offer--paper:hover { border-color: var(--lime-fill); background: #fff; }
.offer__icon { width: 34px; height: 34px; color: var(--lime); flex: none; }
.offer--paper .offer__icon { color: var(--lime-deep); }
.offer__kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin: 0;
}
.offer--paper .offer__kicker { color: #6A7691; }
.offer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}
.offer--paper .offer__title { color: var(--navy-700); }
.offer__body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.offer--paper .offer__body { color: #3B4966; }
.offer__foot { margin: auto 0 0; padding-top: var(--space-2); }
.offer--paper .offer__foot .link-arrow { color: var(--violet-deep); }

@media (max-width: 1080px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .offers { grid-template-columns: 1fr; } }

/* ---------- Who we work with ---------- */
.audience {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.audience__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--space-3);
  border-top: 2px solid var(--lime-fill);
}
.audience__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.audience__note { font-size: 0.88rem; line-height: 1.55; color: var(--fg-muted); }

@media (max-width: 860px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Proof strip ---------- */
.prooflist {
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.prooflist__item { display: flex; flex-direction: column; gap: 4px; }
.prooflist__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.prooflist__value { font-size: 0.92rem; line-height: 1.5; color: var(--fg); }

@media (max-width: 860px) { .prooflist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .prooflist { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Analysis capability cards ---------- */
.acards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.acard {
  padding: var(--space-4);
  border: 1px solid rgba(20, 39, 79, 0.16);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.acard:hover { border-color: var(--lime-fill); transform: translateY(-2px); }
.acard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--navy-700);
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
.acard__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #3B4966;
  text-wrap: pretty;
}

@media (max-width: 1080px) { .acards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .acards { grid-template-columns: 1fr; } }

/* ---------- Callout (custom analysis prompt) ---------- */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.04);
}
.callout--onpaper {
  border-color: rgba(107, 33, 199, 0.28);
  background: rgba(144, 60, 240, 0.05);
}
.callout__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 6px;
}
.callout--onpaper .callout__title { color: var(--navy-700); }
.callout__body { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--fg-muted); max-width: 56ch; }
.callout--onpaper .callout__body { color: #3B4966; }

/* ---------- Contextual cross-link ---------- */
.crosslink {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(20, 39, 79, 0.16);
  font-size: 0.94rem;
  color: #3B4966;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}
.crosslink .link-arrow { color: var(--violet-deep); font-size: 0.94rem; }
.crosslink--ondark { border-top-color: var(--rule); color: var(--fg-muted); }
.crosslink--ondark .link-arrow { color: var(--lime-bright); }

/* ---------- At-a-glance spec row (software) ---------- */
.speclite {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.speclite--onpaper { border-color: rgba(20, 39, 79, 0.16); }
.speclite__key {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 6px;
}
.speclite--onpaper .speclite__key { color: var(--violet-deep); }
.speclite__val { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--fg-muted); }
.speclite--onpaper .speclite__val { color: #3B4966; }

@media (max-width: 860px) { .speclite { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .speclite { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq--onpaper { border-top-color: rgba(20, 39, 79, 0.16); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq--onpaper .faq__item { border-bottom-color: rgba(20, 39, 79, 0.16); }
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--fg);
}
.faq--onpaper .faq__q { color: var(--navy-700); }
.faq__q::-webkit-details-marker { display: none; }
/* Chevron drawn in CSS so the marker matches the rest of the system */
.faq__q::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
}
.faq--onpaper .faq__q::before { border-color: var(--lime-deep); }
.faq__item[open] > .faq__q::before { transform: rotate(-135deg); margin-top: 11px; }
.faq__q:hover { color: var(--lime-bright); }
.faq--onpaper .faq__q:hover { color: var(--violet-deep); }
.faq__q:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: var(--radius); }
.faq__a { padding: 0 0 var(--space-4) calc(9px + var(--space-3)); }
.faq__a p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 72ch;
  text-wrap: pretty;
}
.faq--onpaper .faq__a p { color: #3B4966; }

/* ---------- Standalone Research Use Only notice ---------- */
.ruo--standalone {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}
.ruo__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

/* ---------- Per-kit enquiry CTA ---------- */
.kit__cta { margin-top: var(--space-5); }

/* ---------- Long-form prose (privacy notice) ---------- */
.prose-block { max-width: 74ch; }
.prose-block .title-md { margin: var(--space-7) 0 var(--space-3); color: var(--navy-700); }
.prose-block .title-md:first-child { margin-top: 0; }
.prose-block .prose { margin: 0; color: #3B4966; line-height: 1.75; }
.prose-block a { color: var(--violet-deep); }

/* ---------- Form additions ---------- */
.form__legal {
  margin: var(--space-4) 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--slate-400);
}
.form__legal a { color: var(--lime-bright); }
/* Honeypot: off-screen rather than display:none, because some bots skip
   hidden inputs but not positioned ones. Never focusable, never announced. */
.u-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form status colour-codes the outcome, but never by colour alone — the
   wording says what happened too. */
.form__note.is-good { color: var(--lime-bright); border-top-color: rgba(140, 196, 92, 0.45); }
.form__note.is-bad  { color: #FFB4A8; border-top-color: rgba(255, 180, 168, 0.45); }
