/* =====================================================
   NexavateAI — Enterprise Trust Center Design System
   ===================================================== */

/* ---------- Shared base overrides ---------- */
.trust-page {
  background: #f6f8fb;
  color: var(--medical-navy);
}

/* ---------- Sticky header ---------- */
.trust-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
}
.trust-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.trust-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.trust-nav-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--medical-blue) 0%, var(--medical-blue-dark) 100%);
  color: #fff;
  font-size: 1rem;
}
.trust-nav-brand-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--medical-navy);
  line-height: 1;
}
.trust-nav-brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.trust-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.trust-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.trust-nav-links a:hover {
  background: var(--medical-blue-light);
  color: var(--medical-navy);
  border-color: rgba(34,184,199,0.2);
}
.trust-nav-links a.is-active {
  background: var(--medical-navy);
  color: #fff;
  border-color: var(--medical-navy);
}
.trust-nav-links a svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.trust-nav-links a.is-active svg { opacity: 1; }
.trust-nav-back {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.18s ease;
}
.trust-nav-back:hover {
  color: var(--medical-navy);
  border-color: rgba(34,184,199,0.4);
  background: var(--medical-blue-light);
}

/* ---------- Hero ---------- */
.trust-hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 3.25rem;
  background: linear-gradient(135deg, #0b2733 0%, var(--medical-navy) 45%, #0a4855 100%);
  color: #fff;
}
.trust-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(46,199,215,0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 8% 85%,  rgba(34,184,199,0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}
.trust-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(46,199,215,0.12);
  pointer-events: none;
}
.trust-hero-inner {
  position: relative;
  z-index: 1;
}
.trust-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(226,232,240,0.95);
}
.trust-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.trust-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.trust-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(226,232,240,0.88);
  max-width: 48rem;
}
.trust-hero-meta {
  font-size: 0.82rem;
  color: rgba(203,213,225,0.75);
}
.trust-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.trust-hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-hero-stat {
  text-align: center;
}
.trust-hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.trust-hero-stat span {
  font-size: 0.78rem;
  color: rgba(203,213,225,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Buttons ---------- */
.btn-trust-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  background: var(--medical-blue);
  color: #fff;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-trust-primary:hover { background: var(--medical-blue-dark); }
.btn-trust-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-trust-ghost:hover { background: rgba(255,255,255,0.18); }

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow-x: auto;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
}
.trust-strip-item:last-child { border-right: 0; }
.trust-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 7px;
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
  flex-shrink: 0;
}

/* ---------- Layout ---------- */
.trust-layout {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 2.5rem;
  padding: 2.5rem 0 5rem;
  align-items: start;
}
.trust-sidebar {
  position: sticky;
  top: 5.25rem;
}
.trust-sidebar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(18,54,63,0.06);
  overflow: hidden;
}
.trust-sidebar-heading {
  padding: 0.85rem 1rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #f1f5f9;
}
.trust-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}
.trust-sidebar-nav li { margin: 0; }
.trust-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--slate);
  border-left: 2px solid transparent;
  transition: all 0.18s ease;
}
.trust-sidebar-nav a:hover {
  background: #f8fafc;
  color: var(--medical-navy);
}
.trust-sidebar-nav a.is-active {
  background: var(--medical-blue-light);
  color: var(--medical-navy);
  border-left-color: var(--medical-blue);
  font-weight: 600;
}

/* ---------- Content sections ---------- */
.trust-content { min-width: 0; }
.trust-section {
  scroll-margin-top: 5.5rem;
  margin-bottom: 3rem;
}
.trust-section:last-child { margin-bottom: 0; }
.trust-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.trust-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
  flex-shrink: 0;
}
.trust-section-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--medical-navy);
}
.trust-section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.trust-section h2 { margin: 0 0 0.85rem; font-size: 1.35rem; color: var(--medical-navy); }
.trust-section h3 { margin: 1.35rem 0 0.5rem; font-size: 1.05rem; color: var(--medical-navy); }
.trust-section p  { margin: 0 0 0.9rem; color: var(--slate); line-height: 1.65; }
.trust-section ul, .trust-section ol { margin: 0 0 0.9rem; padding-left: 1.35rem; }
.trust-section li { color: var(--slate); line-height: 1.65; margin-bottom: 0.4rem; }

/* ---------- Cards ---------- */
.trust-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 1px 4px rgba(18,54,63,0.05);
}
.trust-card--accent {
  border-color: rgba(34,184,199,0.35);
  background: linear-gradient(180deg, #f0fbfc 0%, #fff 100%);
}
.trust-card--warn {
  border-color: rgba(245,158,11,0.35);
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}
.trust-card--dark {
  background: linear-gradient(145deg, #0b2733, var(--medical-navy));
  border-color: transparent;
  color: #e2e8f0;
}
.trust-card--dark h2, .trust-card--dark h3 { color: #fff; }
.trust-card--dark p, .trust-card--dark li { color: rgba(226,232,240,0.88); }
.trust-card--dark a { color: #7dd3fc; }
.trust-card--dark a:hover { color: #fff; }
.trust-card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--medical-blue-dark);
}
.trust-card-label svg { flex-shrink: 0; }

/* ---------- Grid layouts ---------- */
.trust-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.trust-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.trust-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.trust-feature-card:hover {
  border-color: rgba(34,184,199,0.4);
  box-shadow: 0 4px 16px rgba(18,54,63,0.09);
  transform: translateY(-2px);
}
.trust-feature-card h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 0.95rem;
}
.trust-feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.trust-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
}
.trust-icon-sm--green {
  background: #dcfce7;
  color: #15803d;
}
.trust-icon-sm--amber {
  background: #fef3c7;
  color: #b45309;
}
.trust-icon-sm--purple {
  background: #f3e8ff;
  color: #7e22ce;
}

/* ---------- Status badges ---------- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 99px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trust-badge--green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.trust-badge--blue {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.trust-badge--teal {
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
  border: 1px solid rgba(34,184,199,0.3);
}
.trust-badge--amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.trust-badge--slate {
  background: #f1f5f9;
  color: var(--slate);
  border: 1px solid #e2e8f0;
}
.trust-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------- Tables ---------- */
.trust-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  margin: 1.25rem 0;
}
.trust-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.trust-table thead {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.trust-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.trust-table td {
  padding: 0.75rem 1rem;
  color: var(--slate);
  vertical-align: top;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.55;
}
.trust-table tr:last-child td { border-bottom: 0; }
.trust-table tbody tr:hover td { background: #f8fafc; }
.trust-table td strong { color: var(--medical-navy); font-weight: 600; }

/* ---------- Architecture / data flow diagrams ---------- */
.trust-diagram {
  margin: 1.5rem 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
}
.trust-diagram-title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
/* Data flow row */
.trust-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 1rem 0;
}
.trust-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.trust-flow-box {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: var(--medical-navy);
  min-width: 90px;
}
.trust-flow-box--primary {
  background: var(--medical-navy);
  color: #fff;
  border-color: var(--medical-navy);
}
.trust-flow-box--teal {
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
  border-color: rgba(34,184,199,0.35);
}
.trust-flow-box--green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.trust-flow-label {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted);
}
.trust-flow-arrow {
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  position: relative;
  flex-shrink: 0;
  margin: 0 0.25rem;
}
.trust-flow-arrow::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: #cbd5e1;
}
.trust-flow-arrow--encrypted {
  background: rgba(34,184,199,0.4);
  stroke: var(--medical-blue);
}
.trust-flow-arrow--encrypted::after {
  border-left-color: var(--medical-blue);
}
.trust-flow-arrow-label {
  position: absolute;
  top: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--medical-blue-dark);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Architecture layer diagram */
.trust-arch {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.trust-arch-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.75rem;
  align-items: center;
}
.trust-arch-layer-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}
.trust-arch-nodes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.trust-arch-node {
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: var(--medical-navy);
}
.trust-arch-node--client   { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
.trust-arch-node--api      { background: var(--medical-blue-light); border-color: rgba(34,184,199,0.35); color: var(--medical-blue-dark); }
.trust-arch-node--service  { background: #f3e8ff; border-color: #e9d5ff; color: #6b21a8; }
.trust-arch-node--data     { background: #dcfce7; border-color: #bbf7d0; color: #15803d; }
.trust-arch-node--external { background: #fff7ed; border-color: #fed7aa; color: #b45309; }
.trust-arch-separator {
  grid-column: 1/-1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-arch-separator-label {
  background: #f6f8fb;
  padding: 0 0.75rem;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Hub page cards ---------- */
.trust-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.25rem;
  padding: 2.5rem 0 4rem;
}
.trust-hub-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  text-decoration: none;
  color: inherit;
}
.trust-hub-card:hover {
  border-color: rgba(34,184,199,0.5);
  box-shadow: 0 8px 32px rgba(18,54,63,0.1);
  transform: translateY(-3px);
}
.trust-hub-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
}
.trust-hub-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--medical-navy);
  line-height: 1.25;
}
.trust-hub-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
  flex: 1;
}
.trust-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--medical-blue-dark);
}
.trust-hub-card-link svg { transition: transform 0.2s ease; }
.trust-hub-card:hover .trust-hub-card-link svg { transform: translateX(3px); }
.trust-hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* ---------- Reveal animation ---------- */
.tr {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tr.in { opacity: 1; transform: translateY(0); }
.tr-delay-1 { transition-delay: 0.07s; }
.tr-delay-2 { transition-delay: 0.14s; }
.tr-delay-3 { transition-delay: 0.21s; }
.tr-delay-4 { transition-delay: 0.28s; }
.tr-delay-5 { transition-delay: 0.35s; }

/* ---------- Compliance card ---------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.compliance-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}
.compliance-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--medical-blue);
  border-radius: 12px 12px 0 0;
}
.compliance-card--amber::before { background: #f59e0b; }
.compliance-card--slate::before { background: #94a3b8; }
.compliance-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--medical-navy);
  margin: 0 0 0.4rem;
}
.compliance-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.85rem;
}
.compliance-card-status {
  margin-top: auto;
}

/* ---------- Footer ---------- */
.trust-footer {
  padding: 2.5rem 0 0;
  background: #070d16;
  color: #94a3b8;
  font-size: 0.875rem;
}
.trust-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-footer-brand-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.trust-footer-brand-tag  { color: #94a3b8; font-size: 0.75rem; margin: 0.2rem 0 0; }
.trust-footer-disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  max-width: 32rem;
  line-height: 1.55;
}
.trust-footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
.trust-footer-links { list-style: none; margin: 0; padding: 0; }
.trust-footer-links li { margin-bottom: 0.45rem; }
.trust-footer-links a {
  color: #94a3b8;
  transition: color 0.18s ease;
  text-decoration: none;
}
.trust-footer-links a:hover { color: #fff; }
.trust-footer-bottom {
  padding: 1rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-footer-bottom p { margin: 0; font-size: 0.8rem; }
.trust-footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-footer-bottom-links a { color: #64748b; font-size: 0.8rem; }
.trust-footer-bottom-links a:hover { color: #fff; }

/* ---------- Misc helpers ---------- */
.trust-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}
.trust-lead {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.trust-note {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.55;
  margin: 1rem 0;
}
.trust-note--blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.trust-note--teal {
  background: var(--medical-blue-light);
  border-color: rgba(34,184,199,0.3);
  color: var(--medical-blue-dark);
}
.trust-note svg { flex-shrink: 0; margin-top: 0.15rem; }
.trust-section-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: var(--muted);
}
.trust-section-footer a { color: var(--medical-blue-dark); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .trust-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .trust-sidebar { position: static; }
  .trust-sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.2rem;
    overflow-x: auto;
    padding: 0.4rem 0;
  }
  .trust-sidebar-nav a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .trust-sidebar-nav a.is-active {
    border-left: 0;
    border-bottom-color: var(--medical-blue);
  }
  .trust-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .trust-nav-links { display: none; }
  .trust-nav-inner { flex-wrap: wrap; }
  .trust-hero { padding: 2.5rem 0 2rem; }
  .trust-strip-inner { flex-direction: column; align-items: flex-start; }
  .trust-strip-item { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .trust-strip-item:last-child { border-bottom: 0; }
  .trust-footer-grid { grid-template-columns: 1fr; }
  .trust-arch-row { grid-template-columns: 1fr; }
  .trust-arch-layer-label { text-align: left; }
  .trust-hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .trust-flow { gap: 0.35rem; }
  .trust-flow-arrow { width: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr, .trust-feature-card, .trust-hub-card { transition: none; }
  .tr { opacity: 1; transform: none; }
}

/* ---------- Polish: typography & spacing ---------- */
.trust-section p { font-size: 0.9375rem; }
.trust-table th { padding: 0.85rem 1.1rem; }
.trust-table td { padding: 0.85rem 1.1rem; font-size: 0.875rem; }
.trust-footer-tagline {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.45;
  max-width: 28rem;
}

/* ---------- SVG architecture diagram ---------- */
.trust-svg-diagram {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: block;
}
.trust-svg-diagram-wrap {
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
}

/* ---------- System status page ---------- */
.trust-status-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.trust-status-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}
.trust-status-banner strong { color: #166534; font-size: 0.95rem; }
.trust-status-banner span { color: #15803d; font-size: 0.85rem; }
.trust-status-list { list-style: none; margin: 0; padding: 0; }
.trust-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.65rem;
}
.trust-status-item:last-child { margin-bottom: 0; }
.trust-status-item-info h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--medical-navy);
}
.trust-status-item-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.trust-status-meta {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
