/* Legal pages (terms, privacy) — reuses page-head from pricing.css and the
   Ribbon design tokens from home.css. This only styles the prose container. */

.legal {
  padding: 16px 0 96px;
}
.legal .wrap { max-width: 760px; }

.legal h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.legal p strong { color: var(--text); font-weight: 600; }

.legal a { color: var(--primary); }

.legal ul, .legal ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.legal li strong { color: var(--text); font-weight: 600; }

.legal .lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.legal .toc {
  list-style: decimal;
  margin: 0 0 32px 24px;
}
.legal .toc li { margin-bottom: 4px; }
.legal .toc a { color: var(--text-dim); }
.legal .toc a:hover { color: var(--primary); }

@media (max-width: 860px) {
  .legal h1 { font-size: 30px; }
  .legal p, .legal li { font-size: 15px; }
}

/* Contact page — Tally embed sits inside the .legal .wrap column.
   Two iframes (light + dark form) are rendered; JS toggles visibility
   based on document.documentElement.dataset.theme. */
.contact-form { padding-bottom: 96px; }
.contact-form iframe {
  display: block;
  width: 100%;
  border: 0;
}
.contact-form iframe[style*="none"] + iframe { margin-top: 0; }
