.legal-page .site-header { background: #fff; color: #21172f; border-bottom-color: #e8e3ec; }
.legal-page .site-header .site-nav a { color: #51416b; }
.legal-page .site-header .site-nav a:hover { color: #21172f; }
.legal-page .site-header .nav-toggle span { background: #21172f; }
.legal-page .site-header .brand-su-scuro { display: none; }
.legal-page .site-header .brand-su-chiaro { display: block; }
.legal-main { padding: 64px 0 80px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px 64px; }
.legal-heading { grid-column: 1 / -1; max-width: 880px; }
.legal-heading h1 { margin: 0 0 20px; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.045em; }
.legal-date { color: var(--muted); margin-top: 24px; }
.legal-draft { border-left: 3px solid #6d28d9; padding: 12px 20px; background: #f4f0ff; color: #31235b; line-height: 1.65; }
.legal-index { align-self: start; position: sticky; top: 110px; font-size: .93rem; }
.legal-index p { font-weight: 600; margin-top: 0; }
.legal-index ol { list-style: none; padding: 0; display: grid; gap: 14px; }
.legal-index a { color: #51416b; text-decoration: none; }
.legal-index a:hover { color: #6d28d9; text-decoration: underline; }
.legal-copy { min-width: 0; max-width: 74ch; color: #292332; line-height: 1.8; }
.legal-copy section { scroll-margin-top: 110px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #e8e3ec; }
.legal-copy h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 16px; }
.legal-copy p { margin: 0 0 18px; }
.legal-copy li { margin-bottom: 12px; }
.legal-copy a, .legal-inline-button { color: #5b21b6; }
.legal-inline-button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; }
.legal-table { overflow-x: auto; margin-bottom: 20px; }
.legal-table table { border-collapse: collapse; min-width: 560px; font-size: .9rem; text-align: left; }
.legal-table caption { text-align: left; margin-bottom: 12px; color: #62596e; }
.legal-table th, .legal-table td { padding: 12px; border-bottom: 1px solid #e8e3ec; vertical-align: top; }
.legal-table th { background: #f7f5fa; }
@media (max-width: 760px) {
  .legal-main { padding: 36px 0 48px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-index { position: static; border-bottom: 1px solid #e8e3ec; padding-bottom: 20px; }
}
