/* ─── pages/legal.css ─ legal / trust pages only (layouts/legal.njk).
   The document head and .prose body are shared with the blog - see site.css
   "Document pages". ── */

/* Sub-clauses that carry their own "i. / ii." numbering in the text */
.legal .sub-list { margin: 10px 0 4px; }
.legal .sub-list > li { padding-left: 0; }
.legal .sub-list > li::before { content: none; }

/* Statutory text that must read in capitals (disclaimers, limitation of liability) */
.legal .legal-caps { text-transform: uppercase; letter-spacing: .2px; }

/* Boxed text: recommended notices, statistics */
.legal .callout {
  position: relative; margin: 14px 0 18px; padding: 18px 20px;
  background: var(--bg-elevated); border: 1px dashed var(--brand-line-strong);
}
.legal .callout > :last-child { margin-bottom: 0; }

/* Fair Use limit tables: first column (plan) emphasised */
.legal-table td:first-child { font-weight: 700; color: var(--fg-primary); }

/* Certification badges (Compliance) */
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 4px 0 20px; }
.badge-row img { height: 72px; width: auto; }
/* Small icon inline with a link, e.g. the CCPA privacy-options mark */
.legal .inline-icon { height: 16px; width: auto; vertical-align: middle; margin-left: 6px; }

/* Sub-processor cards */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 20px 0 0; }
.sp-card {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px;
  background: var(--bg-elevated); border: 1px dashed var(--brand-line-strong);
}
.sp-logo { display: flex; align-items: center; height: 32px; }
.legal .sp-logo img { max-height: 32px; max-width: 150px; width: auto; height: auto; margin: 0; border: 0; }
.legal .sp-name { margin: 0; font-weight: 700; color: var(--fg-primary); }
.legal .sp-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--fg-muted); }
.legal .badge-row img, .legal .inline-icon { margin-top: 0; margin-bottom: 0; border: 0; display: inline-block; }

@media (max-width:640px) {
  .sp-grid { grid-template-columns: 1fr; }
}
