/* Quants Brain · legal pages */
.legal { background: radial-gradient(900px 500px at 80% -10%, rgba(123, 108, 255, 0.1), transparent 60%), var(--bg); }
.legal-top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); background: rgba(4, 5, 10, 0.78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal-top img { width: 28px; height: 28px; }
.legal-main { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(24px, 6vw, 80px); justify-content: center; padding: 56px var(--gutter) 120px; }
.legal-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 4px; }
.legal-nav a { padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: 14px; }
.legal-nav a:hover { background: rgba(148, 160, 214, 0.08); color: var(--text); }
.legal-status { display: inline-block; font: 500 12px/1.4 var(--font-mono); color: var(--warn); padding: 6px 10px; border-radius: 8px; border: 1px dashed rgba(255, 181, 71, 0.4); margin-bottom: 32px; }
.legal section { scroll-margin-top: 90px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h1, .legal h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 610; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 18px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.legal .lead { font-size: 18px; color: var(--text-2); line-height: 1.6; margin-bottom: 22px; }
.legal ul, .legal ol { padding-left: 20px; display: grid; gap: 12px; color: var(--text-2); line-height: 1.7; }
.legal p { color: var(--text-2); line-height: 1.7; }
.legal b { color: var(--text); font-weight: 580; }
@media (max-width: 820px) { .legal-main { grid-template-columns: 1fr; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }
.lost { min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: radial-gradient(800px 500px at 50% 40%, rgba(123, 108, 255, 0.12), transparent 70%), var(--bg); }
#lost-brain { position: fixed; inset: 0; width: 100%; height: 100%; opacity: 0.45; }
.lost-card { position: relative; z-index: 1; max-width: 520px; padding: 40px 24px; text-align: center; }
.lost-code { display: inline-grid; place-items: center; min-width: 64px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); color: #b3aaff; font-size: 16px; margin-bottom: 22px; background: rgba(123, 108, 255, 0.08); }
.lost h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 610; letter-spacing: -0.04em; line-height: 1.04; }
.lost p { margin: 16px auto 30px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 420px; }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
