.site-popup[hidden]{display:none}
.site-popup{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:rgba(13,38,31,.6);opacity:0;transition:opacity .25s}
.site-popup.is-visible{opacity:1}
.site-popup__dialog{position:relative;isolation:isolate;overflow:hidden;width:min(100%,580px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:48px 52px 62px;background:#f8f4ec;border-radius:24px;text-align:center;color:#1d2d28;box-shadow:0 24px 70px rgba(20,54,44,.25);transform:translateY(10px);transition:transform .25s}
.site-popup.is-visible .site-popup__dialog{transform:translateY(0)}
.site-popup__dialog::before{content:"";position:absolute;z-index:0;pointer-events:none;left:-12%;right:-12%;bottom:-62px;height:145px;border-radius:50% 48% 0 0;background:#e8e7d7;transform:rotate(-3deg)}
.site-popup__grasses{position:absolute;z-index:1;pointer-events:none;bottom:0;left:0;width:150px;height:160px;color:#b7b99b;opacity:.72}
.site-popup__dialog>h2,.site-popup__dialog>div,.site-popup__dialog>.site-popup__icon{position:relative;z-index:2}
.site-popup__dialog h2{max-width:100%;margin:0 auto;font-size:clamp(32px,3vw,38px);line-height:1.12;text-wrap:balance}
.site-popup__dialog p{max-width:450px;color:#48584f;font-size:18px;line-height:1.6;margin:20px auto 28px}
.site-popup__icon{box-sizing:content-box;width:37px;height:37px;padding:16px;border-radius:50%;background:#e6e9d9;color:#285548;margin:0 auto 20px}
.site-popup__close{position:absolute;z-index:3;right:20px;top:17px;width:42px;height:42px;padding:0;border:0;outline:none;box-shadow:none;background:transparent;color:#285548;font-size:30px;line-height:1;cursor:pointer}
.site-popup-keyboard .site-popup__close:focus-visible{outline:2px solid #285548;outline-offset:2px;border-radius:8px}
.site-popup__confirm{position:relative;z-index:2;min-width:245px;max-width:100%;margin:auto}
@media(max-width:500px){.site-popup__dialog{padding:38px 25px 52px}.site-popup__dialog h2{font-size:clamp(29px,8vw,36px)}.site-popup__dialog p{font-size:16px;line-height:1.55;margin:16px auto 24px}.site-popup__icon{width:32px;height:32px;padding:14px;margin-bottom:16px}.site-popup__grasses{width:108px;height:115px}.site-popup__dialog::before{height:110px;bottom:-55px}.site-popup__close{top:10px;right:10px}}
@media(prefers-reduced-motion:reduce){.site-popup,.site-popup__dialog{transition:none}}
