.terms-main {
  padding-top: var(--space-6);
}

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

.terms-nav {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft-glow);
}

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

.terms-nav__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.terms-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.2rem;
  color: var(--color-text-muted);
}

.terms-nav__list a::before {
  content: "\2192";
  font-size: 0.9em;
  color: var(--color-primary);
}

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

.terms-content {
  max-width: 960px;
}

.terms-article {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft-glow);
}

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

.terms-section h2 {
  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-4);
  list-style: disc;
}

.terms-section ul li {
  margin-bottom: var(--space-1);
}

.terms-section--footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
  margin-top: var(--space-6);
}

.terms-updated {
  font-size: var(--font-size-xs);
}

.terms-links {
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .terms-main {
    padding-top: var(--space-4);
  }

  .terms-article {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }
}
