/* Trust Center — extends site.css tokens only (no redesign) */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
  pointer-events: none;
}

.trust-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.trust-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.trust-nav a:hover {
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.4);
}

.trust-nav a.is-active {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
}

.trust-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.trust-toc {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trust-toc h2 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.trust-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.trust-toc a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.trust-toc a:hover,
.trust-toc a.is-active {
  color: var(--accent-soft);
}

.trust-main {
  min-width: 0;
  max-width: 46rem;
}

.trust-main > section {
  scroll-margin-top: calc(var(--nav-h) + 1.25rem);
  margin-bottom: 2.75rem;
}

.trust-main > section:last-child {
  margin-bottom: 0;
}

.trust-main h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.9rem;
}

.trust-main h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.65rem;
}

.trust-main p {
  margin: 0 0 1em;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
}

.trust-main ul,
.trust-main ol {
  margin: 0 0 1.15em;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  list-style: disc;
}

.trust-main ol {
  list-style: decimal;
}

.trust-main li + li {
  margin-top: 0.4em;
}

.trust-main a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trust-main strong {
  color: var(--text);
  font-weight: 600;
}

.trust-callout {
  margin: 1.35rem 0;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.trust-callout strong {
  display: block;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.trust-callout--ok {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
}

.trust-callout--ok strong {
  color: #86efac;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.trust-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-soft);
}

.trust-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
}

.trust-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.trust-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.35);
}

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

.trust-table th,
.trust-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.5;
}

.trust-table th {
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.45);
}

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

.trust-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.trust-acc {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.4);
  overflow: hidden;
}

.trust-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.trust-acc__icon {
  color: var(--accent-soft);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.trust-acc.is-open .trust-acc__icon {
  transform: rotate(45deg);
}

.trust-acc__panel {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.trust-acc.is-open .trust-acc__panel {
  display: block;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-channel {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.contact-channel:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-soft);
}

.contact-channel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.contact-channel p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.contact-channel a {
  font-weight: 600;
  text-decoration: none;
}

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

  .trust-toc {
    position: static;
  }

  .trust-grid,
  .contact-channels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .trust-nav {
    gap: 0.4rem;
  }

  .trust-nav a {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
}
