/* UCCA Trust — Custom Styles */
/* Base: copied from ucca-docs. Trust-specific additions below. */

/* ── Base typography (from ucca-docs — system fonts, zero external) ──── */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

code, pre {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

/* ── UCCA Green accent override ─────────────────────────────────────── */

:root {
  --md-accent-fg-color: #00c896;
}

[data-md-color-scheme="slate"] {
  --md-accent-fg-color: #00c896;
}

[data-md-color-scheme="default"] {
  --md-accent-fg-color: #00c896;
}

/* ── Hide site name text — logo only in nav ─────────────────────────── */

.md-header__topic {
  display: none;
}

/* ── Links — green, never blue ──────────────────────────────────────── */

.md-content a,
.md-nav__link:hover,
.md-nav__link--active {
  color: #00c896;
}

.md-content a:hover {
  color: #00c896;
  text-decoration: underline;
}

/* ── Trust-specific: section headings ────────────────────────────────── */

.trust-section-title {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-variant: small-caps;
  padding: 1.5rem 0 0.5rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  margin-bottom: 0;
}

[data-md-color-scheme="slate"] .trust-section-title {
  color: rgba(232, 232, 240, 0.4);
}

[data-md-color-scheme="default"] .trust-section-title {
  color: #666;
}

/* ── Trust-specific: document entries ────────────────────────────────── */

.trust-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.08);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  cursor: default;
}

.trust-entry a {
  color: inherit;
  text-decoration: none;
}

.trust-entry a:hover {
  color: #00c896;
  text-decoration: underline;
}

/* Open document checkmark */
.trust-entry.open .open-check {
  color: #00c896;
  font-size: 0.75rem;
  flex-shrink: 0;
  min-width: 1rem;
  text-align: center;
}

/* Document title */
.trust-entry .doc-title {
  flex: 1;
}

[data-md-color-scheme="slate"] .trust-entry .doc-title {
  color: rgba(232, 232, 240, 0.65);
}

[data-md-color-scheme="default"] .trust-entry .doc-title {
  color: #444;
}

[data-md-color-scheme="slate"] .trust-entry.open .doc-title {
  color: rgba(232, 232, 240, 0.9);
}

[data-md-color-scheme="default"] .trust-entry.open .doc-title {
  color: #1a1a1a;
}


/* ── Trust-specific: footer ──────────────────────────────────────────── */

.trust-footer {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2rem 0;
  line-height: 2;
}

[data-md-color-scheme="slate"] .trust-footer {
  color: rgba(232, 232, 240, 0.25);
}

[data-md-color-scheme="default"] .trust-footer {
  color: #999;
}

/* ── Reduced motion ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
