#offer-dialog{width:min(880px,calc(100vw - 32px));max-width:none;max-height:88dvh;margin:auto;padding:0;border:1px solid #d8e5f5;border-radius:20px;background:#fff;color:#0b1b33;overflow:hidden;box-shadow:0 24px 80px #001b3f33;animation:offer-appear .25s ease both}
#offer-dialog::backdrop{background:#001b3f88}
#offer-dialog[open]{display:flex;flex-direction:column}
#offer-dialog .offer-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid #d8e5f5;background:white}
#offer-dialog .offer-heading h2{margin:0;font-size:clamp(22px,3vw,30px);line-height:1.25;color:#004b96}
#offer-dialog .offer-close{flex:none;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:#edf4fc;color:#004b96;font-size:28px;line-height:1;cursor:pointer}
#offer-dialog .offer-close:focus-visible,#offer-dialog .offer-body:focus-visible{outline:3px solid #004b96;outline-offset:-3px}
#offer-dialog .offer-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 30px 32px;scrollbar-gutter:stable}
#offer-dialog .offer-document-text{font-size:14px;line-height:1.9;white-space:normal;overflow-wrap:anywhere;word-break:normal}
#offer-dialog .offer-document-text h3{margin:24px 0 12px;padding-top:20px;border-top:1px solid #e3ebf5;font-size:19px;line-height:1.5;color:#004b96;letter-spacing:normal}
@keyframes offer-appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:600px){#offer-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}#offer-dialog .offer-heading{padding:16px}#offer-dialog .offer-body{padding:18px 16px 24px}#offer-dialog .offer-document-text{font-size:13px;line-height:1.85}}
@media(prefers-reduced-motion:reduce){#offer-dialog{animation:none}}

.site-footer .footer-legal>[data-offer-open]{grid-column:1;grid-row:2;justify-self:start}
.site-footer .footer-legal:has([data-offer-open]){row-gap:0}
.site-footer .footer-legal:has([data-offer-open])>small{grid-row:1 / span 2}
@media(max-width:800px){.site-footer .footer-legal:has([data-offer-open])>a{justify-self:start}.site-footer .footer-legal>[data-offer-open]{grid-column:1;grid-row:2}.site-footer .footer-legal:has([data-offer-open])>small{grid-row:3;justify-self:center;margin-top:10px}}

#offer-dialog .offer-document-text p{margin:14px 0;line-height:1.9;color:#0b1b33}
#offer-dialog .offer-document-text h4{margin:14px 0;font-size:19px;line-height:1.5;color:#004b96}
#offer-dialog .offer-document-text ul{margin:12px 0;padding-left:24px}
#offer-dialog .offer-document-text li{margin:8px 0}
#offer-dialog .offer-document-text hr{border:0;border-top:1px solid #e3ebf5;margin:22px 0}
