.terms-page {
  padding-top: var(--space-8);
  padding-bottom: var(--space-10);
  background-color: var(--color-bg-body);
}

.terms-header {
  margin-bottom: var(--space-8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.terms-header h1 {
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.terms-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-bg-surface);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

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

.terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.terms-section h2 {
  font-size: var(--font-size-xl);
  color: var(--color-text-main);
  margin-bottom: var(--space-3);
  font-family: var(--font-family-serif);
}

.terms-section p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--font-size-base);
}

.terms-section a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.terms-actions {
  margin-top: var(--space-8);
}

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