.legal-dialog{--legal-ink:#263445;--legal-muted:#627083;color:var(--legal-ink);border:0;border-radius:20px;padding:0;width:min(880px,calc(100vw - 40px));max-width:none;max-height:90vh;max-height:90dvh;background:#fff;box-shadow:0 30px 100px #101d3855;font-family:Nunito,Arial,sans-serif;text-align:left;overflow:hidden}
.legal-dialog::backdrop{background:rgba(19,29,45,.62);backdrop-filter:blur(5px)}
.legal-dialog[open]{display:flex}
.legal-shell{display:flex;flex-direction:column;width:100%;max-height:90vh;max-height:90dvh;min-height:0}
.legal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 34px 24px;border-top:5px solid #ffdf00;border-bottom:1px solid #e8edf2;background:#fff;flex-shrink:0}
.legal-eyebrow{font-size:12px!important;letter-spacing:.17em;font-weight:800;margin:0 0 9px!important;color:#69778a}
.legal-header h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:0;color:#263445;font-weight:800}
.legal-close{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #dce3eb;border-radius:50%;background:#f7f9fb;color:#405167;cursor:pointer}
.legal-close:hover{background:#ffdf00;border-color:#ffdf00}
.legal-scroll{overflow-y:auto;overscroll-behavior:contain;padding:25px 34px 28px;min-height:0}
.legal-dialog p,.legal-page p{font-size:14px;line-height:1.75;margin:0 0 12px}
.legal-dialog a,.legal-page a{color:#475dc4;text-decoration:underline;text-underline-offset:3px}
.legal-intro{font-size:16px!important;color:#536174;max-width:640px}
.legal-date{font-size:12px!important;color:#69778a}
.legal-nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 27px}
.legal-nav a{padding:8px 15px;border:1px solid #dfe5ec;border-radius:100px;background:#f7f9fb;text-decoration:none;font-size:13px;font-weight:800;color:#435269}
.legal-nav a:hover{border-color:#475dc4;color:#475dc4}
.legal-section{scroll-margin-top:22px;margin:0 0 27px;padding-top:24px;border-top:1px solid #e8edf2}
.legal-section h3{display:flex;align-items:baseline;gap:12px;font-size:18px;line-height:1.4;font-weight:800;color:#263445;margin:0 0 16px}
.legal-section h3 span{color:#8d9aad;font-size:11px;font-weight:700;letter-spacing:.07em}
.legal-section h4{font-size:14px;font-weight:800;color:#33465c;margin:0 0 8px}
.legal-facts{margin:0;background:#f7f9fb;border-radius:12px;padding:5px 20px}
.legal-facts>div{display:grid;grid-template-columns:190px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid #e3e9ef;font-size:14px;line-height:1.65}
.legal-facts>div:last-child{border-bottom:0}
.legal-facts dt{font-weight:700;color:#627083}
.legal-facts dd{margin:0;color:#263445;overflow-wrap:anywhere}
.legal-purpose{padding:0 0 0 17px;border-left:3px solid #ffdf00;margin:20px 0}
.legal-end{text-align:right;border-top:1px solid #e8edf2;padding-top:20px}
.legal-end button{font:inherit;font-size:14px;font-weight:800;border:0;border-radius:8px;background:#263445;color:#fff;padding:11px 23px;cursor:pointer}
.legal-dialog :focus-visible,.legal-page :focus-visible{outline:3px solid #475dc4;outline-offset:4px}
.legal-is-open{overflow:hidden}
.legal-footer-link{white-space:normal}
.legal-page{font-family:Nunito,Arial,sans-serif;color:#263445;background:#f3f6f9;margin:0}
.legal-page main{max-width:820px;margin:40px auto;padding:32px;background:#fff;border-top:5px solid #ffdf00;border-radius:16px}
.legal-page h1{font-size:28px;line-height:1.3}
@media(max-width:600px){.legal-dialog{width:calc(100vw - 20px);border-radius:15px;max-height:94vh;max-height:94dvh}.legal-shell{max-height:94vh;max-height:94dvh}.legal-header{padding:19px 18px 17px;gap:12px}.legal-header h2{font-size:20px}.legal-eyebrow{font-size:10px!important;margin-bottom:6px!important}.legal-scroll{padding:20px 18px}.legal-facts{padding:4px 14px}.legal-facts>div{grid-template-columns:1fr;gap:3px;padding:12px 0}.legal-section h3{font-size:17px}.legal-dialog p,.legal-page p{font-size:14px}.legal-page main{margin:10px;padding:22px 18px}.legal-page h1{font-size:24px}}
@media print{.legal-dialog,.legal-page main{box-shadow:none;border:0;max-height:none}.legal-scroll{overflow:visible}.legal-close,.legal-nav,.legal-end{display:none}.legal-page{background:#fff}}

