:root {
  --header-height: 76px;
  --navy: #08243f;
  --navy-deep: #051a30;
  --navy-soft: #163a5d;
  --gold: #b48a45;
  --gold-ink: #765722;
  --gold-light: #d1b171;
  --paper: #f7f1e6;
  --paper-light: #fcf9f2;
  --card: #fffdf8;
  --ink: #102b45;
  --body: #4e5962;
  --muted: #74746f;
  --line: #dfd4c2;
  --shadow: 0 18px 48px rgba(51, 42, 29, 0.08);
  --paper-grain:
    radial-gradient(circle at 24% 32%, rgba(92, 71, 40, 0.055) 0 0.55px, transparent 0.75px),
    radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.5) 0 0.65px, transparent 0.85px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --serif: var(--font-editorial), Georgia, serif;
  --sans: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-size: 23px 23px, 31px 31px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main section[id] { scroll-margin-top: calc(var(--header-height) + 16px); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  background: white;
  color: var(--navy);
  font-weight: 750;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-shell { width: min(calc(100% - 64px), 1320px); margin-inline: auto; }
.section { padding: clamp(64px, 6.5vw, 96px) 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section-heading > p:not(.eyebrow) { margin: 14px 0 0; color: var(--body); font-size: 0.92rem; line-height: 1.65; }
.centered-heading { max-width: 920px; margin-inline: auto; text-align: center; }
.centered-heading > p:not(.eyebrow) { max-width: 720px; margin-inline: auto; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 21px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8,36,63,0.12); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #123c62; }
.button-outline-paper { border-color: #6a7886; background: rgba(255,255,255,0.25); color: var(--navy); }
.button-outline-paper:hover { border-color: var(--navy); background: white; }
.button-gold { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { border-color: #c69b52; background: #c69b52; color: var(--navy-deep); }
.button-outline-light { border-color: rgba(255,255,255,0.58); background: transparent; color: white; }
.button-outline-light:hover { background: white; color: var(--navy); }
.button-white { border-color: white; background: white; color: var(--navy); }
.button:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(48, 125, 197, 0.55);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(181, 167, 145, 0.42);
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; width: 100%; max-width: 1384px; height: var(--header-height); align-items: center; justify-content: space-between; gap: 28px; margin-inline: auto; padding-inline: 32px; }
.brand-lockup { display: block; width: 154px; flex: 0 0 auto; }
.brand-lockup img { width: 100%; height: auto; }
.desktop-nav { display: flex; flex: 1 1 auto; justify-content: center; gap: clamp(22px, 3vw, 44px); }
.desktop-nav a { position: relative; font-size: 0.7rem; font-weight: 720; white-space: nowrap; }
.desktop-nav a::after, .site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 170ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { min-width: 182px; min-height: 43px; flex: 0 0 auto; padding-inline: 18px; white-space: nowrap; }
.mobile-nav { display: none; }

/* Hero */
.hero-section {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid rgba(181, 167, 145, 0.34);
  background: rgba(252,249,242,0.48);
}
.hero-section::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 28%, rgba(255,255,255,0.9), transparent 42%);
  content: "";
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(420px, 0.96fr) minmax(560px, 1.04fr); min-height: max(680px, calc(100svh - var(--header-height))); align-items: center; gap: 20px; padding-block: 22px; }
.hero-copy { position: relative; z-index: 2; padding: 66px 0 72px; }
.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 5.7vw, 5.75rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
  opacity: 1;
  animation: none;
}
.hero-copy h1 em { display: inline-block; color: var(--gold); font-size: 0.9em; font-weight: 500; white-space: nowrap; }
.hero-narrow-break { display: none; }
.hero-lead { max-width: 590px; margin: 28px 0 0; color: #263b4f; font-size: 0.94rem; font-weight: 500; line-height: 1.58; }
.hero-detail { max-width: 590px; margin: 13px 0 0; color: var(--body); font-size: 0.82rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.audience-line { margin: 22px 0 0; color: #394b5b; font-size: 0.75rem; }
.trust-microcopy { margin: 12px 0 0; color: #777b7d; font-size: 0.63rem; font-weight: 620; }
.trust-microcopy span { margin: 0 6px; color: var(--gold); }
.hero-visual { position: relative; z-index: 1; width: 100%; min-width: 0; margin-left: 0; }
.hero-architecture { display: grid; gap: 10px; padding-block: 18px; }
.architecture-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.architecture-callout { position: relative; min-width: 0; padding: 11px 12px; border: 1px solid rgba(180,138,69,0.62); border-radius: 4px; background: rgba(255,253,248,0.9); box-shadow: 0 9px 24px rgba(43,35,23,0.055); }
.architecture-callout strong { display: block; color: var(--navy); font-size: 0.68rem; letter-spacing: 0.03em; line-height: 1.2; text-transform: uppercase; }
.architecture-callout span { display: block; margin-top: 4px; color: var(--body); font-size: 0.63rem; line-height: 1.25; }
.architecture-row-top .architecture-callout::after,
.architecture-row-bottom .architecture-callout::before { position: absolute; left: 50%; width: 1px; height: 11px; background: linear-gradient(var(--gold-light), rgba(180,138,69,0.18)); content: ""; pointer-events: none; }
.architecture-row-top .architecture-callout::after { top: 100%; }
.architecture-row-bottom .architecture-callout::before { bottom: 100%; transform: rotate(180deg); }
.architecture-image { position: relative; display: grid; min-height: 330px; place-items: center; padding: 4px 22px; background: radial-gradient(circle, rgba(255,255,255,0.95), transparent 68%); }
.architecture-image::after { position: absolute; top: 8%; right: 9%; bottom: 10%; left: 9%; z-index: -1; border: 1px solid rgba(180,138,69,0.18); border-radius: 48%; background: repeating-linear-gradient(90deg, transparent 0 16.5%, rgba(180,138,69,0.08) 16.5% calc(16.5% + 1px)); content: ""; }
.architecture-image img { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(41,34,22,0.1)); }

/* Partner API landing preview */
.api-landing-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(181,167,145,0.42);
  background:
    linear-gradient(90deg, rgba(180,138,69,0.055) 1px, transparent 1px),
    linear-gradient(rgba(180,138,69,0.055) 1px, transparent 1px),
    rgba(252,249,242,0.72);
  background-size: 44px 44px;
}
.api-landing-section::before {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.92), rgba(255,255,255,0) 68%);
  content: "";
  pointer-events: none;
}
.api-landing-section > .site-shell { position: relative; }
.api-landing-grid { display: grid; grid-template-columns: minmax(300px,0.68fr) minmax(610px,1.32fr); align-items: center; gap: clamp(38px,5vw,76px); }
.api-landing-copy h2 { max-width: 530px; margin: 0; font-family: var(--serif); font-size: clamp(3.05rem,4.5vw,4.8rem); font-weight: 500; line-height: 0.94; letter-spacing: -0.047em; }
.api-landing-copy > p:not(.eyebrow, .api-landing-note) { max-width: 520px; margin: 24px 0 0; color: var(--body); font-size: 0.9rem; line-height: 1.7; }
.api-landing-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.api-landing-actions .button { min-height: 48px; }
.api-landing-note { max-width: 500px; margin: 17px 0 0; color: var(--muted); font-size: 0.67rem; line-height: 1.5; }
.api-workbench { min-width: 0; overflow: hidden; border: 1px solid #cfc1aa; border-radius: 5px; background: rgba(255,253,248,0.9); box-shadow: 0 24px 64px rgba(24,31,36,0.11); }
.api-workbench-header { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.api-workbench-header > div { display: flex; align-items: center; gap: 9px; }
.api-workbench-header > div > span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 15px 0 0 #d9c8aa, 30px 0 0 #e9dec9; }
.api-workbench-header strong { margin-left: 29px; font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; }
.api-workbench-header > span { color: var(--gold-ink); font-size: 0.62rem; font-weight: 760; letter-spacing: 0.07em; text-transform: uppercase; }
.api-workbench-tabs { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.api-workbench-tabs span { position: relative; display: grid; min-height: 46px; place-items: center; color: #4d5f70; font-size: 0.64rem; font-weight: 720; }
.api-workbench-tabs .active { color: var(--navy); }
.api-workbench-tabs .active::after { position: absolute; right: 14px; bottom: -1px; left: 14px; height: 2px; background: var(--gold); content: ""; }
.api-console-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); }
.api-console-grid article { display: grid; min-width: 0; grid-template-rows: auto 1fr auto; background: #fffdf8; }
.api-console-grid header { display: grid; min-height: 48px; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; padding: 10px 12px; }
.api-console-grid header > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 0.59rem; font-weight: 800; }
.api-console-grid header strong { font-size: 0.66rem; }
.api-console-grid header code { grid-column: 1 / -1; color: var(--gold-ink); font: 600 0.58rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; text-align: right; }
.api-console-grid pre { min-width: 0; min-height: 336px; overflow: auto; margin: 0 12px; padding: 15px 16px; border: 1px solid rgba(103,137,165,0.28); border-radius: 3px; background: linear-gradient(145deg,#061f37,#03182b); color: #e9f0f5; tab-size: 2; }
.api-console-grid pre code { font: 0.64rem/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space: pre; }
.api-console-grid footer { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px 12px; }
.api-console-grid footer strong { color: var(--gold-ink); font-size: 0.58rem; line-height: 1.35; }
.api-console-grid footer span { color: var(--muted); font-size: 0.57rem; line-height: 1.35; text-align: right; }
.api-control-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 28px; border: 1px solid var(--line); background: rgba(255,253,248,0.7); }
.api-control-grid > * { min-width: 0; min-height: 102px; border-left: 1px solid var(--line); }
.api-control-grid > :first-child { border-left: 0; }
.api-control-grid article { display: flex; align-items: center; gap: 13px; padding: 18px; }
.api-control-grid article > span { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink); font-size: 0.59rem; font-weight: 800; }
.api-control-grid strong { display: block; font-size: 0.68rem; line-height: 1.35; }
.api-control-grid p { margin: 4px 0 0; color: var(--muted); font-size: 0.59rem; line-height: 1.45; }
.api-control-grid > a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 18px; background: var(--navy); color: white; font-size: 0.68rem; font-weight: 760; line-height: 1.4; text-align: center; }
.api-control-grid > a:hover { background: #123c62; }

/* Question band */
.question-section { padding: 32px 0 52px; background: rgba(252,249,242,0.58); }
.question-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.66); box-shadow: 0 12px 36px rgba(71,55,29,0.035); }
.question-panel > h2 { max-width: 960px; margin: 0 auto; padding: 27px 40px 20px; font-family: var(--serif); font-size: 1.13rem; font-weight: 500; line-height: 1.4; text-align: center; }
.question-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 16px 16px; border: 1px solid rgba(223,212,194,0.7); }
.question-grid article { display: grid; min-height: 150px; place-items: start center; align-content: center; gap: 9px; padding: 20px 28px; border-left: 1px solid var(--line); text-align: center; }
.question-grid article:first-child { border-left: 0; }
.brand-icon { width: 42px; height: 42px; object-fit: contain; }
.question-grid p { margin: 0; color: #31475b; font-size: 0.72rem; font-weight: 520; line-height: 1.45; }

/* Report */
.sample-report-section { border-block: 1px solid rgba(223,212,194,0.6); background: rgba(253,250,244,0.48); }
.report-layout { display: grid; gap: 46px; }
.report-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr); align-items: end; gap: clamp(42px, 7vw, 112px); }
.report-copy h2, .decision-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 4.25vw, 4.35rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.report-copy-detail { padding-bottom: 4px; }
.report-copy-detail > p { max-width: 580px; margin: 0; color: var(--body); font-size: 0.9rem; line-height: 1.68; }
.report-copy .button { margin-top: 26px; }
.report-copy small { display: block; max-width: 520px; margin-top: 16px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.report-spread { display: grid; width: min(100%, 1220px); grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: 28px 24px; margin-inline: auto; }
.report-page { min-width: 0; grid-column: span 2; filter: drop-shadow(0 18px 30px rgba(30,27,21,0.12)); }
.report-page:nth-child(4) { grid-column: 2 / span 2; }
.report-page:nth-child(5) { grid-column: 4 / span 2; }
.deliverables-row { display: grid; grid-template-columns: repeat(5, 1fr); margin: 2px 0 0; padding: 0; border: 1px solid var(--line); background: rgba(255,253,248,0.58); list-style: none; }
.deliverables-row li { display: flex; min-height: 82px; align-items: center; gap: 13px; padding: 15px 18px; border-left: 1px solid var(--line); }
.deliverables-row li:first-child { border-left: 0; }
.deliverables-row span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-size: 0.64rem; }
.deliverables-row strong { font-size: 0.72rem; font-weight: 720; line-height: 1.35; }

/* Controlled illustrative report specimen */
.specimen-page { display: flex; aspect-ratio: 3 / 4; min-height: 0; flex-direction: column; overflow: hidden; padding: 4.8%; border: 1px solid #d9cbb5; background: #fffdf8; color: var(--navy); font-size: clamp(9px,0.8vw,13px); box-shadow: var(--shadow); }
.specimen-header, .specimen-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1em; color: #8a6a33; font-size: 0.72em; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.specimen-header { padding-bottom: 1.2em; border-bottom: 1px solid #e8dece; }
.specimen-brand { display: inline-flex; align-items: center; gap: 0.55em; color: var(--navy); letter-spacing: 0; text-transform: none; }
.specimen-brand i { display: grid; width: 2em; height: 2em; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy); color: white; font-family: var(--serif); font-size: 0.95em; font-style: normal; }
.specimen-footer { margin-top: auto; padding-top: 1.1em; border-top: 1px solid #e8dece; }
.specimen-footer strong { padding: 0.45em 0.7em; border: 1px solid var(--gold-ink); color: var(--gold-ink); letter-spacing: 0.11em; }
.specimen-footer-short { display: none; }
.specimen-kicker { color: var(--gold-ink); font-size: 0.74em; font-weight: 800; letter-spacing: 0.13em; line-height: 1.3; text-transform: uppercase; }
.specimen-page h3 { margin: 0.55em 0 0; font-family: var(--serif); font-size: 2.9em; font-weight: 520; letter-spacing: -0.035em; line-height: 0.98; }
.specimen-page p { margin: 0.8em 0 0; color: var(--body); font-size: 0.92em; line-height: 1.48; }
.specimen-body { display: flex; min-height: 0; flex: 1; flex-direction: column; padding-top: 7%; }
.specimen-opinion-banner { display: flex; align-items: center; gap: 1em; margin-top: 1.35em; padding: 1em; border: 1px solid #d7c39f; background: #fbf6ec; }
.specimen-opinion-banner i { display: grid; width: 2.4em; height: 2.4em; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-style: normal; font-weight: 800; }
.specimen-opinion-banner div { display: grid; gap: 0.2em; }
.specimen-opinion-banner span { color: var(--body); font-size: 0.78em; }
.specimen-opinion-list { display: grid; gap: 0; margin: 1.15em 0 0; padding: 0; border: 1px solid #e2d6c3; list-style: none; }
.specimen-opinion-list li { display: grid; grid-template-columns: 2.3em 1fr; gap: 0.7em; align-items: start; padding: 0.8em; font-size: 0.76em; line-height: 1.35; }
.specimen-opinion-list li + li { border-top: 1px solid #e7dece; }
.specimen-opinion-list span { color: var(--gold-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.specimen-opinion-list li > div { display: grid; gap: 0.28em; }
.specimen-opinion-list p { margin: 0; font-size: 0.92em; line-height: 1.35; }
.specimen-opinion-list strong { color: var(--gold-ink); font-size: 0.88em; font-weight: 750; }
.specimen-disclaimer { margin-top: auto !important; padding-top: 1em; border-top: 1px solid #e8dece; font-size: 0.72em !important; }
.specimen-summary-grid, .specimen-closure-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.65em; margin-top: 1.25em; }
.specimen-summary-grid span, .specimen-closure-cards span { padding: 0.8em 0.6em; border: 1px solid #e2d6c3; background: #fbf6ec; font-size: 0.7em; font-weight: 750; line-height: 1.25; text-align: center; }
.specimen-table { margin-top: 1.2em; border: 1px solid #dfd2bd; font-size: 0.75em; }
.specimen-table > div { display: grid; grid-template-columns: 1.05fr 1.35fr 0.9fr; }
.specimen-table > div + div { border-top: 1px solid #e7dece; }
.specimen-table span, .specimen-table b { padding: 0.75em 0.65em; border-left: 1px solid #e7dece; line-height: 1.3; }
.specimen-table span:first-child, .specimen-table b:first-child { border-left: 0; }
.specimen-table-head { background: var(--navy); color: white; }
.specimen-evidence h3, .specimen-acceptance h3, .specimen-closure h3 { font-size: 2.45em; }
.specimen-evidence-table, .specimen-acceptance-table, .specimen-closure-table, .specimen-monitoring-table { font-size: 0.52em; }
.specimen-evidence-table > div { grid-template-columns: 1.05fr 1.35fr 0.72fr 0.72fr 1.45fr 0.55fr; }
.specimen-acceptance-table > div { grid-template-columns: 1fr 1.35fr 1.25fr 1.25fr 0.85fr 0.95fr; }
.specimen-closure-table > div { grid-template-columns: 0.48fr 1.85fr 0.9fr 0.9fr 0.72fr; }
.specimen-monitoring-table > div { grid-template-columns: 1.15fr 1.3fr 0.85fr 0.9fr 1.2fr; }
.specimen-evidence-table span, .specimen-evidence-table b,
.specimen-acceptance-table span, .specimen-acceptance-table b,
.specimen-closure-table span, .specimen-closure-table b,
.specimen-monitoring-table span, .specimen-monitoring-table b { padding: 0.6em 0.48em; }
.specimen-subheading { margin: 1.1em 0 -0.35em; color: var(--gold-ink); font-size: 0.68em; letter-spacing: 0.08em; text-transform: uppercase; }
.specimen-outcome { display: flex; align-items: center; gap: 1em; margin-top: 1.5em; padding: 1em; border: 1px solid #d7c39f; background: #fbf6ec; }
.specimen-outcome i { display: grid; width: 2.4em; height: 2.4em; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-style: normal; }
.specimen-outcome div { display: grid; gap: 0.25em; }
.specimen-outcome span { color: var(--body); font-size: 0.78em; line-height: 1.3; }
.specimen-checklist, .specimen-closure-list { display: grid; gap: 0; margin: 1.2em 0 0; padding: 0; border: 1px solid #e2d6c3; list-style: none; }
.specimen-checklist li { display: flex; justify-content: space-between; gap: 1em; padding: 0.82em; font-size: 0.78em; }
.specimen-checklist li + li, .specimen-closure-list li + li { border-top: 1px solid #e7dece; }
.specimen-checklist strong { color: #446851; text-align: right; }
.specimen-conditions-head { display: grid; grid-template-columns: 0.9fr 1fr 1.2fr 1fr; margin-top: 1.2em; background: var(--navy); color: white; font-size: 0.62em; font-weight: 750; }
.specimen-conditions-head span { padding: 0.72em 0.6em; border-left: 1px solid rgba(255,255,255,0.2); }
.specimen-conditions-head span:first-child { border-left: 0; }
.specimen-conditions-list { display: grid; margin: 0; padding: 0; border: 1px solid #e2d6c3; border-top: 0; list-style: none; }
.specimen-conditions-list li { display: grid; grid-template-columns: 0.9fr 1fr 1.2fr 1fr; font-size: 0.64em; line-height: 1.3; }
.specimen-conditions-list li + li { border-top: 1px solid #e7dece; }
.specimen-conditions-list :is(b, span, strong) { padding: 0.82em 0.62em; border-left: 1px solid #e7dece; }
.specimen-conditions-list b { border-left: 0; }
.specimen-conditions-list span { color: var(--body); }
.specimen-conditions-list strong { color: #8c652c; }
.specimen-closure-list li { display: grid; grid-template-columns: 1.1fr 1fr 0.85fr; gap: 0.8em; padding: 0.82em; font-size: 0.72em; line-height: 1.3; }
.specimen-closure-list span { color: var(--body); }
.specimen-closure-list strong { color: #8c652c; text-align: right; }
.specimen-compact { padding: 4.5%; font-size: clamp(7px,0.72vw,10px); box-shadow: none; }
.specimen-compact .specimen-body { padding-top: 5.5%; }
.specimen-compact .specimen-footer { gap: 0.7em; padding-top: 0.85em; white-space: nowrap; }
.specimen-compact .specimen-footer-full { display: none; }
.specimen-compact .specimen-footer-short { display: inline; }

/* Decision */
.decision-section { background: linear-gradient(180deg, rgba(242,235,222,0.68), rgba(248,243,233,0.78)); }
.decision-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 58px; padding: clamp(42px,5vw,70px); border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.62); box-shadow: var(--shadow); }
.decision-heading > p:not(.eyebrow) { max-width: 400px; margin: 28px 0 0; color: var(--body); font-size: 0.82rem; line-height: 1.6; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.decision-grid article { min-height: 290px; padding: 22px 23px; border-left: 1px solid var(--line); }
.decision-grid h3 { margin: 32px 0 14px; font-family: var(--serif); font-size: 1.35rem; font-weight: 550; line-height: 1.1; }
.decision-grid p { margin: 0; color: var(--body); font-size: 0.75rem; line-height: 1.55; }

/* Verification */
.verification-section { border-bottom: 1px solid var(--line); background: rgba(247,241,230,0.52); }
.verification-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-top: 44px; }
.verification-grid article { min-height: 300px; padding: 28px 21px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.78); box-shadow: 0 12px 30px rgba(45,37,25,0.045); text-align: center; }
.verification-grid .brand-icon { width: 54px; height: 54px; margin-inline: auto; }
.verification-grid h3 { margin: 24px 0 13px; font-size: 0.89rem; line-height: 1.28; }
.verification-grid p { margin: 0; color: var(--body); font-size: 0.75rem; line-height: 1.52; }
.verification-grid .facility-card { background: rgba(253,250,244,0.48); }
.scope-label { display: table; margin: 0 auto 13px; padding: 5px 8px; border: 1px solid rgba(180,138,69,0.42); background: rgba(248,241,226,0.7); color: var(--gold-ink); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }

/* Engagement */
.engagement-section { background: rgba(253,250,244,0.46); }
.engagement-panel { padding: clamp(40px,4.6vw,64px); border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.58); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border: 1px solid var(--line); }
.engagement-grid article { min-height: 360px; padding: 30px 32px; border-left: 1px solid var(--line); }
.engagement-grid article:first-child { border-left: 0; }
.engagement-grid .engagement-featured { background: linear-gradient(180deg, rgba(248,238,217,0.72), rgba(255,253,248,0.22)); box-shadow: inset 0 3px 0 var(--gold); }
.engagement-grid h3 { margin: 24px 0 14px; font-size: 0.92rem; }
.engagement-grid p { margin: 0; color: var(--body); font-size: 0.75rem; line-height: 1.6; }
.engagement-guidance { display: grid; gap: 12px; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); }
.engagement-guidance p { display: grid; gap: 3px; }
.engagement-guidance strong { color: var(--gold-ink); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.engagement-guidance span { color: var(--body); font-size: 0.72rem; line-height: 1.45; }
.engagement-product-link { display: inline-flex; margin-top: 20px; color: var(--navy); font-size: .72rem; font-weight: 800; gap: 7px; }
.verification-product-link { margin-top: 22px; text-align: center; }
.verification-product-link a { color: var(--gold-ink); font-size: .76rem; font-weight: 800; }
.engagement-note { margin: 14px 0 0; padding: 15px 20px; border: 1px solid rgba(180,138,69,0.25); background: rgba(248,241,226,0.7); color: var(--body); font-family: var(--serif); font-size: 0.94rem; text-align: center; }
.engagement-note span { margin-right: 10px; color: var(--gold); }
.workflow-note { margin: 12px 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; text-align: center; }

/* Illustrative review */
.illustrative-section { border-block: 1px solid var(--line); background: rgba(248,243,233,0.68); }
.illustrative-panel { display: grid; grid-template-columns: 0.85fr 1.65fr; margin-top: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.62); box-shadow: var(--shadow); }
.cluster-art { display: grid; min-height: 390px; place-items: center; padding: 20px; border-right: 1px solid var(--line); background: radial-gradient(circle, white 0, transparent 68%); }
.cluster-art img { width: 100%; height: auto; }
.illustrative-columns { display: grid; grid-template-columns: repeat(3, 1fr); }
.illustrative-columns article { padding: 42px 27px 30px; border-left: 1px solid var(--line); }
.illustrative-columns article:first-child { border-left: 0; }
.illustrative-columns article > span { color: var(--gold); font-size: 1.4rem; }
.illustrative-columns h3 { margin: 22px 0 14px; font-family: var(--serif); font-size: 1.22rem; font-weight: 550; }
.illustrative-columns p { margin: 0; color: var(--body); font-size: 0.75rem; line-height: 1.55; }
.marker-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.marker-grid article { display: flex; min-height: 75px; align-items: center; gap: 12px; padding: 12px 24px; border-left: 1px solid var(--line); }
.marker-grid article:first-child { border-left: 0; }
.marker-grid .brand-icon { width: 34px; height: 34px; }
.marker-grid div { display: grid; gap: 2px; }
.marker-grid strong { font-size: 0.72rem; }
.marker-grid span { color: var(--muted); font-size: 0.72rem; }
.illustrative-cta { display: flex; justify-content: center; margin-top: 26px; text-align: center; }
.illustrative-cta > div { display: grid; justify-items: center; gap: 10px; }
.illustrative-cta .button { min-height: 44px; }
.illustrative-cta p { max-width: 660px; margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

/* Capacity */
.capacity-section { background: rgba(253,250,244,0.42); }
.capacity-panel { padding: clamp(42px,5vw,66px); border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.66); box-shadow: 0 14px 38px rgba(45,37,25,0.045); }
.capacity-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 46px 0 0; padding: 0; list-style: none; }
.capacity-flow li { position: relative; display: grid; place-items: center; align-content: start; padding: 0 18px; text-align: center; }
.capacity-icon { display: grid; width: 70px; height: 70px; place-items: center; border: 1px solid var(--gold-light); border-radius: 50%; background: rgba(255,255,255,0.74); }
.capacity-icon .brand-icon { width: 44px; height: 44px; }
.capacity-flow li > span { margin-top: 13px; color: var(--gold-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.68rem; }
.capacity-flow strong { max-width: 155px; margin-top: 6px; font-size: 0.75rem; line-height: 1.35; }
.capacity-flow i { position: absolute; top: 27px; right: -9px; color: var(--gold); font-size: 1.1rem; font-style: normal; }

/* Traceability */
.traceability-section { padding-top: 0; background: rgba(247,241,230,0.5); }
.traceability-panel { padding: clamp(40px,4.6vw,62px); border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.62); box-shadow: 0 12px 34px rgba(45,37,25,0.035); }
.traceability-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.traceability-flow li { position: relative; display: flex; min-height: 122px; gap: 13px; padding: 26px 23px; border-left: 1px solid var(--line); }
.traceability-flow li:first-child { border-left: 0; }
.traceability-flow li > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-size: 0.7rem; }
.traceability-flow strong { font-size: 0.75rem; }
.traceability-flow p { margin: 7px 0 0; color: var(--body); font-size: 0.72rem; line-height: 1.45; }
.traceability-flow i { position: absolute; top: 50%; right: -9px; z-index: 2; color: var(--gold); font-style: normal; transform: translateY(-50%); }
.traceability-line { margin: 18px 0 0; color: var(--muted); font-size: 0.72rem; text-align: center; }
.traceability-line span { margin: 0 8px; color: var(--gold); }

/* Process */
.process-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(251,247,239,0.52), rgba(244,238,227,0.7)); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 46px 0 0; padding: 0; list-style: none; }
.process-grid li { position: relative; display: grid; grid-template-columns: auto 1fr; min-height: 190px; align-content: start; gap: 14px 16px; padding: 25px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.82); box-shadow: 0 12px 26px rgba(43,35,23,0.045); }
.process-grid li > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 0.68rem; }
.process-grid .brand-icon { width: 38px; height: 38px; margin-left: auto; }
.process-grid li > div { grid-column: 1 / -1; }
.process-grid h3 { margin: 9px 0 9px; font-size: 0.82rem; }
.process-grid p { margin: 0; color: var(--body); font-size: 0.75rem; line-height: 1.5; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.trust-grid article { min-height: 190px; padding: 23px 21px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.62); }
.trust-grid .brand-icon { width: 40px; height: 40px; }
.trust-control-icon { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; color: var(--navy); }
.trust-control-icon svg { display: block; width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.trust-control-icon .trust-icon-accent { stroke: var(--gold); }
.trust-grid h3 { margin: 20px 0 10px; font-size: 0.72rem; }
.trust-grid p { margin: 0; color: var(--body); font-size: 0.72rem; line-height: 1.5; }

/* Independence */
.independence-section { background: rgba(252,249,242,0.58); }
.independence-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,253,248,0.68); box-shadow: var(--shadow); }
.independence-copy { padding: clamp(40px,4.6vw,64px); border-right: 1px solid var(--line); }
.independence-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.55rem,3.8vw,4rem); font-weight: 500; line-height: 0.96; letter-spacing: -0.04em; }
.independence-copy ul { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; }
.independence-copy li { position: relative; padding-left: 24px; color: var(--body); font-size: 0.74rem; line-height: 1.45; }
.independence-copy li::before { position: absolute; top: 0.05em; left: 0; color: var(--gold); content: "✓"; font-weight: 800; }
.independence-copy > p { margin: 25px 0 0; color: var(--gold); font-family: var(--serif); font-size: 1rem; }
.principal-card { padding: clamp(38px,4.4vw,60px); }
.principal-intro { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start; }
.monogram { display: grid; width: 86px; height: 86px; place-items: center; border: 4px double var(--gold); border-radius: 50%; background: var(--navy); color: white; font-family: var(--serif); font-size: 1.45rem; }
.principal-intro h3 { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 550; }
.principal-intro strong { display: block; margin-top: 3px; font-size: 0.67rem; }
.principal-intro p { max-width: 600px; margin: 13px 0 0; color: var(--body); font-size: 0.75rem; line-height: 1.55; }
.principal-capabilities { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 25px; }
.principal-capabilities > div { padding: 14px; border: 1px solid var(--line); background: rgba(250,246,238,0.56); }
.principal-capabilities strong { font-size: 0.72rem; line-height: 1.3; }
.principal-capabilities p { margin: 7px 0 0; color: var(--body); font-size: 0.72rem; line-height: 1.45; }
.experience-label { margin: 31px 0 13px; color: var(--gold-ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.experience-logos { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 12px; }
.experience-logos > div { display: grid; min-width: 0; min-height: 66px; place-items: center; align-content: center; gap: 6px; padding: 7px; border-left: 1px solid var(--line); }
.experience-logos > div:first-child { border-left: 0; }
.experience-logos img { width: auto; max-width: 105px; height: auto; max-height: 32px; object-fit: contain; }
.experience-logo-cornell img { max-height: 40px; }
.experience-logos span { color: var(--body); font-size: 0.66rem; font-weight: 700; line-height: 1.2; text-align: center; }
.principal-card > small { display: block; margin-top: 15px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.stage-disclosure { display: grid; gap: 7px; margin: 26px 0 0; text-align: center; }
.stage-disclosure strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 550; }
.stage-disclosure span { color: var(--muted); font-size: 0.72rem; }

/* Final CTA and footer */
.final-cta { position: relative; overflow: hidden; padding: 72px 0; border-bottom: 1px solid rgba(255,255,255,0.17); background: var(--navy); color: white; }
.final-cta::before, .final-cta::after { position: absolute; width: 520px; height: 150px; border: 1px solid rgba(209,177,113,0.17); border-radius: 50%; content: ""; }
.final-cta::before { bottom: -95px; left: -80px; box-shadow: 0 -12px 0 rgba(209,177,113,0.08), 0 -24px 0 rgba(209,177,113,0.05); }
.final-cta::after { top: -102px; right: -95px; box-shadow: 0 12px 0 rgba(209,177,113,0.08), 0 24px 0 rgba(209,177,113,0.05); }
.final-cta-inner { position: relative; z-index: 1; text-align: center; }
.final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.55rem,4vw,4.1rem); font-weight: 500; line-height: 0.96; letter-spacing: -0.035em; }
.final-cta-inner > div { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.final-cta p { margin: 16px 0 0; color: #b9c7d5; font-size: 0.67rem; }
.site-footer { padding: 40px 0 20px; background: var(--navy-deep); color: white; }
.footer-main { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 34px; padding-bottom: 32px; }
.footer-brand .brand-lockup { width: 135px; }
.footer-brand > p { max-width: 260px; margin: 15px 0 0; color: #b7c3cf; font-size: 0.7rem; line-height: 1.5; }
.site-footer nav { display: flex; justify-content: center; gap: clamp(16px,2.4vw,34px); }
.site-footer nav a { position: relative; color: #d3dbe3; font-size: 0.68rem; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 19px; border-top: 1px solid rgba(255,255,255,0.14); color: #a8b6c4; font-size: 0.66rem; }
.footer-bottom nav { gap: 24px; }

/* Consent-aware measurement */
.consent-banner {
  position: fixed;
  top: max(8px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  bottom: auto;
  left: max(18px, env(safe-area-inset-left));
  z-index: 80;
  display: grid;
  width: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,253,248,0.98);
  box-shadow: 0 14px 42px rgba(5,26,48,0.18);
}
body:has(.consent-banner) { padding-top: 108px; }
body:has(.consent-banner) .site-header { top: 108px; }
.consent-copy strong { display: block; font-size: 0.86rem; }
.consent-copy p { margin: 6px 0 0; color: var(--body); font-size: 0.78rem; line-height: 1.5; }
.consent-actions { display: grid; width: min(100%, 340px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.consent-actions .button { width: 100%; min-height: 42px; padding-inline: 12px; white-space: normal; }

/* Sample report and legal routes */
.report-route { min-height: 100vh; background-color: var(--paper); background-image: var(--paper-grain); background-size: 23px 23px, 31px 31px; }
.report-route-header { max-width: 900px; padding-top: 70px; text-align: center; }
.report-back { display: inline-flex; margin-bottom: 48px; color: var(--body); font-size: 0.76rem; font-weight: 700; }
.report-route-header h1, .legal-page h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem,6vw,6.2rem); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.report-route-header > p:last-child { max-width: 680px; margin: 23px auto 0; color: var(--body); line-height: 1.65; }
.report-route-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.report-route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 42px; padding-block: 70px 100px; }
.report-route-grid figure { margin: 0; }
.report-route-grid figure > .specimen-page { width: 100%; }
.report-route-grid figcaption { margin-top: 12px; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.report-route-cta { padding: 60px 0; background: var(--navy); color: white; }
.report-route-cta .site-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.report-route-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,4vw,3.8rem); font-weight: 500; }
.legal-page { max-width: 820px; min-height: 100vh; padding-block: 70px 120px; }
.legal-page .report-back { margin-bottom: 70px; }
.legal-page > p:not(.eyebrow) { color: var(--body); line-height: 1.75; }
.legal-page h2 { margin: 45px 0 10px; font-family: var(--serif); font-size: 2rem; font-weight: 550; }
.legal-page a:not(.report-back) { text-decoration: underline; }

@media (max-width: 1120px) {
  .site-shell { width: min(calc(100% - 48px), 1120px); }
  .header-inner { gap: 16px; padding-inline: 24px; }
  .desktop-nav { gap: 20px; }
  .hero-grid { grid-template-columns: minmax(390px,0.95fr) minmax(480px,1.05fr); min-height: 680px; }
  .hero-copy h1 { font-size: clamp(3.9rem,6vw,4.8rem); }
  .hero-visual { width: 100%; margin-left: 0; }
  .api-landing-grid { grid-template-columns: minmax(280px,0.64fr) minmax(570px,1.36fr); gap: 32px; }
  .api-landing-copy h2 { font-size: clamp(2.8rem,4.3vw,4rem); }
  .api-control-grid article { padding-inline: 13px; }
  .report-layout { gap: 42px; }
  .report-copy { gap: 48px; }
  .decision-panel { grid-template-columns: 1fr; gap: 35px; padding: 48px 36px; }
  .decision-heading > p:not(.eyebrow) { max-width: 650px; }
  .decision-grid { grid-template-columns: repeat(2,1fr); }
  .decision-grid article:first-child, .decision-grid article:nth-child(3) { border-left: 0; }
  .decision-grid article:nth-child(3) { grid-column: 1 / -1; min-height: auto; border-top: 1px solid var(--line); }
  .verification-grid { grid-template-columns: repeat(6, 1fr); }
  .verification-grid article { grid-column: span 2; }
  .verification-grid article:nth-child(4) { grid-column: 2 / span 2; }
  .verification-grid .facility-card { grid-column: 4 / span 2; }
  .illustrative-panel { grid-template-columns: 0.75fr 1.65fr; }
  .illustrative-columns article { padding-inline: 20px; }
  .trust-grid { grid-template-columns: repeat(6, 1fr); }
  .trust-grid article { grid-column: span 2; }
  .trust-grid article:nth-child(4) { grid-column: 2 / span 2; }
  .trust-grid article:nth-child(5) { grid-column: 4 / span 2; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-main > nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 960px) {
  .api-landing-grid { grid-template-columns: 1fr; }
  .api-landing-copy { max-width: 750px; }
  .api-landing-copy h2 { max-width: 650px; font-size: clamp(3.5rem,8vw,5rem); }
  .illustrative-panel { grid-template-columns: 1fr; }
  .cluster-art { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cluster-art img { max-width: 650px; }
  .illustrative-columns { grid-template-columns: repeat(2,1fr); }
  .illustrative-columns article:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .section { padding: 68px 0; }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { gap: 20px; }
  .mobile-nav { position: relative; display: block; margin-left: auto; }
  .mobile-nav-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid var(--line); background: rgba(255,255,255,0.5); cursor: pointer; }
  .mobile-nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--navy); }
  .mobile-nav-panel { position: absolute; top: calc(100% + 13px); right: 0; display: grid; width: min(84vw, 330px); padding: 16px; border: 1px solid var(--line); background: var(--paper-light); box-shadow: var(--shadow); }
  .mobile-nav-panel > a:not(.button) { padding: 13px 9px; border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 650; }
  .mobile-nav-cta { margin-top: 15px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 0 20px; }
  .hero-copy { max-width: 700px; padding: 70px 0 24px; }
  .hero-copy h1 { font-size: clamp(4.1rem,10vw,5.8rem); }
  .hero-lead, .hero-detail { max-width: 650px; }
  .hero-visual { width: 100%; margin: 0 0 12px; }
  .api-control-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .api-control-grid > * { border-top: 1px solid var(--line); }
  .api-control-grid > :nth-child(-n+2) { border-top: 0; }
  .api-control-grid > :nth-child(odd) { border-left: 0; }
  .api-control-grid > a { grid-column: 1 / -1; min-height: 74px; border-left: 0; }
  .question-grid { grid-template-columns: repeat(2, 1fr); }
  .question-grid article:nth-child(3) { border-left: 0; }
  .question-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-copy { max-width: 720px; grid-template-columns: 1fr; gap: 26px; }
  .report-spread { grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; gap: 20px; }
  .report-page, .report-page:nth-child(4), .report-page:nth-child(5) { grid-column: auto; }
  .report-page:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .specimen-compact { font-size: clamp(8px,1.05vw,9.5px); }
  .deliverables-row { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .deliverables-row li:nth-child(odd) { border-left: 0; }
  .deliverables-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .deliverables-row li:last-child { grid-column: 1 / -1; }
  .verification-grid { grid-template-columns: repeat(2, 1fr); }
  .verification-grid article,
  .verification-grid article:nth-child(4) { grid-column: auto; }
  .verification-grid .facility-card { grid-column: 1 / -1; min-height: 230px; }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article { min-height: auto; border-top: 1px solid var(--line); border-left: 0; }
  .engagement-grid article:first-child { border-top: 0; }
  .capacity-flow { grid-template-columns: 1fr; gap: 0; }
  .capacity-flow li { grid-template-columns: 72px 1fr; min-height: 98px; place-items: center start; padding: 14px 0; border-top: 1px solid var(--line); text-align: left; }
  .capacity-flow li:first-child { border-top: 0; }
  .capacity-icon { grid-row: 1 / 3; width: 58px; height: 58px; }
  .capacity-icon .brand-icon { width: 36px; height: 36px; }
  .capacity-flow li > span { margin: 0; }
  .capacity-flow strong { max-width: none; margin: 0; }
  .capacity-flow i { top: auto; right: 18px; bottom: -10px; transform: rotate(90deg); }
  .traceability-flow { grid-template-columns: repeat(2, 1fr); }
  .traceability-flow li:nth-child(3) { border-left: 0; }
  .traceability-flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid article,
  .trust-grid article:nth-child(4),
  .trust-grid article:nth-child(5) { grid-column: auto; }
  .trust-grid article:last-child { grid-column: 1 / -1; }
  .independence-panel { grid-template-columns: 1fr; }
  .independence-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > nav { grid-column: auto; grid-row: auto; flex-wrap: wrap; }
  .footer-main .button { width: max-content; }
}

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 36px), 600px); }
  .section { padding: 58px 0; }
  .brand-lockup { width: 137px; }
  .header-inner { padding-inline: 18px; }
  .button { font-size: 0.875rem; }
  .eyebrow { font-size: 0.75rem; }
  .section-heading > p:not(.eyebrow) { font-size: 0.95rem; line-height: 1.6; }
  .hero-copy { padding-top: 48px; }
  .hero-copy > .eyebrow { max-width: 31ch; overflow: visible; font-size: 0.7rem; letter-spacing: 0.15em; line-height: 1.55; white-space: normal; }
  .hero-copy h1 { font-size: clamp(3.6rem,17vw,4.7rem); line-height: 0.89; }
  .hero-copy h1 em { white-space: normal; }
  .hero-narrow-break { display: block; }
  .hero-lead { font-size: 1rem; line-height: 1.58; }
  .hero-detail { font-size: 0.94rem; line-height: 1.58; }
  .audience-line { font-size: 0.88rem; line-height: 1.5; }
  .trust-microcopy { font-size: 0.8rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual { width: 100%; margin: 10px 0 18px; }
  .hero-architecture { display: flex; flex-direction: column; }
  .architecture-row-top .architecture-callout::after,
  .architecture-row-bottom .architecture-callout::before,
  .architecture-image::after { display: none; }
  .architecture-image { order: -1; min-height: 0; padding: 0; }
  .architecture-row { grid-template-columns: repeat(2,1fr); }
  .architecture-row .architecture-callout:nth-child(3) { grid-column: 1 / -1; }
  .architecture-callout { min-height: 86px; }
  .architecture-callout strong,
  .architecture-callout span { font-size: 0.75rem; }
  .architecture-callout span { line-height: 1.35; }
  .api-landing-copy h2 { font-size: clamp(3rem,14vw,4rem); }
  .api-landing-copy > p:not(.eyebrow, .api-landing-note) { font-size: 0.95rem; line-height: 1.6; }
  .api-landing-actions { display: grid; }
  .api-landing-actions .button { width: 100%; }
  .api-landing-note { font-size: 0.78rem; }
  .api-workbench-header { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 12px; }
  .api-workbench-tabs { grid-template-columns: repeat(2,1fr); }
  .api-workbench-tabs span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .api-console-grid { grid-template-columns: 1fr; }
  .api-console-grid article + article { border-top: 1px solid var(--line); }
  .api-console-grid pre { min-height: 0; }
  .api-console-grid pre code { font-size: 0.72rem; white-space: pre-wrap; overflow-wrap: anywhere; }
  .api-console-grid header strong { font-size: 0.76rem; }
  .api-console-grid header code, .api-console-grid footer strong, .api-console-grid footer span { font-size: 0.68rem; }
  .api-control-grid strong { font-size: 0.8rem; }
  .api-control-grid p { font-size: 0.7rem; }
  .api-control-grid > a { font-size: 0.82rem; }
  .question-section { padding-bottom: 36px; }
  .question-panel > h2 { padding: 24px 20px 18px; font-size: 1.08rem; }
  .question-grid { grid-template-columns: 1fr; margin: 0 10px 10px; }
  .question-grid article { min-height: 132px; border-top: 1px solid var(--line); border-left: 0; }
  .question-grid article:first-child { border-top: 0; }
  .question-grid p { font-size: 0.9rem; line-height: 1.55; }
  .report-copy h2, .decision-heading h2 { font-size: clamp(2.8rem,13vw,3.8rem); }
  .report-copy-detail > p, .decision-heading > p:not(.eyebrow) { font-size: 0.95rem; line-height: 1.6; }
  .report-copy small { font-size: 0.8rem; }
  .report-spread { grid-template-columns: 1fr; gap: 18px; width: min(100%,420px); margin-inline: auto; overflow: visible; }
  .report-page,
  .report-page:nth-child(4),
  .report-page:nth-child(5),
  .report-page:last-child { width: 100%; grid-column: auto; }
  .specimen-compact { aspect-ratio: auto; min-height: 720px; font-size: clamp(14px,3.7vw,15px); }
  .specimen-compact :is(.specimen-header, .specimen-footer, .specimen-kicker),
  .specimen-compact .specimen-summary-grid span,
  .specimen-compact .specimen-closure-cards span,
  .specimen-compact .specimen-outcome span,
  .specimen-compact .specimen-checklist li,
  .specimen-compact .specimen-closure-list li,
  .specimen-compact .specimen-opinion-list li,
  .specimen-compact .specimen-conditions-list li { font-size: 0.86em; }
  .specimen-compact :is(.specimen-evidence-table, .specimen-acceptance-table, .specimen-closure-table, .specimen-monitoring-table) { font-size: 0.58em; }
  .deliverables-row { grid-template-columns: 1fr; }
  .deliverables-row li { border-top: 1px solid var(--line); border-left: 0; }
  .deliverables-row li:first-child { border-top: 0; }
  .deliverables-row li:last-child { grid-column: auto; }
  .deliverables-row strong { font-size: 0.875rem; }
  .decision-panel, .engagement-panel, .capacity-panel, .traceability-panel { padding: 32px 23px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid article { min-height: auto; padding: 27px 10px; border-top: 1px solid var(--line); border-left: 0; }
  .decision-grid article:first-child { border-top: 0; }
  .decision-grid h3 { margin-top: 16px; }
  .decision-grid p { font-size: 0.875rem; }
  .verification-grid { grid-template-columns: 1fr; }
  .verification-grid article,
  .verification-grid article:nth-child(4),
  .verification-grid .facility-card { grid-column: auto; min-height: 240px; }
  .verification-grid p { font-size: 0.875rem; }
  .engagement-grid article { padding: 27px 23px; }
  .engagement-grid p { font-size: 0.875rem; }
  .engagement-guidance strong { font-size: 0.72rem; }
  .engagement-guidance span { font-size: 0.875rem; }
  .workflow-note { font-size: 0.8rem; line-height: 1.55; }
  .illustrative-columns { grid-template-columns: 1fr; }
  .illustrative-columns article { border-top: 1px solid var(--line); border-left: 0; }
  .illustrative-columns article:first-child { border-top: 0; }
  .illustrative-columns p { font-size: 0.875rem; }
  .illustrative-cta .button { width: 100%; }
  .marker-grid { grid-template-columns: repeat(2, 1fr); }
  .marker-grid article:nth-child(3) { border-left: 0; }
  .marker-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .marker-grid article { padding-inline: 14px; }
  .marker-grid strong { font-size: 0.82rem; }
  .marker-grid span { font-size: 0.78rem; }
  .capacity-flow li > span { font-size: 0.75rem; }
  .capacity-flow strong { font-size: 0.875rem; }
  .traceability-flow { grid-template-columns: 1fr; }
  .traceability-flow li { border-top: 1px solid var(--line); border-left: 0; }
  .traceability-flow li:first-child { border-top: 0; }
  .traceability-flow i { right: 18px; bottom: -10px; top: auto; transform: rotate(90deg); }
  .traceability-flow strong { font-size: 0.875rem; }
  .traceability-flow p { font-size: 0.875rem; line-height: 1.5; }
  .traceability-line { font-size: 0.8rem; line-height: 1.7; }
  .process-grid, .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article,
  .trust-grid article:nth-child(4),
  .trust-grid article:nth-child(5),
  .trust-grid article:last-child { grid-column: auto; }
  .process-grid li, .trust-grid article { min-height: auto; }
  .process-grid h3, .trust-grid h3 { font-size: 0.94rem; }
  .process-grid p, .trust-grid p { font-size: 0.875rem; line-height: 1.55; }
  .independence-copy li { font-size: 0.9rem; line-height: 1.55; }
  .principal-card { padding: 32px 23px; }
  .principal-intro { grid-template-columns: 1fr; }
  .principal-intro strong { font-size: 0.8rem; }
  .principal-intro p { font-size: 0.9rem; }
  .principal-capabilities { grid-template-columns: 1fr; }
  .principal-capabilities strong { font-size: 0.875rem; }
  .principal-capabilities p { font-size: 0.875rem; line-height: 1.55; }
  .experience-label { font-size: 0.75rem; }
  .experience-logos { grid-template-columns: repeat(2, 1fr); }
  .experience-logos > div { border: 1px solid var(--line); }
  .experience-logos > div:last-child { grid-column: 1 / -1; }
  .experience-logos span { font-size: 0.75rem; }
  .principal-card > small, .stage-disclosure span { font-size: 0.8rem; line-height: 1.55; }
  .final-cta { padding: 64px 0; }
  .final-cta h2 { font-size: clamp(2.45rem,12vw,3.3rem); }
  .final-cta-inner > div { display: grid; }
  .final-cta p { font-size: 0.82rem; line-height: 1.55; }
  .footer-main { justify-items: start; }
  .footer-brand > p { font-size: 0.82rem; line-height: 1.55; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer nav a { font-size: 0.78rem; }
  .footer-bottom { display: grid; gap: 16px; }
  .footer-bottom { font-size: 0.75rem; }
  .consent-banner {
    right: max(10px, env(safe-area-inset-right));
    top: max(10px, env(safe-area-inset-top));
    bottom: auto;
    left: max(10px, env(safe-area-inset-left));
    width: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    transform: none;
  }
  body:has(.consent-banner) { padding-top: 158px; }
  body:has(.consent-banner) .site-header { top: 158px; }
  .consent-copy strong { font-size: 0.94rem; }
  .consent-copy p { font-size: 0.82rem; }
  .consent-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-actions .button { width: 100%; }
  .report-route-header { padding-top: 46px; }
  .report-route-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 50px 70px; }
  .report-route-cta .site-shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .site-shell { width: min(calc(100% - 28px), 362px); }
  .header-inner { padding-inline: 14px; }
  .hero-copy h1 { font-size: 3.35rem; }
  .api-control-grid { grid-template-columns: 1fr; }
  .api-control-grid > *, .api-control-grid > :nth-child(-n+2) { min-height: 88px; border-top: 1px solid var(--line); border-left: 0; }
  .api-control-grid > :first-child { border-top: 0; }
  .api-control-grid > a { grid-column: auto; }
  .trust-microcopy { line-height: 1.7; }
  .marker-grid { grid-template-columns: 1fr; }
  .marker-grid article { border-top: 1px solid var(--line); border-left: 0; }
  .marker-grid article:first-child { border-top: 0; }
  .consent-banner { padding: 14px; }
  body:has(.consent-banner) { padding-top: 118px; }
  body:has(.consent-banner) .site-header { top: 118px; }
  .consent-copy p { display: none; }
  .consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 370px) {
  .hero-copy h1 { font-size: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Product platform */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.product-main { min-height: 70vh; }
.product-site-header .brand-lockup { width: 154px; }
.product-site-footer .brand-lockup { width: 135px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-actions .button { min-height: 48px; }
.product-hub-hero, .product-detail-hero, .integration-hero, .sandbox-hero, .intake-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.84), transparent 34%),
    linear-gradient(135deg, rgba(252,249,242,.88), rgba(245,236,219,.72));
}
.product-hub-hero-grid { display: grid; min-height: max(660px, calc(100svh - var(--header-height))); grid-template-columns: minmax(0,1.15fr) minmax(340px,.65fr); align-items: center; gap: clamp(50px,8vw,120px); padding-block: 84px; }
.product-hub-hero h1, .product-detail-hero h1, .integration-hero h1, .sandbox-hero h1, .intake-hero h1, .status-page h1 {
  margin: 0; max-width: 920px; font-family: var(--serif); font-size: clamp(3.8rem,6.5vw,6.9rem); font-weight: 500; line-height: .91; letter-spacing: -.052em;
}
.product-hub-hero-grid > div > p:not(.eyebrow), .product-detail-lead, .integration-hero .site-shell > p:not(.eyebrow), .sandbox-hero .site-shell > p:not(.eyebrow), .intake-hero .site-shell > p:not(.eyebrow) { max-width: 790px; margin: 26px 0 0; color: var(--body); font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.72; }
.product-hub-ledger { border: 1px solid var(--line); background: rgba(255,253,248,.8); box-shadow: var(--shadow); padding: 28px; }
.product-hub-ledger > a { display: grid; grid-template-columns: 38px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.product-hub-ledger > a:first-of-type { border-top: 0; }
.product-hub-ledger > a > span { grid-row: 1 / 3; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-family: var(--serif); }
.product-hub-ledger strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.product-hub-ledger small { color: var(--muted); font-size: .7rem; line-height: 1.5; }
.product-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 48px; }
.product-card { position: relative; display: flex; min-height: 590px; flex-direction: column; padding: 34px; border: 1px solid var(--line); background: rgba(255,253,248,.78); box-shadow: 0 14px 38px rgba(51,42,29,.06); }
.product-card-featured { border-top: 4px solid var(--gold); padding-top: 31px; background: linear-gradient(180deg, rgba(248,238,217,.7), rgba(255,253,248,.74)); }
.product-card-number { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink); font-family: var(--serif); font-size: 1.15rem; }
.product-card-kicker { margin: 22px 0 0; color: var(--gold-ink); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-card h3 { margin: 14px 0 24px; font-family: var(--serif); font-size: clamp(1.8rem,2.5vw,2.6rem); font-weight: 500; line-height: 1; }
.product-card dl { display: grid; gap: 18px; margin: 0; }
.product-card dl div { padding-top: 15px; border-top: 1px solid var(--line); }
.product-card dt { color: var(--gold-ink); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card dd { margin: 6px 0 0; color: var(--body); font-size: .82rem; line-height: 1.55; }
.pricing-fineprint { margin: auto 0 0; padding-top: 24px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.product-card-link { margin-top: 18px; color: var(--navy); font-size: .78rem; font-weight: 800; }
.comparison-section { background: rgba(252,249,242,.56); }
.product-comparison-table-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); background: rgba(255,253,248,.8); }
.product-comparison-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.product-comparison-table th, .product-comparison-table td { padding: 20px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-comparison-table tr > :first-child { width: 170px; border-left: 0; }
.product-comparison-table thead th { border-top: 0; background: rgba(8,36,63,.96); color: white; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.product-comparison-table thead th:first-child { font-family: var(--sans); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-comparison-table thead span { display: block; margin-bottom: 6px; color: var(--gold-light); font-family: var(--sans); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-comparison-table tbody th { color: var(--gold-ink); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.product-comparison-table td { color: var(--body); font-size: .77rem; line-height: 1.55; }
.product-comparison-mobile { display: none; }
.product-disclosure { margin-top: 18px; padding: 18px 22px; border: 1px solid rgba(180,138,69,.3); background: rgba(248,241,226,.72); color: var(--body); font-size: .78rem; line-height: 1.6; text-align: center; }
.product-end-cta { position: relative; overflow: hidden; padding: 82px 0; background: var(--navy); color: white; text-align: center; }
.product-end-cta h2 { max-width: 850px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.8rem,4.8vw,5rem); font-weight: 500; line-height: .95; letter-spacing: -.04em; }
.product-end-cta > .site-shell > p:not(.eyebrow) { max-width: 780px; margin: 18px auto 0; color: #c8d3de; line-height: 1.65; }
.product-end-cta .product-actions { justify-content: center; }

.product-detail-grid { display: grid; min-height: 700px; grid-template-columns: minmax(0,1.15fr) minmax(330px,.56fr); align-items: center; gap: clamp(50px,8vw,120px); padding-block: 88px; }
.product-detail-copy h1 { font-size: clamp(3.65rem,6vw,6.2rem); }
.product-brief-link { display: inline-flex; margin-top: 20px; color: var(--gold-ink); font-size: .75rem; font-weight: 800; gap: 8px; }
.product-facts { border: 1px solid var(--line); background: rgba(255,253,248,.8); box-shadow: var(--shadow); }
.product-facts div { padding: 24px; border-top: 1px solid var(--line); }
.product-facts div:first-child { border-top: 3px solid var(--gold); }
.product-facts span { display: block; color: var(--gold-ink); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-facts strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.product-facts small { display: block; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.product-question { padding: 72px 0; border-bottom: 1px solid var(--line); background: rgba(8,36,63,.98); color: white; text-align: center; }
.product-question h2 { max-width: 1040px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.4rem,4.2vw,4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.product-dual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.product-dual-list article { border: 1px solid var(--line); background: rgba(255,253,248,.74); }
.list-heading { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.list-heading span { color: var(--gold); font-family: var(--serif); font-size: 1.5rem; }
.list-heading h3 { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; }
.product-dual-list ol { margin: 0; padding: 16px 28px 28px; counter-reset: item; list-style: none; }
.product-dual-list li { position: relative; padding: 13px 0 13px 36px; border-top: 1px solid rgba(223,212,194,.7); color: var(--body); font-size: .83rem; line-height: 1.55; counter-increment: item; }
.product-dual-list li:first-child { border-top: 0; }
.product-dual-list li::before { position: absolute; left: 0; color: var(--gold-ink); content: counter(item, decimal-leading-zero); font-size: .62rem; font-weight: 800; }
.scope-modules-section { background: rgba(252,249,242,.56); }
.scope-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 42px; }
.scope-modules article { padding: 30px; border: 1px solid var(--line); background: var(--card); }
.scope-modules h3 { margin: 0 0 20px; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.scope-modules ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.scope-modules li { padding-left: 22px; color: var(--body); font-size: .85rem; line-height: 1.5; }
.scope-modules li::before { margin-left: -22px; padding-right: 10px; color: var(--gold); content: "◇"; }
.scope-modules article > p { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold-ink); font-size: .75rem; font-weight: 750; }
.estimator-section, .condition-tool-section { background: linear-gradient(180deg, rgba(245,236,219,.62), rgba(252,249,242,.35)); }
.estimator, .condition-tool { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 42px; }
.estimator-form, .condition-tool-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 30px; border: 1px solid var(--line); background: var(--card); }
.estimator label, .condition-tool label, .form-grid label, .wizard-step > label, .condition-import label, .private-upload label, .partner-form label, .sandbox-controls label { display: grid; gap: 8px; color: var(--ink); font-size: .72rem; font-weight: 750; }
.estimator input, .estimator select, .condition-tool input, .condition-tool select, .condition-tool textarea, .form-grid input, .form-grid select, .form-grid textarea, .wizard-step > label input, .wizard-step > label select, .wizard-step > label textarea, .condition-import input, .condition-import textarea, .partner-form input, .partner-form select, .sandbox-controls input, .sandbox-controls select, .private-upload input {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cfc2ae; border-radius: 0; background: white; color: var(--ink); font-size: .86rem; font-weight: 500;
}
.condition-tool textarea, .form-grid textarea, .wizard-step textarea, .condition-import textarea { min-height: 120px; resize: vertical; }
.estimator fieldset { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 18px; border: 1px solid var(--line); }
.estimator fieldset legend { padding: 0 8px; font-size: .7rem; font-weight: 800; }
.estimator fieldset label { display: flex; align-items: center; }
.estimator fieldset input { width: auto; min-height: 0; }
.estimator-result, .condition-result { padding: 34px; border: 1px solid var(--line); background: var(--navy); color: white; }
.complexity-badge, .condition-result > span { display: inline-flex; padding: 7px 11px; border: 1px solid var(--gold-light); color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.estimator-result h3, .condition-result h3 { margin: 22px 0 18px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.estimator-result p, .condition-result p { color: #d0dae3; font-size: .78rem; line-height: 1.6; }
.estimator-result ul { display: grid; gap: 7px; margin: 10px 0 20px; padding-left: 18px; color: #d0dae3; font-size: .76rem; }
.estimator-result small, .condition-result small { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: #b4c2cf; line-height: 1.55; }
.condition-tool-form { grid-template-columns: 1fr; }
.condition-tool-form .button { width: fit-content; }
.deliverables-section { background: rgba(252,249,242,.52); }
.deliverables-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.deliverables-grid article { min-height: 230px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.68); }
.deliverables-grid article > span { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.deliverables-grid h3 { margin: 22px 0 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.04; }
.deliverables-grid p { color: var(--body); font-size: .76rem; line-height: 1.6; }
.state-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: start; }
.state-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.state-list span { padding: 10px 13px; border: 1px solid var(--line); background: var(--card); color: var(--body); font-size: .75rem; }
.state-note { color: var(--muted); font-size: .76rem; }
.boundary-card { padding: 34px; border: 1px solid var(--line); border-top: 4px solid var(--gold); background: var(--card); }
.boundary-card h3 { margin: 0; font-family: var(--serif); font-size: 2.15rem; font-weight: 600; }
.boundary-card > p:not(.eyebrow) { color: var(--body); line-height: 1.65; }
.boundary-card > .eyebrow { color: var(--gold-ink); }
.responsibility-section { background: rgba(252,249,242,.5); }
.responsibility-table-wrap { margin-top: 40px; overflow-x: auto; }
.responsibility-table-wrap table { width: 100%; min-width: 700px; border-collapse: collapse; border: 1px solid var(--line); background: var(--card); }
.responsibility-table-wrap th, .responsibility-table-wrap td { padding: 20px 24px; border-top: 1px solid var(--line); text-align: left; }
.responsibility-table-wrap thead th { border-top: 0; background: var(--navy); color: white; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.responsibility-table-wrap tbody th { width: 30%; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.responsibility-table-wrap td { color: var(--body); font-size: .82rem; line-height: 1.55; }
.design-partner-section { padding: 72px 0; background: var(--navy); color: white; }
.design-partner-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.design-partner-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem,4vw,4.3rem); font-weight: 500; line-height: .98; }
.design-partner-grid p { max-width: 830px; color: #d0dae3; line-height: 1.65; }
.design-partner-grid small { color: var(--gold-light); }
.exclusions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.exclusions-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem,4vw,4rem); font-weight: 500; line-height: .98; }
.exclusions-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.exclusions-grid li { padding: 15px 0 15px 24px; border-top: 1px solid var(--line); color: var(--body); font-size: .82rem; line-height: 1.5; }
.exclusions-grid li::before { margin-left: -22px; padding-right: 10px; color: var(--gold); content: "×"; }
.product-integration-band { background: linear-gradient(90deg, rgba(245,236,219,.8), rgba(252,249,242,.45)); }
.product-integration-band > .site-shell { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.product-integration-band h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem,3.8vw,3.8rem); font-weight: 500; line-height: .98; }
.product-integration-band p:not(.eyebrow) { max-width: 820px; color: var(--body); line-height: 1.65; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-layout details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq-layout summary { cursor: pointer; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.faq-layout details p { color: var(--body); font-size: .85rem; line-height: 1.65; }

/* Integrations */
.integration-hero .site-shell, .sandbox-hero .site-shell, .intake-hero .site-shell { padding-block: 90px; }
.integration-hero h1 { max-width: 1030px; font-size: clamp(3.8rem,6vw,6.5rem); }
.integration-text-link { align-self: center; color: var(--gold-ink); font-size: .76rem; font-weight: 800; }
.integration-principles > .site-shell > div { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.integration-principles article { min-height: 160px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.integration-principles article span { color: var(--gold-ink); font-family: var(--serif); font-size: 1.1rem; }
.integration-principles h3 { margin: 23px 0 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.integration-flow { display: grid; grid-template-columns: repeat(8,1fr); margin: 42px 0 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.integration-flow li { position: relative; min-height: 170px; padding: 22px 17px; border-left: 1px solid var(--line); background: rgba(255,253,248,.74); }
.integration-flow li:first-child { border-left: 0; }
.integration-flow li > span { color: var(--gold); font-family: var(--serif); }
.integration-flow strong { display: block; margin-top: 22px; font-family: var(--serif); font-size: 1.04rem; font-weight: 600; line-height: 1.15; }
.integration-flow i { position: absolute; right: -8px; bottom: 24px; z-index: 1; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-style: normal; transform: rotate(-90deg); }
.integration-map-section { background: rgba(252,249,242,.56); }
.integration-map-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 54px; }
.integration-map-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,4.2vw,4.2rem); font-weight: 500; line-height: .96; }
.trigger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.trigger-grid span { padding: 14px 16px; border: 1px solid var(--line); background: var(--card); color: var(--body); font-size: .78rem; }
.integration-map-grid aside { padding: 32px; border: 1px solid var(--line); background: var(--navy); color: white; }
.integration-map-grid ul { display: grid; gap: 11px; margin: 0; padding-left: 18px; color: #d2dce5; font-size: .8rem; }
.integration-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.integration-product-grid article { display: flex; min-height: 300px; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: var(--card); }
.integration-product-grid article > span { color: var(--gold-ink); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.integration-product-grid h3 { margin: 20px 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.integration-product-grid p { color: var(--body); font-size: .8rem; line-height: 1.6; }
.integration-product-grid a { margin-top: auto; color: var(--navy); font-size: .76rem; font-weight: 800; }
.integration-api { background: var(--navy); color: white; }
.integration-evidence-feature { background: var(--navy); color: white; }
.integration-evidence-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(480px,.95fr); align-items: center; gap: clamp(48px,8vw,115px); }
.integration-evidence-grid h2 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,4.6vw,4.7rem); font-weight: 500; line-height: .94; }
.integration-evidence-grid > div > p:not(.eyebrow) { max-width: 680px; color: #c3d0d9; font-size: .82rem; line-height: 1.7; }
.integration-evidence-grid .integration-evidence-boundary { color: #a8b8c4; font-size: .68rem; }
.integration-evidence-grid dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.integration-evidence-grid dl div { display: grid; min-height: 150px; align-content: center; gap: 7px; padding: 22px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.integration-evidence-grid dt { color: #c0ccd5; font-size: .62rem; }
.integration-evidence-grid dd { display: grid; gap: 7px; margin: 0; }
.integration-evidence-grid dd strong { color: #e3c580; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.integration-evidence-grid small { color: #93a6b5; font-size: .57rem; line-height: 1.4; }
.integration-api-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; }
.integration-api-grid > * { min-width: 0; }
.integration-api h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,4vw,4.2rem); font-weight: 500; }
.integration-api p { color: #cbd6e0; line-height: 1.65; }
.integration-api pre, .sandbox-output pre { overflow: auto; padding: 22px; border: 1px solid rgba(255,255,255,.18); background: rgba(3,20,36,.7); color: #e4ebf1; font: .76rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-links { display: flex; flex-wrap: wrap; gap: 18px; }
.api-links a { color: var(--gold-light); font-size: .75rem; font-weight: 750; }
.integration-api aside { display: grid; align-content: start; gap: 8px; padding: 28px; border: 1px solid rgba(255,255,255,.18); }
.integration-api aside code { padding: 8px 10px; background: rgba(255,255,255,.06); color: #d9e2ea; font-size: .72rem; }
.integration-diagram { display: grid; grid-template-columns: repeat(7,1fr); border: 1px solid var(--line); }
.integration-diagram > div { position: relative; display: grid; min-height: 150px; place-items: center; padding: 18px; border-left: 1px solid var(--line); background: var(--card); text-align: center; }
.integration-diagram > div:first-child { border-left: 0; }
.integration-diagram span { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.integration-diagram i { position: absolute; right: -8px; z-index: 1; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-style: normal; transform: rotate(-90deg); }
.integration-emphasis { margin: 18px 0 0; padding: 17px; border: 1px solid rgba(180,138,69,.3); background: rgba(248,241,226,.75); color: var(--ink); font-family: var(--serif); font-size: 1.15rem; text-align: center; }
.credential-section { background: linear-gradient(90deg, rgba(245,236,219,.8), rgba(252,249,242,.4)); }
.credential-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.credential-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,4vw,4.2rem); font-weight: 500; line-height: .96; }
.credential-grid > div > p:not(.eyebrow) { color: var(--body); line-height: 1.65; }
.partner-form { padding: 28px; border: 1px solid var(--line); background: var(--card); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-span { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; left: -10000px; }
.partner-form .button { margin-top: 22px; }
.form-status { color: var(--body); font-size: .76rem; line-height: 1.5; }

/* Sandbox and intake */
.sandbox-hero h1, .intake-hero h1 { max-width: 940px; font-size: clamp(3.6rem,5.6vw,5.7rem); }
.sandbox-console { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); border: 1px solid var(--line); background: var(--card); }
.sandbox-console > * { min-width: 0; }
.sandbox-controls { display: grid; align-content: start; gap: 18px; padding: 30px; border-right: 1px solid var(--line); }
.sandbox-label { margin: 0; padding: 14px; border: 1px solid rgba(180,138,69,.35); background: rgba(248,241,226,.75); color: var(--gold-ink); font-size: .72rem; line-height: 1.5; }
.sandbox-controls > a { color: var(--gold-ink); font-size: .76rem; font-weight: 800; }
.sandbox-output { display: grid; gap: 18px; padding: 30px; background: var(--navy); color: white; }
.sandbox-output > div > span { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sandbox-output pre { min-height: 260px; margin: 0; white-space: pre-wrap; word-break: break-word; }
.sandbox-footer-actions { display: flex; gap: 12px; margin-top: 22px; }
.intake-section { background: rgba(252,249,242,.48); }
.intake-wizard { max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); background: rgba(255,253,248,.82); box-shadow: var(--shadow); }
.wizard-progress { display: grid; grid-template-columns: repeat(6,1fr); border-bottom: 1px solid var(--line); }
.wizard-progress button { display: grid; min-height: 86px; place-items: center; gap: 5px; padding: 12px 6px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .64rem; cursor: default; }
.wizard-progress button:first-child { border-left: 0; }
.wizard-progress button span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.wizard-progress button.active { background: var(--navy); color: white; }
.wizard-progress button.active span { border-color: var(--gold-light); color: var(--gold-light); }
.wizard-progress button.complete { color: var(--navy); cursor: pointer; }
.wizard-progress button.complete span { border-color: var(--gold); background: rgba(180,138,69,.12); }
.wizard-heading { padding: 34px 38px 20px; }
.wizard-heading h2 { margin: 0; font-family: var(--serif); font-size: 2.8rem; font-weight: 600; }
.wizard-heading > p:not(.eyebrow) { color: var(--body); font-size: .82rem; line-height: 1.55; }
.wizard-step { padding: 16px 38px 36px; }
.radio-cards, .check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 22px 0; padding: 0; border: 0; }
.radio-cards legend, .check-grid legend { grid-column: 1 / -1; margin-bottom: 5px; font-size: .72rem; font-weight: 800; }
.radio-cards label, .check-grid label { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid var(--line); background: white; color: var(--body); font-size: .78rem; line-height: 1.4; }
.radio-cards input, .check-grid input, .check-line input, .acknowledgment input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; }
.check-line { display: flex !important; align-items: center; gap: 10px !important; }
.wizard-step > label { margin-top: 18px; }
.condition-import { display: grid; gap: 14px; margin-top: 22px; padding: 22px; border: 1px solid var(--line); background: rgba(248,241,226,.55); }
.product-intake-fieldset { grid-column: 1 / -1; margin: 22px 0 0; padding: 22px; border: 1px solid var(--line); background: rgba(248,241,226,.42); }
.product-intake-fieldset legend { padding: 0 10px; color: var(--gold-ink); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.condition-import p, .condition-import a, .evidence-guidance { color: var(--body); font-size: .76rem; line-height: 1.55; }
.condition-import a { color: var(--gold-ink); font-weight: 800; }
.review-summary { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.review-summary > div { padding: 19px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-summary span { display: block; color: var(--gold-ink); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.review-summary strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.acknowledgment { display: flex !important; align-items: flex-start; gap: 12px !important; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--body) !important; font-size: .78rem !important; line-height: 1.55; }
.wizard-error { margin: 0 38px; padding: 13px 16px; border: 1px solid #a4473f; background: #fff2f0; color: #7f241d; font-size: .78rem; }
.wizard-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 22px 38px 34px; border-top: 1px solid var(--line); }
.intake-confirmation { max-width: 980px; margin: 0 auto; padding: clamp(34px,6vw,72px); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); text-align: center; }
.confirmation-mark { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-size: 1.5rem; }
.intake-confirmation h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,5vw,4.8rem); font-weight: 500; }
.intake-confirmation .eyebrow, .status-header .eyebrow, .status-access .eyebrow, .status-contact .eyebrow { color: var(--gold-ink); }
.intake-confirmation > p:not(.eyebrow) { color: var(--body); line-height: 1.65; }
.intake-confirmation .product-actions { justify-content: center; }
.intake-confirmation > small { display: block; margin-top: 22px; color: var(--muted); }
.private-upload { display: grid; gap: 9px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); background: rgba(248,241,226,.55); text-align: left; }
.private-upload p, .private-upload small { margin: 0; color: var(--body); font-size: .75rem; line-height: 1.55; }

/* Secure status */
.status-page { min-height: 70vh; padding: 80px 0; background: linear-gradient(135deg, rgba(252,249,242,.88), rgba(245,236,219,.62)); }
.status-access { max-width: 850px; text-align: center; }
.status-access h1 { font-size: clamp(3.2rem,6vw,5.7rem); }
.status-access p { margin: 22px auto; color: var(--body); line-height: 1.65; }
.status-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.status-header h1 { font-size: clamp(3rem,5vw,5rem); }
.status-header p:not(.eyebrow) { color: var(--body); }
.status-pill { padding: 11px 14px; border: 1px solid var(--gold); background: rgba(248,241,226,.7); color: var(--gold-ink); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-overview { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.status-overview article { min-height: 130px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.status-overview span { color: var(--gold-ink); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-overview strong { display: block; margin-top: 15px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.status-timeline { margin-top: 28px; padding: 38px; border: 1px solid var(--line); background: var(--navy); color: white; }
.status-timeline h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem,4vw,4rem); font-weight: 500; line-height: 1; }
.status-timeline > p:not(.eyebrow) { max-width: 850px; color: #c8d4de; line-height: 1.65; }
.status-deliverables { margin-top: 28px; padding: 30px; border: 1px solid var(--line); background: var(--card); }
.status-deliverables h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 2rem; }
.status-deliverables > p { color: var(--body); }
.status-deliverables ul { margin: 0; padding: 0; list-style: none; }
.status-deliverables li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.status-deliverables li span { display: block; color: var(--muted); font-size: .7rem; }
.status-deliverables li a { color: var(--gold-ink); font-size: .75rem; font-weight: 800; }
.status-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 28px; border: 1px solid var(--line); background: rgba(255,253,248,.68); }
.status-contact h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }

@media (max-width: 1100px) {
  .product-card-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; min-height: 480px; }
  .integration-flow { grid-template-columns: repeat(4,1fr); }
  .integration-flow li:nth-child(5) { border-left: 0; }
  .integration-flow li:nth-child(n+5) { border-top: 1px solid var(--line); }
  .integration-diagram { grid-template-columns: repeat(4,1fr); }
  .integration-diagram > div:nth-child(5) { border-left: 0; }
  .integration-diagram > div:nth-child(n+5) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .product-hub-hero-grid, .product-detail-grid { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 70px; }
  .product-hub-hero h1, .product-detail-hero h1, .integration-hero h1, .sandbox-hero h1, .intake-hero h1 { font-size: clamp(3.5rem,9vw,5.5rem); }
  .product-hub-ledger, .product-facts { max-width: 700px; }
  .product-dual-list, .scope-modules, .estimator, .condition-tool, .state-layout, .exclusions-grid, .faq-layout, .integration-map-grid, .integration-api-grid, .credential-grid, .sandbox-console { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: repeat(2,1fr); }
  .product-integration-band > .site-shell, .design-partner-grid { grid-template-columns: 1fr; }
  .integration-principles > .site-shell > div, .integration-product-grid { grid-template-columns: repeat(2,1fr); }
  .integration-product-grid article:last-child { grid-column: 1 / -1; }
  .sandbox-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-overview { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .product-actions { display: grid; width: 100%; }
  .product-actions .button { width: 100%; }
  .product-hub-hero-grid, .product-detail-grid, .integration-hero .site-shell, .sandbox-hero .site-shell, .intake-hero .site-shell { padding-block: 54px; }
  .product-hub-hero h1, .product-detail-hero h1, .integration-hero h1, .sandbox-hero h1, .intake-hero h1 { font-size: clamp(3.05rem,14vw,4rem); }
  .product-card-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:last-child { min-height: auto; grid-column: auto; }
  .product-comparison-table-wrap { display: none; }
  .product-comparison-mobile { display: grid; gap: 18px; margin-top: 36px; }
  .product-comparison-mobile article { padding: 24px; border: 1px solid var(--line); background: var(--card); }
  .product-comparison-mobile h3 { margin: 0 0 18px; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
  .product-comparison-mobile dl { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .product-comparison-mobile dt { color: var(--gold-ink); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .product-comparison-mobile dd { margin: 6px 0 0; color: var(--body); font-size: .85rem; line-height: 1.55; }
  .product-comparison-mobile a { display: inline-block; margin-top: 18px; color: var(--navy); font-size: .8rem; font-weight: 800; }
  .product-question { padding: 54px 0; }
  .product-question h2 { font-size: 2.65rem; }
  .product-dual-list ol, .list-heading { padding-inline: 22px; }
  .estimator-form { grid-template-columns: 1fr; padding: 22px; }
  .estimator fieldset { grid-column: auto; grid-template-columns: 1fr; }
  .deliverables-grid, .exclusions-grid ul { grid-template-columns: 1fr; }
  .deliverables-grid article { min-height: auto; }
  .design-partner-section { padding: 56px 0; }
  .integration-principles > .site-shell > div, .integration-product-grid { grid-template-columns: 1fr; }
  .integration-product-grid article:last-child { grid-column: auto; }
  .integration-flow, .integration-diagram { grid-template-columns: 1fr; }
  .integration-flow li, .integration-flow li:nth-child(5), .integration-diagram > div, .integration-diagram > div:nth-child(5) { min-height: 95px; border-top: 1px solid var(--line); border-left: 0; }
  .integration-flow li:first-child, .integration-diagram > div:first-child { border-top: 0; }
  .integration-flow i, .integration-diagram i { right: 20px; bottom: -8px; transform: none; }
  .trigger-grid, .form-grid, .radio-cards, .check-grid, .review-summary { grid-template-columns: 1fr; }
  .form-span { grid-column: auto; }
  .wizard-progress { grid-template-columns: repeat(3,1fr); }
  .wizard-progress button:nth-child(n+4) { border-top: 1px solid var(--line); }
  .wizard-progress button:nth-child(4) { border-left: 0; }
  .wizard-heading { padding: 28px 22px 16px; }
  .wizard-step { padding: 12px 22px 28px; }
  .wizard-actions { padding: 20px 22px 26px; }
  .wizard-error { margin-inline: 22px; }
  .status-header, .status-contact { align-items: flex-start; flex-direction: column; }
  .status-overview { grid-template-columns: 1fr; }
  .sandbox-footer-actions { display: grid; }
}

/* External-customer hardening */
.counsel-review-note { max-width: 720px; margin-top: 16px; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.product-artifacts { background: rgba(245,236,219,.42); }
.artifact-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.artifact-links a { min-height: 100px; padding: 24px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }

.partner-readiness { background: rgba(252,249,242,.58); }
.readiness-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.readiness-grid article { padding: 30px; border: 1px solid var(--line); background: var(--card); }
.readiness-grid h3 { margin: 0 0 18px; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.readiness-grid p, .readiness-grid li { color: var(--body); font-size: .82rem; line-height: 1.65; }
.readiness-grid a { color: var(--gold-ink); text-decoration: underline; }

.sandbox-mode { display: grid; grid-template-columns: 1fr 1fr; }
.sandbox-mode button { min-height: 42px; border: 1px solid var(--line); background: white; color: var(--navy); font-weight: 750; }
.sandbox-mode button[aria-pressed="true"] { border-color: var(--gold); background: var(--navy); color: white; }
.sandbox-mode button:disabled { color: var(--muted); cursor: not-allowed; }
.sandbox-output > div > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Synthetic underwriting evidence pack */
.evidence-pack-page { background: #fbf8f1; }
.evidence-pack-page .eyebrow { color: var(--gold-ink); }
.evidence-audit-section .eyebrow, .evidence-final .eyebrow { color: var(--gold-light); }
.evidence-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 5%, rgba(255,255,255,.92), transparent 36%),
    linear-gradient(115deg, #fbf8f1, #f5eddf);
}
.evidence-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(180,138,69,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(180,138,69,.035) 1px,transparent 1px);
  background-size: 52px 52px;
  content: "";
  pointer-events: none;
}
.evidence-hero-grid { position: relative; display: grid; min-height: 690px; grid-template-columns: minmax(0,.92fr) minmax(500px,1.08fr); align-items: center; gap: clamp(48px,7vw,105px); padding-block: 76px; }
.evidence-synthetic-label, .evidence-live-label { display: inline-flex; width: max-content; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 11px; border: 1px solid rgba(180,138,69,.42); border-radius: 999px; background: rgba(255,253,248,.68); color: var(--gold-ink); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.evidence-synthetic-label i, .evidence-live-label i { width: 8px; height: 8px; border-radius: 50%; background: #4ca968; box-shadow: 0 0 0 4px rgba(76,169,104,.12); }
.evidence-hero h1 { max-width: 750px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(4rem,6.5vw,6.8rem); font-weight: 500; letter-spacing: -.045em; line-height: .88; }
.evidence-hero-lead { max-width: 720px; margin: 28px 0 0; color: #314a60; font-size: clamp(1rem,1.3vw,1.16rem); line-height: 1.7; }
.evidence-hero-finding { max-width: 720px; margin: 22px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); color: var(--navy); font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.35; }
.evidence-hero .product-actions { margin-top: 28px; }
.evidence-hero-grid > div > small { display: block; max-width: 750px; margin-top: 22px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.evidence-hero-record { overflow: hidden; border: 1px solid #d4c7b2; border-radius: 8px; background: rgba(255,253,248,.9); box-shadow: 0 22px 58px rgba(41,40,35,.1); }
.evidence-hero-record > header { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--gold-ink); font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
.evidence-hero-record > header code { overflow: hidden; color: #65737e; font: .56rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.evidence-hero-record ol { margin: 0; padding: 0; list-style: none; }
.evidence-hero-record li { position: relative; display: grid; min-height: 100px; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.evidence-hero-record li > span { color: var(--gold-ink); font-family: var(--serif); }
.evidence-hero-record li > div { display: grid; gap: 6px; }
.evidence-hero-record li strong { color: var(--navy); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.evidence-hero-record li small { color: var(--muted); font-size: .67rem; line-height: 1.4; }
.evidence-hero-record li b { color: var(--navy); font-family: var(--serif); font-size: 2.25rem; font-weight: 500; }
.evidence-hero-record li > i { position: absolute; right: 26px; bottom: -9px; z-index: 1; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--gold); color: white; font-size: .65rem; font-style: normal; }
.evidence-hero-record > footer { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 22px; background: var(--navy); color: white; }
.evidence-hero-record > footer span { color: #c4d0d9; font-size: .64rem; }
.evidence-hero-record > footer strong { font-family: var(--serif); font-size: 1.15rem; }
.evidence-blueprint { position: relative; margin: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #efe5d5; }
.evidence-blueprint img { width: 100%; max-height: 560px; object-fit: cover; object-position: center; }
.evidence-blueprint figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 18px; padding: 14px 24px; background: rgba(5,26,48,.92); color: white; font-size: .62rem; font-weight: 760; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.evidence-blueprint figcaption i { color: var(--gold-light); font-style: normal; }

.evidence-questions { background: var(--card); }
.evidence-questions ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 42px 0 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.evidence-questions li { min-height: 160px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-questions li span { color: var(--gold-ink); font-family: var(--serif); }
.evidence-questions li p { margin: 24px 0 0; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; line-height: 1.18; }

.evidence-lab-section { background: #f4ecde; }
.evidence-lab { margin-top: 48px; }
.evidence-lab-scenarios { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #d2c4ae; border-left: 1px solid #d2c4ae; }
.evidence-lab-scenarios button { display: grid; min-height: 105px; align-content: start; gap: 8px; padding: 18px; border: 0; border-right: 1px solid #d2c4ae; border-bottom: 1px solid #d2c4ae; background: rgba(255,253,248,.76); color: var(--navy); cursor: pointer; text-align: left; }
.evidence-lab-scenarios button[aria-pressed="true"] { background: var(--navy); color: white; box-shadow: inset 0 -3px 0 var(--gold); }
.evidence-lab-scenarios strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.05; }
.evidence-lab-scenarios span { color: #666b68; font-size: .62rem; line-height: 1.45; }
.evidence-lab-scenarios button[aria-pressed="true"] span { color: #c5d1da; }
.evidence-lab-workspace { display: grid; grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr); border: 1px solid #d2c4ae; border-top: 0; background: var(--card); box-shadow: 0 20px 46px rgba(48,42,31,.08); }
.evidence-lab-controls { display: grid; align-content: start; gap: 17px; padding: 28px; border-right: 1px solid var(--line); }
.evidence-lab-controls h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.evidence-lab-controls > div > p:not(.eyebrow) { margin: 13px 0 0; color: var(--body); font-size: .7rem; line-height: 1.55; }
.evidence-lab-controls label { display: grid; gap: 7px; color: var(--navy); font-size: .67rem; font-weight: 750; }
.evidence-lab-controls input, .evidence-lab-controls select { width: 100%; min-width: 0; min-height: 43px; padding: 0 11px; border: 1px solid #cfc2af; border-radius: 2px; background: white; color: var(--navy); }
.evidence-lab-controls input:focus, .evidence-lab-controls select:focus { border-color: var(--gold); outline: 2px solid rgba(180,138,69,.2); outline-offset: 1px; }
.evidence-lab-controls select:disabled { background: #f0ece5; color: var(--muted); }
.evidence-lab-controls > small { color: var(--muted); font-size: .61rem; line-height: 1.45; }
.evidence-lab-error { margin: 0; padding: 10px; border: 1px solid #d9a89f; background: #fff0ed; color: #8c2c1f; font-size: .7rem; line-height: 1.45; }
.evidence-lab-result { min-width: 0; background: #fdfbf6; }
.evidence-lab-result > header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.evidence-lab-result > header > div:first-child { display: grid; min-width: 0; gap: 6px; }
.evidence-live-label { margin: 0; padding: 5px 8px; font-size: .52rem; }
.evidence-lab-result > header code, .evidence-lab-result > footer code { overflow: hidden; color: #687681; font: .55rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.evidence-result-tabs { display: flex; flex: 0 0 auto; padding: 3px; border: 1px solid #cfc2af; border-radius: 4px; background: #f2ece1; }
.evidence-result-tabs button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 2px; background: transparent; color: #52616b; cursor: pointer; font-size: .62rem; font-weight: 750; }
.evidence-result-tabs button[aria-selected="true"] { background: var(--navy); color: white; }
.evidence-pack-view { padding: 18px; }
.evidence-capacity-grid, .evidence-finance-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.evidence-capacity-grid article, .evidence-finance-grid article { display: grid; min-width: 0; gap: 5px; padding: 15px; border: 1px solid var(--line); background: white; }
.evidence-capacity-grid span, .evidence-finance-grid span { color: #64747e; font-size: .58rem; line-height: 1.35; }
.evidence-capacity-grid strong { color: var(--navy); font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.evidence-capacity-grid small { color: var(--gold-ink); font-size: .55rem; font-weight: 750; }
.evidence-finance-grid { margin-top: 9px; }
.evidence-finance-grid strong { overflow-wrap: anywhere; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.evidence-result-detail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 9px; border: 1px solid var(--line); background: #f6f0e6; }
.evidence-result-detail > div { display: grid; min-width: 0; gap: 6px; padding: 13px; border-left: 1px solid var(--line); }
.evidence-result-detail > div:first-child { border-left: 0; }
.evidence-result-detail span { color: #656560; font-size: .56rem; }
.evidence-result-detail strong { overflow-wrap: anywhere; color: var(--navy); font-size: .67rem; }
.evidence-findings { margin-top: 9px; padding: 15px; border: 1px solid var(--line); background: white; }
.evidence-findings h4 { margin: 0; color: var(--navy); font-size: .68rem; }
.evidence-findings ol { display: grid; gap: 0; margin: 9px 0 0; padding: 0; list-style: none; }
.evidence-findings li { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 10px; padding: 9px 0; border-top: 1px solid #eee6d9; }
.evidence-findings li > span { color: var(--gold-ink); font: 750 .57rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }
.evidence-findings li > div { display: grid; gap: 3px; }
.evidence-findings strong { color: #263e51; font-size: .65rem; }
.evidence-findings p { margin: 0; color: var(--muted); font-size: .57rem; line-height: 1.4; }
.evidence-json-view { padding: 18px; }
.evidence-json-view > div { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px; background: var(--navy); color: #dbe5ec; font-size: .6rem; }
.evidence-json-view button { border: 0; background: transparent; color: #e3c580; cursor: pointer; font-size: .57rem; font-weight: 750; }
.evidence-json-view pre { min-height: 500px; max-height: 500px; overflow: auto; margin: 0; padding: 18px; border: 1px solid #203c55; background: #051c32; color: #d6e3ed; tab-size: 2; }
.evidence-json-view code { font: .6rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; }
.evidence-lab-result > footer { display: grid; min-width: 0; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .54rem; }

.evidence-audit-section { background: var(--navy); color: white; }
.evidence-audit-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(500px,.9fr); align-items: center; gap: clamp(50px,8vw,120px); }
.evidence-audit-grid h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,4.6vw,4.8rem); font-weight: 500; line-height: .94; }
.evidence-audit-grid > div > p:not(.eyebrow) { max-width: 660px; color: #c3d0d9; font-size: .8rem; line-height: 1.7; }
.evidence-audit-grid .button { margin-top: 15px; border-color: #8799a6; color: white; }
.evidence-audit-grid dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.evidence-audit-grid dl div { display: grid; min-height: 120px; align-content: center; gap: 8px; padding: 20px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.evidence-audit-grid dt { color: #aebec9; font-size: .6rem; }
.evidence-audit-grid dd { margin: 0; color: #e3c580; font-family: var(--serif); font-size: 2.1rem; }

.evidence-artifacts { background: var(--card); }
.evidence-artifact-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.evidence-artifact-links a { display: flex; min-height: 120px; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.evidence-artifact-links a:hover { background: #f7f0e5; }
.evidence-artifact-links i { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink); font-size: .7rem; font-style: normal; }
.evidence-boundary { background: #f5eee2; }
.evidence-boundary-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(500px,1.25fr); gap: clamp(50px,8vw,120px); }
.evidence-boundary h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem,4.6vw,4.8rem); font-weight: 500; line-height: .94; }
.evidence-boundary-grid > div > p:not(.eyebrow) { color: var(--body); font-size: .82rem; line-height: 1.7; }
.evidence-boundary ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.evidence-boundary li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.evidence-boundary li span { color: var(--gold-ink); font-family: var(--serif); }
.evidence-boundary li p { margin: 0; color: #354d5e; font-size: .75rem; line-height: 1.55; }
.evidence-final { padding-block: 82px; background: var(--navy-deep); color: white; }
.evidence-final .site-shell { display: grid; justify-items: start; }
.evidence-final h2 { max-width: 880px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,5vw,5.2rem); font-weight: 500; line-height: .94; }
.evidence-final .site-shell > p:not(.eyebrow) { max-width: 760px; margin: 22px 0 0; color: #bac8d2; font-size: .8rem; line-height: 1.65; }
.evidence-final .product-actions { margin-top: 27px; }

@media (max-width: 1120px) {
  .integration-evidence-grid { grid-template-columns: 1fr; }
  .evidence-hero-grid { grid-template-columns: minmax(0,.9fr) minmax(440px,1.1fr); gap: 40px; }
  .evidence-hero h1 { font-size: clamp(3.7rem,6.7vw,5.7rem); }
  .evidence-lab-workspace { grid-template-columns: 310px minmax(0,1fr); }
  .evidence-capacity-grid, .evidence-finance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .evidence-audit-grid, .evidence-boundary-grid { grid-template-columns: 1fr 1fr; gap: 46px; }
}

@media (max-width: 900px) {
  .evidence-hero-grid, .evidence-audit-grid, .evidence-boundary-grid { grid-template-columns: 1fr; }
  .evidence-hero-grid { min-height: 0; }
  .evidence-hero-record { width: min(100%,720px); }
  .evidence-questions ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .evidence-lab-scenarios { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .evidence-lab-workspace { grid-template-columns: 1fr; }
  .evidence-lab-controls { grid-template-columns: repeat(2,minmax(0,1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-lab-controls > div, .evidence-lab-controls > button, .evidence-lab-controls > small, .evidence-lab-error { grid-column: 1 / -1; }
  .evidence-artifact-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .integration-evidence-grid dl { grid-template-columns: 1fr 1fr; }
  .evidence-hero-grid { padding-block: 54px; }
  .evidence-hero h1 { font-size: clamp(3.2rem,15vw,4.4rem); }
  .evidence-hero-record li { min-height: 92px; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; padding-inline: 15px; }
  .evidence-hero-record li strong { font-size: 1.12rem; }
  .evidence-hero-record li b { font-size: 1.75rem; }
  .evidence-hero-record li > i { right: 17px; }
  .evidence-hero-record > footer { align-items: flex-start; flex-direction: column; }
  .evidence-blueprint img { min-height: 320px; object-position: center; }
  .evidence-blueprint figcaption { position: static; display: grid; grid-template-columns: 1fr; gap: 5px; padding-block: 17px; }
  .evidence-blueprint figcaption i { transform: rotate(90deg); }
  .evidence-questions ol, .evidence-lab-scenarios, .evidence-artifact-links { grid-template-columns: 1fr; }
  .evidence-questions li { min-height: 125px; }
  .evidence-lab-controls { grid-template-columns: 1fr; padding: 22px; }
  .evidence-lab-controls > div, .evidence-lab-controls > button, .evidence-lab-controls > small, .evidence-lab-error { grid-column: auto; }
  .evidence-lab-result > header { align-items: flex-start; flex-direction: column; }
  .evidence-result-tabs { width: 100%; }
  .evidence-result-tabs button { flex: 1; }
  .evidence-capacity-grid, .evidence-finance-grid, .evidence-result-detail { grid-template-columns: 1fr 1fr; }
  .evidence-result-detail > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .evidence-json-view pre { min-height: 420px; max-height: 420px; }
  .evidence-lab-result > footer { grid-template-columns: 1fr; }
  .evidence-audit-grid dl { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
  .evidence-capacity-grid, .evidence-finance-grid, .evidence-result-detail, .evidence-audit-grid dl { grid-template-columns: 1fr; }
  .evidence-result-detail > div, .evidence-result-detail > div:first-child, .evidence-result-detail > div:nth-child(3) { grid-column: auto; border-top: 1px solid var(--line); border-left: 0; }
  .evidence-result-detail > div:first-child { border-top: 0; }
}
.sandbox-output > div > span button { padding: 4px 8px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: white; font-size: .65rem; }
.sandbox-output pre { min-height: 0; }
.sandbox-reference-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 30px; border-top: 1px solid var(--line); }
.sandbox-reference-grid article { min-width: 0; padding: 24px; border: 1px solid var(--line); background: #fffdf8; }
.sandbox-reference-grid h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.45rem; }
.sandbox-reference-grid p { color: var(--body); font-size: .8rem; line-height: 1.65; }
.sandbox-reference-grid pre { overflow: auto; margin: 0; color: var(--ink); font: .72rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; white-space: pre-wrap; }
.sandbox-note { grid-column: 1 / -1; margin: 0; padding: 22px 30px; border-top: 1px solid var(--line); color: var(--body); font-size: .76rem; line-height: 1.6; }

.preflight-wizard { max-width: 920px; }
.wizard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 34px 38px; border-bottom: 1px solid var(--line); }
.wizard-header h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.25rem); font-weight: 600; line-height: 1; }
.wizard-header p:not(.eyebrow) { max-width: 700px; color: var(--body); font-size: .8rem; line-height: 1.6; }
.wizard-header > span { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--gold); color: var(--gold-ink); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.preflight-wizard > .form-grid { padding: 34px 38px; }
.honeypot { position: absolute !important; left: -10000px; }
.field-error, .form-error { color: #8f251d; font-size: .7rem; line-height: 1.45; }
.form-error { margin: 0 38px 20px; padding: 14px 16px; border: 1px solid #b44b43; background: #fff2f0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b44b43 !important; box-shadow: 0 0 0 2px rgba(180,75,67,.13); }
.acknowledgement-group { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); background: rgba(248,241,226,.48); }
.secure-check { position: relative; display: flex !important; min-width: 0; align-items: flex-start; gap: 12px !important; color: var(--body) !important; font-size: .78rem !important; font-weight: 600 !important; line-height: 1.55; cursor: pointer; }
.secure-check input { position: absolute; width: 22px !important; height: 22px !important; margin: 0 !important; opacity: 0; }
.secure-check > span { position: relative; display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border: 1.5px solid #9e8d73; background: white; transition: border-color .15s, box-shadow .15s, background .15s; }
.secure-check:hover > span { border-color: var(--gold-ink); }
.secure-check input:focus-visible + span { outline: 3px solid rgba(15,70,113,.28); outline-offset: 3px; border-color: var(--navy); }
.secure-check input:checked + span { border-color: var(--navy); background: var(--navy); }
.secure-check input:checked + span::after { width: 9px; height: 5px; border-bottom: 2px solid white; border-left: 2px solid white; content: ""; transform: translateY(-1px) rotate(-45deg); }
.secure-check input[aria-invalid="true"] + span { border-color: #b44b43; box-shadow: 0 0 0 2px rgba(180,75,67,.13); }
.secure-check input:disabled + span { border-color: #d5ccbf; background: #eee9e0; }
.secure-check:has(input:disabled) { color: var(--muted) !important; cursor: not-allowed; }
.secure-check a { color: var(--gold-ink); text-decoration: underline; }
.wizard-actions { align-items: center; justify-content: space-between; }
.wizard-actions > div { display: flex; align-items: center; gap: 12px; }
.wizard-actions small { color: var(--muted); font-size: .68rem; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--gold-ink); font-size: .75rem; font-weight: 800; text-decoration: underline; }

.cleared-intake-section { min-height: 70vh; background: rgba(252,249,242,.48); }
.compact-wizard-header { padding-block: 26px; }
.cleared-intake .wizard-progress { grid-template-columns: repeat(4,1fr); }
.cleared-intake .wizard-progress button { display: flex; min-height: 70px; align-items: center; justify-content: center; gap: 9px; cursor: pointer; }
.cleared-intake .wizard-progress button[aria-current="step"] { background: var(--navy); color: white; }
.cleared-intake .wizard-progress small { font-size: .65rem; }
.cleared-intake .wizard-step { padding-top: 34px; }
.deadline-assessment, .review-summary, .evidence-plan, .uploads-disabled { padding: 22px; border: 1px solid var(--line); background: rgba(248,241,226,.55); }
.deadline-assessment.conflict { border-color: #b44b43; background: #fff5ef; }
.deadline-assessment p, .evidence-plan p, .evidence-plan li, .review-summary p, .uploads-disabled { color: var(--body); font-size: .78rem; line-height: 1.6; }
.condition-register-editor { padding-inline: 24px; }
.condition-import { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
.condition-import h3 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.condition-import label { position: relative; width: auto; cursor: pointer; }
.condition-import label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.validation-issues { margin: 0 0 18px; padding: 16px 32px; border: 1px solid var(--line); background: #fffaf1; color: var(--body); font-size: .74rem; line-height: 1.55; }
.validation-issues .error { color: #8f251d; }
.validation-issues .warning { color: #775313; }
.condition-scroll-hint { margin: 0 0 9px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.condition-table-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--line); background: white; }
.condition-table-wrap:focus-visible { outline: 3px solid rgba(15,70,113,.28); outline-offset: 3px; }
.condition-table-wrap table { width: 100%; min-width: 1640px; border-collapse: collapse; }
.condition-table-wrap th, .condition-table-wrap td { padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.condition-table-wrap th { background: var(--navy); color: white; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.condition-table-wrap :is(th,td):first-child { position: sticky; left: 0; z-index: 2; min-width: 112px; background: white; box-shadow: 7px 0 12px rgba(5,26,48,.08); }
.condition-table-wrap th:first-child { z-index: 3; background: var(--navy); }
.condition-table-wrap input, .condition-table-wrap textarea, .condition-table-wrap select { width: 100%; min-height: 40px; padding: 8px; border: 1px solid #cfc2ae; background: white; color: var(--ink); font-size: .72rem; }
.condition-table-wrap textarea { min-height: 84px; resize: vertical; }
.condition-card-list { display: none; }
.condition-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 24px rgba(5,26,48,.07); }
.condition-card > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--navy); color: white; }
.condition-card > header span { color: var(--gold-light); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.condition-card > header strong { font-size: .82rem; }
.condition-card-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 18px; }
.condition-card-fields label { display: grid; gap: 7px; color: var(--ink); font-size: .72rem; font-weight: 750; }
.condition-card-fields label:nth-child(2), .condition-card-fields label:nth-child(5), .condition-card-fields label:nth-child(7), .condition-card-fields label:nth-child(8) { grid-column: 1 / -1; }
.condition-card-fields :is(input,textarea,select) { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #cfc2ae; background: white; color: var(--ink); font: inherit; font-weight: 500; }
.condition-card-fields textarea { min-height: 100px; resize: vertical; }
.empty-register { padding: 38px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.status-shell { max-width: 1240px; }
.status-overview { grid-template-columns: repeat(3,1fr); }
.status-next { display: grid; grid-template-columns: 1.5fr .5fr; gap: 1px; margin-top: 28px; background: rgba(255,255,255,.18); }
.status-next div { padding: 18px; background: rgba(255,255,255,.06); }
.status-next span { display: block; color: #fff3d6; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-next strong { display: block; margin-top: 7px; font-size: .88rem; }
.status-deliverables li small { display: block; margin-top: 6px; color: var(--muted); font-size: .66rem; line-height: 1.45; word-break: break-all; }
.condition-register-status, .status-events { margin-top: 28px; padding: 30px; border: 1px solid var(--line); background: var(--card); }
.condition-register-status h2, .status-events h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 2rem; }
.status-event-list { margin: 0; padding: 0; list-style: none; }
.status-event-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); }
.status-event-list li:first-child { border-top: 0; }
.status-event-list > li > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink); font-size: .62rem; font-weight: 800; }
.status-event-list strong { display: block; text-transform: capitalize; }
.status-event-list time { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }

.legal-shell { max-width: 820px; }
.legal-page { max-width: none; }
.legal-lead { color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.legal-page section p { color: var(--body); line-height: 1.75; }

@media (max-width: 900px) {
  .artifact-links { grid-template-columns: repeat(2,1fr); }
  .readiness-grid, .sandbox-reference-grid { grid-template-columns: 1fr; }
  .status-overview { grid-template-columns: repeat(2,1fr); }
  .condition-scroll-hint, .condition-table-wrap { display: none; }
  .condition-card-list { display: grid; gap: 18px; }
}

@media (max-width: 640px) {
  .artifact-links { grid-template-columns: 1fr; }
  .wizard-header { flex-direction: column; padding: 26px 22px; }
  .preflight-wizard > .form-grid { padding: 26px 22px; }
  .wizard-actions, .wizard-actions > div { width: 100%; align-items: stretch; flex-direction: column; }
  .wizard-actions .button { width: 100%; }
  .cleared-intake .wizard-progress { grid-template-columns: repeat(2,1fr); }
  .condition-import { align-items: stretch; flex-direction: column; }
  .condition-register-editor { padding-inline: 16px; }
  .condition-card-fields { grid-template-columns: 1fr; padding: 16px; }
  .condition-card-fields label:nth-child(n) { grid-column: auto; }
  .status-overview, .status-next { grid-template-columns: 1fr; }
  .status-timeline, .status-deliverables, .condition-register-status, .status-events { padding: 22px; }
}

/* API-first landing page */
.api-home-main { background: #fbf8f1; }
.api-home-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-height);
  border-bottom: 1px solid rgba(181, 167, 145, 0.38);
  background: rgba(252, 249, 242, 0.94);
  backdrop-filter: blur(16px);
}
.api-home-header-inner {
  display: flex;
  width: min(calc(100% - 64px), 1380px);
  height: 100%;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.api-home-header .brand-lockup { width: 148px; }
.api-home-nav { display: flex; flex: 1 1 auto; justify-content: center; gap: clamp(24px, 3vw, 46px); }
.api-home-nav a { position: relative; font-size: 0.69rem; font-weight: 760; white-space: nowrap; }
.api-home-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 170ms ease;
}
.api-home-nav a:hover::after, .api-home-nav a:focus-visible::after { transform: scaleX(1); }
.api-home-header-cta { min-width: 146px; min-height: 43px; flex: 0 0 auto; }

.api-home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,0.96), transparent 34%),
    radial-gradient(circle at 76% 24%, rgba(255,255,255,0.96), transparent 39%),
    linear-gradient(120deg, #fbf8f1 0%, #f7f0e4 100%);
}
.api-home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,138,69,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,138,69,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 88%);
  pointer-events: none;
}
.api-home-hero-grid {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(450px, 0.96fr) minmax(590px, 1.04fr);
  align-items: center;
  gap: clamp(44px, 5.5vw, 82px);
  padding-block: clamp(64px, 7vw, 98px);
}
.api-home-hero-copy { min-width: 0; }
.api-home-badge, .api-home-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 10px;
  border: 1px solid rgba(180,138,69,0.34);
  border-radius: 999px;
  background: rgba(255,253,248,0.66);
  color: var(--gold-ink);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.api-home-badge i, .api-home-live-label i, .api-home-demo-label i,
.api-home-footer-status i, .api-demo-mode i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #41a565;
  box-shadow: 0 0 0 3px rgba(65,165,101,0.12);
}
.api-home-hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.55rem, 4.7vw, 4.95rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.api-home-hero h1 em {
  display: block;
  max-width: 100%;
  color: var(--gold);
  font-size: 0.74em;
  font-weight: 500;
  line-height: 1.03;
  text-wrap: balance;
  white-space: normal;
}
.api-home-lead { max-width: 620px; margin: 27px 0 0; color: #33495e; font-size: 0.9rem; line-height: 1.72; }
.api-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.api-home-actions .button { min-height: 50px; }
.api-home-boundary { max-width: 590px; margin: 17px 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.55; }
.api-home-signals { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 36px; }
.api-home-signals article { min-width: 0; padding: 0 14px; border-left: 1px solid rgba(180,138,69,0.28); }
.api-home-signals article:first-child { padding-left: 0; border-left: 0; }
.api-home-signals img { width: 34px; height: 34px; object-fit: contain; }
.api-home-signals strong { display: block; margin-top: 13px; font-size: 0.63rem; line-height: 1.35; }
.api-home-signals p { margin: 6px 0 0; color: var(--muted); font-size: 0.55rem; line-height: 1.48; }
.api-home-hero-demo { min-width: 0; }
.api-home-demo-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 4px 12px; }
.api-home-demo-label > span { color: var(--muted); font-size: 0.64rem; font-weight: 760; letter-spacing: 0.1em; text-transform: uppercase; }
.api-home-demo-label strong { display: inline-flex; align-items: center; gap: 8px; color: #47705a; font-size: 0.62rem; }

.api-demo { min-width: 0; overflow: hidden; border: 1px solid #cabca4; border-radius: 7px; background: rgba(255,253,248,0.95); box-shadow: 0 26px 72px rgba(25,35,44,0.13); }
.api-demo-tabs { display: flex; min-height: 52px; align-items: stretch; border-bottom: 1px solid var(--line); }
.api-demo-tabs button { position: relative; min-width: 94px; border: 0; background: transparent; color: #4a5b6b; cursor: pointer; font-size: 0.67rem; font-weight: 760; }
.api-demo-tabs button.active { color: var(--navy); }
.api-demo-tabs button.active::after { position: absolute; right: 13px; bottom: -1px; left: 13px; height: 2px; background: var(--gold); content: ""; }
.api-demo-mode { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 16px; color: var(--gold-ink); font-size: 0.58rem; font-weight: 780; letter-spacing: 0.08em; text-transform: uppercase; }
.api-demo-meta { display: flex; min-height: 55px; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 16px; }
.api-demo-meta > div { display: flex; align-items: center; gap: 10px; }
.api-demo-meta span { padding: 4px 7px; border-radius: 3px; background: #daf0df; color: #21623a; font: 750 0.58rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; }
.api-demo-meta code { color: #506273; font: 650 0.62rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; }
.api-demo-meta small { color: var(--muted); font-size: 0.58rem; }
.api-demo-panel { margin: 0 13px; border: 1px solid rgba(90,127,157,0.3); border-radius: 3px; background: linear-gradient(145deg,#061f37,#03172a); }
.api-demo-panel:focus-visible { outline: 2px solid rgba(76,139,199,0.75); outline-offset: 2px; }
.api-demo-panel pre { min-height: 438px; max-height: 470px; overflow: auto; margin: 0; padding: 20px 22px; color: #dbe8f2; tab-size: 2; }
.api-demo-panel code { font: 0.67rem/1.62 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space: pre; }
.api-demo-footer { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 14px; }
.api-demo-footer > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.58rem; }
.api-demo-footer > span i { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #d9efe0; color: #2c7748; font-size: 0.52rem; font-style: normal; }
.api-demo-footer button { display: inline-flex; min-height: 31px; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; color: var(--body); font-size: 0.58rem; }
.api-home-throughput-strip { position: relative; border-top: 1px solid rgba(223,212,194,0.76); background: rgba(244,237,225,0.78); }
.api-home-throughput-strip > div { display: flex; min-height: 76px; align-items: center; justify-content: center; gap: 34px; }
.api-home-throughput-strip span { color: var(--gold); font-size: 1.15rem; }
.api-home-throughput-strip p { margin: 0; color: #3e5060; font-size: 0.72rem; font-weight: 650; line-height: 1.55; text-align: center; }

.api-home-section { padding: clamp(78px, 7.5vw, 112px) 0; }
.api-home-section-heading { max-width: 780px; margin-inline: auto; text-align: center; }
.api-home-section-heading h2, .api-home-use-cases-heading h2, .api-home-controls-heading h2, .api-home-sandbox-copy h2, .api-home-final h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.api-home-section-heading h2 { font-size: clamp(2.9rem, 4.5vw, 4.6rem); line-height: 0.96; }
.api-home-section-heading > p:not(.eyebrow) { max-width: 660px; margin: 17px auto 0; color: var(--body); font-size: 0.9rem; line-height: 1.65; }
.api-home-bottlenecks { padding-bottom: 54px; background: #fbf8f1; }
.api-home-bottlenecks-heading { max-width: 920px; }
.api-home-bottleneck-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-top: 48px; }
.api-home-bottleneck-grid article { min-width: 0; min-height: 242px; padding: 25px 23px; border: 1px solid var(--line); background: rgba(255,253,248,0.68); }
.api-home-bottleneck-grid img { width: 42px; height: 42px; object-fit: contain; }
.api-home-bottleneck-grid h3 { margin: 24px 0 0; font-size: 0.76rem; line-height: 1.38; }
.api-home-bottleneck-grid p { margin: 12px 0 0; color: var(--body); font-size: 0.66rem; line-height: 1.62; }
.api-home-workflow { background: #fbf8f1; }
.api-home-workflow-grid { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 26px; margin: 60px 0 0; padding: 0; list-style: none; }
.api-home-workflow-grid::before { position: absolute; top: 33px; right: 8%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, #b7c0c6 8%, #b7c0c6 92%, transparent); content: ""; }
.api-home-workflow-grid li { position: relative; min-width: 0; text-align: center; }
.api-home-step-number { display: block; margin-bottom: 9px; color: var(--gold-ink); font-size: 0.54rem; font-weight: 820; letter-spacing: 0.12em; }
.api-home-step-icon { position: relative; display: grid; width: 54px; height: 54px; place-items: center; margin: 0 auto 20px; border: 1px solid var(--gold); border-radius: 50%; background: #fbf8f1; }
.api-home-step-icon i { width: 14px; height: 14px; border: 1px solid var(--navy); border-radius: 2px; box-shadow: 5px 5px 0 -1px #fbf8f1, 5px 5px 0 0 var(--gold); transform: rotate(45deg); }
.api-home-workflow-grid h3 { margin: 0; font-size: 0.76rem; }
.api-home-workflow-grid p { margin: 10px 0 0; color: var(--body); font-size: 0.66rem; line-height: 1.58; }

.api-home-sandbox { padding-top: 34px; background: #fbf8f1; }
.api-home-sandbox-panel {
  display: grid;
  grid-template-columns: minmax(300px,0.62fr) minmax(0,1.38fr);
  align-items: center;
  gap: clamp(38px,5vw,72px);
  padding: clamp(38px,4.5vw,68px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(38,98,148,0.28), transparent 35%),
    linear-gradient(135deg,#041a30,#062640 70%,#031528);
  box-shadow: 0 28px 70px rgba(5,26,48,0.18);
  color: white;
}
.api-home-sandbox-panel > * { min-width: 0; }
.api-home-sandbox-copy .api-home-live-label { margin-bottom: 18px; border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); color: #d9e6ef; }
.api-home-sandbox-copy h2 { max-width: 470px; font-size: clamp(2.8rem,4vw,4.2rem); line-height: 0.97; }
.api-home-sandbox-copy > p:not(.api-home-live-label) { max-width: 470px; margin: 20px 0 0; color: #c2d0da; font-size: 0.83rem; line-height: 1.66; }
.api-home-sandbox-copy ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.api-home-sandbox-copy li { display: flex; align-items: center; gap: 10px; color: #d6e1e8; font-size: 0.7rem; }
.api-home-sandbox-copy li span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: rgba(68,174,105,0.2); color: #6bd38e; font-size: 0.58rem; }
.api-home-sandbox-actions { display: grid; justify-items: start; gap: 17px; margin-top: 31px; }
.api-home-sandbox-actions > a:not(.button) { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 0.66rem; font-weight: 720; }
.api-demo-dark { border-color: rgba(129,160,183,0.5); background: rgba(7,34,57,0.88); box-shadow: none; color: white; }
.api-demo-dark .api-demo-tabs { border-color: rgba(129,160,183,0.35); }
.api-demo-dark .api-demo-tabs button { color: #aebfcc; }
.api-demo-dark .api-demo-tabs button.active { color: white; }
.api-demo-dark .api-demo-mode { color: #cfb77e; }
.api-demo-dark .api-demo-meta code, .api-demo-dark .api-demo-meta small { color: #aebfcc; }
.api-demo-dark .api-demo-panel { margin-inline: 0; border-right: 0; border-left: 0; border-radius: 0; background: rgba(2,18,33,0.78); }
.api-demo-dark .api-demo-panel pre { min-height: 380px; max-height: 420px; }
.api-demo-dark .api-demo-footer { color: #afbfca; }
.api-demo-dark .api-demo-footer > span { color: #afbfca; }
.api-demo-dark .api-demo-footer button { border-color: rgba(174,191,204,0.35); color: #d8e2e8; }

.api-home-use-cases { background: #fbf8f1; }
.api-home-use-cases-layout { display: block; }
.api-home-use-cases-heading { max-width: 940px; margin-inline: auto; text-align: center; }
.api-home-use-cases-heading h2 { font-size: clamp(2.8rem,4vw,4.15rem); line-height: 0.98; }
.api-home-use-cases-heading > p:not(.eyebrow) { max-width: 760px; margin: 21px auto 0; color: var(--body); font-size: 0.82rem; line-height: 1.66; }
.api-home-use-cases-heading > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; color: var(--gold-ink); font-size: 0.67rem; font-weight: 760; }
.api-home-use-case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 44px; border: 1px solid var(--line); background: rgba(255,253,248,0.72); }
.api-home-use-case-grid article { position: relative; min-width: 0; min-height: 312px; padding: 29px 24px; border-left: 1px solid var(--line); }
.api-home-use-case-grid article:first-child { border-left: 0; }
.api-home-use-case-grid img { width: 42px; height: 42px; object-fit: contain; }
.api-home-use-case-grid article > span { position: absolute; top: 30px; right: 24px; color: #ad9b7e; font-size: 0.54rem; font-weight: 800; letter-spacing: 0.12em; }
.api-home-use-case-grid h3 { margin: 29px 0 0; font-size: 0.77rem; line-height: 1.35; }
.api-home-use-case-grid p { margin: 12px 0 0; color: var(--body); font-size: 0.67rem; line-height: 1.62; }

.api-home-controls { border-top: 1px solid var(--line); background: #f4ede1; }
.api-home-controls-heading { display: grid; grid-template-columns: minmax(360px,0.72fr) minmax(440px,1.28fr); align-items: end; gap: 80px; }
.api-home-controls-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -45px; }
.api-home-controls-heading h2 { max-width: 470px; font-size: clamp(3rem,4.2vw,4.35rem); line-height: 0.96; }
.api-home-controls-heading > p:not(.eyebrow) { margin: 0 0 5px; color: var(--body); font-size: 0.88rem; line-height: 1.7; }
.api-home-control-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 52px; border: 1px solid var(--line); background: rgba(255,253,248,0.75); }
.api-home-control-grid article { min-width: 0; min-height: 250px; padding: 27px; border-left: 1px solid var(--line); }
.api-home-control-grid article:first-child { border-left: 0; }
.api-home-control-grid span { color: var(--gold-ink); font-size: 0.55rem; font-weight: 820; letter-spacing: 0.12em; }
.api-home-control-grid h3 { margin: 38px 0 0; font-size: 0.78rem; line-height: 1.35; }
.api-home-control-grid p { margin: 13px 0 0; color: var(--body); font-size: 0.68rem; line-height: 1.64; }

.api-home-final { background: linear-gradient(145deg,#06223d,#03172a); color: white; }
.api-home-final-inner { display: grid; min-height: 330px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 70px; padding-block: 54px; }
.api-home-final .api-home-live-label { margin-bottom: 18px; border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: #d8e2e9; }
.api-home-final h2 { font-size: clamp(3rem,4.5vw,4.7rem); line-height: 0.96; }
.api-home-final h2 { max-width: 860px; }
.api-home-final p:not(.api-home-live-label) { margin: 17px 0 0; color: #b8c7d2; font-size: 0.8rem; line-height: 1.6; }
.api-home-final-actions { display: grid; min-width: 240px; gap: 12px; }

.api-home-footer { background: var(--navy-deep); color: white; }
.api-home-footer-main { display: grid; grid-template-columns: 1.5fr 0.55fr 0.55fr 0.8fr; gap: clamp(34px,5vw,72px); padding-block: 45px 39px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.api-home-footer .brand-lockup { width: 145px; }
.api-home-footer-brand p { max-width: 290px; margin: 18px 0 0; color: #aebcc7; font-size: 0.65rem; line-height: 1.55; }
.api-home-footer-main nav { display: grid; align-content: start; gap: 11px; }
.api-home-footer-main nav strong { margin-bottom: 5px; color: #d4b878; font-size: 0.57rem; letter-spacing: 0.12em; text-transform: uppercase; }
.api-home-footer-main nav a { color: #bcc9d2; font-size: 0.64rem; }
.api-home-footer-main nav a:hover { color: white; }
.api-home-footer-status { display: grid; align-content: center; gap: 9px; padding: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.035); }
.api-home-footer-status span { display: flex; align-items: center; gap: 9px; font-size: 0.66rem; font-weight: 720; }
.api-home-footer-status small { color: #9eb0bd; font-size: 0.58rem; }
.api-home-footer-bottom { display: flex; min-height: 63px; align-items: center; justify-content: space-between; gap: 30px; color: #8296a5; font-size: 0.58rem; }
.api-home-footer-bottom nav { display: flex; gap: 28px; }
.api-home-footer-bottom a:hover { color: white; }

@media (max-width: 1180px) {
  .api-home-header-inner { width: min(calc(100% - 48px), 1180px); }
  .api-home-nav { gap: 23px; }
  .api-home-hero-grid { grid-template-columns: minmax(360px,0.82fr) minmax(540px,1.18fr); gap: 40px; }
  .api-home-hero h1 { font-size: clamp(3.4rem,4.8vw,4.4rem); }
  .api-home-signals { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 0; }
  .api-home-signals article:nth-child(3) { padding-left: 0; border-left: 0; }
  .api-home-bottleneck-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .api-home-use-cases-layout { grid-template-columns: 1fr; }
  .api-home-use-cases-heading { max-width: 680px; }
  .api-home-use-case-grid article { min-height: 260px; }
}

@media (max-width: 980px) {
  .api-home-nav, .api-home-header-cta { display: none; }
  .api-home-header .mobile-nav { position: relative; display: block; margin-left: auto; }
  .api-home-hero-grid { grid-template-columns: 1fr; }
  .api-home-hero-copy { max-width: 720px; }
  .api-home-hero-demo { width: min(100%,760px); }
  .api-home-bottleneck-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .api-home-workflow-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 46px; }
  .api-home-workflow-grid::before { display: none; }
  .api-home-sandbox-panel { grid-template-columns: 1fr; }
  .api-home-sandbox-copy { max-width: 680px; }
  .api-home-controls-heading { grid-template-columns: 1fr; gap: 18px; }
  .api-home-controls-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .api-home-controls-heading > p:not(.eyebrow) { max-width: 660px; }
  .api-home-control-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .api-home-control-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .api-home-control-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .api-home-final-inner { grid-template-columns: 1fr; gap: 34px; }
  .api-home-final-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .api-home-footer-main { grid-template-columns: 1.4fr 0.7fr 0.7fr; }
  .api-home-footer-status { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .api-home-header-inner { width: min(calc(100% - 36px), 664px); }
  .api-home-header .brand-lockup { width: 132px; }
  .api-home-hero-grid { min-height: 0; padding-block: 54px 64px; }
  .api-home-hero h1 { font-size: clamp(3.35rem,13vw,4.35rem); }
  .api-home-hero h1 em { white-space: normal; }
  .api-home-lead { font-size: 0.92rem; }
  .api-home-actions { display: grid; grid-template-columns: 1fr; }
  .api-home-actions .button { width: 100%; }
  .api-home-signals { grid-template-columns: 1fr; gap: 15px; }
  .api-home-signals article, .api-home-signals article:nth-child(n) { display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; padding: 13px 0 0; border-top: 1px solid rgba(180,138,69,0.24); border-left: 0; }
  .api-home-signals article:first-child { padding-top: 0; border-top: 0; }
  .api-home-signals img { grid-row: 1 / span 2; }
  .api-home-signals strong { margin-top: 0; }
  .api-home-throughput-strip > div { min-height: 92px; gap: 18px; }
  .api-home-throughput-strip p { font-size: 0.67rem; text-align: left; }
  .api-home-bottleneck-grid { grid-template-columns: 1fr; }
  .api-home-bottleneck-grid article { min-height: 0; }
  .api-demo-tabs { min-height: 48px; }
  .api-demo-tabs button { min-width: 0; flex: 1 1 0; font-size: 0.61rem; }
  .api-demo-mode { display: none; }
  .api-demo-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .api-demo-panel pre { min-height: 390px; max-height: 430px; padding: 17px; }
  .api-demo-panel code { font-size: 0.61rem; }
  .api-home-workflow-grid { grid-template-columns: 1fr; gap: 33px; }
  .api-home-workflow-grid li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; text-align: left; }
  .api-home-step-number { grid-column: 1; grid-row: 1; align-self: end; margin: 0 0 7px; text-align: center; }
  .api-home-step-icon { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
  .api-home-workflow-grid h3 { grid-column: 2; grid-row: 2; align-self: center; }
  .api-home-workflow-grid p { grid-column: 2; grid-row: 3; }
  .api-home-sandbox-panel { width: min(calc(100% - 24px), 660px); padding: 28px 18px; }
  .api-home-sandbox-copy h2 { font-size: 2.8rem; }
  .api-home-use-case-grid { grid-template-columns: 1fr 1fr; }
  .api-home-use-case-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .api-home-use-case-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .api-home-control-grid { grid-template-columns: 1fr; }
  .api-home-control-grid article { min-height: 0; }
  .api-home-control-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .api-home-final h2 { font-size: 3rem; }
  .api-home-final-actions { grid-template-columns: 1fr; }
  .api-home-footer-main { grid-template-columns: 1fr 1fr; }
  .api-home-footer-brand { grid-column: 1 / -1; }
  .api-home-footer-status { grid-column: 1 / -1; }
  .api-home-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 430px) {
  .api-home-header-inner { width: min(calc(100% - 28px), 402px); }
  .api-home-hero h1 { font-size: 3.2rem; }
  .api-home-badge { font-size: 0.56rem; letter-spacing: 0.1em; }
  .api-home-hero h1 em { font-size: 0.75em; }
  .api-demo-footer > span { max-width: 170px; }
  .api-home-use-case-grid { grid-template-columns: 1fr; }
  .api-home-use-case-grid article { min-height: 0; border-left: 0; }
  .api-home-use-case-grid article + article { border-top: 1px solid var(--line); }
  .api-home-final h2 { font-size: 2.7rem; }
  .api-home-footer-main { grid-template-columns: 1fr; }
  .api-home-footer-brand { grid-column: auto; }
  .api-home-footer-status { grid-column: auto; }
}

/* Dashboard-first landing page */
.dashboard-home-main { background: #fbf8f1; }
.dashboard-home-header .api-home-header-inner { max-width: 1460px; }
.dashboard-home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,0.96), transparent 36%),
    radial-gradient(circle at 80% 24%, rgba(255,255,255,0.92), transparent 38%),
    linear-gradient(120deg, #fbf8f1 0%, #f7f1e7 100%);
}
.dashboard-home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,138,69,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,138,69,0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.58), transparent 92%);
  pointer-events: none;
}
.dashboard-home-hero-grid {
  position: relative;
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(430px, 0.7fr) minmax(700px, 1.3fr);
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
  padding-block: clamp(54px, 6vw, 82px);
}
.dashboard-home-hero-copy { min-width: 0; }
.dashboard-home-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3.65rem, 5vw, 5.45rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.91;
}
.dashboard-home-hero-copy h1 em {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.62em;
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
  white-space: normal;
}
.dashboard-home-lead { max-width: 510px; margin: 26px 0 0; color: #253f57; font-size: 0.94rem; line-height: 1.68; }
.dashboard-home-audience-badge { gap: 9px; }
.dashboard-home-audience-badge img { width: 21px; height: 21px; object-fit: contain; }
.dashboard-home-audience-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}
.dashboard-home-audience-list li {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 12px 7px;
  border: 1px solid #dacfbf;
  border-radius: 4px;
  background: rgba(255,255,255,0.42);
  color: var(--navy);
  font-size: 0.59rem;
  font-weight: 680;
  line-height: 1.32;
  text-align: center;
}
.dashboard-home-audience-list img { width: 31px; height: 31px; object-fit: contain; }
.dashboard-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dashboard-home-actions .button { min-height: 50px; }
.dashboard-home-boundary { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; color: #6f777a; font-size: 0.7rem; line-height: 1.5; }
.dashboard-home-boundary img { width: 27px; height: 27px; object-fit: contain; }

.review-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5cbb9;
  border-radius: 9px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 22px 54px rgba(31,45,54,0.09);
}
.review-demo-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 22px; padding: 15px 18px; border-bottom: 1px solid #ded6c8; background: rgba(255,255,255,0.56); }
.review-demo-title > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-demo-title strong { color: var(--navy); font-size: 0.9rem; letter-spacing: -0.01em; }
.review-demo-title > div > span { padding: 5px 8px; border-radius: 4px; background: #e0f0df; color: #327546; font-size: 0.7rem; font-weight: 760; }
.review-demo-title p { display: flex; flex-wrap: wrap; gap: 10px; margin: 7px 0 0; color: #64717c; font-size: 0.72rem; }
.review-demo-title p i { font-style: normal; }
.review-demo-header-actions { display: flex; align-items: center; gap: 16px; }
.review-demo-view-tabs { display: inline-flex; padding: 3px; border: 1px solid #d3c8b7; border-radius: 6px; background: #f5f0e6; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
.review-demo-view-tabs button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: #64717a; cursor: pointer; font: 720 0.72rem/1 var(--sans); }
.review-demo-view-tabs button.active { background: var(--navy); color: white; box-shadow: 0 2px 7px rgba(4,31,52,0.2); }
.review-demo-status { display: flex; gap: 13px; margin: 0; }
.review-demo-status div { display: grid; gap: 5px; padding-left: 13px; border-left: 1px solid #ded6c8; text-align: right; }
.review-demo-status dt { color: #6f7778; font-size: 0.7rem; }
.review-demo-status dd { margin: 0; color: var(--navy); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.review-demo-dashboard { display: grid; grid-template-columns: 132px minmax(0,1fr); }
.review-demo-sidebar { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 3px; padding: 13px 9px; border-right: 1px solid #ded6c8; background: rgba(248,245,238,0.72); }
.review-demo-sidebar span { display: grid; width: 100%; min-width: 0; min-height: 38px; grid-template-columns: 16px minmax(0,1fr) auto; align-items: center; gap: 4px; padding: 0 6px; border: 1px solid transparent; border-radius: 4px; color: #526473; font-size: 0.7rem; font-weight: 680; }
.review-demo-sidebar span.active { border-color: #afc4d3; background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(31,45,54,0.06); }
.review-demo-sidebar i { color: #446177; font-style: normal; text-align: center; }
.review-demo-sidebar b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 10px; background: #ebe9e3; color: #55636c; font-size: 0.61rem; }
.review-demo-content { display: grid; gap: 9px; padding: 11px; background: rgba(252,250,246,0.42); }
.review-demo-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.review-demo-stats article { display: flex; min-width: 0; min-height: 100px; flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px 11px; border: 1px solid #ded6c8; border-radius: 5px; background: rgba(255,255,255,0.82); box-shadow: 0 1px 0 rgba(27,45,57,0.02); }
.review-demo-stats strong { color: var(--navy); font-size: 1.42rem; line-height: 1; }
.review-demo-stats .tone-green > strong { color: #3a8a4d; }
.review-demo-stats .tone-red > strong { color: #d93d2d; }
.review-demo-stats span { color: #1c3143; font-size: 0.75rem; line-height: 1.35; }
.review-demo-stats small { color: #667781; font-size: 0.7rem; }
.review-demo-stats article > i { display: block; width: 100%; height: 5px; margin-top: auto; overflow: hidden; border-radius: 3px; background: #d9e1d9; }
.review-demo-stats article > i b { display: block; height: 100%; border-radius: inherit; background: #39854a; }
.review-demo-exceptions, .review-demo-lower-grid > section { min-width: 0; border: 1px solid #ded6c8; border-radius: 5px; background: rgba(255,255,255,0.78); }
.review-demo-exceptions h3, .review-demo-lower-grid h3 { margin: 0; padding: 12px 13px 7px; color: var(--navy); font-family: var(--sans); font-size: 0.78rem; }
.review-demo-table-wrap { overflow-x: auto; padding: 0 11px 7px; }
.review-demo-exceptions table { width: 100%; min-width: 590px; border-collapse: collapse; color: #415463; font-size: 0.75rem; }
.review-demo-exceptions th { padding: 8px 6px; border-bottom: 1px solid #ded6c8; color: #30475a; font-size: 0.7rem; text-align: left; }
.review-demo-exceptions td { padding: 9px 6px; border-bottom: 1px solid #eee9e0; vertical-align: top; }
.review-demo-exceptions th:first-child { width: 39%; }
.review-demo-exceptions th:nth-child(2) { width: 27%; }
.review-demo-exceptions th:nth-child(3) { width: 10%; }
.review-demo-exceptions th:nth-child(4) { width: 11%; }
.review-demo-exceptions th:nth-child(5) { width: 13%; }
.review-demo-exceptions tbody tr:last-child td { border-bottom: 0; }
.review-demo-exceptions td strong, .review-demo-exceptions td small { display: block; }
.review-demo-exceptions td strong { color: #21394c; font-size: 0.76rem; }
.review-demo-exceptions td small { margin-top: 3px; color: #68777d; font-size: 0.7rem; }
.review-demo-exceptions td span { padding: 3px 5px; border-radius: 3px; }
.review-demo-exceptions .risk-high { background: #fde4df; color: #d63223; }
.review-demo-exceptions .risk-medium { background: #fff0db; color: #c36f08; }
.review-demo-exceptions td em { color: #e14c2e; font-style: normal; white-space: nowrap; }
.review-demo-lower-grid { display: grid; grid-template-columns: 1.18fr 1fr 1.05fr; gap: 8px; }
.review-demo-lower-grid > section { display: flex; min-height: 255px; flex-direction: column; }
.review-demo-coverage ul, .review-demo-deliverables ul, .review-demo-timeline ol { margin: 0; padding: 4px 13px 8px; list-style: none; }
.review-demo-coverage li { display: grid; grid-template-columns: minmax(74px,1fr) 49px 31px; align-items: center; gap: 5px; min-height: 27px; color: #435868; font-size: 0.72rem; }
.review-demo-coverage li i, .dashboard-home-progress { display: block; height: 4px; overflow: hidden; border-radius: 3px; background: #dfe4df; }
.review-demo-coverage li i b, .dashboard-home-progress i { display: block; height: 100%; border-radius: inherit; background: #3b8a4e; }
.review-demo-coverage li strong { text-align: right; }
.review-demo-coverage > p { display: flex; justify-content: space-between; margin: auto 13px 0; padding: 8px 0 10px; border-top: 1px solid #e0d8cb; color: var(--navy); font-size: 0.75rem; font-weight: 750; }
.review-demo-deliverables li { display: flex; min-height: 27px; align-items: center; gap: 7px; color: #425867; font-size: 0.72rem; }
.review-demo-deliverables li i { display: grid; width: 13px; height: 13px; place-items: center; border: 1px solid #64a273; border-radius: 50%; color: #3d8b4f; font-size: 0.42rem; font-style: normal; }
.review-demo-deliverables a { display: inline-flex; width: max-content; min-height: 38px; align-items: center; margin: auto 13px 11px; padding: 0 11px; border: 1px solid #9aabba; background: #fff; color: var(--navy); font-size: 0.72rem; font-weight: 750; }
.review-demo-timeline ol { padding-left: 18px; }
.review-demo-timeline li { position: relative; display: grid; gap: 2px; min-height: 45px; padding-left: 14px; color: #566875; font-size: 0.72rem; }
.review-demo-timeline li::before { position: absolute; top: 8px; bottom: -8px; left: 3px; width: 1px; background: #8fa0ac; content: ""; }
.review-demo-timeline li:last-child::before { display: none; }
.review-demo-timeline li > i { position: absolute; top: 3px; left: 0; width: 7px; height: 7px; border: 1px solid #637d90; border-radius: 50%; background: white; }
.review-demo-timeline li strong { color: #405666; font-size: 0.74rem; }
.review-demo-timeline li span { color: #697a81; font-size: 0.7rem; }
.review-demo-timeline li.current > i { border-color: #3c8b50; background: #3c8b50; box-shadow: 0 0 0 3px rgba(60,139,80,0.14); }
.review-demo-timeline li.current strong { color: #3b814c; }
.review-demo-api { padding: 12px; }
.review-demo-api-meta { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 16px; }
.review-demo-api-meta > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.review-demo-api-meta span { padding: 4px 7px; border-radius: 3px; background: #d9efdd; color: #26703e; font: 750 0.55rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; }
.review-demo-api-meta code { overflow: hidden; color: #536779; font: 650 0.55rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow: ellipsis; white-space: nowrap; }
.review-demo-api-meta button { min-height: 30px; flex: 0 0 auto; padding: 0 10px; border: 1px solid #bdc9d1; background: white; color: var(--navy); cursor: pointer; font-size: 0.5rem; font-weight: 720; }
.review-demo-api pre { min-height: 443px; max-height: 443px; overflow: auto; margin: 0; padding: 17px 19px; border: 1px solid rgba(90,127,157,0.3); border-radius: 3px; background: linear-gradient(145deg,#061f37,#03172a); color: #dbe8f2; tab-size: 2; }
.review-demo-api pre code { font: 0.59rem/1.58 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space: pre; }
.review-demo-api > p { display: flex; align-items: center; gap: 6px; margin: 9px 0 0; color: #788183; font-size: 0.48rem; }
.review-demo-api > p i { color: #3e9856; font-style: normal; }

.dashboard-home-financing-teams { padding: 0 0 36px; border-bottom: 1px solid var(--line); background: #fbf8f1; }
.dashboard-home-financing-teams-inner { overflow: hidden; border: 1px solid #ddd3c3; border-radius: 5px; background: rgba(255,255,255,0.38); }
.dashboard-home-financing-teams-inner > .eyebrow { margin: 0; padding: 16px 24px 2px; text-align: center; }
.dashboard-home-financing-team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 14px 22px 22px; }
.dashboard-home-financing-team-grid article { display: grid; min-width: 0; min-height: 146px; grid-template-columns: 55px 1fr; align-items: start; align-content: center; gap: 15px; padding: 20px 22px; border: 1px solid #dfd5c6; border-radius: 4px; background: rgba(255,255,255,0.44); }
.dashboard-home-financing-team-grid img { width: 52px; height: 52px; object-fit: contain; }
.dashboard-home-financing-team-grid h2 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: 0.72rem; line-height: 1.35; }
.dashboard-home-financing-team-grid p { margin: 7px 0 0; color: #5d707d; font-size: 0.61rem; line-height: 1.5; }

.dashboard-home-outcomes { padding: 46px 0 52px; border-bottom: 1px solid var(--line); background: #fffdf9; }
.dashboard-home-outcomes > .site-shell > .eyebrow { margin: 0 0 19px; text-align: center; }
.dashboard-home-outcome-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid var(--line); }
.dashboard-home-outcome-grid article { display: grid; min-height: 210px; place-items: center; align-content: center; padding: 24px 18px; text-align: center; }
.dashboard-home-outcome-grid article + article { border-left: 1px solid var(--line); }
.dashboard-home-outcome-grid img { width: 45px; height: 45px; object-fit: contain; }
.dashboard-home-outcome-grid strong { margin-top: 13px; color: #3c8a4d; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.dashboard-home-outcome-grid h2 { margin: 8px 0 0; color: var(--navy); font-family: var(--sans); font-size: 0.78rem; line-height: 1.3; }
.dashboard-home-outcome-grid p { max-width: 180px; margin: 10px 0 0; color: #61717d; font-size: 0.61rem; line-height: 1.55; }

.dashboard-home-pipeline { padding: 56px 0; background: radial-gradient(circle at 80% 30%,#0d3657,#031d33 64%); color: white; }
.dashboard-home-pipeline-grid { display: grid; grid-template-columns: minmax(250px,0.38fr) minmax(650px,1fr); align-items: center; gap: clamp(36px,6vw,90px); }
.dashboard-home-pipeline-copy .eyebrow { margin: 0 0 17px; color: #d7b56b; }
.dashboard-home-pipeline-copy h2 { margin: 0; font-size: clamp(2.7rem,3.8vw,4rem); line-height: 0.98; }
.dashboard-home-pipeline-copy > p:not(.eyebrow) { margin: 19px 0 0; color: #c8d4dd; font-size: 0.76rem; line-height: 1.65; }
.dashboard-home-pipeline-copy ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.dashboard-home-pipeline-copy li { display: flex; align-items: center; gap: 8px; color: #d6e0e7; font-size: 0.65rem; }
.dashboard-home-pipeline-copy li i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #3d8e53; color: white; font-size: 0.53rem; font-style: normal; }
.dashboard-home-pipeline-table { min-width: 0; }
.dashboard-home-pipeline-note { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-bottom: 9px; color: #a9bac7; font-size: 0.52rem; }
.dashboard-home-pipeline-note i, .dashboard-home-footer-cta > span i { width: 7px; height: 7px; border-radius: 50%; background: #44a960; box-shadow: 0 0 0 3px rgba(68,169,96,0.12); }
.dashboard-home-pipeline-scroll { overflow-x: auto; border: 1px solid rgba(196,217,232,0.32); border-radius: 4px; }
.dashboard-home-pipeline table { width: 100%; min-width: 780px; border-collapse: collapse; color: #d7e2ea; font-size: 0.57rem; }
.dashboard-home-pipeline th { padding: 14px 13px; border-bottom: 1px solid rgba(196,217,232,0.25); color: #b9c9d4; font-size: 0.51rem; text-align: left; }
.dashboard-home-pipeline td { padding: 13px; border-bottom: 1px solid rgba(196,217,232,0.18); white-space: nowrap; }
.dashboard-home-pipeline tbody tr:last-child td { border-bottom: 0; }
.dashboard-home-pipeline td:nth-child(4) { display: grid; grid-template-columns: 66px auto; align-items: center; gap: 9px; }
.dashboard-home-pipeline td:nth-child(5) b { color: #ecb858; }
.dashboard-home-pipeline td:nth-child(6) em { display: inline-flex; padding: 4px 7px; border-radius: 3px; font-style: normal; }
.dashboard-home-pipeline .next-sign-off { background: rgba(65,165,101,0.22); color: #82d797; }
.dashboard-home-pipeline .next-info-request { background: rgba(58,137,198,0.24); color: #8dc6ef; }
.dashboard-home-pipeline .next-reviewer { background: rgba(210,147,46,0.25); color: #efbf66; }

.dashboard-home-lifecycle { padding: 53px 0 48px; border-bottom: 1px solid var(--line); background: #fffdf9; }
.dashboard-home-lifecycle > .site-shell > .eyebrow { margin: 0 0 24px; }
.dashboard-home-lifecycle-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: stretch; gap: 38px; }
.dashboard-home-lifecycle-steps { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.dashboard-home-lifecycle-steps li { position: relative; display: grid; align-content: start; justify-items: center; min-width: 0; padding: 9px 15px; text-align: center; }
.dashboard-home-lifecycle-steps img { width: 50px; height: 50px; object-fit: contain; }
.dashboard-home-lifecycle-steps h2 { margin: 13px 0 0; color: var(--navy); font-family: var(--sans); font-size: 0.68rem; }
.dashboard-home-lifecycle-steps p { margin: 9px 0 0; color: #65747e; font-size: 0.57rem; line-height: 1.55; }
.dashboard-home-lifecycle-steps li > span { position: absolute; top: 24px; right: -17px; color: var(--gold); font-size: 1.25rem; }
.dashboard-home-control-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 26px; border: 1px solid var(--line); background: #fffefb; }
.dashboard-home-control-card img { width: 48px; height: 48px; object-fit: contain; }
.dashboard-home-control-card h2 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: 0.83rem; }
.dashboard-home-control-card p { margin: 12px 0 0; color: #4d6170; font-size: 0.67rem; line-height: 1.62; }
.dashboard-home-control-card a { display: inline-flex; gap: 12px; margin-top: 20px; color: var(--navy); font-size: 0.64rem; font-weight: 750; }

.dashboard-home-footer { background: #fbf8f1; color: var(--navy); }
.dashboard-home-footer-main { display: grid; grid-template-columns: 1.2fr 0.7fr 0.7fr 1.15fr; gap: clamp(28px,4vw,58px); padding-block: 37px 31px; border-bottom: 1px solid var(--line); }
.dashboard-home-footer-brand .brand-lockup { width: 137px; }
.dashboard-home-footer-brand p { max-width: 260px; margin: 14px 0 0; color: #65737c; font-size: 0.61rem; line-height: 1.55; }
.dashboard-home-footer-main nav { display: grid; align-content: start; gap: 9px; }
.dashboard-home-footer-main nav strong { margin-bottom: 4px; color: var(--navy); font-size: 0.52rem; letter-spacing: 0.11em; text-transform: uppercase; }
.dashboard-home-footer-main nav a { color: #435a69; font-size: 0.59rem; }
.dashboard-home-footer-cta { display: grid; align-content: center; padding: 20px 24px; background: linear-gradient(135deg,#052440,#0a3557); color: white; }
.dashboard-home-footer-cta > span { display: flex; align-items: center; gap: 8px; color: #dce9df; font-size: 0.61rem; font-weight: 720; }
.dashboard-home-footer-cta p { margin: 8px 0 0; color: #b9c9d4; font-size: 0.56rem; }
.dashboard-home-footer-cta a { display: inline-flex; gap: 10px; margin-top: 14px; color: white; font-size: 0.61rem; font-weight: 750; }
.dashboard-home-footer-bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; color: #7b878d; font-size: 0.54rem; }
.dashboard-home-footer-bottom nav { display: flex; gap: 25px; }

@media (max-width: 1180px) {
  .dashboard-home-hero-grid { grid-template-columns: minmax(315px,0.7fr) minmax(545px,1.3fr); gap: 30px; }
  .dashboard-home-hero-copy h1 { font-size: clamp(3.35rem,5vw,4.55rem); }
  .dashboard-home-hero-copy h1 em { white-space: normal; }
  .dashboard-home-audience-list { grid-template-columns: 1fr 1fr; }
  .review-demo-header { align-items: flex-start; }
  .review-demo-header-actions { align-items: flex-end; flex-direction: column; gap: 8px; }
  .review-demo-status { display: none; }
  .review-demo-dashboard { grid-template-columns: 1fr; }
  .review-demo-sidebar { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #ded6c8; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .review-demo-sidebar::-webkit-scrollbar { display: none; }
  .review-demo-sidebar span { width: auto; min-width: 96px; flex: 0 0 auto; grid-template-columns: 16px minmax(0,1fr) auto; padding-inline: 5px; font-size: 0.68rem; }
  .review-demo-stats article { min-height: 96px; padding-inline: 9px; }
  .dashboard-home-pipeline-grid { grid-template-columns: 260px minmax(0,1fr); gap: 36px; }
  .dashboard-home-lifecycle-layout { grid-template-columns: 1fr; }
  .dashboard-home-control-card { max-width: 570px; }
}

@media (max-width: 980px) {
  .dashboard-home-hero-grid { grid-template-columns: 1fr; }
  .dashboard-home-hero-copy { max-width: 650px; }
  .dashboard-home-hero-copy h1 { font-size: clamp(4rem,8vw,5.4rem); }
  .review-demo { width: 100%; }
  .dashboard-home-financing-team-grid { grid-template-columns: 1fr 1fr; padding-block: 8px 16px; }
  .dashboard-home-financing-team-grid article { padding-block: 15px; }
  .dashboard-home-outcome-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dashboard-home-outcome-grid article:nth-child(4), .dashboard-home-outcome-grid article:nth-child(5) { border-top: 1px solid var(--line); }
  .dashboard-home-outcome-grid article:nth-child(4) { border-left: 0; }
  .dashboard-home-pipeline-grid { grid-template-columns: 1fr; }
  .dashboard-home-pipeline-copy { max-width: 600px; }
  .dashboard-home-footer-main { grid-template-columns: 1.2fr 0.7fr 0.7fr; }
  .dashboard-home-footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .dashboard-home-hero-grid { min-height: 0; padding-block: 48px 58px; }
  .dashboard-home-hero-copy h1 { font-size: clamp(3.35rem,13.5vw,4.65rem); }
  .dashboard-home-lead { font-size: 0.9rem; }
  .dashboard-home-audience-badge { font-size: 0.56rem; letter-spacing: 0.09em; }
  .dashboard-home-actions { display: grid; grid-template-columns: 1fr; }
  .dashboard-home-actions .button { width: 100%; }
  .review-demo-header { display: grid; }
  .review-demo-header-actions { align-items: stretch; }
  .review-demo-view-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .review-demo-dashboard { grid-template-columns: 1fr; }
  .review-demo-sidebar { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #ded6c8; }
  .review-demo-sidebar span { min-width: 92px; flex: 0 0 auto; grid-template-columns: 18px 1fr auto; }
  .review-demo-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-demo-stats article:last-child { grid-column: 1 / -1; }
  .review-demo-lower-grid { grid-template-columns: 1fr; }
  .review-demo-api pre { min-height: 390px; max-height: 420px; padding: 15px; }
  .review-demo-api pre code { font-size: 0.55rem; }
  .dashboard-home-financing-team-grid { grid-template-columns: 1fr; }
  .dashboard-home-outcome-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-home-outcome-grid article:nth-child(n) { min-height: 190px; border-top: 0; border-left: 0; }
  .dashboard-home-outcome-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .dashboard-home-outcome-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dashboard-home-outcome-grid article:last-child { grid-column: 1 / -1; }
  .dashboard-home-pipeline { padding-block: 48px; }
  .dashboard-home-lifecycle-steps { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .dashboard-home-lifecycle-steps li > span { display: none; }
  .dashboard-home-control-card { grid-template-columns: 42px 1fr; padding: 22px 18px; }
  .dashboard-home-control-card img { width: 40px; height: 40px; }
  .dashboard-home-footer-main { grid-template-columns: 1fr 1fr; }
  .dashboard-home-footer-brand { grid-column: 1 / -1; }
  .dashboard-home-footer-cta { grid-column: 1 / -1; }
  .dashboard-home-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 430px) {
  .dashboard-home-hero-copy h1 { font-size: 3.25rem; }
  .dashboard-home-hero-copy h1 em { font-size: 0.67em; }
  .dashboard-home-audience-list li { min-height: 86px; padding: 9px 6px; }
  .review-demo-content { padding: 8px; }
  .review-demo-api-meta { align-items: flex-start; flex-direction: column; padding-bottom: 8px; }
  .review-demo-api-meta button { width: 100%; }
  .dashboard-home-outcome-grid { grid-template-columns: 1fr; }
  .dashboard-home-outcome-grid article:nth-child(n) { grid-column: auto; border-top: 0; border-left: 0; }
  .dashboard-home-outcome-grid article + article { border-top: 1px solid var(--line); }
  .dashboard-home-lifecycle-steps { grid-template-columns: 1fr; }
  .dashboard-home-footer-main { grid-template-columns: 1fr; }
  .dashboard-home-footer-brand, .dashboard-home-footer-cta { grid-column: auto; }
}

/* Lender-capacity landing page refinement */
.dashboard-home-hero-grid {
  min-height: 780px;
  grid-template-columns: minmax(450px, 0.7fr) minmax(720px, 1.3fr);
  gap: clamp(28px, 3vw, 46px);
  padding-block: clamp(58px, 6vw, 88px);
}
.dashboard-home-hero-copy h1 {
  font-size: clamp(4rem, 4.75vw, 5.15rem);
  line-height: 0.94;
}
.dashboard-home-hero-copy h1 em {
  margin-top: 13px;
  color: #9b702d;
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  white-space: normal;
}
.dashboard-home-lead { max-width: 535px; margin-top: 27px; font-size: 0.9rem; line-height: 1.66; }
.dashboard-home-audience-line {
  max-width: 535px;
  margin: 18px 0 0;
  padding: 11px 0 11px 15px;
  border-left: 2px solid var(--gold);
  color: #526675;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.5;
}
.dashboard-home-actions { margin-top: 25px; }
.dashboard-home-boundary { max-width: 530px; margin-top: 20px; }

.review-demo-illustrative {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  color: #69787f;
  font-size: 0.72rem;
  line-height: 1;
}
.review-demo-illustrative i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44a960;
  box-shadow: 0 0 0 3px rgba(68,169,96,0.12);
}
.review-demo-stat-progress {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 3px;
  background: #d9e1d9;
}
.review-demo-stat-progress b { display: block; height: 100%; border-radius: inherit; background: #39854a; }
.review-demo-stats span:not(.review-demo-stat-progress) { font-size: 0.75rem; }
.review-demo-exceptions table { min-width: 570px; }
.review-demo-coverage li { grid-template-columns: minmax(78px,1fr) 46px 29px; min-height: 24px; }
.review-demo-coverage li > span { line-height: 1.25; }

.dashboard-home-proof {
  border-block: 1px solid var(--line);
  background: #f6efe4;
}
.dashboard-home-proof-inner {
  display: grid;
  min-height: 126px;
  grid-template-columns: 170px minmax(440px, 1fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding-block: 24px;
}
.dashboard-home-proof .eyebrow { margin: 0; }
.dashboard-home-proof strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.28rem; line-height: 1.15; }
.dashboard-home-proof p { margin: 7px 0 0; color: #425a6b; font-size: 0.71rem; line-height: 1.58; }
.dashboard-home-proof small { display: block; color: #6a777d; font-size: 0.62rem; line-height: 1.5; }
.dashboard-home-proof a { display: inline-flex; gap: 9px; margin-top: 10px; color: var(--navy); font-size: 0.67rem; font-weight: 760; }

.dashboard-home-capacity {
  padding: clamp(62px, 6vw, 86px) 0;
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}
.dashboard-home-capacity-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: clamp(44px, 8vw, 126px);
  margin-bottom: 34px;
}
.dashboard-home-capacity-heading .eyebrow { margin: 0 0 17px; }
.dashboard-home-capacity-heading h2 {
  max-width: 700px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3.25rem, 4.5vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.dashboard-home-capacity-heading > div:last-child > p {
  margin: 0;
  color: #405769;
  font-size: 0.83rem;
  line-height: 1.72;
}
.dashboard-home-capacity-heading aside {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #d8cbb7;
  border-left: 3px solid var(--gold);
  background: #fbf6ed;
  color: #526574;
  font-size: 0.68rem;
  line-height: 1.62;
}
.dashboard-home-capacity .dashboard-home-outcome-grid { background: rgba(255,255,255,0.55); }
.dashboard-home-outcome-grid h3 { margin: 14px 0 0; color: #317b45; font-size: 0.74rem; letter-spacing: 0.055em; line-height: 1.3; }
.dashboard-home-outcome-grid p { max-width: 200px; font-size: 0.68rem; }
.dashboard-home-outcome-grid article { min-height: 192px; }

.dashboard-home-output {
  padding: clamp(66px, 6.5vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.92), transparent 36%),
    #f4ede2;
}
.dashboard-home-output-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(650px, 1fr);
  align-items: center;
  gap: clamp(46px, 7vw, 102px);
}
.dashboard-home-output-copy .eyebrow { margin: 0 0 18px; }
.dashboard-home-output-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3rem, 4.15vw, 4.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.dashboard-home-output-copy > p:not(.eyebrow) { margin: 23px 0 0; color: #405769; font-size: 0.82rem; line-height: 1.72; }
.dashboard-home-output-copy .button { margin-top: 27px; }
.dashboard-home-output-record {
  overflow: hidden;
  border: 1px solid #cfc1ab;
  border-radius: 7px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 24px 58px rgba(38,48,52,0.1);
}
.dashboard-home-output-record > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border-bottom: 1px solid #d9cebd;
}
.dashboard-home-output-record > header span {
  color: var(--gold-ink);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dashboard-home-output-record > header h3 { margin: 7px 0 0; color: var(--navy); font-size: 0.9rem; }
.dashboard-home-output-record > header p { margin: 4px 0 0; color: #748087; font-size: 0.55rem; }
.dashboard-home-output-record > header > strong {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 3px;
  background: #e0f0df;
  color: #327546;
  font-size: 0.54rem;
}
.dashboard-home-output-record ol {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.dashboard-home-output-primary > li {
  display: grid;
  min-width: 0;
  min-height: 128px;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  padding: 18px 16px;
  border-right: 1px solid #e1d8ca;
  border-bottom: 1px solid #e1d8ca;
}
.dashboard-home-output-primary > li:nth-child(3n) { border-right: 0; }
.dashboard-home-output-primary > li:nth-last-child(-n+3) { border-bottom: 0; }
.dashboard-home-output-primary > li > span { color: var(--gold-ink); font-size: 0.6rem; font-weight: 800; }
.dashboard-home-output-record h4 { margin: 0; color: var(--navy); font-size: 0.74rem; line-height: 1.35; }
.dashboard-home-output-record li p { margin: 8px 0 0; color: #596d7a; font-size: 0.65rem; line-height: 1.55; }
.dashboard-home-output-utilities {
  display: grid;
  grid-template-columns: 116px minmax(0,1fr);
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid #d9cebd;
  background: #f6f0e7;
}
.dashboard-home-output-utilities > strong {
  color: var(--gold-ink);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dashboard-home-output-utilities ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dashboard-home-output-utilities li { min-width: 0; }
.dashboard-home-output-utilities h4 { font-size: 0.67rem; }
.dashboard-home-output-utilities li p { margin-top: 4px; font-size: 0.6rem; }
.dashboard-home-output-record > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 13px 20px;
  border-top: 1px solid #d9cebd;
  background: #faf7f1;
  color: #60717c;
  font-size: 0.52rem;
}
.dashboard-home-output-record > footer span { display: flex; align-items: center; gap: 6px; }
.dashboard-home-output-record > footer i { color: #368048; font-style: normal; }

.dashboard-home-pipeline { padding: clamp(60px, 6vw, 78px) 0; }
.dashboard-home-pipeline-grid { grid-template-columns: minmax(250px,0.34fr) minmax(760px,1.1fr); gap: clamp(34px,4vw,54px); }
.dashboard-home-pipeline-copy h2 { font-size: clamp(2.65rem,3.35vw,3.65rem); }
.dashboard-home-pipeline-copy h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; }
.dashboard-home-pipeline-copy > p:not(.eyebrow) { font-size: 0.75rem; }
.dashboard-home-pipeline-copy li { font-size: 0.69rem; }
.dashboard-home-pipeline table { min-width: 900px; font-size: 0.75rem; }
.dashboard-home-pipeline th { padding: 14px 11px; font-size: 0.72rem; line-height: 1.3; }
.dashboard-home-pipeline td { padding: 14px 11px; }
.dashboard-home-pipeline-note { font-size: 0.59rem; }

.dashboard-home-lifecycle { padding: clamp(60px, 6vw, 80px) 0; }
.dashboard-home-lifecycle > .site-shell > .eyebrow { margin: 0 0 14px; text-align: center; }
.dashboard-home-lifecycle-title {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-align: center;
}
.dashboard-home-lifecycle-steps h3 { margin: 13px 0 0; color: var(--navy); font-size: 0.72rem; }
.dashboard-home-lifecycle-steps p { font-size: 0.68rem; }
.dashboard-home-control-card h3 { margin: 0; color: var(--navy); font-size: 0.83rem; }
.dashboard-home-control-card p { font-size: 0.69rem; }

.dashboard-home-faq { padding: clamp(56px, 5.5vw, 76px) 0; border-bottom: 1px solid var(--line); background: #fbf8f1; }
.dashboard-home-faq-layout {
  display: grid;
  grid-template-columns: minmax(290px,0.62fr) minmax(520px,1fr);
  align-items: start;
  gap: clamp(58px, 9vw, 132px);
}
.dashboard-home-faq-copy .eyebrow { margin: 0 0 16px; }
.dashboard-home-faq-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3.2rem,4.3vw,4.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.dashboard-home-faq-copy > p:not(.eyebrow) { margin: 22px 0 0; color: #465c6b; font-size: 0.78rem; line-height: 1.68; }
.dashboard-home-faq-list { border-top: 1px solid #cfc3b2; }
.dashboard-home-faq-list > section { border-bottom: 1px solid #cfc3b2; }
.dashboard-home-faq-list h3 { margin: 0; }
.dashboard-home-faq-list button {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: 720 0.8rem/1.35 var(--sans);
  text-align: left;
}
.dashboard-home-faq-list button i { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; color: var(--gold-ink); font-size: 1.25rem; font-style: normal; font-weight: 500; }
.dashboard-home-faq-list button:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.dashboard-home-faq-list [role="region"] p { max-width: 700px; margin: -2px 48px 24px 0; color: #526976; font-size: 0.72rem; line-height: 1.72; }

.dashboard-home-final { padding: clamp(60px,6vw,82px) 0; background: radial-gradient(circle at 82% 18%,#123e63,#031c32 64%); color: white; }
.dashboard-home-final-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 54px; }
.dashboard-home-final .eyebrow { margin: 0 0 15px; color: #d7b56b; }
.dashboard-home-final h2 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,4.3vw,4.7rem); font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; }
.dashboard-home-final > .site-shell > div:first-child > p:not(.eyebrow) { max-width: 690px; margin: 20px 0 0; color: #c5d2db; font-size: 0.78rem; line-height: 1.66; }
.dashboard-home-final-actions { display: grid; min-width: 260px; gap: 10px; }
.dashboard-home-final-actions .button { width: 100%; }
.dashboard-home-final-actions > a:last-child { display: inline-flex; justify-content: center; gap: 10px; padding: 9px; color: #dce6ec; font-size: 0.65rem; font-weight: 720; }

@media (max-width: 1180px) {
  .dashboard-home-hero-grid { grid-template-columns: minmax(410px,0.72fr) minmax(570px,1.28fr); }
  .dashboard-home-hero-copy h1 { font-size: clamp(3.65rem,5.4vw,4.55rem); }
  .review-demo-dashboard { grid-template-columns: 1fr; }
  .dashboard-home-output-layout { grid-template-columns: minmax(280px,0.4fr) minmax(590px,1fr); gap: 44px; }
  .dashboard-home-pipeline-grid { grid-template-columns: 240px minmax(0,1fr); gap: 30px; }
}

@media (max-width: 1080px) {
  .dashboard-home-hero-grid { grid-template-columns: 1fr; }
  .dashboard-home-hero-copy { max-width: 720px; }
  .dashboard-home-hero-copy h1 { font-size: clamp(4.2rem,8vw,5.5rem); }
  .review-demo { width: 100%; }
  .dashboard-home-proof-inner { grid-template-columns: 150px minmax(0,1fr); }
  .dashboard-home-proof-inner > div:last-child { grid-column: 2; }
  .dashboard-home-capacity-heading { grid-template-columns: 1fr; gap: 28px; }
  .dashboard-home-capacity-heading > div:last-child { max-width: 760px; }
  .dashboard-home-output-layout { grid-template-columns: 1fr; }
  .dashboard-home-output-copy { max-width: 720px; }
  .dashboard-home-pipeline-grid { grid-template-columns: 1fr; }
  .dashboard-home-pipeline-copy { max-width: 720px; }
  .dashboard-home-faq-layout { grid-template-columns: minmax(260px,0.58fr) minmax(430px,1fr); gap: 48px; }
  .dashboard-home-final-inner { grid-template-columns: 1fr; }
  .dashboard-home-final-actions { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 600px; }
  .dashboard-home-final-actions > a:last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .dashboard-home-hero-grid { padding-block: 48px 64px; }
  .dashboard-home-hero-copy h1 { font-size: clamp(3.5rem,13vw,4.8rem); }
  .dashboard-home-audience-line { font-size: 0.73rem; }
  .dashboard-home-boundary { align-items: flex-start; font-size: 0.72rem; }
  .review-demo-header { padding: 14px; }
  .review-demo-dashboard { grid-template-columns: 1fr; }
  .review-demo-sidebar { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #ded6c8; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .review-demo-sidebar::-webkit-scrollbar { display: none; }
  .review-demo-sidebar span { width: auto; min-width: 92px; flex: 0 0 auto; grid-template-columns: 18px minmax(0,1fr) auto; font-size: 0.7rem; }
  .review-demo-view-tabs button { min-height: 44px; font-size: 0.62rem; }
  .review-demo-content { padding: 10px; }
  .review-demo-view-tabs button { font-size: 0.72rem; }
  .review-demo-illustrative { justify-content: flex-start; padding: 3px 2px; font-size: 0.7rem; }
  .review-demo-stats article { min-height: 106px; padding: 13px 11px; }
  .review-demo-stats span:not(.review-demo-stat-progress) { font-size: 0.72rem; }
  .review-demo-table-wrap { overflow: visible; padding: 0 10px 10px; }
  .review-demo-exceptions table,
  .review-demo-exceptions tbody,
  .review-demo-exceptions tr,
  .review-demo-exceptions td { display: block; width: 100%; min-width: 0; }
  .review-demo-exceptions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .review-demo-exceptions tbody { display: grid; gap: 9px; }
  .review-demo-exceptions tr { padding: 10px; border: 1px solid #ded6c8; border-radius: 3px; background: #fffdfa; }
  .review-demo-exceptions td {
    display: grid;
    grid-template-columns: minmax(90px,0.75fr) minmax(0,1.25fr);
    gap: 12px;
    padding: 6px 0;
    border: 0;
    font-size: 0.7rem;
    white-space: normal;
  }
  .review-demo-exceptions td::before { color: #6d7c82; font-size: 0.65rem; font-weight: 700; content: attr(data-label); text-transform: uppercase; }
  .review-demo-exceptions td:first-child::before { grid-row: 1 / span 2; }
  .review-demo-exceptions td:first-child strong,
  .review-demo-exceptions td:first-child small { grid-column: 2; }
  .review-demo-exceptions td strong { font-size: 0.72rem; }
  .review-demo-exceptions td small { font-size: 0.68rem; }
  .review-demo-exceptions td span { width: max-content; justify-self: start; }
  .review-demo-coverage li { grid-template-columns: minmax(130px,1fr) 80px 34px; min-height: 31px; font-size: 0.7rem; }
  .review-demo-deliverables li { min-height: 30px; font-size: 0.7rem; }
  .review-demo-deliverables a { min-height: 44px; font-size: 0.7rem; }
  .review-demo-timeline li { min-height: 46px; font-size: 0.7rem; }
  .review-demo-timeline li strong { font-size: 0.72rem; }
  .review-demo-timeline li span { font-size: 0.68rem; }
  .dashboard-home-proof-inner { min-height: 0; grid-template-columns: 1fr; gap: 13px; padding-block: 26px; }
  .dashboard-home-proof-inner > div:last-child { grid-column: auto; }
  .dashboard-home-outcome-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-home-outcome-grid article:nth-child(n) { min-height: 200px; border-top: 0; border-left: 0; }
  .dashboard-home-outcome-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .dashboard-home-outcome-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dashboard-home-outcome-grid article:last-child { grid-column: 1 / -1; }
  .dashboard-home-output-record .dashboard-home-output-primary { grid-template-columns: 1fr 1fr; }
  .dashboard-home-output-primary > li:nth-child(n) { border-right: 0; border-bottom: 1px solid #e1d8ca; }
  .dashboard-home-output-primary > li:nth-child(odd) { border-right: 1px solid #e1d8ca; }
  .dashboard-home-output-primary > li:nth-last-child(-n+2) { border-bottom: 0; }
  .dashboard-home-output-utilities { grid-template-columns: 1fr; gap: 10px; }
  .dashboard-home-pipeline-scroll { overflow: visible; border: 0; }
  .dashboard-home-pipeline table,
  .dashboard-home-pipeline tbody,
  .dashboard-home-pipeline tr,
  .dashboard-home-pipeline td { display: block; width: 100%; min-width: 0; }
  .dashboard-home-pipeline thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dashboard-home-pipeline tbody { display: grid; gap: 14px; }
  .dashboard-home-pipeline tr { padding: 12px 14px; border: 1px solid rgba(196,217,232,0.32); border-radius: 4px; background: rgba(3,26,46,0.55); }
  .dashboard-home-pipeline td,
  .dashboard-home-pipeline td:nth-child(4) {
    display: grid;
    grid-template-columns: minmax(128px,0.85fr) minmax(0,1.15fr);
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(196,217,232,0.13);
    white-space: normal;
  }
  .dashboard-home-pipeline td:last-child { border-bottom: 0; }
  .dashboard-home-pipeline td::before { color: #91a9ba; font-size: 0.59rem; font-weight: 700; content: attr(data-label); text-transform: uppercase; }
  .dashboard-home-pipeline td:nth-child(4) .dashboard-home-progress { grid-column: 2; grid-row: 1; width: 80%; }
  .dashboard-home-pipeline td:nth-child(4) strong { grid-column: 2; grid-row: 1; justify-self: end; }
  .dashboard-home-pipeline td:nth-child(6) em { width: max-content; justify-self: start; }
  .dashboard-home-lifecycle-title { margin-bottom: 36px; }
  .dashboard-home-faq-layout { grid-template-columns: 1fr; }
  .dashboard-home-faq-copy { max-width: 680px; }
  .dashboard-home-faq-list button { min-height: 66px; font-size: 0.82rem; }
}

@media (min-width: 641px) and (max-width: 780px) {
  .review-demo-table-wrap { overflow-x: auto; padding: 0 11px 7px; }
  .review-demo-exceptions table { display: table; width: 100%; min-width: 570px; }
  .review-demo-exceptions thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .review-demo-exceptions tbody { display: table-row-group; }
  .review-demo-exceptions tr { display: table-row; width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .review-demo-exceptions th,
  .review-demo-exceptions td {
    display: table-cell;
    width: auto;
    min-width: 0;
    padding: 9px 6px;
    border-bottom: 1px solid #eee9e0;
    font-size: 0.7rem;
    white-space: normal;
  }
  .review-demo-exceptions th { border-bottom-color: #ded6c8; }
  .review-demo-exceptions td::before { display: none; }
  .review-demo-exceptions td:first-child strong,
  .review-demo-exceptions td:first-child small { grid-column: auto; }
  .review-demo-exceptions td span { justify-self: auto; }
}

@media (max-width: 430px) {
  .dashboard-home-hero-copy h1 { font-size: clamp(3.05rem,14vw,3.65rem); }
  .dashboard-home-hero-copy h1 em { font-size: 0.61em; }
  .dashboard-home-lead { font-size: 0.86rem; }
  .dashboard-home-actions { grid-template-columns: 1fr; }
  .review-demo-title > div { display: grid; justify-items: start; }
  .review-demo-title > div > span { width: max-content; }
  .review-demo-sidebar span { min-width: 112px; min-height: 44px; font-size: 0.7rem; }
  .review-demo-stats { grid-template-columns: 1fr 1fr; }
  .review-demo-stats article:last-child { grid-column: 1 / -1; }
  .review-demo-exceptions td { grid-template-columns: 82px minmax(0,1fr); }
  .review-demo-coverage li { grid-template-columns: minmax(112px,1fr) 55px 31px; }
  .dashboard-home-capacity-heading h2,
  .dashboard-home-output-copy h2,
  .dashboard-home-lifecycle-title,
  .dashboard-home-faq-copy h2,
  .dashboard-home-final h2 { font-size: clamp(2.75rem,13vw,3.35rem); }
  .dashboard-home-outcome-grid { grid-template-columns: 1fr; }
  .dashboard-home-outcome-grid article:nth-child(n) { min-height: 172px; grid-column: auto; border-top: 0; border-left: 0; }
  .dashboard-home-outcome-grid article + article { border-top: 1px solid var(--line); }
  .dashboard-home-output-record > header { align-items: flex-start; flex-direction: column; }
  .dashboard-home-output-record .dashboard-home-output-primary { grid-template-columns: 1fr; }
  .dashboard-home-output-primary > li:nth-child(n) { min-height: 0; border-right: 0; border-bottom: 1px solid #e1d8ca; }
  .dashboard-home-output-primary > li:last-child { border-bottom: 0; }
  .dashboard-home-output-utilities ul { grid-template-columns: 1fr; gap: 12px; }
  .dashboard-home-output-record > footer { display: grid; gap: 9px; }
  .dashboard-home-pipeline td,
  .dashboard-home-pipeline td:nth-child(4) { grid-template-columns: 112px minmax(0,1fr); gap: 10px; }
  .dashboard-home-lifecycle-steps { grid-template-columns: 1fr; }
  .dashboard-home-final-actions { grid-template-columns: 1fr; }
  .dashboard-home-final-actions > a:last-child { grid-column: auto; }
}
