/* sparksoft.ai — token system derived from the SparkSoft mark. */

:root {
  /* logo-derived palette */
  --navy-deep: #1b2559;
  --navy: #25336f;
  --cobalt: #2f7fc9;
  /* cobalt tuned for TEXT on the light grounds: #2f7fc9 sits at ~4.0:1
     on paper (below AA). Fills, borders, large type and the SVG traces
     keep raw cobalt. */
  --cobalt-text: #2766a8;
  --cobalt-mid: #3f96d6;
  --sky: #7cc9ea;
  --sky-soft: #a9dcf2;

  /* ground + ink */
  --paper: #fbfaf7;
  --ink: #16203f;
  --ink-2: #44506e;
  --ink-3: #626e8a; /* darkest "muted": 4.9:1 on paper, 4.6:1 on tint */
  --hairline: #d9dce6;
  --band-ink: #10173a;

  /* type */
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "Courier New", monospace;

  --measure: 62ch;
  /* Below 1552px this is the normal responsive gutter. Above it the
     gutter grows instead, so content caps at --measure-max and centres
     while section backgrounds still span the full viewport. */
  --content-max: 1440px;
  --pad-x: max(clamp(20px, 5vw, 56px), calc((100% - var(--content-max)) / 2));
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt-text); text-decoration: none; }
a:hover { color: var(--navy-deep); }
/* state feedback, not decoration: hovers ease instead of snapping.
   The reduced-motion block above still zeroes these. */
a, button { transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 0; color: #fff; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
  border-radius: 2px;
}

.eyebrow {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--cobalt-text);
  font-weight: 700;
  text-transform: uppercase;
}
.mono-note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ── header ─────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px var(--pad-x);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
/* the OFFICIAL lockup (mark + outlined wordmark in the brand's own
   letterforms) — never typeset the name in a web font beside the mark */
.brand img { height: 52px; width: auto; }
@media (max-width: 640px) { .brand img { height: 40px; } }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
/* Home appears only in the collapsed menu: on desktop the logo is the
   home link and the nav has no width to spare */
.site-nav .nav-home { display: none; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--navy-deep); }
.site-nav a[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
}
.cta {
  background: var(--cobalt-text);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}
.cta:hover { background: var(--navy-deep); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}

/* ── hero ───────────────────────────────────────────────────────────── */
/* The strapline is the vision statement, not a machine annotation: set
   in the body face so it sits with the paragraph below it, leaving the
   mono voice to the grid's own trace labels. */
.hero-tagline {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cobalt-text);
}
.hero {
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, rgba(27,37,89,0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(27,37,89,0.045) 0 1px, transparent 1px 28px);
}
/* Decorative industrial backdrop in the open corner, multiply-blended
   into the paper and dissolved by a radial mask before the copy.
   Pseudo-element: invisible to screen readers. */
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: min(72%, 940px);
  height: 118%;
  background-image: url("../assets/backdrop/inspection-cell.jpg");
  background-image: image-set(
    url("../assets/backdrop/inspection-cell.webp") type("image/webp"),
    url("../assets/backdrop/inspection-cell.jpg") type("image/jpeg"));
  background-size: cover;
  /* cover-crop of a 2.15:1 frame: right-top keeps the right arm
     cluster in the strip ABOVE the product card, where the page is open */
  background-position: right top;
  mix-blend-mode: multiply;
  opacity: 0.65;
  -webkit-mask-image: radial-gradient(ellipse 105% 100% at top right, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 105% 100% at top right, #000 30%, transparent 78%);
  pointer-events: none;
}
@media (max-width: 1024px) {
  /* single-column hero: the corner keeps to the top so it never sits
     under the copy */
  .hero::before { width: 100%; height: 46%; opacity: 0.45; }
}
.hero-grid { position: relative; z-index: 2; }
.hero-trace { z-index: 1; }
.hero-trace {
  position: absolute; inset: 0 0 auto 0; width: 100%; pointer-events: none;
  /* The trace is the signature, but it must never cross the copy: at
     wide viewports the dashed path ran straight through the Innovate UK
     line. Fade it out over the text column; full strength behind the
     product shot. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 58%);
}
.hero-trace .draw {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: trace-draw 2.2s ease-out 0.3s forwards;
}
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-trace .draw { stroke-dashoffset: 0; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  padding: clamp(20px, 2.6vw, 34px) var(--pad-x) clamp(16px, 2vw, 26px);
  /* center: the three-card evidence stack is deliberately taller than
     the copy, and a vertically centered copy block reads as composed
     where a top-pinned one left the left column looking cut short */
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
/* the credential hugs the CTAs it backs up */
.hero-cred { margin: -10px 0 0; }
/* two deliberate lines: the promise, then the differentiator in cobalt */
h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 em { font-style: normal; color: var(--cobalt); display: block; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 47ch; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--navy-deep);
  color: #fff !important;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(27,37,89,0.28);
  display: inline-block;
}
.btn-primary:hover { background: var(--cobalt); }
/* navy button disappears on the navy bands — invert it there */
.band-dark .btn-primary, .band-programme .btn-primary {
  background: #fff;
  color: var(--navy-deep) !important;
  box-shadow: none;
}
.band-dark .btn-primary:hover, .band-programme .btn-primary:hover { background: var(--sky-soft); }
.link-arrow {
  color: var(--cobalt-text);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
}
.hero-shot { display: flex; flex-direction: column; gap: 10px; }
.hero-shot figure { margin: 0; }
.shot-frame {
  border: 1px solid #cfd6e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(27,37,89,0.18);
  background: #fff;
  transform: rotate(0.6deg);
}

/* ── section scaffolding ────────────────────────────────────────────── */
section { scroll-margin-top: 88px; }
/* every section opens the same way — mono eyebrow, then the headline —
   so the page's areas (product / how it works / research / programme /
   contact) announce themselves */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sequence .eyebrow { margin-bottom: 12px; }
/* capped below the hero h1 (fit-derived, ~35-39px on laptops) so the
   page keeps a real hierarchy: section titles never outrank the hero */
h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  margin: 0;
}

/* ── dark ledger band ───────────────────────────────────────────────── */
.band-dark {
  background: var(--band-ink);
  color: #dfe6f5;
  padding: clamp(34px, 4.6vw, 52px) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.band-dark h2 { color: #fff; }
.band-dark .eyebrow { color: var(--sky); }
/* lead paragraph and links on the dark bands */
.band-lead { margin: 0; font-size: 15px; line-height: 1.65; color: #aab8da; max-width: 74ch; }
.link-arrow-dark { color: var(--sky); font-weight: 600; border-bottom: 2px solid #33406f; padding-bottom: 2px; }
.link-arrow-dark:hover { color: var(--sky-soft); }
.capability-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.capability { border-left: 2px solid var(--cobalt); padding-left: 18px; }
.capability:nth-of-type(2) { border-color: #5cb4e4; }
.capability:nth-of-type(3) { border-color: var(--sky); }
.capability h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; font-family: var(--f-body); }
.capability p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #aab8da; }
/* scope, stated plainly: images today, tabular and text next.
   A short editorial dash, not a full rule — a 72ch border reads as
   an accident against the 3-column grid above. */
.band-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #8fa0c8;
  max-width: 72ch;
}
.band-note::before {
  content: "";
  display: block;
  width: 56px;
  border-top: 1px solid #3a4884;
  margin-bottom: 18px;
}

/* ── numbered sequence ──────────────────────────────────────────────── */
.sequence { padding: clamp(48px, 7vw, 74px) var(--pad-x); }
.sequence h2 { max-width: 20ch; margin-bottom: 36px; }
.seq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 3px solid var(--navy-deep);
}
.seq-step {
  padding: 28px 26px 16px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seq-step:first-child { padding-left: 0; }
.seq-step:last-child { border-right: 0; padding-right: 0; }
.seq-num { font-family: var(--f-display); font-weight: 600; font-size: 56px; line-height: 1; }
.seq-step h3 { margin: 0; font-size: 18px; font-weight: 700; font-family: var(--f-body); }
.seq-step p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ── tinted band + intro/content split ──────────────────────────────── */
/* a distinct tinted area of the page; pair with .split-2 for the
   intro-column + content layout */
.band-tint {
  padding: clamp(44px, 6vw, 64px) var(--pad-x);
  background: #eef4fa;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.split-2 {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
}
.intro-col { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
/* the paper hairline all but vanishes on the tint — one step darker */
.band-tint .record-row { border-bottom-color: #c9d3e4; }

/* ── programme band ─────────────────────────────────────────────────── */
.band-programme {
  background: var(--navy-deep);
  color: #e8ecf7;
  padding: clamp(44px, 6vw, 60px) var(--pad-x);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* font-size repeated here: .programme-copy p (0,1,1) would otherwise
   out-rank .eyebrow (0,1,0) and blow the label up to 15px */
.band-programme .eyebrow { color: var(--sky); font-size: 12.5px; line-height: 1.6; }
.band-programme h2 { color: #fff; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.25; }
.programme-copy { display: flex; flex-direction: column; gap: 14px; position: relative; }
.programme-copy p { margin: 0; font-size: 15px; color: #aeb9d6; line-height: 1.65; }
.programme-copy strong { color: #e8ecf7; }
.funder-rail {
  border-left: 1px solid #33406f;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.funder-rail .eyebrow { font-size: 11px; }
.funder-marks {
  /* only two funders: the chip hugs them instead of slabbing the rail.
     The Innovate UK lockup is PORTRAIT and the UKRI lockup is wide —
     each gets its natural height, a hairline divider carries the pair. */
  display: inline-flex; width: fit-content;
  gap: 20px; align-items: center;
  /* centred in the rail: the chip hugging the left edge left the right
     half of the column looking vacant */
  align-self: center;
  background: #fff; border-radius: 6px; padding: 14px 20px;
}
.funder-iuk { height: 76px; width: auto; }
.funder-ukri { height: 34px; width: auto; }
.funder-divider { width: 1px; align-self: stretch; background: #dcdfeb; }
.funder-note { font-size: 13px; color: #8fa0c8; line-height: 1.6; }
.prog-trace { position: absolute; right: -40px; bottom: -30px; width: 500px; opacity: 0.14; pointer-events: none; }

/* ── collaborators ──────────────────────────────────────────────────── */
.collaborators {
  padding: 38px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.collab-label { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; white-space: nowrap; }
/* label ABOVE the row, so all 8 marks share one full-width line and can
   afford real size; below 1100px they wrap rather than overflow */
.collab-logos { display: flex; gap: clamp(18px, 2.2vw, 36px); align-items: center; flex-wrap: nowrap; width: 100%; justify-content: space-between; }
/* fixed height (not max-height) so the width/height attributes'
   aspect ratio reserves each logo's box BEFORE lazy-load fires —
   no empty band, no layout shift */
.collab-logos img {
  height: clamp(34px, 3vw, 42px);
  width: auto;
}
/* Equal PERCEIVED mass, not equal pixels. Height is set per mark from
   its aspect ratio and how fine its lettering is: a near-square emblem
   with small type (ADAS) needs far more height than a wide bold
   wordmark (Fera) to read as the same size. Dropping from eight marks
   to six freed the width for all of them to grow. */
.collab-logos img[src*="adas"]         { height: clamp(52px, 4.6vw, 68px); }  /* 1.1:1, fine type */
.collab-logos img[src*="alan-turing"]  { height: clamp(44px, 4vw, 58px); }    /* 2.4:1, stacked   */
.collab-logos img[src*="UOS"]          { height: clamp(44px, 4vw, 58px); }    /* 2.5:1, crest     */
.collab-logos img[src*="harper-adams"] { height: clamp(44px, 3.9vw, 56px); }  /* 2.9:1            */
.collab-logos img[src*="AMRC"]         { height: clamp(34px, 3vw, 42px); }    /* 5.5:1, widest    */
.collab-logos img[src*="Fera"]         { height: clamp(28px, 2.5vw, 36px); }  /* 2.6:1, bold      */
@media (max-width: 1100px) {
  .collab-logos { flex-wrap: wrap; justify-content: flex-start; }
}

/* ── contact page ───────────────────────────────────────────────────── */
.contact-email {
  font-family: var(--f-mono);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
}

/* ── research page ──────────────────────────────────────────────────── */
.page-narrow { max-width: 900px; margin: 0 auto; padding: clamp(40px, 6vw, 56px) var(--pad-x); display: flex; flex-direction: column; gap: 28px; }
.record-list { border-top: 2px solid var(--navy-deep); }
.record-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}
/* h2 on the research page (nothing between the h1 and these rows),
   h3 on the home page where they sit under a section h2 */
.record-row h2, .record-row h3 { margin: 0; font-family: var(--f-mono); font-weight: 700; font-size: 14px; line-height: 1.6; }
.record-row p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .band-programme { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; gap: 28px; }
  .funder-rail { border-left: 0; padding-left: 0; border-top: 1px solid #33406f; padding-top: 24px; }
}
/* six nav items + CTA: collapse earlier than the old two-link nav did,
   or the 900-1080px range crowds and wraps the CTA */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--pad-x) 20px;
    gap: 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-home { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 768px) {
  .capability-row { grid-template-columns: 1fr; gap: 24px; }
  .seq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top-width: 2px; }
  .seq-step:nth-child(2) { border-right: 0; padding-right: 0; }
  .seq-step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--hairline); }
  .seq-step:nth-child(4) { border-top: 1px solid var(--hairline); }
  .record-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 480px) {
  .seq-grid { grid-template-columns: 1fr; }
  .seq-step { border-right: 0 !important; padding-left: 0; padding-right: 0; }
  .seq-step + .seq-step { border-top: 1px solid var(--hairline); }
}

/* ── multi-page structure (2026-08 platform relaunch) ──────────────── */

/* sub-page header: same blueprint grid as the hero, so every page
   opens in the family voice */
.page-head {
  background-image:
    repeating-linear-gradient(0deg, rgba(27,37,89,0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(27,37,89,0.045) 0 1px, transparent 1px 28px);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(36px, 5vw, 54px) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  max-width: 26ch;
}
.lede { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }

/* generic section scaffolding for the sub-pages */
.section { padding: clamp(44px, 6vw, 64px) var(--pad-x); }
.section-intro { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.section-intro p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }

/* cards: product journey, capabilities, packs, contact invites */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* h2 where the cards are the page's primary sections (contact),
   h3 where they sit under a section h2 */
.card h2, .card h3 { margin: 0; font-size: 17px; font-weight: 700; font-family: var(--f-body); line-height: 1.4; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.card ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.card .link-arrow { font-size: 14.5px; margin-top: auto; align-self: flex-start; }
.step-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--cobalt-text);
}

/* Decision Evidence Record chain — an <ol> on the dark ledger band */
.der-chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.der-step {
  border: 1px solid #33406f;
  background: #182050;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.der-step .n { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--sky); letter-spacing: 0.08em; }
.der-step strong { font-size: 13px; color: #fff; line-height: 1.35; }
.der-step p { margin: 0; font-size: 12px; line-height: 1.5; color: #aab8da; }

/* spec tables (record contents, evidence by modality) */
.table-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.spec-table th {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  border-bottom: 2px solid var(--navy-deep);
  padding: 0 18px 10px 0;
}
.spec-table td { border-bottom: 1px solid var(--hairline); padding: 14px 18px 14px 0; vertical-align: top; color: var(--ink-2); line-height: 1.6; }
.spec-table td:first-child { color: var(--ink); font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* positioning statements (LLM stance, standards honesty) */
.statement {
  border-left: 3px solid var(--cobalt);
  background: #fff;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 74ch;
}

/* shared footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 30px var(--pad-x) 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.8;
}
.site-footer .col { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.site-footer a { color: var(--ink-2); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--navy-deep); }

@media (max-width: 1024px) {
  .der-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .der-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── hero evidence stack (2026-08 direction A: evidence, three ways) ──
   Three explanation artifacts — image, table, document — threaded on a
   left rail, replacing the single dashboard screenshot. Values in the
   table/document cards are illustrative and say so. */
.hero-evidence {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
}
.hero-evidence::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 44px;
  width: 2px;
  background: var(--hairline);
}
.ev-card {
  position: relative;
  background: #fff;
  border: 1px solid #cfd6e6;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(27,37,89,0.10);
  overflow: hidden;
}
/* the rail nodes echo the hero trace's markers, one hue step per card */
.ev-card::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cobalt);
}
.ev-card:nth-child(2)::before { background: var(--cobalt-mid); }
.ev-card:nth-child(3)::before { background: var(--sky); }
.ev-card:nth-child(1) { transform: rotate(-0.4deg); }
.ev-card:nth-child(2) { transform: rotate(0.3deg); }
.ev-card:nth-child(3) { transform: rotate(-0.3deg); }
.ev-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ev-chip {
  color: var(--cobalt-text);
  border: 1px solid var(--sky-soft);
  border-radius: 3px;
  padding: 2px 8px;
  white-space: nowrap;
}
/* A fixed max-height clipped a CONSTANT number of pixels while the image
   scaled with the column, so the wider the screen the less of the shot
   survived (~76% on a laptop, ~33% on an ultrawide). An aspect-ratio
   window crops the same PROPORTION at every width. */
.ev-shot { aspect-ratio: 1400 / 437; overflow: hidden; }
.ev-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left top; }
.ev-note {
  margin: 0;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.ev-attrs { display: flex; flex-direction: column; gap: 8px; padding: 13px 14px; }
.attr-row { display: flex; align-items: center; gap: 10px; }
.attr-label { flex: 0 0 158px; font-size: 12.5px; color: var(--ink-2); }
.attr-track { flex: 1 1 0; height: 12px; background: #eef2f8; display: block; }
.attr-fill { display: block; height: 12px; background: var(--cobalt); }
.attr-fill-2 { background: var(--sky); }
.attr-fill-neg { background: var(--navy); opacity: 0.55; }
.attr-val {
  flex: 0 0 44px;
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--cobalt-text);
}
.attr-val-neg { color: var(--ink-2); }
.ev-doc { padding: 11px 14px 13px; }
.ev-doc p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.ev-doc mark {
  background: var(--sky-soft);
  box-shadow: inset 0 -2px 0 var(--cobalt);
  color: inherit;
  padding: 0 2px;
}
.ev-cites { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.ev-cites span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: var(--ink-3);
  padding: 2px 8px;
}
.ev-foot {
  margin: 2px 0 0;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.ev-foot strong { color: var(--cobalt-text); font-weight: 500; }
@media (max-width: 1024px) {
  /* single column: the stack follows the copy at full width */
  .hero-evidence { max-width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-card { transform: none !important; }
}

/* ── modality band: one contract, four kinds of data ────────────────── */
.band-modality .modality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.mod-tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid #3a4884;
  padding-top: 16px;
  color: var(--sky);
}
.mod-tile h3 { margin: 0; font-size: 15.5px; font-weight: 600; color: #fff; font-family: var(--f-body); }
.mod-tile p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #aab8da; }
@media (max-width: 1024px) {
  .band-modality .modality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .band-modality .modality-grid { grid-template-columns: 1fr; }
}

/* ── products page-head: adoption path fills the right column ───────── */
.page-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.page-head-copy { display: flex; flex-direction: column; gap: 14px; }
.adopt-rail { display: flex; flex-direction: column; }
.adopt-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--hairline);
  color: inherit;
}
.adopt-step + .adopt-step { margin-top: -1px; }
.adopt-step:hover { border-color: var(--cobalt); position: relative; z-index: 1; color: inherit; }
.adopt-step:hover .adopt-arrow { color: var(--cobalt-text); transform: translateX(3px); }
.adopt-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt-text);
  flex: 0 0 auto;
}
.adopt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.adopt-body strong { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.adopt-body span { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.adopt-arrow {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 18px;
  transition: transform 0.18s ease, color 0.18s ease;
}
@media (max-width: 1024px) {
  .page-head-split { grid-template-columns: 1fr; align-items: start; }
}

/* ── Assure intro: the per-data-type evidence forms fill the right column ── */
.intro-split {
  display: grid;
  /* same column split as .page-head-split so the evidence-forms card
     aligns exactly with the adoption rail above it */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.intro-split-copy { display: flex; flex-direction: column; gap: 12px; }
.intro-split-copy p { margin: 0; }
.evidence-forms {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 20px 22px 8px;
}
.ef-title {
  margin: 0 0 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.ef-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}
.ef-key { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.ef-row p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1024px) {
  .intro-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ef-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ── live-engagement note inside a solution pack intro ──────────────── */
.engagement-note {
  border: 1px solid var(--sky-soft);
  background: #f2f9fd;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.engagement-note p { margin: 0; }
.engagement-note p:not(.step-tag) { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
