/* Legal and long-form content pages (privacy, terms, cookies, and future
   pillar/guide pages) generated by scripts/content.mjs. Chrome, tokens, and the
   hero come from site.css; this only adds the reading column and its prose. */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-14) var(--space-8) var(--space-16);
}

.legal-head {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-soft);
}

.legal-kicker {
  margin: 0;
  color: var(--purple);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-title {
  margin: var(--space-3) 0 0;
  font-size: var(--display-sm, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-lede {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.legal-updated {
  margin: var(--space-5) 0 0;
  color: var(--quiet);
  font-size: var(--text-sm);
}

.legal-prose > section + section {
  margin-top: var(--space-10);
}

.legal-prose h2 {
  margin: 0 0 var(--space-4);
  color: var(--ink);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal-prose h3 {
  margin: var(--space-6) 0 var(--space-3);
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 700;
}

.legal-prose p {
  margin: 0 0 var(--space-4);
  color: var(--text);
  font-size: var(--text-md);
  line-height: 1.7;
}

.legal-prose ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
  color: var(--text);
  font-size: var(--text-md);
  line-height: 1.7;
}

.legal-prose li + li {
  margin-top: var(--space-2);
}

.legal-prose a {
  color: var(--link-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-table {
  width: 100%;
  margin: 0 0 var(--space-4);
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.legal-table th,
.legal-table td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.legal-table th {
  color: var(--quiet);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .legal {
    padding: var(--space-10) var(--space-5) var(--space-12);
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td,
  .legal-table th {
    display: block;
  }

  .legal-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
