/* Terms page. The disclosure is deliberately plain and out of character: a light, high-contrast card
   that looks nothing like the rest of the site. */

.t-head { padding-block: var(--s-7) var(--s-5); }
.t-head h1 { margin-bottom: var(--s-2); }
.t-head p { margin: 0; color: var(--c-text-muted); }
.container--narrow { max-width: 52rem; }

.terms-disclosure {
  margin-block: var(--s-5) var(--s-8);
  padding: var(--s-5);
  background: #F4F1E8;
  color: #1A1A1A;
  border: 4px solid #1A1A1A;
  border-left-width: 12px;
  border-radius: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 0 0 4px var(--c-bg), 0 0 0 6px #F4F1E8;
}
.terms-disclosure h2 {
  margin: 0 0 var(--s-3);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; color: #1A1A1A;
}
.terms-disclosure h2::before { content: "Plain-language notice"; display: block; margin-bottom: var(--s-1); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: #4A4A4A; }
.terms-disclosure p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: #1A1A1A; max-width: 44rem; }
@media (min-width: 640px) { .terms-disclosure { padding: var(--s-6); } }

.t-section { margin-bottom: var(--s-8); }
.t-section h2 { font-size: var(--t-xl); padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-signal); margin-bottom: var(--s-5); }
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.credits li { padding: var(--s-4); background: var(--c-panel); border: 1px solid var(--c-line); border-left: 3px solid var(--c-signal); border-radius: var(--r-1); }
.credits h3 { font-size: 1rem; margin: 0 0 var(--s-1); }
.credits p { margin: 0; color: var(--c-text-muted); font-size: var(--t-sm); }
.credits code { color: var(--c-signal); }

.clauses { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: clause; }
.clauses li { position: relative; padding-left: 3.25rem; counter-increment: clause; }
.clauses li::before { content: counter(clause, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-weight: 600; font-size: var(--t-lg); color: var(--c-signal); }
.clauses h3 { font-size: 1rem; margin: 0 0 var(--s-1); }
.clauses p { margin: 0; color: var(--c-text-muted); }
.t-meta { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; color: var(--c-text-muted); }
