@font-face {
  font-family: "Clash Grotesk";
  src: url("/assets/fonts/ClashGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Clash Grotesk";
  src: url("/assets/fonts/ClashGrotesk-Semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
.legal-page { margin: 0; background: #08080b; color: #e8e8ec; font: 400 17px/1.75 "Clash Grotesk", Arial, sans-serif; }
.legal-page * { box-sizing: border-box; }
.legal-page .legal-shell { width: min(100% - 48px, 800px); margin: 0 auto; padding: 28px 0 48px; }
.legal-page a { color: #cf9ff6; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.legal-page a:hover { color: #e5c7ff; }
.legal-page :focus-visible { outline: 3px solid #e1b4ff; outline-offset: 5px; border-radius: 2px; }
.legal-page .legal-skip { position: absolute; top: 10px; left: 12px; padding: 8px 16px; background: #20132e; transform: translateY(-160%); z-index: 1; }
.legal-page .legal-skip:focus { transform: none; }
.legal-page .legal-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 40px; font-size: .88rem; }
.legal-page .legal-brand { color: #e8e8ec; text-decoration: none; font-weight: 600; }
.legal-page .legal-brand span { color: #b8b3c3; font-weight: 400; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin: 28px 0 12px; }
.legal-page h2 { font-size: 1.35rem; font-weight: 600; line-height: 1.35; margin: 0 0 16px; scroll-margin-top: 24px; }
.legal-page p { margin: 0 0 16px; }
.legal-page li { margin: 0 0 9px; }
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page section { margin-top: 42px; }
.legal-page .legal-meta { color: #b8b3c3; font-size: .88rem; }
.legal-page .legal-notice { background: #23192c; border-radius: 10px; padding: 16px 20px; color: #eddcfb; }
.legal-page .legal-toc { background: #111116; border-radius: 12px; padding: 22px 24px; margin: 30px 0 40px; }
.legal-page .legal-toc h2 { font-size: 1rem; margin-bottom: 12px; }
.legal-page .legal-toc ol { columns: 2; column-gap: 38px; margin: 0; font-size: .94rem; }
.legal-page .legal-toc li { break-inside: avoid; padding-left: 2px; }
.legal-page code { font-size: .85em; overflow-wrap: anywhere; }
.legal-page table { border-collapse: collapse; width: 100%; table-layout: fixed; margin: 20px 0; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.legal-page caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.legal-page th, .legal-page td { padding: 12px; text-align: left; vertical-align: top; }
.legal-page thead, .legal-page tbody tr:nth-child(even) { background: #15121c; }
.legal-page th { font-weight: 600; }
.legal-page .legal-footer { margin-top: 48px; font-size: .88rem; color: #b8b3c3; }
.legal-page .legal-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
@media (max-width: 540px) {
  .legal-page { font-size: 16px; }
  .legal-page .legal-shell { width: calc(100% - 36px); padding-top: 22px; }
  .legal-page .legal-header { display: block; margin-bottom: 26px; }
  .legal-page .legal-header > a { display: block; width: fit-content; margin-bottom: 12px; }
  .legal-page .legal-toc { padding: 18px; }
  .legal-page .legal-toc ol { columns: 1; }
  .legal-page .legal-notice { padding: 14px 16px; }
  .legal-page th, .legal-page td { padding: 9px 6px; }
}
@media print {
  .legal-page { background: white; color: #111; font: 11pt/1.5 Arial, sans-serif; }
  .legal-page .legal-shell { width: 100%; padding: 0; }
  .legal-page .legal-header, .legal-page .legal-toc, .legal-page .legal-footer, .legal-page .legal-skip { display: none; }
  .legal-page h1 { font-size: 24pt; }
  .legal-page h2 { font-size: 15pt; break-after: avoid; }
  .legal-page section { margin-top: 24px; }
  .legal-page p, .legal-page li { orphans: 3; widows: 3; }
  .legal-page a { color: #111; }
  .legal-page a[href^="https://"]::after { content: " (" attr(href) ")"; font-size: 9pt; overflow-wrap: anywhere; }
  .legal-page .legal-notice { background: #eee; color: #111; border: 1px solid #999; }
  .legal-page .legal-meta { color: #444; }
  .legal-page tr { break-inside: avoid; }
}
