/* Policy pages and the policy dialog. */
body.site-legal-page main#content.site-main,body.site-legal-page .site-main{box-sizing:border-box;width:min(calc(100% - 48px),820px)!important;max-width:none!important;margin:0 auto!important;padding:48px 0 80px!important;font-family:'DM Sans',system-ui,sans-serif;color:#26324a}
body.site-legal-page .page-header .entry-title,body.site-legal-page .site-main h1{margin:0 0 28px;color:#0a2e63;font-family:'Bricolage Grotesque','DM Sans',sans-serif;font-size:clamp(32px,4vw,44px);font-weight:800;line-height:1.1}
body.site-legal-page .page-content,body.site-legal-page .entry-content{font-size:16px;line-height:1.75}
body.site-legal-page .site-main h2{margin:36px 0 10px;padding-top:24px;border-top:1px solid #e3eaf5;color:#0a2e63;font-family:'Bricolage Grotesque','DM Sans',sans-serif;font-size:22px;font-weight:800;line-height:1.25}
body.site-legal-page .site-main h2:first-of-type{border-top:0;padding-top:0}
body.site-legal-page .site-main p{margin:0 0 14px}
body.site-legal-page .site-main ul{margin:0 0 16px;padding-left:22px}
body.site-legal-page .site-main a{color:#0a78f5}
.site-legal__related{margin-top:48px;padding:22px 24px;border-radius:18px;background:#f5f8fc}
body.site-legal-page .site-main .site-legal__related h2{margin:0 0 10px;padding:0;border:0;font-size:17px}
.site-legal__related ul{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0!important;padding:0!important;list-style:none}
.site-legal__related a{font-weight:700;text-decoration:none}

.site-legal-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;overflow:hidden;border:0;border-radius:22px;background:#fff;color:#26324a;box-shadow:0 40px 80px rgba(6,21,42,.35);font-family:'DM Sans',system-ui,sans-serif}
.site-legal-dialog[open]{display:flex;flex-direction:column}
.site-legal-dialog::backdrop{background:rgba(7,26,49,.6)}
.site-legal-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e3eaf5}
.site-legal-dialog__title{margin:0;color:#0a2e63;font-family:'Bricolage Grotesque','DM Sans',sans-serif;font-size:22px;font-weight:800}
.site-legal-dialog__actions{display:flex;align-items:center;gap:12px}
.site-legal-dialog__open{color:#0a78f5;font-size:14px;font-weight:700;white-space:nowrap}
.site-legal-dialog__close{display:grid;width:40px;height:40px;place-items:center;padding:0;border:0;border-radius:50%;background:#f2f6fc;color:#0a2e63;font-size:26px;line-height:1;cursor:pointer}
.site-legal-dialog__body{overflow:auto;padding:20px 24px 28px;font-size:15px;line-height:1.7}
.site-legal-dialog__body h2{margin:24px 0 8px;color:#0a2e63;font-size:18px}
.site-legal-dialog__body a{color:#0a78f5}
