.trust-page {
  min-width: 0;
  background: #f7f9fc;
}

.trust-shell {
  width: min(1440px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.trust-page .topbar {
  animation: none;
}

.trust-page .topbar .nav-links a[aria-current="page"] {
  background: #ffffff;
  color: #0b57d0;
  box-shadow: 0 1px 4px rgba(16, 36, 61, 0.1);
}

.trust-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(380px, calc(100vh - 170px));
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  padding: 48px 52px;
  background-color: #eef4fb;
  background-image:
    linear-gradient(
      90deg,
      rgba(247, 250, 255, 0.98) 0%,
      rgba(247, 250, 255, 0.94) 42%,
      rgba(247, 250, 255, 0.46) 66%,
      rgba(247, 250, 255, 0.08) 100%
    ),
    url("/static/assets/sealroute-hero-fallback.jpg");
  background-position: center, center;
  background-size: cover, cover;
}

.trust-hero::before {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  content: "";
  pointer-events: none;
}

.trust-hero-content {
  position: relative;
  z-index: 1;
  width: min(590px, 58%);
}

.trust-hero h1 {
  margin: 8px 0 0;
  color: #10243d;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.trust-hero-content > p:not(.section-kicker) {
  margin: 18px 0 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.75;
}

.trust-overall {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(152, 162, 179, 0.5);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #475467;
  font-size: 12px;
}

.trust-overall i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d49b22;
}

.trust-overall.ready i {
  background: #079455;
}

.trust-overall strong {
  min-width: 0;
  color: #1d2939;
  overflow-wrap: anywhere;
}

.trust-subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  border-block: 1px solid #dce2ea;
  padding: 10px 0;
}

.trust-subnav a {
  min-height: 36px;
  border-radius: 6px;
  padding: 9px 12px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.trust-subnav a:hover,
.trust-subnav a:focus-visible {
  background: #eef4fb;
  color: #0b57d0;
}

.trust-section {
  scroll-margin-top: 96px;
}

.trust-section {
  min-width: 0;
  padding: 64px 24px;
}

.trust-section + .trust-section {
  border-top: 1px solid #dce2ea;
}

.trust-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-width: 0;
  margin-bottom: 28px;
}

.trust-heading h2 {
  margin: 7px 0 0;
  color: #17202a;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.trust-updated {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 0;
  color: #475467;
  text-align: right;
}

.trust-updated span {
  font-size: 12px;
  font-weight: 760;
}

.trust-updated small {
  max-width: 440px;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}

.trust-service-list {
  min-width: 0;
  border-top: 1px solid #bfc8d5;
}

.trust-service-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(120px, 0.38fr) minmax(260px, 1.5fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  border-bottom: 1px solid #dce2ea;
  padding: 12px 4px;
}

.trust-service-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.trust-service-row > strong {
  color: #1d2939;
  font-size: 14px;
}

.trust-service-row > span {
  width: fit-content;
  max-width: 100%;
  border-radius: 6px;
  padding: 5px 8px;
  background: #eaf7f2;
  color: #067647;
  font-size: 11px;
  font-weight: 780;
}

.trust-service-row > span.pending,
.trust-service-row > span.preview {
  background: #fffaeb;
  color: #9b5c00;
}

.trust-service-row > span.limited,
.trust-service-row > span.attention {
  background: #fff0ef;
  color: #b42318;
}

.trust-service-row > p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.trust-service-row.loading {
  display: flex;
  color: #667085;
  font-size: 13px;
}

.trust-model-section {
  background: #ffffff;
}

.trust-model-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  border-block: 1px solid #bfc8d5;
}

.trust-model-summary > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 16px 18px;
}

.trust-model-summary > div + div {
  border-left: 1px solid #dce2ea;
}

.trust-model-summary > div::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #98a2b3;
  content: "";
}

.trust-model-summary > div[data-status="recommended"]::before {
  background: #12926f;
}

.trust-model-summary > div[data-status="observing"]::before {
  background: #d29212;
}

.trust-model-summary > div[data-status="paused"]::before {
  background: #d04444;
}

.trust-model-summary strong {
  color: #1d2939;
  font-size: 22px;
}

.trust-model-summary span {
  min-width: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.trust-model-list {
  min-width: 0;
}

.trust-model-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(120px, 0.4fr) minmax(240px, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  border-bottom: 1px solid #dce2ea;
  padding: 12px 4px;
}

.trust-model-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.trust-model-identity {
  display: grid;
  gap: 3px;
}

.trust-model-identity strong {
  color: #1d2939;
  font-size: 14px;
}

.trust-model-identity span,
.trust-model-row > p {
  color: #667085;
  font-size: 11px;
}

.trust-model-row > span {
  width: fit-content;
  max-width: 100%;
  border-radius: 6px;
  padding: 5px 8px;
  background: #eaf7f2;
  color: #067647;
  font-size: 11px;
  font-weight: 780;
}

.trust-model-row > span.degraded,
.trust-model-row > span.pending {
  background: #fffaeb;
  color: #9b5c00;
}

.trust-model-row > span.unavailable {
  background: #fff0ef;
  color: #b42318;
}

.trust-model-row > p {
  margin: 0;
  line-height: 1.5;
}

.trust-model-row.loading {
  display: flex;
}

.trust-model-action {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}

.trust-anchor-section {
  background: #f8fbff;
}

.trust-anchor-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.75;
}

.trust-anchor-proof-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid #9fb0c6;
  background: rgba(255, 255, 255, 0.58);
}

.trust-anchor-stage {
  min-width: 0;
  padding: 22px 20px;
}

.trust-anchor-stage + .trust-anchor-stage {
  border-left: 1px solid #d4dce7;
}

.trust-anchor-stage span,
.trust-anchor-stage strong,
.trust-anchor-stage small {
  display: block;
  overflow-wrap: anywhere;
}

.trust-anchor-stage span {
  color: #667085;
  font-size: 11px;
  font-weight: 760;
}

.trust-anchor-stage strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #344054;
  font-size: 15px;
  line-height: 1.45;
}

.trust-anchor-stage strong::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #98a2b3;
  content: "";
}

.trust-anchor-stage small {
  margin: 7px 0 0 17px;
  color: #667085;
  font-size: 12px;
}

.trust-anchor-stage[data-state="verified"] strong {
  color: #067647;
}

.trust-anchor-stage[data-state="verified"] strong::before {
  background: #12a873;
  box-shadow: 0 0 0 4px rgba(18, 168, 115, 0.1);
}

.trust-anchor-stage[data-state="pending"] strong {
  color: #9b5c00;
}

.trust-anchor-stage[data-state="pending"] strong::before {
  background: #f5a524;
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.12);
}

.trust-anchor-stage[data-state="error"] strong {
  color: #b42318;
}

.trust-anchor-stage[data-state="error"] strong::before {
  background: #d92d20;
}

.trust-anchor-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #bfc8d5;
}

.trust-anchor-summary > div {
  min-width: 0;
  padding: 18px;
}

.trust-anchor-summary > div + div {
  border-left: 1px solid #dce2ea;
}

.trust-anchor-summary span,
.trust-anchor-summary strong {
  display: block;
  overflow-wrap: anywhere;
}

.trust-anchor-summary span {
  color: #667085;
  font-size: 12px;
}

.trust-anchor-summary strong {
  margin-top: 7px;
  color: #1d2939;
  font-size: 18px;
}

.trust-anchor-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 4px 14px;
}

.trust-anchor-list-heading h3,
.trust-anchor-list-heading p {
  margin: 0;
}

.trust-anchor-list-heading h3 {
  color: #1d2939;
  font-size: 17px;
}

.trust-anchor-list-heading p {
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
}

.trust-anchor-list-heading .tonal-button {
  flex: 0 0 auto;
  min-height: 38px;
}

.trust-anchor-list {
  border-bottom: 1px solid #bfc8d5;
}

.trust-anchor-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(110px, 0.35fr) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #dce2ea;
  padding: 12px 4px;
}

.trust-anchor-row:last-child {
  border-bottom: 0;
}

.trust-anchor-row.loading {
  display: flex;
  color: #667085;
  font-size: 13px;
}

.trust-anchor-row.loading > span {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}

.trust-anchor-row > * {
  min-width: 0;
}

.trust-anchor-row strong,
.trust-anchor-row span,
.trust-anchor-row code {
  overflow-wrap: anywhere;
}

.trust-anchor-row strong {
  color: #1d2939;
  font-size: 13px;
}

.trust-anchor-row > span {
  width: fit-content;
  border-radius: 6px;
  padding: 5px 8px;
  background: #fffaeb;
  color: #9b5c00;
  font-size: 11px;
  font-weight: 780;
}

.trust-anchor-row > span.confirmed {
  background: #eaf7f2;
  color: #067647;
}

.trust-anchor-row > span.failed {
  background: #fef3f2;
  color: #b42318;
}

.trust-anchor-row code {
  color: #475467;
  font-size: 11px;
}

.trust-anchor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.trust-anchor-actions a {
  color: #0b57d0;
  font-size: 12px;
  font-weight: 760;
}

.trust-anchor-note {
  margin: 18px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.6;
}

.trust-boundary-section {
  background: #ffffff;
}

.trust-boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #bfc8d5;
  border-bottom: 1px solid #bfc8d5;
}

.trust-boundary-columns section {
  min-width: 0;
  padding: 28px 30px 30px 0;
}

.trust-boundary-columns section + section {
  border-left: 1px solid #dce2ea;
  padding-right: 0;
  padding-left: 30px;
}

.trust-boundary-columns span,
.trust-proof-grid span {
  color: #007a70;
  font-size: 11px;
  font-weight: 820;
}

.trust-boundary-columns h3 {
  margin: 8px 0 0;
  color: #1d2939;
  font-size: 20px;
  line-height: 1.4;
}

.trust-boundary-columns ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #475467;
  font-size: 13px;
  line-height: 1.65;
}

.trust-data-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #bfc8d5;
  border-bottom: 1px solid #bfc8d5;
  list-style: none;
}

.trust-data-flow li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 24px 20px;
}

.trust-data-flow li + li {
  border-left: 1px solid #dce2ea;
}

.trust-data-flow li > span {
  color: #0b57d0;
  font-size: 11px;
  font-weight: 820;
}

.trust-data-flow strong {
  color: #1d2939;
  font-size: 14px;
}

.trust-data-flow p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.trust-proof-section {
  background: #eef4fb;
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid #bfc8d5;
}

.trust-proof-grid > div {
  min-width: 0;
  padding: 20px;
}

.trust-proof-grid > div + div {
  border-left: 1px solid #cfd7e2;
}

.trust-proof-grid strong {
  display: block;
  min-width: 0;
  margin-top: 7px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.trust-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.trust-contact p {
  margin: 0;
  color: #475467;
  font-size: 13px;
}

.trust-contact > a:not(.tonal-button) {
  color: #0b57d0;
  font-size: 13px;
  font-weight: 760;
}

.trust-contact .tonal-button {
  margin-left: auto;
}

.trust-footer {
  margin-top: 0;
}

@media (max-width: 1240px) {
  .trust-shell {
    width: min(100vw - 28px, 1140px);
  }
}

@media (max-width: 980px) {
  .trust-shell {
    width: min(100vw - 28px, 1140px);
  }

  .trust-hero {
    min-height: 370px;
    padding: 42px 34px;
    background-position: center, 62% center;
  }

  .trust-hero-content {
    width: min(580px, 76%);
  }

  .trust-hero h1 {
    font-size: 40px;
  }

  .trust-data-flow,
  .trust-proof-grid,
  .trust-model-summary,
  .trust-anchor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-anchor-summary > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid #dce2ea;
    border-left: 0;
  }

  .trust-anchor-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .trust-anchor-row code,
  .trust-anchor-actions {
    grid-column: 1 / -1;
  }

  .trust-data-flow li:nth-child(3),
  .trust-proof-grid > div:nth-child(3),
  .trust-model-summary > div:nth-child(3) {
    border-top: 1px solid #dce2ea;
    border-left: 0;
  }

  .trust-data-flow li:nth-child(4),
  .trust-proof-grid > div:nth-child(4),
  .trust-model-summary > div:nth-child(4) {
    border-top: 1px solid #dce2ea;
  }
}

@media (max-width: 640px) {
  .trust-shell {
    width: min(100vw - 28px, 1140px);
    padding-top: 10px;
  }

  .trust-hero {
    min-height: 360px;
    margin-top: 12px;
    padding: 30px 22px;
    background-image:
      linear-gradient(
        90deg,
        rgba(247, 250, 255, 0.97) 0%,
        rgba(247, 250, 255, 0.9) 58%,
        rgba(247, 250, 255, 0.52) 100%
      ),
      url("/static/assets/sealroute-hero-fallback.jpg");
    background-position: center, 66% center;
  }

  .trust-hero-content {
    width: 100%;
  }

  .trust-hero h1 {
    font-size: 34px;
  }

  .trust-hero-content > p:not(.section-kicker) {
    font-size: 14px;
  }

  .trust-subnav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trust-subnav a {
    flex: 0 0 auto;
  }

  .trust-section {
    padding: 46px 8px;
  }

  .trust-heading,
  .trust-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-heading h2 {
    font-size: 25px;
  }

  .trust-updated {
    justify-items: start;
    text-align: left;
  }

  .trust-service-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 2px;
  }

  .trust-model-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-model-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 2px;
  }

  .trust-model-row > p {
    grid-column: 1 / -1;
  }

  .trust-model-action .tonal-button {
    width: 100%;
  }

  .trust-service-row > p {
    grid-column: 1 / -1;
  }

  .trust-boundary-columns,
  .trust-data-flow,
  .trust-proof-grid,
  .trust-anchor-proof-flow,
  .trust-anchor-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-anchor-stage + .trust-anchor-stage {
    border-top: 1px solid #dce2ea;
    border-left: 0;
  }

  .trust-anchor-summary > div,
  .trust-anchor-summary > div + div,
  .trust-anchor-summary > div:nth-child(3) {
    grid-column: auto;
    border-left: 0;
  }

  .trust-anchor-summary > div + div {
    border-top: 1px solid #dce2ea;
  }

  .trust-anchor-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 14px 2px;
  }

  .trust-anchor-row code,
  .trust-anchor-actions {
    grid-column: 1 / -1;
  }

  .trust-anchor-actions {
    justify-content: flex-start;
  }

  .trust-anchor-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-anchor-list-heading .tonal-button {
    width: 100%;
  }

  .trust-boundary-columns section,
  .trust-boundary-columns section + section {
    padding: 24px 2px;
    border-left: 0;
  }

  .trust-boundary-columns section + section {
    border-top: 1px solid #dce2ea;
  }

  .trust-data-flow li,
  .trust-data-flow li + li,
  .trust-data-flow li:nth-child(3),
  .trust-data-flow li:nth-child(4),
  .trust-proof-grid > div,
  .trust-proof-grid > div + div,
  .trust-proof-grid > div:nth-child(3),
  .trust-proof-grid > div:nth-child(4) {
    border-top: 0;
    border-left: 0;
  }

  .trust-data-flow li + li,
  .trust-proof-grid > div + div {
    border-top: 1px solid #dce2ea;
  }

  .trust-data-flow li,
  .trust-proof-grid > div {
    padding: 18px 2px;
  }

  .trust-contact .tonal-button {
    width: 100%;
    margin-left: 0;
  }
}
