.terms {
  max-width: 800px;
}

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

.terms__header p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.terms__toc {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--gradient-mint-sky);
  box-shadow: var(--shadow-sm);
}

.terms__toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: var(--font-size-sm);
}

.terms__toc a {
  color: var(--color-text);
}

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

.terms__section:last-of-type {
  margin-bottom: 0;
}

.terms__section h2 {
  margin-bottom: var(--space-3);
}

.terms__section ul {
  margin-top: var(--space-2);
}

.terms__section li {
  margin-bottom: 0.4rem;
  color: var(--color-text-soft);
}

@media (max-width: 767px) {
  .terms__toc {
    padding: var(--space-3);
  }
}
