/* All rules are scoped to legal documents; the existing LP stylesheet stays intact. */
@font-face{font-family:MoragusLegal;src:url('assets/Manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
.moragus-legal-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #bcc7bd;border-radius:16px;background:#f8faf6;color:#172019;overflow:hidden;font-family:MoragusLegal,Arial,sans-serif;box-shadow:0 24px 80px #0006}
.moragus-legal-dialog::backdrop{background:#07140de0}
.moragus-legal-panel{display:flex;flex-direction:column;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px)}
.moragus-legal-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #ccd5cc}
.moragus-legal-header h2{font-size:clamp(20px,3vw,28px);line-height:1.25;letter-spacing:-.025em;margin:0;text-wrap:wrap}
.moragus-legal-close{flex:none;min-height:44px;padding:10px 16px;border:1px solid #58704e;border-radius:8px;background:#e7f1db;color:#172019;cursor:pointer;font:inherit;font-weight:700}
.moragus-legal-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:24px}
.moragus-legal-content{font:16px/1.7 MoragusLegal,Arial,sans-serif;overflow-wrap:anywhere;text-align:left}
.moragus-legal-content h1{font-size:clamp(28px,5vw,42px);line-height:1.2;letter-spacing:-.025em;margin:0 0 32px;text-wrap:wrap}
.moragus-legal-content h2,.moragus-legal-content h3{font-size:20px;line-height:1.4;letter-spacing:-.02em;margin:28px 0 12px;text-wrap:wrap}
.moragus-legal-content p{white-space:pre-line;font-size:inherit;line-height:inherit;margin:0 0 14px;text-wrap:wrap}
.moragus-legal-content ul,.moragus-legal-content ol{margin:0 0 18px;padding-left:26px}
.moragus-legal-content li{margin:6px 0}
.moragus-legal-footer{flex:none;border-top:1px solid #ccd5cc;padding:16px 24px}
.moragus-legal-footer a,.moragus-legal-page a{color:#28541c;text-decoration:underline;text-underline-offset:3px;line-height:1.5}
.moragus-legal-footer a{display:inline-flex;align-items:center;min-height:44px}
.moragus-legal-dialog :focus-visible,.moragus-legal-page :focus-visible{outline:3px solid #28541c;outline-offset:3px}
.moragus-legal-page{box-sizing:border-box;margin:0;background:#f8faf6;color:#172019;font:16px/1.7 MoragusLegal,Arial,sans-serif}
.moragus-legal-page *, .moragus-legal-dialog *{box-sizing:border-box}
.moragus-legal-page>header,.moragus-legal-page>main,.moragus-legal-page>footer{width:min(880px,calc(100% - 40px));margin:0 auto;padding:24px 0}
.moragus-legal-page>header{border-bottom:1px solid #ccd5cc}
.moragus-legal-page>footer{border-top:1px solid #ccd5cc}
.moragus-legal-skip{position:absolute;left:16px;top:-100px;padding:12px;background:#f8faf6;z-index:1}
.moragus-legal-skip:focus{top:12px}
@media(max-width:480px){.moragus-legal-header{padding:12px 16px;gap:8px}.moragus-legal-scroll{padding:16px}.moragus-legal-footer{padding:8px 16px}.moragus-legal-close{padding:8px 12px}.moragus-legal-dialog{border-radius:12px}}
@media print{.moragus-legal-page>header,.moragus-legal-page>footer,.moragus-legal-skip{display:none}.moragus-legal-page>main{width:auto;padding:0}.moragus-legal-content h2{break-after:avoid}.moragus-legal-content p,.moragus-legal-content li{orphans:3;widows:3}}
