:root {
  font-family: Arial, sans-serif;
  color: #283449;
  background: #f6f8fc;
  line-height: 1.5;
  font-size: 13px;
}
* { box-sizing: border-box; }
.legal-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; gap: 20px; }
header .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #19243a; }
.brand-mark { display: inline-grid; place-items: center; background: #244cff; color: #fff; border-radius: 10px; width: 42px; height: 42px; font-weight: 750; }
.brand-wordmark { font-weight: 750; }
main { background: #fff; padding: 24px 28px; border: 1px solid #e0e5ef; border-radius: 14px; }
h1 { font-size: 1rem; line-height: inherit; margin: 0 0 6px; font-weight: 650; }
h2 { font-size: 1rem; line-height: inherit; margin: 14px 0 4px; font-weight: 600; }
p { font-size: 1rem; overflow-wrap: anywhere; margin: 0 0 6px; }
a { color: #274dd7; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid #244cff; outline-offset: 4px; border-radius: 2px; }
section { scroll-margin-top: 24px; }
.legal-intro { color: #53617c; margin: 10px 0; }
.legal-navigation { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 0 0 10px; border-bottom: 1px solid #e0e5ef; }
.legal-navigation details { flex: 1; min-width: 210px; }
.legal-navigation summary { color: #53617c; cursor: pointer; width: fit-content; }
.legal-navigation ol { margin: 8px 0 0; padding-left: 22px; }
.legal-navigation li { margin: 3px 0; }
.legal-identity { border-top: 1px solid #e0e5ef; margin-top: 14px; padding-top: 4px; font-size: 12px; }
.legal-identity p, .legal-identity h2 { font-size: inherit; }
.legal-identity strong { font-weight: 500; }
footer { display: flex; gap: 18px; flex-wrap: wrap; padding: 20px 0; font-size: 12px; color: #53617c; }
.legal-draft { background: #edf1ff; padding: 16px; border-radius: 8px; font-weight: 650; }
.legal-version { font-size: 1rem; color: #53617c; }
@media (max-width: 520px) {
  :root { font-size: 14px; }
  .legal-wrap { width: calc(100% - 24px); }
  main { padding: 20px 16px; }
  .legal-identity { font-size: 13px; }
  header .brand-wordmark { font-size: 15px; }
  .legal-navigation details { flex-basis: 100%; }
}
@media print {
  header, footer, .legal-navigation, .legal-intro { display: none; }
  :root { background: #fff; color: #19243a; }
  main { width: 100%; border: 0; padding: 0; }
  h2 { break-after: avoid; }
  section { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .legal-draft { border: 1px solid #bbb; }
}
