.terms-hero {
  max-width: 720px;
}

.terms-hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: var(--space-2);
}

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

.terms-hero__intro {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.terms-toc {
  margin-bottom: var(--space-10);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.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);
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.terms-toc__list li + li {
  margin-top: var(--space-2);
}

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

.terms-content {
  display: grid;
  gap: var(--space-8);
}

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

.terms-section p {
  font-size: var(--font-size-sm);
}

.terms-section ul {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  padding-left: var(--space-5);
  font-size: var(--font-size-sm);
}

.terms-section li + li {
  margin-top: var(--space-1);
}

.terms-section a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (min-width: 768px) {
  .terms-hero__title {
    font-size: var(--font-size-4xl);
  }

  .terms-content {
    gap: var(--space-10);
  }
}
