/* Shared shell for /terms and /privacy.
 *
 * Deliberately small and additive: it sits on top of marketing.css so the
 * legal pages carry the same brand, header and footer as the site rather than
 * becoming a second look. Nothing here restates a brand token — the palette
 * comes from marketing.css.
 */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
}

.legal__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  opacity: 0.7;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.legal__meta {
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line, #dad5c9);
  font-size: 0.95rem;
  opacity: 0.8;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.3;
}

.legal h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

.legal p,
.legal li {
  line-height: 1.65;
  font-size: 1rem;
}

.legal ul {
  padding-left: 1.15rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal__toc {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line, #dad5c9);
  border-radius: 4px;
}

.legal__toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}

.legal__toc li {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  break-inside: avoid;
}

@media (max-width: 40rem) {
  .legal__toc ol {
    columns: 1;
  }
}

.legal__callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--olive, #7a8167);
  background: rgba(122, 129, 103, 0.07);
}

.legal__callout p:last-child {
  margin-bottom: 0;
}
