/*
 * Text-led pages: Help, Terms of use and Accessibility. No design page exists for these; they
 * follow the pricing page's intro (eyebrow, serif h1, lede) and hold running copy to the
 * token measure layout.participantReadingColumn (680px). Body 18, metadata 16, eyebrow 12.
 * Colour only from theme.colors.css.
 */

.prose-page {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 36px 20px 56px;
}

/* Intro: the pricing page's pattern. */
.prose-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  padding-bottom: 24px;
}
.prose-h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 54px);
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
.prose-updated {
  margin: 0;
  font-size: 16px;
  color: var(--textSecondary);
}

/* On this page */
.prose-toc {
  max-width: 680px;
  margin: 0 0 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
.prose-toc-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.prose-toc ol {
  margin: 0;
  padding-left: 1.4em;
  display: grid;
  gap: 4px;
  font-size: 18px;
}
.prose-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
@media (min-width: 56.5625em) {
  .prose-toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

/* The reading column */
.prose {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.prose section {
  padding-top: 32px;
  scroll-margin-top: 16px;
}
.prose h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}
.prose h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 24px 0 8px;
}
.prose p {
  margin: 0 0 16px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  font-weight: 700;
}

/* A plain callout: summary boxes and the "in short" panels. */
.prose-panel {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.prose-panel > :last-child {
  margin-bottom: 0;
}
.prose-panel-title {
  margin: 0 0 8px;
  font-weight: 700;
}

/* FAQ groups keep to the reading column: one question per row. */
.prose-faq {
  grid-template-columns: 1fr;
  margin: 0 0 16px;
}
.prose-faq .faq p + p {
  margin-top: -6px;
}
.prose-faq .faq ul {
  margin: 0 0 18px;
  color: var(--textSecondary);
}

/* Contact details */
.prose-contact {
  margin: 0 0 16px;
  display: grid;
  gap: 4px 16px;
}
.prose-contact dt {
  font-weight: 700;
}
.prose-contact dd {
  margin: 0 0 8px;
}
@media (min-width: 56.5625em) {
  .prose-contact {
    grid-template-columns: max-content 1fr;
  }
  .prose-contact dd {
    margin: 0;
  }
}

.prose-meta {
  font-size: 16px;
  color: var(--textSecondary);
}

/* About us: a round portrait beside each leader's name and role (Clinton's review, 30 September
   2026). The name keeps its h3; the role is its own line in words, not a caption on the photo.
   The portrait's ring is the border role, so it holds on every theme's ground. */
.about-person {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0 12px;
}
.about-portrait {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: var(--hair) solid var(--border);
  background: var(--surface);
}
.prose .about-person h3 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-role {
  font-size: 17px;
  font-weight: 400;
  color: var(--textSecondary);
}
@media (max-width: 29.99em) {
  .about-person {
    gap: 16px;
  }
  .about-portrait {
    width: 88px;
    height: 88px;
  }
}
