.terms-hero {
  max-width: 48rem;
}

.terms-hero .badge {
  margin-bottom: var(--space-3);
}

.terms-hero .hero-title {
  margin-bottom: var(--space-3);
}

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

.terms-nav {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.terms-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.terms-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--gray-100);
  font-size: var(--text-xs);
  color: var(--gray-700);
}

.terms-nav a:hover {
  background-color: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.terms-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--gray-200);
}

.terms-section:first-of-type {
  border-top: none;
}

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

.terms-list {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.terms-list li {
  margin-bottom: 0.5rem;
}

.terms-ol {
  list-style: decimal;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.terms-ol li {
  margin-bottom: 0.75rem;
}

.notice-wrapper {
  padding-top: var(--space-8);
}

@media (min-width: 768px) {
  .terms-hero {
    margin-bottom: var(--space-2);
  }
}
