/* legal.css — the four policy pages (/terms/, /privacy/, /refund/,
 * /acceptable-use/).
 *
 * Deliberately tiny. The design system — color tokens (--ink, --line,
 * --accent, ...), fonts, and the .prose article styles — lives in
 * /styles/site.css (owned by the landing workstream). This file only adds
 * the legal-specific page header, the constrained reading measure, and the
 * draft-review banner. Everything here reads shared tokens with a safe
 * fallback so a page still renders sanely if a token is renamed upstream. */

.legal {
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(4rem, 10vw, 7rem);
}

/* Constrained reading measure for the whole policy. */
.legal__inner {
  max-width: 46rem;
  margin: 0 auto;
}

/* Page header: kicker + title, separated from the body by a hairline. */
.legal-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line, rgba(32, 26, 18, 0.14));
}

.legal-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6f6a5f);
}

.legal-header h1 {
  margin: 0;
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  line-height: 1.1;
  color: var(--ink, #201a12);
}

/* Draft-pending-legal-review banner. Amber per the design system's
 * warning role; self-contained so it reads correctly before site.css loads. */
.draft-banner {
  margin: 0 0 2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--warn, #9a6a12);
  border-left-width: 4px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--warn, #9a6a12) 8%, transparent);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink, #201a12);
}

.draft-banner strong {
  display: block;
  margin-bottom: 0.15rem;
}
