.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;
}

/* Home: what the products work from, four tiles under the hero */
.capability-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: 32px;
  border-top: 1px solid #31405a;
  border-bottom: 1px solid #31405a;
}
.capability-tile {
  padding: 22px 22px 24px;
  border: 1px solid #3d4d6e;
  border-radius: 12px;
  background: #131e35;
  color: var(--text);
}
/* Only the arrow is a link: a whole-tile link sent new visitors somewhere
   they had not asked to go. */
.capability-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.capability-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #6f7fa3;
  color: var(--accent);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s;
}
.capability-link:hover,
.capability-link:focus-visible {
  border-color: var(--accent);
  background: #222f4d;
}
.capability-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #222f4d;
  color: var(--accent);
  font-size: 17px;
}
.capability-tile h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}
.capability-tile p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 1023px) {
  .capability-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .capability-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }
}

.image-viewer img {
  cursor: zoom-out;
}

/* Home: configuration section, split into what is ready and what is scoped */
.home-controls .config-group {
  display: block;
  margin: 34px 0 -14px;
  color: var(--accent);
}
.config-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  margin: 8px 0 18px;
}

/* Home: configuration band, light like the standards band, in two compact lists */
.config-band {
  background: #dfe5f1;
  color: #182645;
  padding-block: 60px;
}
.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
}
.config-band .eyebrow {
  color: #4b5f83;
}
.config-band h2 {
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -1.8px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.config-band .config-lede {
  color: #34466a;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.config-band a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: #283e71;
  border-bottom: 1px solid #7b8daa;
}
.config-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.config-band .micro-label {
  color: #3e5687;
}
.config-band ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.config-band li {
  font-size: 14px;
  line-height: 1.6;
  color: #3d4d6b;
  padding: 11px 0;
  border-top: 1px solid #b9c4d8;
}
.config-band li strong {
  color: #182645;
  font-weight: 650;
}
.config-band .config-note {
  font-size: 12px;
  color: #4d5d78;
  margin: 12px 0 0;
}
@media (max-width: 899px) {
  .config-layout,
  .config-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .config-band {
    padding-block: 44px;
  }
}

/* Home: the "your own task" card in the use-case grid */
.case-preview-grid > a.case-preview-cta {
  border-style: dashed;
}

/* Legal and trust pages (src/pages/privacy|terms|security.html) */
.doc-hero h1 {
  font-size: clamp(36px, 4vw, 54px);
}
.doc-updated {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 22px;
}
.doc-body {
  max-width: 820px;
  padding-bottom: 70px;
}
.doc-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.doc-section h2 {
  font-size: 21px;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.doc-section p,
.doc-section li {
  font-size: 15px;
  line-height: 1.75;
  color: #cdd6ec;
}
.doc-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  color: inherit;
}

/* Live contact form: the field bots fill in, and the error line */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  font-size: 13px;
  color: #ffd0d8;
  background: #362339;
  border: 1px solid #d8a5b2;
  border-radius: 7px;
  padding: 10px 12px;
}
