/* Legal documents share the site's palette while prioritizing readable text. */
dialog.legal-dialog{width:min(820px,calc(100vw - 48px));max-width:none;max-height:88vh;max-height:88dvh;margin:auto;padding:0;border:1px solid #b89a5f66;border-radius:12px;background:#eef2ee;color:#193c49;box-shadow:0 24px 100px #0008;overflow:hidden}
dialog.legal-dialog[open]{display:flex;flex-direction:column}
.legal-dialog::backdrop{background:#03131dd9;backdrop-filter:blur(5px)}
.legal-dialog .legal-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;flex:0 0 auto;padding:28px 36px 24px;border-bottom:1px solid #193c4926;background:#eef2ee}
.legal-header .eyebrow{display:block;margin-bottom:9px;color:#647e86}
.legal-dialog .legal-header h2{font-size:clamp(28px,3.5vw,43px);line-height:1.15;letter-spacing:-.045em;margin:0;color:#193c49}
.legal-dialog .dialog-close{position:static;flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #193c4933;border-radius:50%;background:transparent;color:#193c49;font-size:28px;line-height:1}
.legal-dialog .dialog-close:hover{background:#193c490c}
.legal-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 36px 36px;scrollbar-color:#9aadae #e6ece9;scrollbar-width:thin}
.legal-dialog .legal-content p,.legal-dialog .legal-content li{font-size:15px;line-height:1.8;letter-spacing:0;color:#365762;overflow-wrap:anywhere}
.legal-content h3{font-size:20px;font-weight:500;line-height:1.4;letter-spacing:-.02em;margin:32px 0 14px;color:#193c49}
.legal-content p+p{margin-top:18px}
.legal-content ul,.legal-content ol{padding-left:22px;margin:16px 0 22px}
.legal-content li+li{margin-top:7px}
.legal-content a{text-decoration:underline;text-underline-offset:3px}
.legal-dialog :focus-visible{outline:2px solid #237a87;outline-offset:3px}
@media(max-width:600px){dialog.legal-dialog{width:calc(100vw - 24px);max-height:92vh;max-height:92dvh;border-radius:10px}.legal-dialog .legal-header{padding:22px 20px 18px;gap:12px}.legal-dialog .legal-header h2{font-size:29px}.legal-header .eyebrow{font-size:9px}.legal-content{padding:22px 20px 28px}.legal-dialog .legal-content p,.legal-dialog .legal-content li{font-size:14px;line-height:1.75}.legal-content h3{font-size:19px}}
