.legal-page { background: #fff; }
.legal-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: #fff; }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.legal-brand { display: inline-flex; align-items: center; gap: 13px; }
.legal-brand img { width: 48px; height: 62px; object-fit: contain; }
.legal-brand span { font: 800 22px/1 "Manrope",sans-serif; letter-spacing: .08em; }
.legal-back-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 12px; font-weight: 700; }
.legal-back-link:hover { color: var(--red); }
.legal-heading { padding: 65px 0 40px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { max-width: 850px; margin: 0; font-size: clamp(34px,4.3vw,58px); font-weight: 800; line-height: 1.13; }
.legal-layout { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 75px; padding: 48px 0 90px; align-items: start; }
.legal-toc { position: sticky; top: 120px; }
.legal-toc-title { display: block; margin-bottom: 15px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.legal-toc a { display: block; padding: 8px 0 8px 15px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; transition: color .2s,border-color .2s; }
.legal-toc a:hover,.legal-toc a:focus-visible { border-color: var(--red); color: var(--red); }
.legal-content { max-width: 850px; min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.legal-content section { scroll-margin-top: 115px; margin: 0 0 39px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 21px; font-size: 26px; line-height: 1.3; }
.legal-content h3 { margin: 30px 0 17px; font-size: 19px; line-height: 1.4; }
.legal-content p,.legal-content li { color: #53677c; font-size: 14px; line-height: 1.95; }
.legal-content p { margin: 0 0 19px; }
.legal-content ul { margin: 15px 0 24px; padding-left: 20px; }
.legal-content li { margin-bottom: 8px; padding-left: 3px; }
.legal-content li::marker { color: var(--red); }
.legal-content a { color: #174c7c; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--red); }
.legal-publisher-details { min-height: 65px; }
.legal-to-complete { display: inline; padding: 2px 5px; border: 1px dashed #d3dce6; border-radius: 3px; color: #66788d; font-size: .95em; }
.legal-model-note { margin-bottom: 32px; padding: 15px 18px; border-left: 2px solid var(--red); background: var(--soft); color: #53677c; font-size: 12px; line-height: 1.85; }
.legal-model-note strong { display: block; color: var(--ink); }
.legal-table { width: 100%; margin: 24px 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.8; }
.legal-table th,.legal-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal-table thead th { background: var(--soft); color: var(--ink); font-weight: 700; }
.legal-table th:first-child { width: 31%; }
.legal-table tbody th { color: var(--ink); font-weight: 600; }
.legal-table td { color: #53677c; }
.legal-footer { padding: 27px 0; border-top: 2px solid var(--red); background: #061426; }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 45px; }
.legal-footer-inner > span { color: #9dafc3; font-size: 11px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.legal-footer a { padding: 4px 0; color: #c6d4e4; font-size: 11px; line-height: 1.7; }
.legal-footer a:hover,.legal-footer a[aria-current="page"] { color: #ff7180; }
@media (max-width: 950px) {
  .legal-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 30px; }
  .legal-toc { position: static; }
  .legal-toc-links { display: flex; flex-wrap: wrap; gap: 7px 19px; }
  .legal-toc a { padding-block: 3px; }
}
@media (max-width: 520px) {
  .legal-header-inner { min-height: 75px; gap: 12px; }
  .legal-brand { gap: 8px; }
  .legal-brand img { width: 38px; height: 52px; }
  .legal-brand span { font-size: 18px; }
  .legal-back-link { font-size: 11px; }
  .legal-heading { padding: 42px 0 30px; }
  .legal-layout { padding-bottom: 55px; }
  .legal-content h2 { font-size: 23px; }
  .legal-footer-inner { flex-direction: column; align-items: flex-start; gap: 15px; }
  .legal-footer nav { flex-direction: column; gap: 12px; }
  .legal-table th,.legal-table td { padding: 13px 10px; font-size: 12px; }
  .legal-table th:first-child { width: 34%; }
}
