.terms-main {
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 55%), var(--color-bg);
}

.terms-hero {
  max-width: 760px;
  margin: 0 auto var(--space-8);
}

.terms-hero__intro {
  margin-top: var(--space-3);
}

.terms-hero__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.terms-toc {
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
}

.terms-toc__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.terms-toc__list {
  list-style: decimal;
  padding-left: var(--space-5);
  color: var(--color-text-muted);
  display: grid;
  gap: var(--space-2);
}

.terms-toc__list a {
  font-size: var(--font-size-sm);
}

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

.terms-section h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
}

.terms-section p {
  max-width: 900px;
}

.terms-list {
  margin-bottom: var(--space-3);
  padding-left: var(--space-5);
  list-style: disc;
  color: var(--color-text-muted);
}

.terms-section__cta {
  font-weight: 600;
  color: var(--color-text);
}

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

  .terms-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .terms-toc {
    margin-bottom: var(--space-6);
  }
}
