.bm-card-popup {
  box-sizing:border-box; inline-size:min(32rem, calc(100% - 2rem)); max-block-size:calc(100dvh - 2rem);
  overflow:auto; margin:auto; padding:clamp(1.35rem, 5vw, 2.5rem); border:1px solid #dbcac1; border-top:4px solid #533039;
  border-radius:1rem; background:#faf7f2; color:#222; box-shadow:0 1rem 3rem #2223;
  font:400 1rem/1.5 system-ui,sans-serif; text-align:left;
}
.bm-card-popup::backdrop {background:#2226}
.bm-card-popup [hidden], .bm-popup-error:empty {display:none}
.bm-card-popup h2 {margin:.4rem 0 .75rem; font:400 clamp(1.75rem, 5vw, 2.6rem)/1.12 Georgia,serif; letter-spacing:-.02em;color:#533039}
.bm-card-popup p {margin:0 0 1rem}
.bm-popup-logo {display:block;width:120px;height:auto;max-width:45%;margin:0 auto .75rem}
.bm-popup-close {
  position:absolute; inset:.4rem .4rem auto auto; min-width:44px; min-height:44px;
  border:0; border-radius:50%; background:transparent; color:#222; cursor:pointer; font:1.7rem/1 system-ui;
}
.bm-popup-close:hover {background:#efe5dc}
.bm-card-popup label {display:block; font-weight:600; font-size:.875rem; margin:0 0 .25rem}
.bm-card-popup input {box-sizing:border-box; width:100%; min-height:46px; margin:0 0 .6rem;
  background:#fff; color:#222; border:1px solid #86716b; border-radius:.5rem; padding:.6rem .75rem; font:inherit}
.bm-card-popup .bm-popup-cta {display:block; width:100%; box-sizing:border-box; border:0; border-radius:.5rem; min-height:46px;
  padding:.65rem .75rem; background:#74344c; color:#fff; font:650 1rem/1.3 system-ui; text-align:center; text-decoration:none; cursor:pointer}
.bm-popup-cta:hover {background:#59283b}
.bm-popup-cta:disabled {opacity:.65; cursor:wait}
.bm-card-popup .bm-popup-error {font-size:.875rem; margin:.55rem 0 0}
.bm-popup-error {color:#8c233e}
.bm-popup-code {display:inline-block; padding:.35rem .75rem; border:1px dashed #86716b; border-radius:.35rem; font-size:1.25rem; letter-spacing:.06em}
.bm-card-popup :focus-visible {outline:2px solid #5b2e39; outline-offset:2px}

.bm-card-popup .bm-popup-perk {color:#74344c}
.bm-card-popup .bm-popup-opt-in {display:flex;align-items:center;gap:.5rem;font-weight:400;margin:0 0 .85rem}
.bm-popup-opt-in input[type="checkbox"] {width:1rem;height:1rem;min-height:0;margin:0;accent-color:#74344c}
