/*
  PLAYRS-LEGAL-V1 -- /legal/*, /about/, /contact/. Long-form reading layout
  in THE HUB's language (bold heads, hairlines, signal marker). Theme-aware.
*/
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--playrs-bg, #050505); color: var(--playrs-text, #f4f4f0); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:root { --legal-red: #e3261c; }
html[data-playrs-theme="light"] { --legal-red: #d01f16; }

.legal-shell { width: min(1080px, 100%); margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 22px) 24px 40px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--playrs-border); font-size: 10px; letter-spacing: .16em; }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.legal-brand img { width: 15px; height: auto; display: block; }
html[data-playrs-theme="light"] .legal-brand img { filter: invert(1); }
.legal-top a.legal-up { color: var(--playrs-text-muted); text-decoration: none; }

.legal-hero { padding: 60px 0 34px; border-bottom: 1px solid var(--playrs-border); }
.legal-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--playrs-text-muted); }
.legal-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--legal-red); }
.legal-title { margin: 16px 0 0; font-size: clamp(36px, 8vw, 84px); font-weight: 700; line-height: .95; letter-spacing: -.02em; }
.legal-meta { margin: 18px 0 0; font-size: 10px; letter-spacing: .14em; color: var(--playrs-text-faint); }
.legal-lede { margin: 18px 0 0; max-width: 62ch; font-size: 14px; line-height: 1.7; color: var(--playrs-text-secondary); }

.legal-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-top: 34px; }
.legal-toc { position: sticky; top: 24px; align-self: start; font-size: 10px; letter-spacing: .12em; line-height: 1.6; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal-toc a { color: var(--playrs-text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--playrs-text); }
.legal-content { max-width: 70ch; }
.legal-content section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--playrs-border); scroll-margin-top: 20px; }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.legal-content h2 .n { color: var(--legal-red); font-size: 11px; }
.legal-content p, .legal-content li { font-size: 13px; line-height: 1.75; color: var(--playrs-text-secondary); }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 0 0 12px; padding-left: 18px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--playrs-text); font-weight: 700; }
.legal-content code { font-family: inherit; font-size: 12px; padding: 1px 4px; border: 1px solid var(--playrs-border); }
.legal-note { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--playrs-border-strong); font-size: 11px; line-height: 1.6; color: var(--playrs-text-secondary); }

.legal-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.legal-index a { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--playrs-border); text-decoration: none; }
.legal-index b { font-size: 14px; letter-spacing: .1em; }
.legal-index span { font-size: 11px; line-height: 1.6; color: var(--playrs-text-muted); }

@media (max-width: 760px) {
  .legal-shell { padding-left: 16px; padding-right: 16px; }
  .legal-body { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; padding-bottom: 18px; border-bottom: 1px solid var(--playrs-border); }
  .legal-hero { padding-top: 44px; }
}
