/* Vital Clinical Solutions website
   The look follows the current site: a page-long blue-violet gradient (#667EEA to #764BA2)
   behind alternating black and see-through sections, moving white line networks, a hero
   with a looping background video at 60% opacity, periwinkle hero titles, Comfortaa
   taglines, periwinkle glass cards and violet step cards. Changes from the current site
   are for legibility only: a light shade over the gradient and slightly deeper cards and
   buttons, so white text meets WCAG AA contrast. */

/* Fonts served from this site: the same faces Google Fonts declared, latin and latin-ext only (downloaded October 2, 2026; see assets/fonts/FONTS.md) */
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/comfortaa-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/comfortaa-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/comfortaa-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Comfortaa'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/comfortaa-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/roboto-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/roboto-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/roboto-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/roboto-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.94);
  --label: rgba(255, 255, 255, 0.92);
  --periwinkle: #6385DF;
  --periwinkle-light: #A9BCF5;
  --violet: #5A4C9F;
  --grad-from: #667EEA;
  --grad-to: #764BA2;
  --grad-base: #426BD7;
  --grad-shade: rgba(10, 12, 40, 0.34);
  --card-bg: rgba(52, 72, 170, 0.58);
  --card-border: #6385DF;
  --btn-bg: #4F6CD8;
  --btn-bg-hover: #6385DF;
  --header-cta: #212121;
  --link-on-dark: #D3DDFF;
  --panel-bg: #FFFFFF;
  --panel-text: #1B2340;
  --panel-muted: #586078;
  --panel-line: #E1E4EE;
  --panel-soft: #F3F5FB;
  --panel-accent: #3552C4;
  --net-rgb: 255, 255, 255;

  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-label: "Comfortaa", "Roboto", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --header-h: 76px;
  --measure: 68ch;
  --radius: 16px;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px;
  --section-pad: clamp(56px, 7vw, 88px);
}

:root[data-accent="purple"] {
  --periwinkle: #B9AEEE;
  --periwinkle-light: #CFC8EC;
  --violet: #4B3799;
  --grad-from: #3A2596;
  --grad-to: #2D187B;
  --grad-base: #2D187B;
  --card-bg: rgba(28, 16, 88, 0.55);
  --card-border: #8C7FD8;
  --btn-bg: #5A45B8;
  --btn-bg-hover: #6E5AD0;
  --link-on-dark: #E2DCFF;
  --panel-accent: #2D187B;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); font-size: 20px; }
body {
  margin: 0;
  background-color: var(--grad-base);
  background-image: linear-gradient(135deg, var(--grad-from) 0%, var(--grad-to) 100%);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 719px) { html { font-size: 18px; } }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link-on-dark); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid #FFD66B; outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; color: var(--white); }
h1, h2, h3, h4, p, li { overflow-wrap: break-word; }
h2 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; }
code, .mono { font-family: var(--font-mono); font-size: 0.88em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }
.prose-width { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--on-dark-soft); }
.stack { display: grid; gap: var(--s-2); }
.stack-lg { display: grid; gap: 28px; }
.spaced { margin-top: var(--s-4); }
.spaced-sm { margin-top: 20px; }
.plain-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.lead { font-size: 1.1rem; line-height: 1.6; max-width: var(--measure); }
.tagline { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.6; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--white); color: var(--panel-text); padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 28px;
  border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--white);
  font: 500 0.9rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); color: rgba(255,255,255,0.92); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header, as on the current site */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--black); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font: 600 17px/1.2 var(--font-ui); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 40px; display: block; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4);
  padding: 9px 14px; font: 500 0.95rem var(--font-ui); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--black); padding: 8px 20px 22px; border-top: 1px solid rgba(255,255,255,0.1);
}
.site-nav.is-open { display: grid; gap: 14px; }
.site-nav ul { list-style: none; padding: 0; display: grid; }
.site-nav a:not(.btn-header):not(.linkedin) {
  display: block; padding: 12px 2px; color: var(--white); text-decoration: none;
  font: 400 16px var(--font-ui); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav a[aria-current="page"] { color: var(--periwinkle-light); }
.btn-header {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--header-cta); color: var(--white); text-decoration: none;
  font: 400 14px/1.2 var(--font-ui); text-transform: uppercase; letter-spacing: 0.02em;
  padding: 16px 35px; border-radius: 0;
}
.btn-header:hover { background: #333333; color: var(--white); }
.linkedin { display: inline-flex; width: 34px; height: 34px; }
.linkedin svg { width: 34px; height: 34px; display: block; }
@media (min-width: 1060px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; margin-left: auto; padding: 0; border: 0;
    align-items: center; gap: 30px; background: transparent;
  }
  .site-nav ul { display: flex; gap: 30px; }
  .site-nav a:not(.btn-header):not(.linkedin) { padding: 6px 0; border: 0; font-size: 17px; }
  .site-nav a:not(.btn-header):not(.linkedin):hover { color: var(--periwinkle-light); }
}

/* Sections: see-through (the page gradient shows) or black, each with moving lines */
.hero, .page-hero, .section, .band {
  position: relative; overflow: hidden; isolation: isolate;
}
.section, .band { padding-block: var(--section-pad); background: var(--grad-shade); }
.section-tight { padding-block: var(--s-5); }
.section-dark { background: var(--black); }
canvas[data-network] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; z-index: -2; pointer-events: none; }
.bg-video, canvas[data-network] { transition: opacity 3s ease; }
.section canvas[data-network], .band canvas[data-network] { opacity: 0.45; }
.motion-settled .bg-video { opacity: 0.08; }
.motion-settled canvas[data-network] { opacity: 0.12; }
.section-solid { background: #0B0E1F; }
.section-solid canvas[data-network] { display: none; }

.section-head { display: grid; gap: 12px; margin: 0 auto var(--s-4); max-width: 760px; text-align: center; justify-items: center; }
.section-head:has(p:not(.eyebrow)) { text-align: left; justify-items: start; margin-inline: 0; max-width: var(--measure); }
.section-head p:not(.eyebrow):not(.pending-label) { font-size: 1.05rem; max-width: var(--measure); }
.section-head.left { text-align: left; justify-items: start; margin-inline: 0; }

/* Home hero */
.hero { background: var(--black); padding-block: var(--section-pad); display: flex; align-items: center; }
/* The TMF Review menu link (/#tmf-review) lands at the page top, with the service bar whole, not cut under the header */
#tmf-review { scroll-margin-top: 240px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 {
  color: var(--periwinkle); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 3.8vw, 3rem); line-height: 1.12; max-width: 14ch;
}
.hero .tagline { color: var(--white); margin-top: var(--s-3); max-width: 52ch; }
.hero h1.h1-wide { max-width: 17ch; }
.hero .hero-note { color: rgba(255,255,255,0.85); margin-top: 16px; max-width: 48ch; }
.hero .btn-row { margin-top: var(--s-4); }
.hero .eyebrow { color: var(--label); margin-bottom: var(--s-2); }

/* Inner page heroes */
.page-hero { background: var(--black); padding-block: var(--section-pad); }
.page-hero-compact { padding-block: var(--s-6); }
.page-hero h1 { color: var(--periwinkle); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.12; max-width: 20ch; }
.page-hero .btn-row { margin-top: var(--s-4); }
.page-hero .eyebrow { color: var(--label); margin-bottom: var(--s-2); }
.page-hero .lead, .page-hero .tagline { color: var(--white); margin-top: var(--s-3); }
.page-hero .lead { font-family: var(--font-body); font-size: 1.1rem; max-width: 56ch; }
.page-hero .hero-grid h1 { max-width: 16ch; }
.hero-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: flow; max-width: 470px; justify-self: center; width: 100%; }
.hero-flow li {
  position: relative; counter-increment: flow; display: grid; gap: 4px;
  padding: 20px 22px 20px 68px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--white);
}
.hero-flow li::before {
  content: counter(flow); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--periwinkle); color: var(--white); font-weight: 700;
}
.hero-flow li:not(:last-child)::after { content: ""; position: absolute; left: 33px; top: 100%; height: 30px; border-left: 2px dashed var(--card-border); }
.hero-flow-label { font: 700 max(0.9rem, 16px)/1.2 var(--font-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.hero-flow strong { font-size: 1.05rem; font-weight: 600; }
.hero-flow li > span:last-child { color: var(--on-dark-soft); font-size: 0.95rem; }
.hero-status {
  display: inline-block; margin-top: 22px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45); color: var(--white); font-size: 0.95rem;
}

/* Pause control for the moving background */
.motion-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.55); color: var(--white); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px; min-height: 40px; padding: 8px 16px; font: 500 0.85rem var(--font-ui); cursor: pointer;
}
.motion-toggle:hover { background: rgba(0,0,0,0.75); }

/* Product visuals: framed screenshots and the synthetic finding card */
.shot { margin: 0; display: grid; gap: 12px; }
.shot-frame {
  background: var(--panel-bg); border-radius: 14px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.1);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #EEF1F8; border-bottom: 1px solid var(--panel-line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9CFDD; }
.shot-bar p { margin-left: 8px; font: 500 0.85rem var(--font-ui); color: var(--panel-muted); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: max(0.9rem, 16px); line-height: 1.55; color: var(--on-dark-soft); text-wrap: pretty; }
.shot-placeholder {
  border: 2px dashed rgba(255,255,255,0.7); border-radius: 14px; background: rgba(0,0,0,0.25);
  min-height: 300px; display: grid; place-items: center; text-align: center; padding: 28px; gap: 10px;
}
.shot-placeholder p { max-width: 42ch; }
.shot-placeholder strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }

.hero-card {
  margin: 0; justify-self: end; width: 100%; max-width: 470px;
  background: var(--panel-bg); color: var(--panel-text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
.hero-card-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #1E6FE0; color: var(--white); font: 700 0.95rem var(--font-body); }
.hero-card-bar span { font: 700 0.68rem/1 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.2); padding: 6px 9px; border-radius: 999px; }
.hero-card-body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.hero-card-title { font-weight: 700; line-height: 1.35; color: var(--panel-text); }
.hero-card-title .mono { color: var(--panel-muted); font-weight: 400; margin-right: 6px; }
.hero-card dl { margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.hero-card dt { font-weight: 700; font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: #1E6FE0; }
.hero-card dd { margin: 2px 0 0; color: #333B55; }
.hero-card figcaption { font-size: 0.8rem; color: var(--panel-muted); border-top: 1px solid var(--panel-line); padding-top: 10px; }
@media (max-width: 999px) { .hero-card { justify-self: start; } }

/* Cards on the gradient: periwinkle glass, as in the current site's Surveyor section */
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 24px; }
@media (min-width: 760px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: var(--s-3); display: grid; gap: 12px; align-content: start; color: var(--white); text-align: left;
}
.section-dark .card { background: rgba(99, 133, 223, 0.18); }
.card h3 { font-size: 1.2rem; font-weight: 600; }
.card-label { font-family: var(--font-label); font-weight: 700; font-size: max(0.9rem, 16px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; }
@media (min-width: 760px) { .check-cols { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.5em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg);
}
.note { font-size: max(0.95rem, 16px); color: var(--on-dark-soft); }

/* Feature list, as in the current site's Quality by Design section */
.features { display: grid; gap: 28px 40px; }
@media (min-width: 820px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; align-items: start; }
.feature-icon {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card-bg); border: 2px solid var(--card-border); font: 900 1.2rem/1 var(--font-body); color: var(--white);
}
.feature h3 { font-size: 1.25rem; align-self: center; }

/* Journey steps: violet cards, as on the current site */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 20px; }
.steps > li { counter-increment: step; display: flex; }
.steps > li > div { flex: 1; }
.steps > li > div {
  background: var(--violet); border-radius: var(--radius); padding: var(--s-3); text-align: left;
  display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 10px; position: relative; height: 100%; align-content: start;
}
.steps > li > div::before {
  content: counter(step); grid-column: 1; align-self: center;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--violet); font: 900 1rem/1 var(--font-body);
}
.steps h3 { font-size: 1.15rem; font-weight: 600; min-height: 36px; display: flex; align-items: center; grid-column: 2; }
.steps > li > div > p { grid-column: 1 / -1; }
.steps-label { font: 700 0.85rem/1 var(--font-label); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }

/* Situations */
.situation dl { display: grid; gap: 12px; margin: 0; }
.situation dt { font-family: var(--font-label); font-weight: 700; font-size: max(0.9rem, 16px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.situation dd { margin: 2px 0 0; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-size: max(0.85rem, 16px); color: var(--on-dark-soft); }
.timeline span { border-top: 4px solid rgba(255,255,255,0.25); padding-top: 6px; }
.timeline span.on { border-top-color: var(--white); color: var(--white); font-weight: 500; }

/* Two columns: software and reviewers */
.duo { display: grid; gap: 24px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }

/* Outcomes */
.outcomes { display: grid; gap: 18px; }
@media (min-width: 760px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .outcomes-4 { grid-template-columns: repeat(4, 1fr); } }
.outcome { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.outcome h3 { font-size: 1.1rem; }

/* White panels for dense content: tables, the finding, the FAQ, forms, long text */
.panel {
  background: var(--panel-bg); color: var(--panel-text); border-radius: 18px;
  padding: clamp(20px, 3vw, 32px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.panel h2, .panel h3 { color: var(--panel-text); }
.panel a { color: var(--panel-accent); }
.panel .muted, .panel .note { color: var(--panel-muted); }

.finding { background: var(--panel-bg); color: var(--panel-text); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.25); }
.finding-banner { background: #1E6FE0; color: var(--white); padding: 12px 22px; font: 700 0.85rem/1.4 var(--font-label); letter-spacing: 0.04em; text-transform: uppercase; }
.finding-title { padding: 20px 24px 6px; font-weight: 700; font-size: 1.1rem; }
.finding-title .mono { color: var(--panel-muted); font-weight: 400; margin-right: 8px; }
.finding dl { margin: 0; padding: 8px 24px 24px; display: grid; gap: 12px; }
.finding dl > div { display: grid; gap: 2px; }
@media (min-width: 700px) { .finding dl > div { grid-template-columns: 180px 1fr; gap: 16px; } }
.finding dt { font-weight: 700; }
.finding dd { margin: 0; color: #333B55; }
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.flow span { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; }
.flow i { font-style: normal; }
/* Phones: stack the steps with downward arrows, so no arrow ends a line (L4) */
@media (max-width: 600px) { .flow { flex-direction: column; gap: 6px; } .flow i { transform: rotate(90deg); line-height: 1; } }

.table-scroll { overflow-x: auto; background: var(--panel-bg); color: var(--panel-text); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,0.25); }
.data-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--panel-line); }
.data-table thead th { background: var(--panel-soft); font-weight: 700; font-size: 0.9rem; color: var(--panel-text); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table a { color: var(--panel-accent); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table thead th.num { white-space: normal; }

/* Worked-example power bars */
.bar-track { position: relative; height: 26px; background: var(--panel-soft); border-radius: 6px; }
.bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: #4F6CD8; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; color: var(--white); font: 500 0.85rem/1 var(--font-body); font-variant-numeric: tabular-nums; min-width: 44px; }
.bar-target { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--panel-text); left: 80%; }
.power-table th[scope="row"] { font-weight: 500; width: 38%; }
.power-table td .bar-track { min-width: 220px; }
.bar-legend { font-size: 0.9rem; }
@media (max-width: 640px) {
  .power-table { min-width: 0; font-size: 0.9rem; }
  .power-table th, .power-table td { padding: 10px 8px; }
  .power-table th[scope="row"] { width: auto; }
  .power-table td .bar-track { min-width: 96px; }
}

/* Content awaiting a decision (a production build fails while any remain) */
.pending { border: 2px dashed #FFD66B; border-radius: 18px; padding: 22px; background: rgba(0,0,0,0.28); display: grid; gap: 16px; }
.pending-label { display: inline-block; font: 700 0.76rem/1.4 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; color: #1F1600; background: #FFD66B; padding: 5px 10px; border-radius: 6px; }
.pending-strip { background: #FFD66B; color: #1F1600; padding-block: 12px; font-size: 0.97rem; }
.pending-strip a { color: #1F1600; }
.todo { background: #FFD66B; color: #1F1600; padding: 0 5px; border-radius: 4px; font-size: 0.95em; }

/* On-page navigation for long pages */
.onpage { background: rgba(0,0,0,0.82); position: relative; z-index: 2; }
.onpage .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; padding-block: 14px; }
.onpage p { font: 700 0.85rem/1.4 var(--font-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.onpage ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.95rem; }
.onpage a { color: var(--white); }

/* Points inside a band */
.band-points p { font-size: 1.14rem; line-height: 1.5; border-top: 2px solid rgba(255,255,255,0.5); padding-top: 16px; }

/* FAQ: white panels */
.faq { display: grid; gap: 12px; max-width: 960px; margin-inline: auto; }
.faq-wide { max-width: none; margin-inline: 0; width: 100%; }
.faq details { background: var(--panel-bg); color: var(--panel-text); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 24px; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #E6ECFC; color: var(--panel-accent); font: 700 1.1rem/1 var(--font-body);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 22px; display: grid; gap: 12px; }
.faq .answer a { color: var(--panel-accent); }
.faq .answer .table-scroll { box-shadow: none; border: 1px solid var(--panel-line); }
.faq .answer .shot figcaption { color: var(--panel-muted); }
.person .focus { font-size: 0.97rem; border-left: 3px solid var(--periwinkle-light); padding-left: 12px; }
.method-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.page-hero h1.h1-wide { max-width: 20ch; }
.faq-group { font-size: 1.4rem; margin: var(--s-4) 0 4px; text-align: left; }
.faq-group:first-child { margin-top: 0; }

/* Team: photos in periwinkle glass cards */
.team-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.person { display: grid; gap: 16px; align-content: start; }
.person-head { display: flex; align-items: center; gap: 18px; }
.person-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--white); }
.avatar {
  width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255,255,255,0.18); border: 3px solid var(--white); color: var(--white); font: 700 1.6rem/1 var(--font-label);
}
.person h2 { font-size: 1.45rem; }
/* Outside advisors, below the leadership team (Micah, October 1) */
.team-subhead { margin: var(--s-5) 0 var(--s-3); }
.person h3 { font-size: 1.45rem; }
.person .role { color: var(--on-dark-soft); }

/* Contact */
.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 920px) { .contact-layout { grid-template-columns: 1.4fr 1fr; } }
.contact-address { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 500; overflow-wrap: anywhere; }
.link-button { font: inherit; font-size: 0.9rem; color: var(--panel-accent); background: none; border: 0; padding: 0 0 0 10px; text-decoration: underline; cursor: pointer; }
.copy-status { font-size: 0.9rem; color: var(--panel-muted); }
.contact-options { display: grid; gap: 12px; }
.panel a.btn { color: var(--white); padding-inline: 24px; text-align: center; }
.contact-aside h2 { font-size: 1.3rem; }

/* Long text (privacy notice) */
.prose { display: grid; gap: 16px; max-width: 76ch; }
.prose h2 { font-size: 1.3rem; margin-top: 18px; }

/* Calls to action */
.cta { display: grid; gap: var(--s-3); align-items: center; }
@media (min-width: 1100px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); }
.cta p { max-width: var(--measure); }
.cta .btn-row { align-self: start; }

/* Footer, as on the current site */
.site-footer { background: var(--black); color: var(--white); padding-top: 64px; position: relative; overflow: hidden; isolation: isolate; }
.footer-inner { display: grid; gap: 26px; justify-items: center; text-align: center; padding-bottom: 40px; }
.footer-inner .brand img { width: 44px; height: 44px; }
.footer-tagline { font-family: var(--font-body); font-size: 1.05rem; max-width: 52ch; }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.footer-nav a { color: var(--white); text-decoration: none; text-transform: uppercase; font: 400 0.9rem var(--font-ui); letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--periwinkle-light); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.build-note { color: #FFD66B; }

/* Prototype review tools (never in production builds) */
.review-tools {
  position: static; margin: 16px auto; width: fit-content;
  background: #11131C; color: #F2F3F7; border: 1px solid #3A3F52; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35); font: 14px/1.4 var(--font-ui); max-width: min(320px, calc(100vw - 32px));
}
.review-tools summary { cursor: pointer; padding: 10px 14px; font-weight: 700; list-style: none; }
.review-tools summary::-webkit-details-marker { display: none; }
.review-tools summary::before { content: "\25B2  "; font-size: 0.7em; }
.review-tools[open] summary::before { content: "\25BC  "; }
.review-tools-body { padding: 0 14px 14px; display: grid; gap: 12px; }
.review-tools-note { color: #C9CCD8; }
.review-tools fieldset { border: 1px solid #3A3F52; border-radius: 8px; padding: 8px 10px 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.review-tools legend { padding: 0 4px; color: #C9CCD8; font-size: 0.85em; }
.review-tools button {
  font: inherit; font-size: 0.92em; cursor: pointer; border-radius: 999px; padding: 5px 12px;
  background: transparent; color: #F2F3F7; border: 1px solid #5A6078;
}
.review-tools button[aria-pressed="true"] { background: #F2F3F7; color: #11131C; border-color: #F2F3F7; }
.review-tools a { color: #AFC6FF; }

/* Traced claims, shown on request in prototype builds */
[data-claim] { --claim-color: #2F6FDB; }
[data-claim-status="needs-release-check"] { --claim-color: #D97706; }
[data-claim-status="decision-pending"] { --claim-color: #DC2626; }
[data-claim-status="approved"] { --claim-color: #16A34A; }
html[data-show-claims="true"] [data-claim] { outline: 2px dashed var(--claim-color); outline-offset: 4px; position: relative; }
html[data-show-claims="true"] [data-claim]::before {
  content: attr(data-claim); position: absolute; top: -12px; right: -8px; z-index: 5;
  background: var(--claim-color); color: #fff; font: 700 11px/1 var(--font-mono); padding: 3px 5px; border-radius: 4px;
}
html[data-show-claims="true"] [data-claim]:hover::after {
  content: attr(data-claim-tip); position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  width: max-content; max-width: min(420px, 80vw); white-space: normal;
  background: #11131C; color: #F2F3F7; font: 12px/1.45 var(--font-ui); padding: 8px 10px; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Review pages */
.status { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: #2F6FDB; white-space: nowrap; }
.status-needs-release-check { background: #D97706; }
.status-decision-pending { background: #DC2626; }
.status-approved { background: #16A34A; }
.status-counts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }

/* Entrance motion, only when scripts run and motion is allowed */
.js-motion [data-reveal] { opacity: 1; }
/* Entrance animation is off for content (owner decision, September 30); only the decorative float remains */
.js-motion [data-reveal]:not([data-reveal="float"]).is-revealed { animation: none !important; }
.js-motion [data-reveal].is-revealed {
  opacity: 1; animation-duration: 0.85s; animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); animation-delay: var(--reveal-delay, 0s);
}
.js-motion [data-reveal="fly"].is-revealed { animation-name: vcs-fly; animation-duration: 1.15s; }
.js-motion [data-reveal="fade"].is-revealed { animation-name: vcs-fade; }
.js-motion [data-reveal="up"].is-revealed { animation-name: vcs-up; }
.js-motion [data-reveal="scale"].is-revealed { animation-name: vcs-scale; animation-duration: 0.7s; }
.js-motion [data-reveal="float"].is-revealed {
  animation: vcs-fade 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s) both,
             vcs-float 6s ease-in-out calc(var(--reveal-delay, 0s) + 0.9s) infinite alternate;
}
@keyframes vcs-fly { from { opacity: 0.6; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes vcs-fade { from { opacity: 0.6; } to { opacity: 1; } }
@keyframes vcs-up { from { opacity: 0.6; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vcs-scale { from { opacity: 0.6; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes vcs-float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
html[data-motion="paused"] .js-motion [data-reveal="float"].is-revealed,
html[data-motion="paused"] [data-reveal="float"] { animation-play-state: paused; }

@media print { .js-motion [data-reveal] { opacity: 1 !important; animation: none !important; } }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Centered blocks keep list text left-aligned */
.align-center { align-items: center; }
.check-list.center, .center .check-list, .card.center { text-align: left; }
.card.center h3 { text-align: center; }
.chart-panel { background: #FFFFFF; color: #232323; border-radius: 16px; padding: 24px; margin: 0; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.chart-sub { margin: 2px 0 0; color: #4A4A4A; }
.pc-callout { font-size: 16px; font-weight: 700; fill: #C62828; }
.chart-title { margin: 0; font-weight: 600; font-size: 1.05rem; color: #2D187B; }
.chart-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: #232323; }
.chart-legend li { display: flex; align-items: center; gap: 6px; }
.chart-legend span { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.chart-legend .sw-ok { background: #047857; }
.chart-legend .sw-mid { background: #FDD835; }
.chart-legend .sw-low { background: #F57C00; }
.chart-legend .sw-bad { background: #C62828; }
.chart-callout { margin: 16px 0 8px; padding: 10px 14px; border: 1px solid #C62828; background: #FDF1EF; color: #C62828; border-radius: 8px; font-weight: 500; }
.chart-scroll { overflow-x: auto; }
.power-chart { display: block; width: 100%; min-width: 640px; height: auto; font-family: inherit; }
.pc-axis { font-size: 14px; fill: #4A4A4A; }
.pc-target { font-size: 14px; fill: #047857; font-weight: 600; }
.pc-value { font-size: 16px; font-weight: 700; fill: #232323; }
.pc-label { font-size: 12px; fill: #232323; }
.chart-panel figcaption { margin-top: var(--s-2); font-size: max(.9rem, 16px); line-height: 1.55; color: #4A4A4A; }

/* Screenshots enlarge on click */
.shot-frame img[data-zoom] { cursor: zoom-in; }
.sim-summary { background: var(--panel-bg); color: var(--panel-text); border-radius: var(--radius); padding: var(--s-3); display: grid; gap: var(--s-2); box-shadow: 0 28px 70px rgba(0,0,0,0.45); }
.sim-summary-title { font-weight: 600; color: var(--panel-muted); font-size: max(0.9rem, 16px); text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-label); }
.sim-summary-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-2); align-items: center; }
.sim-summary-col { display: grid; gap: 4px; }
.sim-summary-head { color: var(--panel-text); font-size: 1rem; font-weight: 600; }
.sim-summary-col .big { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.1; }
.sim-summary-col .big.ok { color: #047857; }
.sim-summary-col .big.bad { color: #C62828; }
.sim-summary-col .sub { color: var(--panel-muted); font-size: max(0.9rem, 16px); }
.sim-summary-arrow { font-size: 2rem; color: var(--panel-muted); }
.sim-summary-note { color: var(--panel-muted); font-size: max(0.9rem, 16px); }
.shot-enlarge { justify-self: start; font: 500 max(0.9rem, 16px)/1.2 var(--font-body); color: var(--white); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.shot-enlarge:hover { background: rgba(255,255,255,0.22); }
.deliverable-strip { display: grid; gap: 8px; padding: var(--s-3); border-radius: var(--radius); background: rgba(10, 12, 40, 0.5); border-left: 5px solid #1E6FE0; }
.deliverable-strip h2 { font-size: 1.2rem; }
.deliverable-strip p { max-width: none; }
.zoom-dialog { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; }
.zoom-dialog::backdrop { background: rgba(0, 0, 0, 0.85); }
.zoom-dialog img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: 10px; }
.zoom-dialog button { position: fixed; top: 16px; right: 16px; font: inherit; color: var(--white); background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* Mockup: AI-powered banner, icons and service tiles */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ai-banner { background: #1E6FE0; color: var(--white); }
.ai-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 10px; }
.ai-banner-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.02em; }
.ai-banner-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ai-banner-links a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.ai-banner-links a:hover { text-decoration: underline; }
.eyebrow-ai { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-ai .ico { width: 1.3em; height: 1.3em; }
.hero-descriptor { color: var(--white); font-weight: 500; margin: -6px 0 14px; opacity: 0.9; }
.service-tiles { gap: 24px; }
.service-tile {
  display: grid; gap: 10px; align-content: start; padding: var(--s-4); border-radius: var(--radius); text-decoration: none; color: var(--white);
  background: rgba(10, 12, 40, 0.35); border: 1px solid var(--card-border);
  transition: transform .2s ease, border-color .2s ease;
}
.service-tile:hover { transform: translateY(-2px); border-color: var(--white); color: var(--white); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #1E6FE0; color: var(--white); }
.service-icon .ico { width: 28px; height: 28px; }
.service-title { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.tile-link { font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; }
.hero-flow { gap: 22px; }
.hero-flow li { padding-block: 16px; }
.hero-flow li:not(:last-child)::after { height: 24px; }
.situation-point { font-weight: 500; font-size: 1.02rem; line-height: 1.5; }
.situation-label { display: block; font-family: var(--font-label); font-weight: 700; font-size: max(0.9rem, 16px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); margin-bottom: 4px; }

/* Mockup: value row */
.values-band { padding-block: clamp(40px, 5vw, 64px); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { display: grid; gap: 6px; align-content: start; }
.values strong { font-size: 1.25rem; color: var(--white); }
.values li > span:last-child { color: var(--on-dark-soft); font-size: 0.97rem; line-height: 1.5; }
.value-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #1E6FE0; color: var(--white); margin-bottom: 4px; }
.value-icon .ico { width: 24px; height: 24px; }
.values li { background: rgba(10, 12, 40, 0.35); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--s-3); gap: 10px; }
.values .value-label { font: 700 max(0.9rem, 16px)/1.2 var(--font-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.values strong { font-size: 1.1rem; line-height: 1.35; font-weight: 600; color: var(--white); }
@media (min-width: 1180px) { .values-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .values-3 { grid-template-columns: repeat(3, 1fr); } }
.big-answer { font-size: 1.2rem !important; font-weight: 500; line-height: 1.45; color: var(--white); max-width: var(--measure); }
.big-answer.accent-line { color: var(--periwinkle-light); margin-top: -4px; }
.kicker { font-size: clamp(1.1rem, 1.8vw, 1.35rem) !important; font-weight: 500; color: var(--white); opacity: 0.9; }
.big-answer.closing-line { margin: var(--s-4) 0 0; text-align: left; max-width: var(--measure); }
.ich-strip { display: grid; gap: 8px 24px; max-width: none; margin: var(--s-4) 0 0; padding: var(--s-3); border-radius: var(--radius); border-left: 5px solid #1E6FE0; background: rgba(10, 12, 40, 0.5); font-size: 1rem; line-height: 1.6; color: var(--white); }
@media (min-width: 760px) { .ich-strip { grid-template-columns: 200px 1fr; align-items: start; } }
.ich-strip > * { margin: 0; }
.ich-chip { display: block; font: 700 1rem/1.3 var(--font-label); letter-spacing: 0.02em; color: var(--white); }
.library-strip { border-left-color: var(--periwinkle-light); }
.ich-close-lead { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 760px) { .ich-close { grid-template-columns: 1fr; } }

.fine-print { display: block; margin-top: 4px; font-size: max(0.9rem, 16px); opacity: 0.85; }
.detail-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* ICH E6(R3): full-width numbered rows */
.ich-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ich; }
.ich-rows li { counter-increment: ich; display: grid; gap: 6px 20px; padding: var(--s-3); border-radius: var(--radius); background: rgba(99, 133, 223, 0.14); border: 1px solid var(--card-border); grid-template-columns: 44px 1fr; }
.ich-rows li::before { content: counter(ich); grid-row: 1 / span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--periwinkle); color: var(--white); font-weight: 700; }
.ich-step { font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); }
.ich-text { font-size: 1.05rem; line-height: 1.5; color: var(--white); }
.ich-ref { font-size: max(0.9rem, 16px); color: var(--on-dark-soft); }
@media (min-width: 900px) { .ich-rows li { grid-template-columns: 44px 200px 1fr 220px; align-items: start; } .ich-rows li::before { grid-row: 1; } .ich-ref { text-align: left; } }

/* Worked example: left-aligned grid, scannable scenario */
.example-grid { display: grid; gap: 28px; }
.example-grid > * { min-width: 0; }
.example-grid .chart-panel { min-width: 0; }
.example-grid .section-head.left { margin-bottom: 0; }
.example-intro { max-width: var(--measure); }
.spec-list { display: grid; gap: 8px 24px; grid-template-columns: 1fr; margin: 12px 0 0; padding: 0; max-width: 720px; }
@media (min-width: 640px) { .spec-list { grid-template-columns: 1fr 1fr; } }
.spec-list div { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.spec-list dt { color: var(--on-dark-soft); font-size: max(0.95rem, 16px); }
.spec-list div { grid-template-columns: minmax(0, 12rem) 1fr; }
.spec-list dd { margin: 0; font-weight: 500; }
.example-grid .chart-panel { margin-top: 8px; }
.faq details .answer .check-list { margin-top: 4px; }

/* September 30 finishing pass (WEBSITE_DECISIONS.md): service bar, company goal, card hierarchy,
   simulator panel, phone chart, compact ICH rows */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Service bar: each service first, its supporting technology beneath in lighter type */
.ai-banner-links { gap: 10px 32px; }
.svc { display: grid; gap: 1px; line-height: 1.2; }
.svc-name { font-weight: 700; }
.svc-tech { font-size: max(0.8em, 15px); font-weight: 400; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 719px) { .ai-banner-links { display: grid; gap: 10px; } }

/* Company goal at the top of the home hero */
.goal-line {
  grid-column: 1 / -1; margin: 0; padding: 14px 20px; border-left: 5px solid #1E6FE0; border-radius: 10px;
  background: rgba(30, 111, 224, 0.18); color: var(--white); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 500; line-height: 1.4;
}
.goal-line strong { font-weight: 700; }

/* Card titles lead the text under them (L1): the label at the text's size and bold, the text at regular weight */
.values .value-label, .hero-flow-label, .card-label, .situation-label { font-size: 1rem; color: var(--white); }
.values strong, .hero-flow strong { font-size: 0.95rem; font-weight: 400; color: var(--on-dark-soft); }
.hero-flow { grid-auto-rows: 1fr; }
.hero-flow li { align-content: center; }

/* Two dark sections in a row read as one band, without a doubled gap */
.section-dark + .section-join { padding-top: var(--s-2); }

/* Simulator panel: heading, scenario, two results on the same lines */
.sim-summary-title { margin: 0; font: 600 clamp(1.15rem, 1.8vw, 1.35rem)/1.3 var(--font-body); color: var(--panel-text); text-transform: none; letter-spacing: 0; }
.sim-summary-scenario { margin: -6px 0 0; color: var(--panel-muted); font-size: max(0.9rem, 16px); }
.sim-summary-head { min-height: 2.6em; display: flex; align-items: flex-end; line-height: 1.3; }
.sim-summary-arrow { align-self: center; }
.sim-summary-note { font-size: max(0.75rem, 15px); line-height: 1.45; }
@media (max-width: 560px) {
  .sim-summary-grid { grid-template-columns: 1fr; gap: 8px; }
  .sim-summary-head { min-height: 0; }
  .sim-summary-arrow { transform: rotate(90deg); justify-self: start; line-height: 1; }
}

/* Protocol Risk Assessment: the deliverable statement under "Our process", set apart from the steps */
.deliverable-statement { margin-top: var(--s-3); grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 20px var(--s-3); }
.deliverable-statement .ico { width: 36px; height: 36px; color: var(--periwinkle-light); }
.deliverable-statement p { max-width: none; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; font-weight: 500; color: var(--white); }
@media (max-width: 600px) { .deliverable-statement { grid-template-columns: 1fr; gap: 10px; } .deliverable-statement .ico { width: 30px; height: 30px; } }
.deliverable-statement > div { display: grid; gap: 6px; }
.deliverable-statement .deliverable-title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--white); }
.deliverable-statement .deliverable-title + p { font-size: 1.1rem; }

/* Lead-in that marks the four causes as examples, not the full list */
.examples-lead { margin: 0 0 var(--s-2); font-size: 1.05rem; color: var(--on-dark-soft); }

/* Background reading under the causes of measurement error: a reference, not a claim */
.background-reading { margin: var(--s-4) 0 0; padding-top: var(--s-2); border-top: 1px solid rgba(255, 255, 255, 0.3); max-width: var(--measure); display: grid; gap: 4px; }
.background-reading h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.background-reading p { font-size: max(0.85rem, 16px); line-height: 1.5; color: var(--on-dark-soft); }
.background-reading a { color: var(--link-on-dark); overflow-wrap: anywhere; }

/* The power chart on phones: horizontal bars, no sideways scrolling */
.power-chart-narrow { display: none; width: 100%; height: auto; font-family: inherit; }
.pcn-label { font-size: 14px; fill: #232323; }
.pcn-value { font-size: 14px; font-weight: 700; fill: #232323; }
.pcn-target { font-size: 14px; font-weight: 700; fill: #047857; }
.pcn-box-label { font-size: 14px; font-weight: 700; fill: #C62828; }
@media (max-width: 700px) {
  .power-chart-wide { display: none; }
  .power-chart-narrow { display: block; }
}

/* ICH E6(R3): a smaller footprint (Nat, 01:22:02) */
.ich-rows { gap: 8px; }
.ich-rows li { padding: 12px 18px; gap: 2px 16px; }
.ich-rows li::before { width: 32px; height: 32px; }
.ich-step { font-size: 0.95rem; }
.ich-text { font-size: 1rem; line-height: 1.4; }
.ich-close { margin-top: var(--s-3); padding: 18px 22px; }
@media (min-width: 900px) { .ich-rows li { grid-template-columns: 32px 120px 1fr; align-items: center; } }
/* References as superscript notes, so each step reads on one line (Micah, October 1) */
.ich-sup { font-size: 0.65em; line-height: 0; margin-left: 2px; color: var(--on-dark-soft); }
.ich-notes { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: max(0.8rem, 16px); line-height: 1.5; color: var(--on-dark-soft); }
.ich-notes sup { font-size: 0.75em; line-height: 0; margin-right: 3px; }
.ich-notes-lead { font-weight: 600; color: var(--white); }

/* Calls to action on phones: full-width buttons that keep their text on one line */
@media (max-width: 480px) {
  .cta .btn-row { display: grid; }
  .cta .btn-row .btn { width: 100%; padding-inline: 16px; letter-spacing: 0.02em; font-size: 0.85rem; }
}

/* Two-column tables on phones: each row stacks, so nothing scrolls sideways */
@media (max-width: 600px) {
  .data-table { min-width: 0; }
  .data-table thead { display: none; }
  .data-table tr, .data-table th, .data-table td { display: block; width: auto; }
  .data-table tbody tr + tr { border-top: 1px solid var(--panel-line); }
}

/* Protocol page: link to the publication record, in the introduction's font, a little smaller */
.page-hero .lead-more { margin-top: var(--s-2); max-width: 56ch; font-family: var(--font-body); font-size: 1rem; line-height: 1.5; }
.page-hero .lead-more a { color: var(--link-on-dark); }
/* FAQ: grouped publication list */
.faq .answer .answer-subhead { font-size: 1rem; font-weight: 700; margin-top: var(--s-1); color: var(--panel-text); }
.publication-list a { white-space: nowrap; }
