.legal-page main { width: min(1040px, calc(100% - 32px)); padding-top: 85px; justify-content: flex-start; }
.legal-page h1 { font-size: 36px; letter-spacing: .13em; }
.legal-page .account-header nav { display: flex; gap: 28px; margin-top: 35px; font-size: 15px; }
.legal-page .account-header nav a { text-decoration: none; }
.review-status { align-self: center; border: 1px solid #72a0d8; border-radius: 30px; padding: 10px 20px; background: #0c2443; color: #bedbff; text-align: center; margin: 0 0 10px; }
.legal-updated { text-align: center; font-size: 13px; color: #b4c7e1; margin-bottom: 28px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 14px; align-items: start; }
.legal-page .account-panel { padding: 28px; border-radius: 15px; }
.legal-toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.legal-toc summary { font-size: 20px; cursor: pointer; }
.legal-toc ul { list-style: none; padding: 0; margin: 20px 0 0; }
.legal-toc li + li { border-top: 1px solid #52617a; }
.legal-toc a { display: block; padding: 14px 4px; font-size: 14px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.legal-toc a:hover, .legal-toc a[aria-current="location"] { background: #132a45; color: white; }
.legal-content { line-height: 1.75; overflow-wrap: anywhere; font-size: 15px; }
.legal-content h2 { font-size: 24px; line-height: 1.35; margin: 32px 0 16px; padding-top: 20px; border-top: 1px solid #52617a; scroll-margin-top: 24px; }
.legal-content li { margin-block: 10px; }
.legal-content ul, .legal-content ol { padding-left: 24px; }
.legal-content hr { border: 0; border-top: 1px solid #52617a; margin-block: 24px; }
.legal-table { max-width: 100%; overflow-x: auto; margin-block: 20px; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; overflow-wrap: normal; }
.legal-table th:first-child, .legal-table td:first-child { min-width: 140px; }
.legal-table th, .legal-table td { border: 1px solid #52617a; padding: 12px; text-align: left; vertical-align: top; }
.legal-table th { background: #14263d; }
.back-top { display: block; text-align: right; margin-top: 28px; }
.legal-page footer [aria-current="page"] { text-decoration: underline; }
@media (max-width: 760px) {
  .legal-page main { padding-top: 18px; }
  .legal-page h1 { font-size: 27px; letter-spacing: .07em; }
  .legal-page .account-header nav { margin: 0; gap: 12px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .legal-page .account-logo { flex: none; width: 105px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; max-height: none; }
  .legal-page .account-panel { padding: 22px 20px; }
  .legal-content h2 { font-size: 22px; }
}
