/* ExamPede trust and legal pages.
 *
 * This file extends the static SEO-page system without adding JavaScript,
 * remote fonts, or another visual vocabulary. The shared SEO stylesheet owns
 * the brand tokens, header, footer, buttons, and accessibility foundations.
 */

.trust-main {
  padding-bottom: 0;
}

.trust-main .seo-hero {
  padding-block: clamp(2.75rem, 7vw, 5.25rem);
}

.trust-main .seo-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 8vw, 4.75rem);
}

.trust-updated {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(236, 182, 78, 0.42);
  border-radius: 999px;
  color: #f5deb1;
  background: rgba(7, 29, 50, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.trust-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.trust-prose {
  min-width: 0;
  max-width: 48rem;
}

.trust-prose > * + * {
  margin-top: 1.1rem;
}

.trust-prose > h2 {
  margin-top: 2.75rem;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  letter-spacing: -0.018em;
}

.trust-prose > h2:first-child {
  margin-top: 0;
}

.trust-prose > h2::after {
  display: block;
  width: 3rem;
  height: 0.16rem;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: var(--seo-red);
  content: "";
}

.trust-prose > :where(p, ul, ol) {
  max-width: var(--seo-reading);
}

.trust-prose :where(ul, ol) {
  padding-left: 1.35rem;
}

.trust-prose li + li {
  margin-top: 0.55rem;
}

.trust-prose strong {
  color: var(--seo-navy-deep);
}

.trust-aside {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--seo-line);
  border-top: 0.25rem solid var(--seo-gold);
  border-radius: var(--seo-radius);
  background: var(--seo-surface);
  box-shadow: var(--seo-shadow-sm);
}

.trust-aside h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.trust-aside p {
  margin-bottom: 0.85rem;
  color: var(--seo-ink-soft);
  font-size: 0.9rem;
}

.trust-aside nav {
  display: grid;
  gap: 0.35rem;
}

.trust-aside nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: var(--seo-radius-sm);
  color: var(--seo-navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.trust-aside nav a:hover,
.trust-aside nav a[aria-current="page"] {
  color: var(--seo-navy-deep);
  background: var(--seo-gold-soft);
}

.trust-aside nav a[aria-current="page"] {
  box-shadow: inset 0.2rem 0 var(--seo-red);
}

.trust-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-note {
  margin-block: 1.5rem;
}

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

.trust-section--paper {
  background: rgba(255, 253, 248, 0.94);
}

.trust-section--plain {
  background: rgba(247, 240, 227, 0.93);
}

@media (min-width: 52rem) {
  .trust-layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .trust-aside {
    position: sticky;
    top: 6rem;
  }
}

@media print {
  .trust-layout {
    display: block;
  }

  .trust-aside {
    display: none;
  }
}
