/* assets/terms.css  — demo-only styles for Terms page */

.terms {
  counter-reset: h2;
  line-height: 1.65;
}

.terms h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 0.75rem 0;
}

.terms .last-updated {
  color: var(--muted);
  margin-bottom: 1rem;
}

.terms .notice {
  border: 1px dashed var(--border);
  background: var(--surface);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin: 1rem 0 1.25rem;
  font-weight: 600;
}

.terms .toc {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  margin: 1rem 0 1.5rem;
}

.terms .toc h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.terms .toc ol {
  margin: 0.25rem 0 0 1rem;
  padding: 0;
}

.terms section {
  margin: 1.25rem 0 1.25rem;
}

.terms h2 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin: 1.25rem 0 0.4rem;
  counter-increment: h2;
}

.terms h2::before {
  content: counter(h2) ". ";
  color: var(--muted);
  font-weight: 600;
}

.terms a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Small print / muted */
.terms .small {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Print: focus on content */
@media print {
  .topbar,
  .footer,
  #navToggle {
    display: none !important;
  }
  .container {
    max-width: none;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
