.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--prose {
  max-width: 760px;
}

.section {
  padding-block: var(--space-8);
  scroll-margin-top: 6rem;
}

.section--flush-top {
  padding-top: 0;
}

.section--alt {
  position: relative;
  background-color: var(--color-void);
}

.section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-seam);
}

.section--alt .section__title {
  color: var(--color-white);
}

.section--alt .section__text {
  color: var(--color-white-muted);
}

.section--alt .eyebrow {
  color: var(--color-orchid);
}

.section--alt .section__footnote {
  color: var(--color-white-muted);
}

.section__subhead {
  display: block;
  text-align: center;
  margin-bottom: var(--space-3);
}

.section__footnote {
  text-align: center;
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-ink-muted);
}

.inline-group {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.cta-row--start {
  justify-content: flex-start;
  margin-top: var(--space-3);
}

.section__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}

.section__text {
  max-width: 640px;
  font-size: var(--fs-md);
  margin-bottom: var(--space-5);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Use the existing card typography for linked safety and help content. */
.card__text a,
.section__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
