.terms-main {
  background-color: var(--color-bg-primary);
}

.terms-header {
  max-width: 780px;
  margin: 0 auto var(--space-48);
  text-align: left;
}

.terms-title {
  margin-top: var(--space-12);
}

.terms-intro {
  margin-top: var(--space-16);
}

.terms-meta {
  margin-top: var(--space-16);
  font-size: 0.9rem;
  color: var(--gray-500);
}

.terms-section {
  padding-top: var(--space-32);
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-32);
}

.terms-section h2 {
  margin-bottom: var(--space-16);
}

.terms-section h3 {
  margin-top: var(--space-24);
}

.terms-section a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.terms-section a:hover {
  color: var(--color-primary);
}

.terms-closing {
  margin-top: var(--space-24);
  font-weight: 500;
}

.terms-cta {
  margin-top: var(--space-48);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

@media (max-width: 640px) {
  .terms-header {
    text-align: left;
  }
}
