.bf-popup {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #bda57c;
  border-radius: 18px;
  background: #f9f3e8;
  color: #111e32;
  box-shadow: 0 24px 90px #0006;
  overflow: auto;
}
.bf-popup::backdrop { background: #071323b8; backdrop-filter: blur(5px); }
.bf-popup__layout { display: grid; grid-template-columns: 1fr 1fr; }
.bf-popup__art { display: block; width: 100%; height: 100%; object-fit: contain; background: #0a172a; }
.bf-popup__copy { padding: 46px 32px 30px; align-self: center; }
.bf-popup__eyebrow { font: 12px var(--sans, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: #715625; margin: 0 0 18px; }
.bf-popup h2 { font: 32px/1.3 Georgia, serif; margin: 0 0 18px; color: #111e32; }
.bf-popup p { font: 16px/1.5 var(--sans, sans-serif); margin: 0 0 16px; }
.bf-popup .bf-popup__eyebrow { font-size: 12px; }
.bf-popup__code { border-block: 1px solid #d7c7ad; padding: 13px 0; }
.bf-popup__cta { display: block; text-align: center; border-radius: 7px; background: #14243c; color: #fff4dd; text-decoration: none; padding: 15px 12px; font: 16px var(--sans, sans-serif); }
.bf-popup__cta:hover { background: #294160; }
.bf-popup .bf-popup__terms { font-size: 13px; margin: 16px 0 0; }
.bf-popup__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f9f3e8; color: #111e32; border: 1px solid #bda57c; font: 26px/1 sans-serif; cursor: pointer; }
.bf-popup :focus-visible { outline: 3px solid #ac782a; outline-offset: 3px; }
@media (max-width: 640px) {
  .bf-popup { width: min(420px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
  .bf-popup__layout { grid-template-columns: 1fr; }
  .bf-popup__art { height: auto; }
  .bf-popup__copy { padding: 24px; }
  .bf-popup h2 { font-size: 28px; }
}
