:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #202a33;
  background: #f4f6f8;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
.legal-page {
  max-width: 52rem;
  margin: 2rem auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid #dce2e7;
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
}
.brand { margin: 0 0 0.5rem; color: #536170; font-weight: 600; }
h1 { margin: 0 0 1.75rem; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.2; }
h2 { margin: 1.75rem 0 0.75rem; font-size: 1.2rem; line-height: 1.4; }
p { margin: 0.75rem 0; }
.copyright { font-weight: 600; }
a { color: #175a87; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #175a87; outline-offset: 4px; border-radius: 2px; }
.third-party-section { margin-top: 2rem; padding-top: 0.25rem; border-top: 1px solid #dce2e7; }
details { margin: 0.75rem 0; border: 1px solid #dce2e7; border-radius: 0.4rem; }
summary { padding: 0.85rem 1rem; cursor: pointer; font-weight: 600; }
details[open] summary { border-bottom: 1px solid #dce2e7; }
pre {
  margin: 0;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}
@media (max-width: 36rem) {
  .legal-page { margin: 0; border: 0; border-radius: 0; }
}
@media print {
  :root { background: #fff; }
  .legal-page { max-width: none; margin: 0; padding: 0; border: 0; }
}
