/* A readable institutional guide using the shared public-page typography. */
.tg-trust-page {
  --trust-font-body: THICCCBOI, Arial, sans-serif;
  --trust-font-heading: "Space Grotesk", THICCCBOI, sans-serif;
  --trust-gutter: 32px;
  overflow-wrap: anywhere;
  font: 400 16px/1.65 var(--trust-font-body);
}
.tg-trust-page :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--trust-font-heading);
  font-weight: 700;
}
.tg-trust-page .navbar-clone { background: #fff !important; }
.tg-trust-page .tg-site-nav .nav-link { font-size: 16px; }
.tg-trust-page .btn {
  max-width: 100%;
  min-height: 48px;
  white-space: normal;
  font-family: var(--trust-font-body);
  font-size: 16px;
  line-height: 1.4;
}
.tg-trust-page .tg-trust-hero > .container,
.tg-trust-page .tg-trust-layout {
  width: min(calc(100% - var(--trust-gutter) * 2), 1120px);
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 0;
}
.tg-trust-page .tg-trust-hero > .container { padding-block: 40px 28px !important; }
.tg-trust-page .tg-trust-hero .tg-eyebrow {
  margin: 0 0 12px !important;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .12em;
}
.tg-trust-page .tg-trust-hero h1 {
  max-width: 900px;
  margin: 0 0 16px !important;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.tg-trust-intro { max-width: 76ch; }
.tg-trust-page .tg-trust-hero .tg-copy-wide {
  max-width: 76ch;
  margin: 0 0 12px !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.tg-trust-status {
  max-width: 840px;
  margin-top: 20px;
  padding: 14px 18px;
  border-inline-start: 3px solid var(--tg-blue);
  border-radius: 8px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  background: var(--tg-blue-soft);
  color: var(--tg-ink);
  font-size: 14px;
  line-height: 1.6;
}
.tg-trust-page .tg-trust-notice { margin: 0; }
.tg-trust-page .tg-trust-reviewed {
  margin: 6px 0 0;
  color: var(--tg-ink-soft);
  font-size: 13px;
}
.tg-trust-hero__actions { margin-top: 20px; }
.tg-trust-page .tg-legal-hero__meta { font-size: 14px; }
.tg-trust-page .tg-trust-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px !important;
}
.tg-trust-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--tg-line);
  border-radius: 8px;
  color: var(--tg-ink);
  background: var(--tg-surface);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.tg-trust-pages a:hover { color: var(--tg-accent-dark); text-decoration: underline; }
.tg-trust-pages a[aria-current="page"] {
  color: #fff;
  background: var(--tg-ink);
  border-color: var(--tg-ink);
}
.tg-trust-page .tg-trust-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding-block: 40px 56px !important;
}
.tg-trust-layout > *, .tg-trust-content { min-width: 0; }
.tg-trust-page .tg-legal-sidebar { position: sticky; top: 112px; }
.tg-trust-page .tg-legal-nav { padding: 20px; border-radius: 12px; }
.tg-trust-page .tg-legal-nav h2 { margin: 0 0 14px !important; font-size: 17px; line-height: 1.4; }
.tg-trust-page .tg-legal-nav ol { gap: 9px; padding-inline: 19px 0; font-size: 14px; line-height: 1.5; }
.tg-trust-page .tg-legal-nav a { text-underline-offset: 3px; }
.tg-trust-page .tg-legal-contact { padding: 18px 4px 0; font-size: 14px; line-height: 1.5; }
.tg-trust-page .tg-legal-contact .h6 { margin: 0 0 6px !important; font-size: 15px; }
.tg-trust-page .tg-trust-content { max-width: 78ch; font-size: 16px; line-height: 1.65; }
.tg-trust-page .tg-trust-content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--tg-line);
}
.tg-trust-page .tg-trust-content [id] { scroll-margin-top: 124px; }
.tg-trust-page .tg-trust-content h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 2.1vw, 27px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.tg-trust-page .tg-trust-content h3 { margin: 22px 0 10px; font-size: 20px; line-height: 1.35; }
.tg-trust-page .tg-trust-content :is(p, ul) { margin: 0 0 14px; }
.tg-trust-page .tg-trust-content li + li { margin-top: 6px; }
.tg-trust-page .tg-trust-content section > :last-child { margin-bottom: 0; }
.tg-trust-page .tg-trust-content ul { padding-inline: 1.2rem 0; }
.tg-trust-page .tg-trust-content .tg-trust-section-links { padding-inline: 20px 0; }
.tg-trust-page .tg-trust-content a,
.tg-trust-page .tg-legal-contact a { text-underline-offset: 3px; }
.tg-trust-page .tg-trust-review {
  margin: 24px 0 0;
  padding: 24px;
  border-inline: 0;
  border-inline-start: 3px solid var(--tg-blue);
  border-radius: 10px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  background: var(--tg-blue-soft);
}
.tg-trust-page .tg-trust-content .tg-trust-review__action {
  margin-top: 4px;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}
.tg-trust-page .tg-marketing-footer > .container {
  width: min(calc(100% - var(--trust-gutter) * 2), 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 0;
}
.tg-trust-page .tg-marketing-footer { font-size: 16px; }
.tg-trust-page a:focus-visible,
.tg-trust-page button:focus-visible,
.tg-trust-content :is(h2, h3):focus {
  outline: 3px solid #174d8d;
  outline-offset: 3px;
}
.tg-trust-content :is(h2, h3):focus { border-radius: 3px; }
@media (max-width: 991.98px) {
  .tg-trust-page .tg-site-nav .navbar-brand { flex: 0 1 auto; min-width: 0; margin-inline-end: 16px; }
  .tg-trust-page .tg-site-nav .navbar-brand a { display: block; }
  .tg-trust-page .tg-trust-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tg-trust-page .tg-legal-sidebar { position: static; }
  .tg-trust-page .tg-legal-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .tg-trust-page .tg-trust-content { max-width: none; }
}
@media (max-width: 575.98px) {
  .tg-trust-page { --trust-gutter: 20px; }
  .tg-trust-page .tg-trust-hero > .container { padding-block: 32px 24px !important; }
  .tg-trust-page .tg-trust-hero .tg-copy-wide { font-size: 17px; }
  .tg-trust-page .tg-trust-layout { padding-block: 28px 40px !important; gap: 28px; }
  .tg-trust-page .tg-trust-pages { gap: 7px; }
  .tg-trust-pages a { padding-inline: 11px; }
  .tg-trust-page .tg-legal-nav { padding: 18px; }
  .tg-trust-page .tg-legal-nav ol { grid-template-columns: minmax(0, 1fr); }
  .tg-trust-page .tg-trust-review { padding: 20px; }
  .tg-trust-page .tg-trust-status { padding: 12px 14px; }
  .tg-trust-page .tg-trust-hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-trust-page { scroll-behavior: auto; }
}
/* Keep enlarged text usable when browser zoom leaves little vertical space. */
@media (max-width: 991.98px) and (max-height: 500px) {
  .tg-trust-page .navbar-clone { display: none !important; }
  .tg-trust-page .tg-trust-content [id] { scroll-margin-top: 24px; }
}
