/* =============================================================================
   THE WASH — legal page styling (privacy, cookies, terms)
   Long-form prose: narrower measure, generous rhythm, brand headings.
   ============================================================================= */
.legal { max-width: 760px; }
.legal h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em;
  font-size: 23px; color: #1a2332; margin: 44px 0 14px; scroll-margin-top: 100px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700;
  font-size: 16.5px; color: #2f4f63; margin: 26px 0 8px;
}
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: #38505f; }
.legal p { margin: 0 0 14px; }
/* Tailwind's preflight strips list markers globally, so restore them here. */
.legal ul { list-style: disc; margin: 0 0 16px; padding-left: 22px; }
.legal ol { list-style: decimal; margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal li::marker { color: #4FA3C7; }
.legal a { color: #2f6c8a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #1f4659; }
.legal strong { color: #1a2332; font-weight: 700; }

/* Fact box — company identity, key definitions */
.legal-box {
  background: #fff; border: 1px solid #e6edf2; border-left: 3px solid #4FA3C7;
  border-radius: 14px; padding: 18px 20px; margin: 0 0 26px;
}
.legal-box p { margin: 0 0 6px; font-size: 14.5px; }
.legal-box p:last-child { margin-bottom: 0; }

/* Callout — the honest "we don't do this" notes */
.legal-note {
  display: flex; gap: 12px; background: #e7f3fb; border-radius: 14px;
  padding: 16px 18px; margin: 0 0 26px; align-items: flex-start;
}
.legal-note svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; color: #2f6c8a; }
.legal-note p { margin: 0; font-size: 14.5px; color: #1c5f88; }

/* Data table — what we collect / why / how long */
.legal-tbl-wrap { overflow-x: auto; margin: 0 0 26px; }
.legal-tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
.legal-tbl th {
  text-align: left; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #52697a;
  padding: 0 14px 9px 0; border-bottom: 1px solid #e6edf2;
}
.legal-tbl td {
  font-size: 14.5px; color: #38505f; padding: 13px 14px 13px 0;
  border-bottom: 1px solid #eef4f8; vertical-align: top; line-height: 1.6;
}
.legal-tbl tr:last-child td { border-bottom: 0; }
.legal-tbl td:first-child { font-weight: 600; color: #1a2332; }

/* Contents nav */
.legal-toc { background: #f4eee8; border-radius: 14px; padding: 18px 20px; margin: 0 0 34px; }
.legal-toc p {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: #52697a; margin: 0 0 10px;
}
.legal-toc ol { list-style: decimal; margin: 0; padding-left: 18px; }
.legal-toc li { font-size: 14.5px; margin-bottom: 5px; color: #52697a; }
.legal-toc a { text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }

/* Placeholder for facts the business must still supply */
.legal-todo {
  background: #fdf1e0; border: 1px dashed #d98a2b; border-radius: 10px;
  padding: 3px 9px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; font-weight: 700; color: #97591a; display: inline-block;
}

@media (max-width: 640px) {
  .legal h2 { font-size: 20px; margin-top: 34px; }
  .legal p, .legal li { font-size: 15px; }
}
