:root {
  --canvas: #f5f8fb;
  --surface: #ffffff;
  --surface-blue: #eef6fb;
  --surface-cyan: #eaf8fa;
  --ink: #14293d;
  --muted: #5e7081;
  --line: #d6e1e9;
  --line-strong: #b9cbd8;
  --navy: #0b3b61;
  --blue: #146da0;
  --cyan: #0786a3;
  --teal: #0f7b75;
  --green: #2a7f62;
  --coral: #c95645;
  --amber: #a46916;
  --font-body: "IBM Plex Sans", "Lato", sans-serif;
  --font-display: "IBM Plex Sans", "Lato", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(26, 57, 81, 0.08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 109, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 109, 160, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: 48px 48px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
strong {
  font-family: var(--font-display);
  letter-spacing: 0;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

code,
pre,
textarea,
.mono,
.sequence-code,
input[type="file"]::file-selector-button {
  font-family: var(--font-mono);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  transition: top 140ms var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: 4px solid var(--cyan);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 18px rgba(19, 53, 78, 0.06);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-main,
.site-footer {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 226px;
  color: var(--ink);
  text-decoration: none;
}

.brand__symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--navy);
  border-left: 5px solid var(--cyan);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
}

.brand__copy {
  display: grid;
  gap: 2px;
}

.brand__mark {
  color: var(--navy);
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1.1;
}

.brand__sub {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav-shell {
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.site-nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
}

.site-nav-scroll {
  display: none;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #30485c;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  background: transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--surface-blue);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: #f3f8fc;
}

.site-nav a[aria-current="page"]::after {
  background: var(--cyan);
}

.site-main {
  padding: 36px 0 72px;
}

.site-footer {
  padding: 36px 0 24px;
  border-top: 4px solid var(--navy);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr;
  gap: 36px;
  padding-bottom: 28px;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.98rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 5px;
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: #708190;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-release {
  color: #536a7d;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.page {
  display: grid;
  gap: 28px;
}

.page-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 0.75fr);
  align-items: end;
  gap: 40px;
  overflow: hidden;
  padding: 34px 36px;
  border: 1px solid #ccdee9;
  border-left: 6px solid var(--cyan);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 250, 0.88)),
    var(--surface);
  box-shadow: var(--shadow);
}

.page-header::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -34px;
  width: 220px;
  height: 110px;
  opacity: 0.2;
  background:
    linear-gradient(135deg, transparent 45%, var(--cyan) 46%, var(--cyan) 48%, transparent 49%) 0 0 / 24px 24px;
  pointer-events: none;
}

.page-header--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.page-header--media {
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--surface);
}

.page-header--media::after {
  display: none;
}

.page-header__copy {
  align-self: center;
  padding: 38px 36px;
}

.page-header--media .header-facts {
  max-width: 640px;
  margin-top: 28px;
}

.hero-molecule {
  min-width: 0;
  min-height: 380px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  border-left: 1px solid var(--line);
  background: #e9f4f8;
}

.hero-molecule__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 109, 160, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 109, 160, 0.05) 1px, transparent 1px),
    #f8fbfd;
  background-size: 28px 28px;
}

.hero-molecule__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid rgba(11, 59, 97, 0.025);
  pointer-events: none;
}

.hero-molecule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
  mix-blend-mode: multiply;
}

.hero-molecule figcaption {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  color: #d7edf3;
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.hero-molecule figcaption strong {
  color: #fff;
  font-family: inherit;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.page-title {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: 2.7rem;
  line-height: 1.08;
  font-weight: 650;
}

.page-lead {
  max-width: 78ch;
  margin: 14px 0 0;
  color: #4c6377;
  font-size: 1.12rem;
  line-height: 1.68;
}

.header-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.header-facts div {
  min-width: 0;
  padding: 13px;
  border-right: 1px solid var(--line);
}

.header-facts div:last-child {
  border-right: 0;
}

.header-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.header-facts dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2,
.figure-copy h2,
.prose-column h2,
.contact-band h2,
.reference-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.82rem;
  font-weight: 650;
  line-height: 1.2;
}

.section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.release-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(500px, 1.8fr) auto;
  align-items: center;
  gap: 24px;
  padding: 17px 20px;
  color: #244258;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(26, 57, 81, 0.055);
}

.release-strip__identity {
  display: grid;
  gap: 6px;
}

.release-strip__identity strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 650;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-state::before {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(42, 127, 98, 0.12);
  content: "";
}

.service-state[data-state="unavailable"] {
  color: var(--coral);
}

.release-strip__facts {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  margin: 0;
  border-inline: 1px solid var(--line);
}

.release-strip__facts div {
  min-width: 0;
  padding: 2px 18px;
}

.release-strip__facts div + div {
  border-left: 1px solid var(--line);
}

.release-strip__facts dt,
.release-ledger dt,
.resource-limits dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.release-strip__facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.release-strip > a {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.text-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 700;
}

.predict-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
}

.tool-panel,
.protocol-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tool-panel {
  padding: 26px;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.protocol-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 650;
}

.privacy-note {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.predict-form,
.source-toggle,
.input-panel {
  display: grid;
  gap: 14px;
}

.service-banner {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 13px 15px;
  color: #7f3d32;
  background: #fff4f1;
  border: 1px solid #e5beb7;
  border-left: 4px solid var(--coral);
  border-radius: 4px;
  font-size: 0.92rem;
}

.toggle-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: min(360px, 100%);
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #edf3f7;
}

.mode-button {
  min-height: 40px;
  padding: 8px 12px;
  color: #50677a;
  background: transparent;
  border: 0;
  border-radius: 3px;
  font-size: 0.94rem;
  font-weight: 600;
}

.mode-button[aria-pressed="true"] {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 1px 5px rgba(26, 57, 81, 0.12);
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #2b4357;
  font-size: 0.96rem;
  font-weight: 600;
}

.field-help {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}

textarea,
input[type="file"] {
  width: 100%;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

textarea {
  min-height: 295px;
  padding: 15px;
  font-size: 0.96rem;
  line-height: 1.65;
  resize: vertical;
}

input[type="file"] {
  padding: 14px;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--surface-blue);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
}

.upload-panel {
  min-height: 180px;
  align-content: center;
  padding: 22px;
  border: 1px dashed #9ebdcd;
  background: #f8fbfd;
}

.input-actions,
.results-tools,
.results-legend,
.helper-row,
.hero-meta,
.summary-bar,
.status-line,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.input-actions {
  justify-content: flex-end;
  padding-top: 2px;
}

.button,
.button--soft,
.button--ghost,
.download-link,
.resource-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease);
}

.button {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button--soft,
.download-link--primary {
  color: var(--navy);
  background: var(--surface-blue);
  border-color: #bad4e3;
}

.button--ghost,
.download-link {
  color: #435b6e;
  background: #fff;
  border-color: var(--line-strong);
}

.button:hover,
.button--soft:hover,
.button--ghost:hover,
.download-link:hover,
.resource-row > a:hover {
  transform: translateY(-1px);
}

.button:hover {
  background: #0b5c8b;
}

.button[disabled],
.button--soft[disabled],
.button--ghost[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.protocol-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.protocol-block {
  padding: 24px;
}

.protocol-block--tint {
  background: var(--surface-cyan);
  border-top: 1px solid #c4e4e7;
}

.protocol-block p {
  color: var(--muted);
  line-height: 1.6;
}

.protocol-list {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.protocol-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-list li:last-child {
  border-bottom: 0;
}

.protocol-list li > span,
.evidence-index,
.stage-number,
.process-steps li > span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.protocol-list div {
  display: grid;
  gap: 4px;
}

.protocol-list small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.boundary-text {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid #b9dce0;
  color: #476b6b !important;
  font-size: 0.92rem;
}

.content-band,
.workflow-section,
.model-comparison,
.process-band,
.resource-list,
.people-section,
.reference-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.context-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.context-gallery__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 40px;
  padding: 30px;
}

.context-gallery__heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.82rem;
  line-height: 1.2;
}

.context-gallery__heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.context-gallery__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.context-visual {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  background: #f8fbfd;
}

.context-visual + .context-visual {
  border-left: 1px solid var(--line);
}

.context-visual__frame {
  min-height: 360px;
  overflow: hidden;
}

.context-visual img {
  width: 100%;
  height: 100%;
  transition: transform 500ms var(--ease), filter 500ms var(--ease);
}

.context-visual--source img {
  object-fit: cover;
}

.context-visual--structure img {
  object-fit: contain;
  background:
    linear-gradient(rgba(20, 109, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 109, 160, 0.045) 1px, transparent 1px),
    #f8fbfd;
  background-size: 30px 30px;
  mix-blend-mode: multiply;
}

.context-visual:hover img {
  transform: scale(1.015);
  filter: saturate(1.06) contrast(1.02);
}

.context-visual figcaption {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  color: var(--muted);
  background: #fff;
  font-size: 0.84rem;
}

.context-visual figcaption strong {
  color: var(--navy);
}

.context-visual figcaption a {
  flex: 0 0 auto;
  font-size: 0.78rem;
  text-align: right;
}

.context-gallery__boundary {
  margin: 0;
  padding: 13px 18px;
  color: #526b7e;
  background: #f3f8fb;
  font-size: 0.84rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.evidence-grid article {
  min-width: 0;
  padding: 22px 24px 0 0;
  border-right: 1px solid var(--line);
}

.evidence-grid article + article {
  padding-left: 24px;
}

.evidence-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.evidence-grid h3 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.16rem;
}

.evidence-grid p {
  min-height: 66px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.evidence-grid a {
  font-size: 0.94rem;
  font-weight: 700;
}

.figure-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1.62fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.figure-section--stacked {
  grid-template-columns: 1fr;
}

.figure-section--stacked .figure-copy {
  max-width: 820px;
}

.figure-copy {
  position: sticky;
  top: 112px;
}

.figure-section--stacked .figure-copy {
  position: static;
}

.figure-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.paper-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cedbe4;
  border-radius: 4px;
  background: #fff;
}

.paper-figure img {
  width: 100%;
  height: auto;
}

.paper-figure--portrait {
  width: min(920px, 100%);
  margin-inline: auto;
}

.paper-figure figcaption {
  padding: 11px 14px;
  color: var(--muted);
  background: #f7fafc;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbdce7;
  border-radius: var(--radius);
  background: var(--surface);
}

.metric-band div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band dt {
  color: var(--blue);
  font-size: 1.75rem;
  font-weight: 700;
}

.metric-band dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.benchmark-sources {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: 28px 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 246, 249, 0.62), rgba(255, 255, 255, 0) 42%),
    var(--surface);
}

.benchmark-sources__intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.25;
}

.benchmark-sources__intro p:not(.section-kicker) {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.benchmark-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.benchmark-source {
  min-width: 0;
  display: grid;
  grid-template-rows: 94px minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cbdce7;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.benchmark-source:hover {
  border-color: #75afc5;
  box-shadow: 0 14px 30px rgba(19, 55, 78, 0.12);
  transform: translateY(-2px);
}

.benchmark-source__logo {
  display: grid;
  place-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.benchmark-source__logo img {
  width: 100%;
  height: 68px;
  object-fit: contain;
}

.benchmark-source__logo--biotd img {
  height: 62px;
}

.benchmark-source__logo--uniprot img {
  width: min(100%, 190px);
}

.benchmark-source__body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 17px 18px;
}

.benchmark-source__body small {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.benchmark-source__body > strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.benchmark-source__body > span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.benchmark-source__body code {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 0.72rem;
}

.benchmark-source__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  color: var(--navy);
  background: #eff7fa;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.benchmark-source:hover .benchmark-source__action {
  color: #fff;
  background: var(--blue);
}

.benchmark-sources__boundary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 15px;
  color: var(--muted);
  background: #f3f8fa;
  border-left: 4px solid var(--cyan);
  font-size: 0.86rem;
  line-height: 1.55;
}

.benchmark-sources__boundary strong {
  color: var(--navy);
}

.benchmark-sources--directory {
  border-top-color: var(--cyan);
}

.external-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 36px;
  align-items: start;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.external-preview__copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.25;
}

.external-preview__copy p:not(.section-kicker) {
  margin: 11px 0 17px;
  color: var(--muted);
  line-height: 1.6;
}

.external-database-grid {
  display: grid;
  gap: 9px;
}

.external-database {
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 58px;
  gap: 14px;
  align-items: center;
  min-height: 98px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), transform 160ms var(--ease);
}

.external-database:hover {
  border-color: #9fc3d4;
  background: #fff;
  transform: translateY(-1px);
}

.external-database__logo {
  height: 72px;
  display: grid;
  place-items: center;
  padding: 7px;
  background: #fff;
  border: 1px solid #d9e4ea;
  border-radius: 3px;
}

.external-database__logo img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.external-database__logo--arachno {
  grid-template-columns: 28px 1fr;
  gap: 7px;
}

.external-database__logo--arachno img {
  width: 22px;
  height: 22px;
}

.external-database__logo--arachno strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.15;
}

.external-database__copy,
.external-database__count {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.external-database__copy small,
.external-database__count small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.external-database__copy > strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.external-database__copy code {
  overflow-wrap: anywhere;
  color: var(--teal);
  font-size: 0.7rem;
}

.external-database__count {
  justify-items: end;
  text-align: right;
}

.external-database__count > strong {
  color: var(--blue);
  font-size: 1.48rem;
  line-height: 1;
}

.external-database-note {
  margin: 0;
  padding: 10px 13px;
  color: var(--muted);
  background: var(--surface-cyan);
  border-left: 4px solid var(--teal);
  font-size: 0.82rem;
  line-height: 1.5;
}

.external-database-note strong {
  color: var(--navy);
}

.external-comparator-sources {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(240px, 0.72fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.external-comparator-sources > p,
.external-comparator-sources > a {
  min-width: 0;
  min-height: 84px;
  margin: 0;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.external-comparator-sources > p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.external-comparator-sources > p span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
}

.external-comparator-sources > a {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--ink);
  background: #f8fbfd;
  text-decoration: none;
}

.external-comparator-sources > a:hover {
  background: #fff;
}

.external-comparator-sources img {
  width: 74px;
  height: 48px;
  object-fit: contain;
}

.external-comparator-sources a span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.external-comparator-sources a strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.external-comparator-sources a small {
  color: var(--muted);
  font-size: 0.76rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 42px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose-column p {
  color: #52687a;
  line-height: 1.75;
}

.split-table,
.status-table {
  border-top: 3px solid var(--cyan);
  background: #f7fafc;
}

.split-table > div {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  border-bottom: 1px solid var(--line);
}

.split-table > div > * {
  padding: 13px 12px;
  border-right: 1px solid var(--line);
  text-align: right;
}

.split-table > div > *:first-child {
  text-align: left;
}

.split-table > div > *:last-child {
  border-right: 0;
}

.split-table__head {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.split-table > p {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-steps li {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 20px 22px 0 0;
  border-right: 1px solid var(--line);
}

.process-steps li + li {
  padding-left: 22px;
}

.process-steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-steps strong {
  margin-top: 8px;
  color: var(--navy);
}

.process-steps p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.stage-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stage-flow article {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  background: #fbfdfe;
}

.stage-flow article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 13px;
  height: 1px;
  background: var(--line-strong);
}

.stage-flow article:last-child::after {
  display: none;
}

.stage-flow h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.08rem;
}

.stage-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.model-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.model-column {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfdfe;
}

.model-column--lite {
  border-top: 4px solid var(--cyan);
}

.model-column--full {
  border-top: 4px solid var(--green);
}

.model-column__head {
  display: grid;
  gap: 6px;
}

.model-column__head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.model-column__head strong {
  color: var(--navy);
  font-size: 1.34rem;
}

.model-column p,
.model-column li,
.method-caveat {
  color: var(--muted);
  line-height: 1.6;
}

.model-column ul {
  margin: 15px 0 0;
  padding-left: 20px;
}

.model-column li + li {
  margin-top: 7px;
}

.method-caveat {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #f1f7f8;
  border-left: 4px solid var(--teal);
  font-size: 0.94rem;
}

.boundary-panel {
  padding: 22px;
  color: #394f62;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 4px;
}

.boundary-panel strong {
  color: var(--navy);
}

.boundary-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.resource-list {
  display: grid;
}

.resource-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.resource-row > div > span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.resource-row h3 {
  margin: 5px 0;
  color: var(--navy);
  font-size: 1.12rem;
}

.resource-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.resource-row > a {
  min-width: 132px;
  color: var(--blue);
  background: #fff;
  border-color: #b9cfdd;
}

.resource-row__links {
  display: flex;
  gap: 8px;
}

.resource-row__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b9cfdd;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

.status-table {
  margin: 0;
}

.status-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.status-table dt {
  color: var(--muted);
}

.status-table dd {
  margin: 0;
  font-weight: 700;
}

.status-table dd[data-status="available"] {
  color: var(--green);
}

.status-table dd[data-status="pending"] {
  color: var(--amber);
}

.service-policy {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(430px, 1.25fr);
  gap: 30px 48px;
  padding: 34px 0;
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line-strong);
}

.service-policy__intro h2,
.resource-limits h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.82rem;
  font-weight: 650;
  line-height: 1.2;
}

.service-policy__intro p:last-child,
.resource-limits > div > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.release-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.release-ledger div {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.release-ledger dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}

.release-ledger dd[data-status="pending"] {
  color: var(--amber);
}

.policy-columns {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.policy-columns article {
  min-width: 0;
  padding: 26px 28px 2px 0;
}

.policy-columns article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.policy-columns span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.policy-columns h3 {
  margin: 12px 0 9px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.35;
}

.policy-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.deployment-note code {
  overflow-wrap: anywhere;
}

.provenance-record {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.provenance-record dl,
.result-provenance dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 18px 0 0;
}

.provenance-record dl div,
.result-provenance dl div {
  min-width: 0;
}

.provenance-record dt,
.result-provenance dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.provenance-record dd,
.result-provenance dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.84rem;
}

.resource-limits {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: 44px;
  padding: 30px 32px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 134, 163, 0.22), transparent 48%),
    var(--navy);
  border-left: 7px solid var(--cyan);
  border-radius: var(--radius);
}

.resource-limits .section-kicker {
  color: #86d8e4;
}

.resource-limits h2,
.resource-limits > div > p:last-child {
  color: #fff;
}

.resource-limits dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.resource-limits dl div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.resource-limits dt {
  color: #9acfe0;
}

.resource-limits dd {
  margin: 5px 0 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reference-grid p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-grid strong {
  color: var(--navy);
}

.reference-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.reference-grid > p > a {
  margin-top: 4px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 650;
}

.reference-grid--visuals p {
  align-content: start;
  gap: 8px;
}

.reference-grid--visuals a {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 650;
}

.reference-grid--sources {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reference-grid--sources p {
  align-content: start;
}

.reference-grid--sources a {
  margin-top: 5px;
  font-size: 0.86rem;
  font-weight: 650;
}

.validation-header {
  border-left-color: var(--green);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(234, 248, 250, 0.84)),
    var(--surface);
}

.validation-page,
.validation-page > * {
  min-width: 0;
}

.validation-stamp {
  position: relative;
  z-index: 1;
  width: 250px;
  display: grid;
  gap: 5px;
  padding: 17px 19px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #b9d8d2;
  border-top: 4px solid var(--green);
  border-radius: 4px;
}

.validation-stamp span,
.validation-stamp small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.validation-stamp strong {
  color: var(--green);
  font-size: 1.03rem;
  line-height: 1.3;
}

.validation-source-band,
.validation-stage2 {
  padding: 32px 0;
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line-strong);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) 70px;
  gap: 18px;
  align-items: center;
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.source-card:hover {
  border-color: #aac8d8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.source-card__mark {
  width: 142px;
  height: 98px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dbe5eb;
  border-radius: 4px;
  text-decoration: none;
}

.source-card__mark img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.source-card__mark--icon {
  grid-template-columns: 30px 1fr;
  gap: 8px;
  text-align: left;
}

.source-card__mark--icon img {
  width: 24px;
  height: 24px;
  image-rendering: auto;
}

.source-card__mark--icon span {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.source-card__mark--wide {
  background: #061017;
}

.source-card__mark--wide img {
  width: 100%;
  max-height: 88px;
}

.source-card__body {
  min-width: 0;
}

.source-card__body > span,
.ranking-source__head > span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
}

.source-card__body h3 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 1.12rem;
}

.source-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.source-card__count {
  display: grid;
  gap: 3px;
  color: var(--blue);
  font-size: 1.65rem;
  line-height: 1;
  text-align: right;
}

.source-card__count small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
}

.validation-construction {
  align-items: center;
}

.cohort-diagram {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--cyan);
  border-radius: 4px;
  background: #f7fafc;
}

.cohort-diagram__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.cohort-diagram__total strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.cohort-bar {
  display: flex;
  min-height: 58px;
  color: #fff;
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

.cohort-bar span {
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.cohort-bar__positive {
  width: var(--share);
  min-width: 92px;
  background: var(--teal);
}

.cohort-bar__comparison {
  flex: 1;
}

.cohort-strata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.cohort-strata div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cohort-strata div:nth-child(2n) {
  border-right: 0;
}

.cohort-strata div:last-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.cohort-strata dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.cohort-strata dd {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.validation-results {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.validation-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--blue);
  background: #fff;
}

.validation-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.validation-table th,
.validation-table td {
  padding: 14px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.validation-table th:first-child,
.validation-table td:first-child,
.validation-table td:nth-child(2) {
  text-align: left;
}

.validation-table th:last-child,
.validation-table td:last-child {
  border-right: 0;
}

.validation-table tbody tr:last-child > * {
  border-bottom: 0;
}

.validation-table thead th {
  color: #4e6476;
  background: #eef5f9;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.validation-table tbody th {
  color: var(--navy);
}

.validation-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.table-status {
  display: inline-block;
  padding: 3px 7px;
  color: var(--blue);
  background: var(--surface-blue);
  border: 1px solid #c2d8e5;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
}

.table-status--primary {
  color: var(--green);
  background: #eef8f3;
  border-color: #bddccb;
}

.validation-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.validation-facts div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.validation-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.validation-facts dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ranking-source {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: #fff;
}

.ranking-source--arachno {
  border-top-color: var(--coral);
}

.ranking-source__head {
  padding: 18px 20px;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
}

.ranking-source__head h3 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1.17rem;
}

.ranking-source__head h3 strong {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.ranking-source dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.ranking-source dl div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.ranking-source dl div:last-child {
  border-right: 0;
}

.ranking-source dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.ranking-source dd {
  margin: 5px 0 0;
  color: var(--blue);
  font-size: 1.18rem;
  font-weight: 700;
}

.ranking-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.validation-boundary {
  margin: 0;
}

.validation-downloads {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: 42px;
  align-items: center;
  padding: 32px 34px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--navy);
  background-size: 28px 28px;
  border-left: 7px solid var(--cyan);
  border-radius: var(--radius);
}

.validation-downloads .section-kicker {
  color: #91dce7;
}

.validation-downloads h2 {
  margin: 0;
  color: #fff;
  font-size: 1.82rem;
  line-height: 1.2;
}

.validation-downloads p {
  margin: 12px 0 0;
  color: #d2e2ec;
  line-height: 1.6;
}

.validation-downloads__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.validation-downloads__links a {
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.validation-downloads__links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.validation-downloads__links a span {
  color: #9fdde6;
  font-family: var(--font-mono);
  font-size: 0.69rem;
}

.lab-intro {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lab-monogram {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    var(--navy);
  background-size: 24px 24px;
  border-left: 8px solid var(--cyan);
  border-radius: 4px;
}

.lab-monogram span {
  font-size: 2rem;
  font-weight: 700;
}

.lab-monogram small {
  color: #9fdde6;
  font-weight: 700;
}

.inline-links a {
  margin-right: 12px;
  font-weight: 700;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.people-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfdfe;
}

.people-grid article > span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.people-grid h3 {
  margin: 9px 0 5px;
  color: var(--navy);
  font-size: 1.14rem;
}

.people-grid p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.people-grid a {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  padding: 34px;
  color: #fff;
  background: var(--navy);
  border-left: 8px solid var(--cyan);
  border-radius: var(--radius);
}

.contact-band .section-kicker {
  color: #86d8e4;
}

.contact-band h2,
.contact-band p,
.contact-band a {
  color: #fff;
}

.contact-band p {
  line-height: 1.6;
}

.contact-band dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-band dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-band dt {
  color: #a8cadf;
}

.contact-band dd {
  margin: 0;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.surface--flat {
  box-shadow: none;
}

.surface--accent {
  border-left: 6px solid var(--cyan);
  background: linear-gradient(90deg, #fff, #f0f8fb);
}

.surface__pad {
  padding: 24px;
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.meta-chip,
.state-chip,
.status-chip,
.decision-chip,
.badge,
.legend-chip,
.mode-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  color: #41596d;
  background: #f6f9fb;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.meta-chip--accent,
.status-chip[data-state="completed"],
.status-chip[data-state="partial_completed"],
.decision-chip[data-state="score"] {
  color: #17634f;
  background: #edf8f4;
  border-color: #bcded1;
}

.meta-chip--amber,
.status-chip[data-state="running"],
.decision-chip[data-state="review"] {
  color: #7b5514;
  background: #fff8e8;
  border-color: #e7d4a5;
}

.status-chip[data-state="failed"],
.status-chip[data-state="expired"],
.decision-chip[data-state="abstain"] {
  color: #8a3c30;
  background: #fff2ef;
  border-color: #e4bdb7;
}

.state-chip[data-state="active"] {
  color: var(--blue);
  background: var(--surface-blue);
  border-color: #b4d3e4;
}

.state-chip[data-state="done"] {
  color: var(--green);
  background: #edf8f4;
  border-color: #bcded1;
}

.state-chip[data-state="blocked"] {
  color: #8a3c30;
  background: #fff2ef;
  border-color: #e4bdb7;
}

.microcopy,
.muted,
.small-note {
  color: var(--muted);
}

.microcopy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.small-note {
  font-size: 0.86rem;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.score-guide {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.7fr);
  gap: 30px;
  margin: 24px -24px -24px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(20, 109, 160, 0.08) 1px, transparent 1px),
    #f4f9fc;
  background-size: 36px 100%;
}

.score-guide__intro h2 {
  margin: 2px 0 8px;
  color: var(--navy);
  font-size: 1.24rem;
}

.score-guide__intro > p:last-child {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.score-guide__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
}

.score-guide__facts > div {
  min-width: 0;
  padding: 16px 17px;
}

.score-guide__facts > div + div {
  border-left: 1px solid var(--line);
}

.score-guide__facts dt {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.score-guide__facts dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.score-guide__boundary {
  box-shadow: inset 0 3px 0 var(--coral);
}

.stage1-measure {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 6px 9px;
  min-width: 160px;
  align-items: center;
}

.score-readout {
  display: flex;
  gap: 5px;
  align-items: baseline;
  color: var(--navy);
}

.score-readout strong {
  font-size: 1.04rem;
}

.score-readout span,
.score-threshold {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.stage1-track {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 1px solid #c8d9e4;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(20, 41, 61, 0.1) 25%),
    #e7eff4;
  border-radius: 2px;
}

.stage1-track__fill {
  display: block;
  width: clamp(0%, calc(var(--score, 0) * 100%), 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.stage1-track__threshold {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: clamp(0%, calc(var(--threshold, 0) * 100%), 100%);
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.score-threshold {
  grid-column: 1 / -1;
}

.stage1-measure--mobile {
  padding: 11px 12px;
  border-left: 3px solid var(--cyan);
  background: #f3f8fb;
}

.jobs-table-wrap {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.results-table th,
.results-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.results-table th {
  color: #3e5669;
  background: #eef5f9;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.results-table tbody tr:hover {
  background: #f8fbfd;
}

.sequence-cell,
.row-status,
.stack {
  display: grid;
  gap: 9px;
}

.sequence-cell code,
.sequence-code {
  overflow-wrap: anywhere;
}

.top3-list {
  display: grid;
  gap: 7px;
  min-width: 210px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top3-item {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 64px 38px;
  gap: 7px;
  align-items: center;
}

.top3-name {
  overflow-wrap: anywhere;
}

.score-bar,
.label-row__bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: #dfe9ef;
  border-radius: 2px;
}

.score-bar::after,
.label-row__bar span {
  content: "";
  display: block;
  width: clamp(0%, calc(var(--score, 0) * 100%), 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.score-value,
.label-row__score {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-align: right;
}

details {
  min-width: 240px;
}

summary {
  color: var(--blue);
  cursor: pointer;
  font-weight: 700;
}

.details-body {
  margin-top: 12px;
}

.result-provenance {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-provenance > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.label-accordion {
  display: grid;
  gap: 7px;
}

.label-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 82px 42px;
  gap: 8px;
  align-items: center;
}

.label-row__name {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}

.result-card-list {
  display: none;
}

.result-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.result-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.result-card__title {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.result-card__meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.result-card__sequence {
  padding: 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.callout {
  padding: 18px;
  border-left: 4px solid var(--cyan);
  background: #f5fafc;
}

.callout.boundary,
.boundary {
  border-left-color: var(--coral);
  background: #fff7f5;
}

.callout h3,
.callout p {
  margin: 0;
}

.callout h3 {
  color: var(--navy);
  font-size: 1.08rem;
}

.callout p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.jobs-new-link {
  position: relative;
  z-index: 1;
  min-width: 154px;
  justify-content: center;
  text-decoration: none;
}

.job-summary-band {
  display: grid;
  grid-template-columns: 150px 180px minmax(260px, 1fr) 170px;
  min-height: 92px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-left: 7px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.job-summary-band > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.job-summary-band > div:last-child {
  border-right: 0;
}

.job-summary-band__value {
  color: #fff;
  font-size: 2rem;
  font-weight: 650;
  line-height: 1;
}

.job-summary-band__label,
.job-summary-band__retention span {
  color: #b9d4e6;
  font-size: 0.84rem;
  line-height: 1.35;
}

.job-summary-band__scope {
  color: #e6f3f8;
  font-weight: 600;
}

.job-summary-band__retention {
  display: grid !important;
  align-content: center;
  gap: 2px !important;
}

.job-summary-band__retention strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.08rem;
}

.status-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: #55c5d4;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(85, 197, 212, 0.14);
  animation: status-pulse 2.2s var(--ease) infinite;
}

@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(85, 197, 212, 0.03);
  }
}

.ledger-notice {
  margin: 0;
  padding: 13px 16px;
  color: #755213;
  background: #fff9ea;
  border: 1px solid #e7d4a5;
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
}

.job-section {
  padding: 28px 0 0;
  border-top: 4px solid var(--navy);
}

.job-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.job-section__heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.72rem;
  font-weight: 650;
  line-height: 1.2;
}

.ledger-state-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.ledger-state-label .status-pulse {
  width: 8px;
  height: 8px;
  border-color: #d7f0f3;
}

.ledger-clear,
.ledger-remove {
  color: #536a7d;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.ledger-clear {
  min-height: 36px;
  padding: 5px 0;
  font-weight: 650;
}

.ledger-clear:hover,
.ledger-remove:hover {
  color: var(--blue);
}

.ledger-clear:disabled {
  color: #9aa8b3;
  cursor: not-allowed;
  text-decoration: none;
}

.job-ledger {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(26, 57, 81, 0.055);
}

.job-ledger__head,
.job-ledger__row {
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) minmax(170px, 1fr) minmax(190px, 1.15fr) minmax(130px, 0.72fr) minmax(150px, 0.78fr);
}

.job-ledger__head {
  color: #3e5669;
  background: #eaf2f7;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.job-ledger__head span {
  padding: 12px 16px;
  border-right: 1px solid #d3e0e8;
}

.job-ledger__head span:last-child {
  border-right: 0;
}

.job-ledger__row {
  position: relative;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
  animation: ledger-row-in 260ms var(--ease) both;
}

.job-ledger__row:last-child {
  border-bottom: 0;
}

.job-ledger__row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--cyan);
  opacity: 0.72;
}

[data-history-ledger] .job-ledger__row::before {
  width: 2px;
  background: #9ab1c1;
}

.job-ledger__row:hover {
  background: #f8fbfd;
}

@keyframes ledger-row-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.job-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: #30485c;
  font-size: 0.88rem;
  line-height: 1.4;
}

.job-cell:last-child {
  border-right: 0;
}

.job-cell--identity {
  padding-left: 20px;
}

.job-code {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.93rem;
  letter-spacing: 0;
}

.job-token-suffix,
.job-cell__subtle {
  color: #748594;
  font-size: 0.76rem;
}

.job-token-suffix {
  font-family: var(--font-mono);
}

.job-row-count,
.job-progress-label {
  color: #314b60;
  font-size: 0.86rem;
  font-weight: 650;
}

.job-progress-track {
  width: min(150px, 100%);
  height: 6px;
  overflow: hidden;
  background: #dfe9ef;
  border-radius: 2px;
}

.job-progress-track span {
  display: block;
  min-width: 4px;
  height: 100%;
  background: var(--cyan);
  transition: width 260ms var(--ease);
}

.job-cell__mobile-label {
  display: none;
  color: #758695;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.job-cell--access {
  gap: 8px;
}

.ledger-open {
  color: var(--blue);
  font-weight: 700;
}

.ledger-remove {
  padding: 0;
  font-size: 0.78rem;
}

.ledger-unavailable {
  color: #8a3c30;
  font-size: 0.84rem;
  font-weight: 650;
}

.job-empty {
  display: grid;
  gap: 5px;
  min-height: 116px;
  place-content: center;
  padding: 24px;
  text-align: center;
}

.job-empty strong {
  color: #38536a;
  font-size: 1rem;
}

.job-empty span {
  color: var(--muted);
  font-size: 0.88rem;
}

.browser-privacy-note {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 26px;
  background: var(--surface-cyan);
  border-top: 1px solid #b9dce0;
  border-bottom: 1px solid #b9dce0;
}

.browser-privacy-note strong {
  color: var(--navy);
}

.browser-privacy-note p {
  margin: 0;
  color: #476b6b;
  line-height: 1.6;
}

.error,
.form-errors,
.field-error {
  padding: 12px 14px;
  color: #8a3c30;
  background: #fff1ee;
  border: 1px solid #e1b3ab;
  border-left: 4px solid var(--coral);
  border-radius: 4px;
}

.form-errors ul,
.field-error ul {
  margin: 0;
  padding-left: 18px;
}

.error-list {
  display: grid;
  gap: 8px;
}

.tight {
  gap: 7px;
}

.spacer {
  height: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

textarea:focus-visible,
input:focus-visible,
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(7, 134, 163, 0.32);
  outline-offset: 2px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up 320ms var(--ease) both;
}

.reveal:nth-child(2) { animation-delay: 40ms; }
.reveal:nth-child(3) { animation-delay: 80ms; }
.reveal:nth-child(4) { animation-delay: 120ms; }
.reveal:nth-child(5) { animation-delay: 160ms; }

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

@media (max-width: 1080px) {
  .job-summary-band {
    grid-template-columns: 130px 160px minmax(240px, 1fr) 150px;
  }

  .job-summary-band > div {
    padding-inline: 16px;
  }

  .site-header__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 13px;
  }

  .brand {
    padding-bottom: 12px;
  }

  .site-nav {
    min-height: 46px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
  }

  .site-nav-shell {
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .site-nav-scroll:not([hidden]) {
    width: 38px;
    min-width: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--navy);
    background: #edf7fb;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-sans);
    font-size: 1.6rem;
    line-height: 1;
  }

  .site-nav-scroll:not([hidden]):hover,
  .site-nav-scroll:not([hidden]):focus-visible {
    color: #fff;
    background: var(--blue);
    outline: 2px solid var(--cyan);
    outline-offset: -2px;
  }

  .site-nav-scroll--previous {
    border-right: 1px solid var(--line);
  }

  .site-nav-scroll--next {
    border-left: 1px solid var(--line);
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 0 12px;
  }

  .site-nav a::after {
    right: 12px;
    left: 12px;
  }

  .page-header,
  .predict-layout,
  .hero-strip,
  .split-layout,
  .contact-band,
  .release-strip,
  .service-policy,
  .resource-limits,
  .benchmark-sources,
  .external-preview,
  .validation-downloads {
    grid-template-columns: 1fr;
  }

  .page-header--media {
    grid-template-columns: 1fr;
  }

  .hero-molecule {
    min-height: 340px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .context-gallery__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .release-strip__facts {
    border-right: 0;
    border-left: 0;
  }

  .policy-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figure-section {
    grid-template-columns: 1fr;
  }

  .figure-copy {
    position: static;
  }

  .stage-flow,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stage-flow article:nth-child(2)::after {
    display: none;
  }

  .process-steps li:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .process-steps li:nth-child(3) {
    padding-left: 0;
  }

  .reference-grid,
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .source-card {
    grid-template-columns: 120px minmax(0, 1fr) 64px;
  }

  .source-card__mark {
    width: 120px;
  }

  .validation-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .job-summary-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-summary-band > div {
    min-height: 76px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .job-summary-band > div:nth-child(2n) {
    border-right: 0;
  }

  .job-summary-band > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .job-section__heading {
    align-items: flex-start;
  }

  .job-ledger__head {
    display: none;
  }

  .job-ledger__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 5px 0;
  }

  .job-cell {
    min-height: 76px;
    padding: 13px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .job-cell:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .job-cell--identity,
  .job-cell--outcome,
  .job-cell--access {
    grid-column: 1 / -1;
    min-height: 64px;
  }

  .job-cell--identity {
    border-bottom: 1px solid var(--line);
  }

  .job-cell--access {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0;
    border-left: 0 !important;
  }

  .job-cell__mobile-label {
    display: block;
  }

  .browser-privacy-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-header__inner,
  .site-main,
  .site-footer {
    width: min(100%, calc(100% - 22px));
  }

  .site-main {
    padding: 22px 0 48px;
  }

  .page {
    gap: 18px;
  }

  .page-header,
  .tool-panel,
  .content-band,
  .workflow-section,
  .model-comparison,
  .process-band,
  .resource-list,
  .people-section,
  .reference-section,
  .figure-section,
  .split-layout,
  .lab-intro,
  .contact-band,
  .release-strip,
  .resource-limits,
  .benchmark-sources,
  .external-preview,
  .validation-results,
  .validation-downloads,
  .surface__pad {
    padding: 20px;
  }

  .page-header--media {
    padding: 0;
  }

  .page-header__copy,
  .context-gallery__heading {
    padding: 22px 20px;
  }

  .page-title {
    font-size: 2.15rem;
  }

  .page-lead {
    font-size: 1.04rem;
  }

  .release-strip {
    gap: 18px;
  }

  .release-strip__facts {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .release-strip__facts div {
    padding: 10px 0;
  }

  .release-strip__facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .release-strip > a {
    white-space: normal;
  }

  .header-facts {
    grid-template-columns: 1fr;
  }

  .header-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .header-facts div:last-child {
    border-bottom: 0;
  }

  .page-header--media .header-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
  }

  .page-header--media .header-facts div {
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .page-header--media .header-facts div:last-child {
    border-right: 0;
  }

  .page-header--media .header-facts dd {
    font-size: 0.78rem;
  }

  .hero-molecule {
    min-height: 300px;
  }

  .hero-molecule figcaption {
    min-height: 58px;
    padding: 12px 14px;
  }

  .context-gallery__grid {
    grid-template-columns: 1fr;
  }

  .context-visual + .context-visual {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .context-visual__frame {
    min-height: 240px;
  }

  .context-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
  }

  .context-visual figcaption a {
    text-align: left;
  }

  .panel-heading,
  .section-heading,
  .results-head,
  .site-footer__base {
    align-items: flex-start;
    flex-direction: column;
  }

  .score-guide {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px -20px -20px;
    padding: 20px;
  }

  .score-guide__facts {
    grid-template-columns: 1fr;
  }

  .score-guide__facts > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .privacy-note {
    white-space: normal;
  }

  .field-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .input-actions {
    align-items: stretch;
  }

  .input-actions .button {
    width: 100%;
    order: -1;
  }

  .input-actions .button--soft,
  .input-actions .button--ghost {
    flex: 1;
  }

  textarea {
    min-height: 240px;
  }

  .evidence-grid,
  .metric-band,
  .model-columns,
  .reference-grid,
  .people-grid,
  .site-footer__grid,
  .two-column,
  .policy-columns {
    grid-template-columns: 1fr;
  }

  .source-grid,
  .ranking-grid,
  .validation-downloads__links {
    grid-template-columns: 1fr;
  }

  .external-comparator-sources {
    grid-template-columns: 1fr;
  }

  .benchmark-source-grid {
    grid-template-columns: 1fr;
  }

  .external-database {
    grid-template-columns: 100px minmax(0, 1fr) 54px;
  }

  .validation-source-band,
  .validation-stage2 {
    padding: 25px 0;
  }

  .validation-stamp {
    width: 100%;
  }

  .source-card {
    grid-template-columns: 104px minmax(0, 1fr) 58px;
    gap: 13px;
    min-height: 138px;
    padding: 14px;
  }

  .source-card__mark {
    width: 104px;
    height: 86px;
    padding: 8px;
  }

  .source-card__body p {
    font-size: 0.84rem;
  }

  .source-card__count {
    font-size: 1.35rem;
  }

  .validation-facts,
  .ranking-source dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-source dl div:nth-child(2) {
    border-right: 0;
  }

  .ranking-source dl div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-policy {
    gap: 24px;
    padding: 28px 0;
  }

  .release-ledger,
  .resource-limits dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provenance-record dl,
  .result-provenance dl {
    grid-template-columns: 1fr;
  }

  .policy-columns article,
  .policy-columns article + article {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .policy-columns article:last-child {
    border-bottom: 0;
  }

  .evidence-grid article,
  .evidence-grid article + article {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-grid article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .evidence-grid p {
    min-height: 0;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:last-child {
    border-bottom: 0;
  }

  .stage-flow,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .stage-flow article::after {
    display: none;
  }

  .process-steps li,
  .process-steps li + li,
  .process-steps li:nth-child(3) {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-steps li:last-child {
    border-bottom: 0;
  }

  .resource-row {
    grid-template-columns: 1fr;
  }

  .resource-row > a {
    width: 100%;
  }

  .resource-row__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-intro {
    grid-template-columns: 1fr;
  }

  .lab-monogram {
    width: 180px;
  }

  .contact-band dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .jobs-table-wrap {
    display: none;
  }

  .result-card-list {
    display: grid;
    gap: 12px;
  }

  .label-row {
    grid-template-columns: minmax(0, 1fr) 62px 38px;
  }

  .site-footer__grid {
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .jobs-new-link {
    width: 100%;
  }

  .job-summary-band {
    grid-template-columns: 1fr;
  }

  .job-summary-band > div,
  .job-summary-band > div:nth-child(2n),
  .job-summary-band > div:nth-last-child(-n + 2) {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .job-summary-band > div:last-child {
    border-bottom: 0;
  }

  .job-section__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .job-ledger__row {
    grid-template-columns: 1fr;
  }

  .job-cell,
  .job-cell--identity,
  .job-cell--outcome,
  .job-cell--access {
    grid-column: auto;
    border-left: 0 !important;
  }

  .job-cell--access {
    grid-column: 1;
  }

  .brand__sub {
    display: none;
  }

  .source-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .source-card__mark {
    width: 82px;
    height: 76px;
  }

  .source-card__mark--icon {
    grid-template-columns: 1fr;
  }

  .source-card__mark--icon span {
    display: none;
  }

  .source-card__count {
    grid-column: 2;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    justify-content: start;
    text-align: left;
  }

  .cohort-strata {
    grid-template-columns: 1fr;
  }

  .cohort-strata div,
  .cohort-strata div:nth-child(2n),
  .cohort-strata div:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cohort-strata div:last-child {
    border-bottom: 0;
  }

  .validation-facts {
    grid-template-columns: 1fr;
  }

  .reference-grid--sources {
    grid-template-columns: 1fr;
  }

  .external-database {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .external-database__logo {
    height: 66px;
  }

  .external-database__logo--arachno {
    grid-template-columns: 1fr;
  }

  .external-database__logo--arachno strong {
    display: none;
  }

  .external-database__count {
    grid-column: 2;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    justify-content: start;
    justify-items: start;
    text-align: left;
  }

  .site-nav a {
    padding-inline: 6px;
    font-size: 0.82rem;
  }

  .site-nav a::after {
    right: 6px;
    left: 6px;
  }

  .toggle-row {
    width: 100%;
  }

  .mode-button {
    font-size: 0.88rem;
  }

  .page-title {
    font-size: 1.95rem;
  }

  .section-heading h2,
  .figure-copy h2,
  .prose-column h2,
  .contact-band h2,
  .reference-section h2 {
    font-size: 1.55rem;
  }

  .service-policy__intro h2,
  .resource-limits h2 {
    font-size: 1.55rem;
  }

  .release-ledger,
  .resource-limits dl {
    grid-template-columns: 1fr;
  }

  .split-table {
    overflow-x: auto;
  }

  .split-table > div {
    min-width: 0;
    grid-template-columns: 1.05fr 0.72fr 0.9fr 0.64fr;
  }

  .split-table > div > * {
    padding: 10px 5px;
    font-size: 0.72rem;
  }

  .result-card__top {
    flex-direction: column;
  }

  .top3-item {
    grid-template-columns: minmax(90px, 1fr) 48px 36px;
  }
}
