/* Terms and Conditions page (/terms) */

.terms-container {
  max-width: 780px;
  padding-bottom: 4rem;
}

.terms-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8125rem; color: var(--text-muted);
  text-decoration: none; margin-bottom: 1.25rem;
}
.terms-back:hover { color: var(--brand-green); }

.terms-title {
  font-size: 1.875rem; font-weight: 800; color: var(--text);
  line-height: 1.2; margin-bottom: 1.75rem;
}

.terms-body h2 {
  font-size: 1.0625rem; font-weight: 700; color: var(--text);
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
/* No rule above the very first heading. */
.terms-body h2:first-child {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.terms-body p {
  font-size: 0.9375rem; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}
.terms-body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .terms-title { font-size: 1.5rem; }
  .terms-body p { font-size: 0.875rem; }
}
