/* Legal pages follow the public dark green and lime palette. */
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme { background:#0b1412!important; color:#edf5f2!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-page { width:min(1000px,calc(100% - 64px))!important; margin:0 auto!important; padding:40px 0!important; background:transparent!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-hero { background:transparent!important; border:0!important; box-shadow:none!important; padding:16px 0 32px!important; text-align:left!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-hero h1 { color:#edf5f2!important; font-size:clamp(38px,5.5vw,64px)!important; line-height:1.08!important; letter-spacing:-.045em; margin:16px 0 24px!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-hero .small-heading { color:#c9f23b!important; letter-spacing:.14em; font-size:11px!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-hero p { color:#a2b5ae!important; max-width:660px; line-height:1.75; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-hero .legal-updated { color:#c9f23b!important; background:#18271d!important; border:1px solid #365043!important; display:inline-block; padding:8px 12px; border-radius:8px; font-size:12px!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-content-card { background:#121f1b!important; border:1px solid #2a4036!important; border-radius:18px!important; box-shadow:none!important; padding:32px!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section { background:transparent!important; border:0!important; border-bottom:1px solid #2a4036!important; padding:24px 0!important; margin:0!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section:first-child { padding-top:0!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section:last-of-type { border-bottom:0!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section :is(h2,h3) { color:#edf5f2!important; line-height:1.35; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section h2 { font-size:22px!important; margin:0 0 16px!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section :is(p,li) { color:#b4c6bf!important; font-size:14px!important; line-height:1.85!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section ul { padding-left:22px; columns:2; column-gap:32px; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section li { break-inside:avoid; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section li::marker { color:#c9f23b!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme :is(.legal-section a,.footer-links a) { color:#c9f23b!important; text-underline-offset:4px; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .primary-button { background:#c9f23b!important; color:#102016!important; border-color:#c9f23b!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-notice { background:#18271d!important; border-color:#365043!important; border-left-color:#c9f23b!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-notice strong { color:#edf5f2!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-notice p { color:#a2b5ae!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme :is(.header,.legal-footer) { background:#0b1412!important; border-color:#2a4036!important; box-shadow:none!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .header .logo { color:#edf5f2!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .navbar a { color:#a2b5ae!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .navbar a:is(.active,:hover) { color:#c9f23b!important; }
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-footer p { color:#a2b5ae!important; }
.legal-theme a:focus-visible { outline:2px solid #c9f23b; outline-offset:4px; }
@media(max-width:640px) {
 html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-page { width:calc(100% - 32px)!important; padding:24px 0!important; }
 html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-content-card { padding:20px!important; }
 html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section h2 { font-size:19px!important; }
 html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section ul { columns:1; }
}
/* Keep button labels readable instead of inheriting the legal link color. */
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section a.primary-button,
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .navbar a.signup-link {
 background:#c9f23b!important;
 color:#102016!important;
 border-color:#c9f23b!important;
}
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .legal-section a.primary-button:hover,
html body.ui-modern.ui-modern.ui-modern.ui-modern.legal-theme .navbar a.signup-link:hover {
 background:#dcff70!important;
 color:#102016!important;
 border-color:#dcff70!important;
}
