.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 45px;
  margin: 35px 0;
}
.proof-grid .detail-card p {
  max-width: 520px;
}
.proof-grid .corpus-list {
  color: var(--accent);
  font-weight: 550;
  margin-bottom: 15px;
}
.workflow-evidence {
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}
.workflow-comparison {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
}
.workflow-comparison th,
.workflow-comparison td {
  padding: 21px 24px;
  border-bottom: 1px solid #435274;
  vertical-align: top;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
}
.workflow-comparison thead {
  background: #243452;
  color: #e5edff;
}
.workflow-comparison tbody {
  background: #142038;
}
.workflow-comparison tbody th {
  font-weight: 550;
  width: 38%;
  color: #dbe5fc;
}
.workflow-comparison td {
  color: #bdcbe8;
}
.evidence-note {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 30px;
  max-width: 850px;
}
.regulatory-example {
  border: 1px solid #536481;
  border-radius: 10px;
  background: #16213a;
}
.regulatory-example summary {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.regulatory-example > div {
  padding: 0 24px 24px;
}
.regulatory-example p {
  color: var(--muted);
  font-size: 14px;
  max-width: 880px;
}
.direct-contact {
  margin: 32px 0 0;
  border-top: 1px solid #435274;
  padding-top: 25px;
}
.direct-contact .eyebrow {
  font-size: 10px;
}
.direct-contact > p:last-child {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
  max-width: 420px;
}
@media (max-width: 899px) {
  .proof-grid {
    gap: 25px;
  }
  .workflow-evidence {
    padding-block: 55px;
  }
}
@media (max-width: 640px) {
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .workflow-evidence {
    padding-block: 48px;
  }
  .regulatory-example summary {
    padding: 20px;
    font-size: 14px;
  }
  .regulatory-example > div {
    padding: 0 20px 20px;
  }
  .workflow-comparison th,
  .workflow-comparison td {
    padding: 18px;
    font-size: 13px;
  }
}

/* Illustrations: the product's own steps above each RegLens example */
.mode-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  counter-reset: step;
}
.mode-steps li {
  counter-increment: step;
  font-size: 11px;
  color: #c3cfeb;
  border: 1px solid #435375;
  border-radius: 20px;
  padding: 4px 10px;
}
.mode-steps li::before {
  content: counter(step) ' · ';
  color: #9fb0d6;
}
.mode-steps li[aria-current='step'] {
  color: #0b1327;
  background: var(--accent);
  border-color: var(--accent);
}
.mode-steps li[aria-current='step']::before {
  color: #0b1327;
}

/* Illustrations: TMS traceability and execution */
.state.pass {
  background: #23493a;
  color: #c9ecd9;
}
.state.fail {
  background: #5a2b33;
  color: #ffd6dc;
}
.trace-table td small,
.exec-table td small {
  display: block;
  font-size: 10px;
  color: #a6c0c8;
  margin-top: 3px;
}
.via {
  font-size: 11px;
  color: #c6dce3;
  font-style: italic;
}
.exec-illustration {
  border: 1px solid #405969;
  background: #142332;
  border-radius: 7px;
  padding: 24px 27px;
  margin-top: 40px;
}
.exec-illustration .illustration-head {
  border-bottom-color: #405969;
}
.exec-context {
  font-size: 12px;
  color: #c6dce3;
  margin: 16px 0 6px;
}
.exec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.exec-table th,
.exec-table td {
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 10px;
  border-bottom: 1px solid #2f4757;
  vertical-align: top;
}
.exec-table thead th {
  font-size: 10px;
  letter-spacing: 1px;
  color: #a6c0c8;
  font-weight: 500;
}
.exec-note {
  font-size: 11px;
  color: #a6c0c8;
  margin: 14px 0 0;
}

/* Screenshots: a visible label strip above a real product image */
.screenshot-frame:has(.screenshot-label) {
  padding-top: 38px;
}
.screenshot-label {
  position: absolute;
  top: 9px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #0b1327;
  background: var(--accent);
  border-radius: 20px;
  padding: 4px 10px;
}
@media (max-width: 640px) {
  .exec-illustration {
    padding: 20px;
  }
  .screenshot-label {
    font-size: 9px;
  }
}

.static-shot {
  margin-top: 40px;
}

/* Screenshots enlarge in place */
.zoomable {
  cursor: zoom-in;
}
.screenshot-slot img.zoomable:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.image-viewer {
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1327;
  color: var(--text);
  overflow: hidden auto;
}
.image-viewer::backdrop {
  background: #000000d0;
}
.image-viewer img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 56px);
  width: auto;
  height: auto;
}
.image-viewer-caption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  padding: 12px 56px 14px 16px;
}
.image-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #5a6a8c;
  background: #131e35e6;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
