/* ============================================================
   Trust Centre hub v3 — /trust/
   Built 2026-11-04 at Christopher's direction, modelled on the
   Anthropic policy page: one clean column, hairline-separated
   rows, serif reading text. No cards, no shadows, no ticker,
   no metric blocks.
   Spacing law: every margin/padding/gap is on the scale
   8 / 16 / 24 / 32 / 48 / 64 / 96 only.
   Typefaces (two maximum): Manrope (the theme heading stack,
   via --font-family-headings so a global heading-font change
   composes) and Source Serif 4, the Trust documents' stack.
   Loaded for slug "trust" in default.hbs.
   ============================================================ */

:root {
  --tv3-ground: #FAF8F3;
  --tv3-head: #3A1251;
  --tv3-ink: #3E3648;          /* the Trust documents' body colour */
  --tv3-muted: #6E6178;
  --tv3-line: #E3DEE8;         /* the site's established hairline */
  --tv3-sans: var(--font-family-headings, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --tv3-serif: 'Source Serif 4', Georgia, serif;
}

/* Ground (DP-21): a plain .gh-container main paints nothing, so the
   cream is painted here — main itself, plus the viewport chain
   scoped to this page's body class. */
body.page-trust,
body.page-trust .gh-viewport {
  background: var(--tv3-ground);
}
.tv3 {
  background: var(--tv3-ground);
  padding-top: 64px;
}
.tv3-col {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.tv3-eyebrow {
  font-family: var(--tv3-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tv3-muted);
  margin: 0 0 24px;
}
.tv3-h1 {
  font-family: var(--tv3-sans);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--tv3-head);
  margin: 0;
}
.tv3-stand {
  font-family: var(--tv3-serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--tv3-ink);
  margin: 24px 0 0;
}
.tv3-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 32px;
}
.tv3-cta a {
  font-family: var(--tv3-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--tv3-head);
  text-decoration: none;
}
.tv3-cta a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Sections ---------- */
.tv3-sec {
  border-top: 1px solid var(--tv3-line);
  margin-top: 64px;
  padding-top: 48px;
}
.tv3-h2 {
  font-family: var(--tv3-sans);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--tv3-head);
  margin: 0 0 24px;
}
.tv3-h2--sub {
  margin-bottom: 8px;
}
.tv3-sec-intro {
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-muted);
  margin: 0 0 24px;
}
.tv3-body {
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-ink);
  margin: 0;
}
.tv3-body a {
  color: var(--tv3-head);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Principles ---------- */
.tv3-principles p {
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-ink);
  margin: 0;
}
.tv3-principles p + p {
  margin-top: 24px;
}
.tv3-principles strong {
  font-weight: 700;
}

/* ---------- Document rows ---------- */
.tv3-doc {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--tv3-line);
  padding: 24px 0;
}
.tv3-doc__name {
  display: block;
  font-family: var(--tv3-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--tv3-head);
}
.tv3-doc:hover .tv3-doc__name,
.tv3-doc:focus-visible .tv3-doc__name {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tv3-doc__desc {
  display: block;
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-ink);
  margin-top: 8px;
}
.tv3-doc__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-top: 16px;
}
.tv3-doc__ver {
  font-family: var(--tv3-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--tv3-muted);
}
.tv3-doc__go {
  font-family: var(--tv3-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--tv3-head);
}

/* ---------- Existing-document rows ---------- */
.tv3-linkrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  text-decoration: none;
  border-top: 1px solid var(--tv3-line);
  padding: 16px 0;
}
.tv3-linkrow__name {
  font-family: var(--tv3-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tv3-head);
}
.tv3-linkrow:hover .tv3-linkrow__name,
.tv3-linkrow:focus-visible .tv3-linkrow__name {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tv3-linkrow__go {
  font-family: var(--tv3-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--tv3-head);
  white-space: nowrap;
}

/* ---------- Raising a concern: actions ---------- */
.tv3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 24px 0 0;
}
.tv3-actions a {
  font-family: var(--tv3-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--tv3-head);
  text-decoration: none;
}
.tv3-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Accordion ---------- */
.tv3-acc {
  margin-top: 64px;
}
.tv3-acc__item {
  border-top: 1px solid var(--tv3-line);
}
.tv3-acc__item:last-child {
  border-bottom: 1px solid var(--tv3-line);
}
.tv3-acc__sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--tv3-sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tv3-head);
}
.tv3-acc__sum::-webkit-details-marker {
  display: none;
}
.tv3-acc__chev {
  flex: none;
  color: var(--tv3-muted);
  transition: transform 0.2s ease;
}
.tv3-acc__item[open ] .tv3-acc__chev {
  transform: rotate(180deg);
}
.tv3-acc__body {
  padding: 0 0 24px;
}
.tv3-acc__body p {
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-ink);
  margin: 0;
}

/* ---------- Founder statement ---------- */
.tv3-statement p {
  font-family: var(--tv3-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tv3-ink);
  margin: 0;
}
.tv3-statement p + p {
  margin-top: 24px;
}
.tv3-sign {
  margin: 32px 0 0;
}
.tv3-sign__name {
  display: block;
  font-family: var(--tv3-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tv3-head);
}
.tv3-sign__role {
  display: block;
  font-family: var(--tv3-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--tv3-muted);
  margin-top: 8px;
}

/* ---------- Focus ---------- */
.tv3 a:focus-visible,
.tv3 summary:focus-visible {
  outline: 3px solid #492074;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Desktop ---------- */
@media (min-width: 861px) {
  .tv3-h1 {
    font-size: 52px;
  }
  .tv3-stand {
    font-size: 24px;
  }
  .tv3-h2 {
    font-size: 32px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .tv3 {
    padding-top: 48px;
  }
  .tv3-sec {
    margin-top: 48px;
    padding-top: 32px;
  }
  .tv3-acc {
    margin-top: 48px;
  }
}
