.terms-hero {
  padding-top: calc(var(--space-48) + var(--header-height-mobile));
  padding-bottom: var(--space-40);
}

@media (min-width: 960px) {
  .terms-hero {
    padding-top: calc(var(--space-64) + var(--header-height-desktop));
    padding-bottom: var(--space-48);
  }
}

.terms-hero-inner {
  max-width: 46rem;
}

.terms-toc {
  margin-bottom: var(--space-40);
  padding: var(--space-24);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.terms-toc-title {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-lg);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}

.terms-toc ol {
  margin: 0;
  padding-left: var(--space-20);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.terms-toc li + li {
  margin-top: var(--space-8);
}

.terms-toc a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(200, 166, 106, 0.5);
}

.terms-toc a:hover {
  color: var(--color-text);
  text-decoration-color: var(--color-primary);
}

.terms-article {
  font-size: var(--font-size-md);
}

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

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

.terms-section p {
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

.terms-list {
  margin: 0 0 var(--space-16) 1.25rem;
  padding: 0;
  list-style: disc;
}

.terms-list li {
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.terms-cta .card-title {
  font-size: var(--font-size-xl);
}

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

@media (min-width: 768px) {
  .terms-cta-actions {
    gap: var(--space-16);
  }
}
