/* Enterprise Trust Center — /trust */
.trust-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.pub-hero--compact {
  padding-bottom: 1.5rem;
}

.trust-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.trust-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary, #475569);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.trust-nav-link:hover {
  background: rgba(var(--teal-green-rgb, 76, 185, 185), 0.08);
  color: var(--text-primary, #0f172a);
}

.trust-nav-link--active {
  background: rgba(var(--teal-green-rgb, 76, 185, 185), 0.12);
  color: var(--teal-green, #4CB9B9);
  font-weight: 600;
}

.trust-sidebar-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.trust-meta-line {
  margin: 0.25rem 0;
}

.trust-meta-label {
  display: inline-block;
  min-width: 5.5rem;
  font-weight: 500;
}

.trust-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
  margin: 0 0 1.75rem;
}

.trust-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--surface-raised, #fff);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.trust-card:hover {
  border-color: rgba(var(--teal-green-rgb, 76, 185, 185), 0.45);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.trust-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.trust-card-summary {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary, #475569);
}

.trust-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-green, #4CB9B9);
}

.trust-section-title,
.trust-article-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trust-section-intro,
.trust-article-summary {
  margin: 0 0 1.25rem;
  color: var(--text-secondary, #475569);
  line-height: 1.6;
}

.trust-subsection {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.trust-subsection:last-child {
  border-bottom: none;
}

.trust-subsection-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.trust-subsection p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
  color: var(--text-primary, #1e293b);
}

.trust-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.trust-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.trust-badge--available {
  background: #dcfce7;
  color: #166534;
}

.trust-badge--in_progress {
  background: #fef3c7;
  color: #92400e;
}

.trust-badge--planned {
  background: #e0e7ff;
  color: #3730a3;
}

.trust-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.trust-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.trust-table th,
.trust-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  vertical-align: top;
}

.trust-table th {
  font-weight: 600;
  color: var(--text-secondary, #475569);
  background: var(--surface-muted, #f8fafc);
}

.trust-table td:first-child {
  font-weight: 500;
  min-width: 12rem;
}

.trust-release {
  margin-bottom: 1.25rem;
}

.trust-release-meta {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.trust-release-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

body.theme-dark .trust-card {
  background: var(--surface-raised, #1e293b);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .trust-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .trust-nav-link--active {
  background: rgba(var(--teal-green-rgb, 76, 185, 185), 0.15);
}

body.theme-dark .trust-badge--available {
  background: rgba(22, 101, 52, 0.25);
  color: #86efac;
}

body.theme-dark .trust-badge--in_progress {
  background: rgba(146, 64, 14, 0.25);
  color: #fcd34d;
}

body.theme-dark .trust-badge--planned {
  background: rgba(55, 48, 163, 0.25);
  color: #a5b4fc;
}

body.theme-dark .trust-table th {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .trust-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trust-sidebar {
    position: static;
  }

  .trust-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .trust-nav-link {
    font-size: 0.8125rem;
    padding: 0.35rem 0.6rem;
  }
}
