/* Legal documents reuse the site's article layout and brand tokens. */
.legal-page .article-content { overflow-wrap: anywhere; }
.legal-page .article-content h2,
.legal-page .article-content h3 { scroll-margin-top: 110px; }
.legal-page .article-aside { max-height: calc(100vh - 140px); overflow-y: auto; }
.legal-page .article-aside nav a { padding-block: .5rem; font-size: .88rem; }
.legal-page .article-content > p:first-child { color: var(--muted); font-size: .9rem; }
.legal-page .footer-links { flex-wrap: wrap; }
@media (max-width: 760px) {
  .legal-page .article-aside { max-height: none; }
  .legal-page .article-hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
}
.legal-page .platform-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 3rem; }
.legal-page .platform-links a { display: block; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--green-50); color: var(--green-800); font-weight: 750; text-decoration: none; }
.legal-page .platform-links a:hover { border-color: var(--green-700); }
.legal-page .platform-links span { display: block; margin-top: .3rem; color: var(--muted); font-size: .85rem; font-weight: 400; }
.legal-page .article-content section { scroll-margin-top: 110px; }
.legal-page .article-content section + section { margin-top: 5rem; padding-top: 3rem; border-top: 2px solid var(--line); }
.legal-page .article-content h4 { margin: 2rem 0 .7rem; font-size: 1.12rem; scroll-margin-top: 110px; }
.legal-page .article-content .legal-overview { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 480px) {
  .legal-page .platform-links { grid-template-columns: 1fr; }
}
