/* Trust Center - status badges, document cards, and the posture table.
   Layered on top of the shared .legal page styles in /styles.css. */

.legal--wide { max-width: 900px; }

/* ---- status badges -------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--pill);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid transparent;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status--available {
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.28);
}

.status--progress {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
}

.status--planned {
  color: #A9B0BD;
  background: rgba(169, 176, 189, 0.1);
  border-color: rgba(169, 176, 189, 0.24);
}

.status--na {
  color: #9BA1AD;
  background: transparent;
  border-color: var(--border);
}

/* ---- posture table -------------------------------------------------- */

.trust-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.trust-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.97rem;
}

.trust-table th,
.trust-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: #C7CCD6;
  line-height: 1.6;
}

.trust-table thead th {
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.trust-table tbody tr:last-child td { border-bottom: 0; }

.trust-table td strong,
.trust-table th strong { color: var(--text); }

/* ---- document cards ------------------------------------------------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 14px;
  margin: 20px 0 8px;
  padding: 0;
  list-style: none;
}

.doc-card {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.doc-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.doc-card__title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.doc-card__title a { color: var(--text); text-decoration: none; }
.doc-card__title a:hover { color: var(--red-bright); text-decoration: underline; }

.doc-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- callouts ------------------------------------------------------- */

.trust-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-elev);
}

.trust-note--frank {
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.06);
}

.trust-note > :first-child { margin-top: 0; }
.trust-note > :last-child { margin-bottom: 0; }

/* ---- contact block -------------------------------------------------- */

.trust-cta {
  margin: 34px 0 8px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  text-align: center;
}

.trust-cta h2 { margin-top: 0; }

@media (max-width: 560px) {
  .doc-grid { grid-template-columns: 1fr; }
  .trust-cta { padding: 20px 16px; }
}
