/* Legal / prose pages (privacy). Loaded alongside site.css, which supplies the
   tokens, fonts, .nav and .foot — this file only adds the reading column.

   No inline styles anywhere on these pages: the CSP in _headers is
   `style-src 'self'`, which blocks style="" attributes as well as <style>
   blocks. Anything visual has to land in a stylesheet. */

.legal {
  max-width: 68ch;
  margin: 0 auto;
  padding: 64px var(--pad) 24px;
}

.legal-kicker {
  margin: 0 0 10px;
}

.legal h1 {
  margin: 0 0 6px;
  font: 600 34px/1.15 var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-date {
  margin: 0 0 40px;
  font: 400 12px var(--font-mono);
  color: var(--text-faint);
}

/* The one-paragraph answer, before anyone scrolls. */
.legal-tldr {
  margin: 0 0 44px;
  padding: 22px 24px;
  background: var(--green-wash);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
}

.legal-tldr p {
  margin: 0;
  font: 400 16px/1.6 var(--font-sans);
  color: var(--text);
}

.legal-tldr p + p {
  margin-top: 12px;
  color: var(--text-dim);
}

.legal h2 {
  margin: 40px 0 12px;
  font: 600 17px/1.3 var(--font-sans);
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal p,
.legal li {
  font: 400 15px/1.7 var(--font-sans);
  color: var(--text-dim);
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 8px;
}

.legal li::marker {
  color: var(--green-dim);
}

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

.legal a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green-dim);
}

.legal a:hover {
  border-bottom-color: var(--green);
}

.legal code {
  font: 400 13px var(--font-mono);
  color: var(--text);
  background: var(--track);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

/* What the feedback form transmits — the one table on the page. */
.legal-table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}

.legal-table th {
  font: 500 10px var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.legal-table td {
  font: 400 14px/1.6 var(--font-sans);
  color: var(--text-dim);
}

.legal-table td:first-child {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

/* site.css never had a link in the footer; give it the muted treatment rather
   than the loud green the prose links use. */
.foot-line a {
  color: var(--text-caption);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

.foot-line a:hover {
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .legal { padding: 44px 22px 16px; }
  .legal h1 { font-size: 27px; }
  .legal-table td:first-child { white-space: normal; }
}
