/* Styles for the policy pages only. Loaded by privacy.html and cookies.html
   on top of styles.css, never on the marketing or docs pages. */

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

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

.legal .legal-updated {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.05rem; }

.legal p, .legal li { line-height: 1.7; }
.legal p { margin-bottom: 1rem; }

.legal ul, .legal ol { margin: 0 0 1rem 1.25rem; }
.legal li { margin-bottom: 0.5rem; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9rem;
}

.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal th { background: var(--bg-alt); font-weight: 600; }
.legal td code { font-size: 0.85em; }

/* Wide tables scroll inside their own box rather than pushing the page
   sideways on a phone. */
.legal .table-scroll { overflow-x: auto; }

/* A claim we have not yet been able to verify. Deliberately loud: an
   unfilled value must not be able to ship unnoticed. Delete this rule once
   no [data-unknown] remains, so it does not linger as dead CSS. */
[data-unknown] {
  background: #ffe680;
  color: #3a2d00;
  padding: 0.05em 0.35em;
  border-radius: 3px;
  font-weight: 600;
}

/* A point where we are stating a limit rather than a promise. */
.legal .honest {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  border-radius: 0 4px 4px 0;
}

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

/* Note addressed to Spanish readers, on the English-only policy pages.
   Set apart from the body text because it is aimed at a different audience
   than the paragraph above it — not emphasis, orientation. */
.lang-note {
  border-left: 3px solid var(--accent, #6ea8fe);
  background: color-mix(in srgb, var(--accent, #6ea8fe) 7%, transparent);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.94em;
}
