/* =====================================================
   MedDev Advisory - Trust Page Styles
   ===================================================== */

.trust-hero-note {
  max-width: 860px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-hero-note span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.88);
  font-size: var(--text-sm);
  font-weight: 600;
}

.trust-hero-note i {
  color: var(--teal-light);
}

.trust-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trust-ledger-row {
  display: grid;
  grid-template-columns: 0.84fr 1.25fr 0.92fr;
  gap: 16px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.trust-ledger-row h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: var(--text-md);
  margin: 0;
}

.trust-ledger-row h3 i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 95, 168, 0.1);
  color: var(--blue);
}

.trust-ledger-row p {
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

.trust-ledger-row a,
.deliverable-card a {
  color: var(--blue);
  font-weight: 700;
}

.trust-ledger-row a:hover,
.deliverable-card a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.trust-verification {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.trust-verification strong {
  display: block;
  color: var(--navy);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.trust-verification span {
  display: block;
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.trust-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.trust-process-card::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal-dark));
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}

.trust-process-card h3 {
  color: var(--navy);
  font-size: var(--text-md);
  margin-bottom: 10px;
}

.trust-process-card p {
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

.trust-split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.trust-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.trust-panel.is-dark {
  background: linear-gradient(150deg, var(--navy), var(--navy-mid));
  border-color: rgba(255,255,255,0.08);
}

.trust-panel h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.trust-panel.is-dark h3,
.trust-panel.is-dark p,
.trust-panel.is-dark li span {
  color: var(--white);
}

.trust-panel p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}

.trust-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.trust-check-list i {
  color: var(--teal);
  margin-top: 4px;
  flex-shrink: 0;
}

.trust-check-list span {
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.trust-panel.is-dark .trust-check-list i {
  color: var(--teal-light);
}

.trust-boundary-card {
  background: #fff9ed;
  border: 1px solid rgba(212, 166, 42, 0.32);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.trust-boundary-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.trust-boundary-card p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}

.trust-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-boundary-grid div {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(212, 166, 42, 0.24);
  border-radius: var(--radius);
  padding: 16px;
}

.trust-boundary-grid strong {
  display: block;
  color: var(--navy);
  font-size: var(--text-sm);
  margin-bottom: 6px;
}

.trust-boundary-grid span {
  display: block;
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.trust-mini-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.trust-mini-proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.trust-mini-proof-card strong {
  display: block;
  color: var(--navy);
  font-size: var(--text-md);
  margin-bottom: 8px;
}

.trust-mini-proof-card span {
  color: var(--text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .trust-ledger-row {
    grid-template-columns: 1fr;
  }

  .trust-process-grid,
  .trust-boundary-grid,
  .trust-mini-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .trust-hero-note,
  .trust-process-grid,
  .trust-split-panel,
  .trust-boundary-grid,
  .trust-mini-proof {
    grid-template-columns: 1fr;
  }

  .trust-hero-note span {
    border-radius: var(--radius);
  }
}
