.newsletter-popup{box-sizing:border-box;position:fixed;inset:auto 24px 24px auto;margin:0;width:320px;height:175px;max-width:calc(100% - 40px);max-height:calc(100dvh - 32px);overflow:hidden;border:0;padding:18px 18px 12px;background:rgba(237,234,228,.8);color:#28282a;z-index:25}
body:has(#newsletterPopup[open]):not(:has(dialog:not(#newsletterPopup)[open])){overflow:auto}
.newsletter-popup-close{position:absolute;right:6px;top:5px;width:40px;height:40px;font-size:16px;font-weight:400;color:#28282a;line-height:1}
.newsletter-popup h2{font-size:14px;line-height:1.4;letter-spacing:0;margin:0 30px 8px 0;font-weight:700}
.newsletter-popup-copy{display:grid;gap:7px;max-width:280px}.newsletter-popup-copy p{font-size:12px;line-height:1.5;margin:0}
.newsletter-popup form{margin-top:10px}
.newsletter-popup-field{display:flex;align-items:center;border-bottom:1px solid rgba(40,40,42,.65);gap:12px}
.newsletter-popup input[type=email]{box-sizing:border-box;min-width:0;flex:1;border:0;border-radius:0;padding:8px 0;background:transparent;color:#28282a;font-size:12px;outline-offset:0}
.newsletter-popup input::placeholder{color:#666;opacity:1}
.newsletter-popup-field button{flex-shrink:0;min-height:36px;color:#28282a;font-size:12px}
.newsletter-popup .newsletter-popup-note{font-size:8px;line-height:1.25;margin:6px 0 0;color:#555}
.newsletter-popup-note a{color:#28282a;text-decoration:underline;text-underline-offset:3px}
.newsletter-popup[open]{animation:newsletter-rise 1s cubic-bezier(.22,1,.36,1) both}
@keyframes newsletter-rise{from{transform:translateY(calc(100% + 32px));opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:750px){.newsletter-popup{left:0;right:0;bottom:0;width:auto;height:auto;max-width:none;max-height:100dvh;overflow:auto;padding:20px 18px max(18px,env(safe-area-inset-bottom))}.newsletter-popup h2{margin-bottom:14px}.newsletter-popup-copy{max-width:calc(100% - 26px)}.newsletter-popup form{margin-top:22px}.newsletter-popup input[type=email]{padding:12px 0}.newsletter-popup-field button{min-height:44px}.newsletter-popup .newsletter-popup-note{font-size:10px;line-height:1.5;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.newsletter-popup[open]{animation:none}}

@media(max-width:750px){.newsletter-popup input[type=email]{font-size:16px}}

.newsletter-popup-close,.newsletter-popup-close:focus,.newsletter-popup input[type=email]:focus{outline:none;box-shadow:none;border:0}
.newsletter-popup-close:focus-visible{text-decoration:underline;text-underline-offset:4px}
.newsletter-popup-field:focus-within{border-bottom-color:var(--ink);box-shadow:0 1px 0 var(--ink)}
