.terms-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.terms-header {
  display: flex;
  justify-content: center;
}

.terms-header__inner {
  max-width: 800px;
  width: 100%;
}

.terms-header__text {
  max-width: 70ch;
}

.terms-section {
  display: flex;
}

.terms-section__inner {
  width: 100%;
}

.terms-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: var(--border-width) solid var(--color-border);
}

.terms-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.terms-row ul {
  padding-left: var(--space-4);
}

.terms-narrow {
  max-width: 900px;
}

.terms-footer {
  display: flex;
  justify-content: center;
}

.terms-footer__inner {
  max-width: 700px;
  width: 100%;
}

.terms-cta {
  display: flex;
  justify-content: center;
}

.terms-cta__inner {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.terms-cta__button {
  background: transparent;
}

.terms-cta__button:hover,
.terms-cta__button:focus-visible {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

@media (max-width: 900px) {
  .terms-header__inner,
  .terms-footer__inner,
  .terms-cta__inner {
    max-width: 100%;
  }

  .terms-header__text {
    max-width: 100%;
  }
}