@font-face {
  font-family: system-fallback;
  src: local("Arial");
  font-display: swap;
}

:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-fallback, sans-serif; color: #292330; background: #fbf9fd; line-height: 1.75; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 320px; }
a { color: #7245ab; text-underline-offset: 4px; }
a:hover { color: #4f2b7d; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #8450d8; outline-offset: 5px; }
.legal-header { border-bottom: 1px solid #e7e0ed; background: #fff; }
.legal-header-inner, .legal-footer { max-width: 1050px; margin: auto; padding: 23px 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.legal-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.legal-brand-mark { display: block; width: 42px; height: 55px; object-fit: contain; }
.legal-brand-wordmark { display: block; width: 163px; height: auto; object-fit: contain; }
.legal-header a:not(.legal-brand) { font-size: 13px; }
.legal-layout { max-width: 940px; margin: auto; padding: 52px 28px 65px; }
.legal-eyebrow { margin: 0 0 12px; color: #8153b0; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; }
h1 { margin: 0; max-width: 820px; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.2; font-weight: 650; letter-spacing: -1.3px; }
.legal-meta { color: #786982; font-size: 12px; margin: 19px 0 0; }
.legal-notice { border-left: 3px solid #aa82d8; padding: 13px 0 13px 21px; margin: 29px 0; }
.legal-notice p { margin: 7px 0 0; font-size: 14px; color: #6a5d75; }
.legal-notice strong { font-size: 14px; color: #66428e; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px 23px; border-block: 1px solid #e7e0ed; padding-block: 18px; margin-block: 29px; }
.legal-toc a { font-size: 12px; line-height: 1.6; }
.legal-content section { margin-top: 34px; }
h2 { margin: 0 0 14px; font-size: 21px; line-height: 1.4; letter-spacing: -0.4px; font-weight: 650; }
h3 { margin: 20px 0 9px; font-size: 16px; font-weight: 650; }
.legal-content p, .legal-content li, .legal-content dd, .legal-content dt { font-size: 14px; line-height: 1.9; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 13px 0 19px; }
.legal-content li + li { margin-top: 8px; }
.legal-content dl { margin: 15px 0; }
.legal-content dl > div { display: grid; grid-template-columns: minmax(130px, 0.5fr) minmax(0, 1fr); gap: 20px; border-bottom: 1px solid #e7e0ed; padding-block: 11px; }
.legal-content dt { color: #7b6c85; }
.legal-content dd { margin: 0; overflow-wrap: anywhere; }
.legal-muted { color: #796d81; }
.legal-table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-block: 15px 22px; min-width: 490px; }
caption { text-align: left; font-size: 13px; font-weight: 650; padding-bottom: 13px; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid #e7e0ed; padding: 13px 14px 13px 0; font-size: 13px; line-height: 1.8; }
th { font-weight: 650; color: #614875; }
code { overflow-wrap: anywhere; font-size: 12px; color: #764ca4; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 22px; }
.legal-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #cdb7e6; padding: 12px 20px; min-height: 46px; background: #fff; border-radius: 7px; color: #7144a1; font-size: 12px; font-weight: 600; text-decoration: none; }
.legal-button:hover { background: #f3ebfc; }
.legal-button-primary { background: #8350ce; border-color: #8350ce; color: white; }
.legal-button-primary:hover { background: #7242ba; color: white; }
.legal-storage-status { min-height: 25px; margin-top: 12px !important; color: #7345a5; }
.legal-approval-list { color: #766184; }
.legal-footer { border-top: 1px solid #e7e0ed; font-size: 11px; color: #75647e; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.legal-footer a[aria-current="page"] { color: #34233f; font-weight: 600; }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  .legal-header-inner, .legal-footer { padding-inline: 22px; }
  .legal-layout { padding: 36px 22px 46px; }
  .legal-header a:not(.legal-brand) { font-size: 11px; }
  h1 { font-size: 30px; }
  h2 { font-size: 19px; }
  .legal-content dl > div { grid-template-columns: 1fr; gap: 3px; }
  .legal-content p, .legal-content li, .legal-content dd, .legal-content dt { font-size: 13px; }
  .legal-notice { padding-left: 16px; }
  .legal-toc { gap: 12px 20px; }
  .legal-footer { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { color: #000; background: #fff; }
  .legal-header, .legal-toc, .legal-actions, .legal-footer nav, [data-delete-plan], .legal-storage-status { display: none !important; }
  .legal-layout { max-width: none; padding: 0; }
  .legal-footer { max-width: none; padding-inline: 0; }
  .legal-content section { break-inside: avoid; }
  .legal-table-wrap { overflow: visible; }
  a { color: #000; }
  h1 { font-size: 27px; }
}