/* Terms & Conditions page-specific styles.
   Keep additions minimal and complementary to base.css. */

main.legal {
  max-width: 880px;
  margin-inline: auto;
  padding: 2rem 1rem 4rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header .page-intro {
  font-size: 1.1rem;
  line-height: 1.6;
}

.meta.muted {
  color: var(--text-muted, #8a8a8a);
  font-size: 0.95rem;
}

.toc {
  border: 1px solid var(--outline-muted, rgba(255,255,255,0.12));
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0 2rem;
  background: var(--surface-2, rgba(255,255,255,0.03));
}

.toc ol {
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc a {
  text-decoration: none;
}

.section {
  margin: 2rem 0;
}

.section h2 {
  margin-bottom: 0.75rem;
}

.section ul {
  padding-left: 1.2rem;
}

.cta-row {
  margin-top: 1rem;
}

.btn.primary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  color: var(--btn-on-primary, #0b0b0b);
  background: var(--accent, #d4af37);
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, opacity 160ms ease;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
}

/* Anchor offset if header is sticky */
:target {
  scroll-margin-top: 96px;
}

@media (max-width: 640px) {
  .toc ol {
    grid-template-columns: 1fr;
  }
}
