.homepage-popup {
  box-sizing:border-box; width:fit-content; max-width:min(34rem,calc(100vw - 2rem));
  max-height:calc(100dvh - 2rem); margin:auto; padding:0; overflow:auto;
  color:#f6f5f1; background:#202423; border:1px solid #505653; border-radius:.75rem;
  box-shadow:0 1rem 4rem rgba(0,0,0,.5);
}
.homepage-popup::backdrop { background:rgba(8,12,11,.74); }
.homepage-popup header,.homepage-popup-footer { display:flex; align-items:center; gap:.75rem; padding:.45rem .9rem; }
.homepage-popup header { position:static; justify-content:space-between; height:auto; }
.homepage-popup h2 { font:inherit; font-weight:700; margin:0; overflow-wrap:anywhere; }
.homepage-popup button { font:inherit; color:inherit; background:transparent; border:0; cursor:pointer; min-height:44px; padding:0 .5rem; }
.homepage-popup button:focus-visible,.homepage-popup a:focus-visible { outline:2px solid #f5c05b; outline-offset:-2px; }
.homepage-popup-image { text-align:center; }
.homepage-popup-image img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100dvh - 9rem); margin:auto; object-fit:contain; }
.homepage-popup-footer { justify-content:flex-end; }
