.marketing-popup {
  width: min(620px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
  color: #17212b;
  color-scheme: light;
  box-shadow: 0 20px 70px rgb(0 0 0 / 24%);
  font-family: inherit;
  line-height: 1.5;
}

.marketing-popup:not([open]) { display: none; }
.marketing-popup::backdrop { background: rgb(7 12 20 / 65%); }
body.marketing-popup-open { overflow: hidden; }
.marketing-popup-content { padding: 28px 32px 24px; }
.marketing-popup-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.marketing-popup-logo { width: 150px; height: auto; border-radius: 3px; }

.marketing-popup-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #f4f7fb;
  color: #26313d;
  cursor: pointer;
}

.marketing-popup .marketing-popup-eyebrow { margin: 24px 0 8px; color: #1b61c4; font-size: 12px; font-weight: 800; }
.marketing-popup h2 { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
.marketing-popup h2 span { color: #1b61c4; }
.marketing-popup .marketing-popup-description { margin: 14px 0 12px; color: #465466; font-size: 16px; }
.marketing-popup .marketing-popup-services { margin: 0; padding-bottom: 20px; border-bottom: 1px solid #e3e9f1; color: #465466; font-size: 13px; }
.marketing-popup-benefits { display: grid; gap: 16px; margin: 20px 0 24px; padding: 0; list-style: none; }
.marketing-popup-benefits li { display: flex; align-items: flex-start; gap: 12px; }
.marketing-popup-benefits strong { color: #17212b; font-size: 16px; font-weight: 750; }
.marketing-popup-benefits p { margin: 3px 0 0; color: #465466; font-size: 14px; }

.marketing-popup-check {
  position: relative;
  flex: 0 0 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #eaf2ff;
}

.marketing-popup-check::after { position: absolute; top: 6px; left: 8px; width: 7px; height: 10px; border-right: 2px solid #1b61c4; border-bottom: 2px solid #1b61c4; transform: rotate(45deg); content: ''; }
.marketing-popup-cta { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 20px; border-radius: 6px; background: #1b61c4; color: #fff; font-size: 17px; font-weight: 750; text-decoration: none; }
.marketing-popup-cta:hover { background: #164e9d; }
.marketing-popup-cta span { font-size: 24px; line-height: 1; }
.marketing-popup-dismiss { display: block; min-height: 44px; margin: 6px auto 0; padding: 10px 16px; border: 0; background: transparent; color: #465466; font-size: 14px; cursor: pointer; }
.marketing-popup-dismiss:hover { color: #1b61c4; text-decoration: underline; }
.marketing-popup .marketing-popup-note { margin: 8px 0 0; color: #586579; font-size: 12px; text-align: center; }
.marketing-popup :is(a, button):focus-visible { outline: 3px solid #1b61c4; outline-offset: 3px; }

@media (max-width: 540px) {
  .marketing-popup { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .marketing-popup-content { padding: 20px; }
  .marketing-popup-logo { width: 125px; }
  .marketing-popup .marketing-popup-eyebrow { margin-top: 18px; font-size: 11px; }
  .marketing-popup h2 { font-size: 28px; }
  .marketing-popup .marketing-popup-description { font-size: 15px; }
  .marketing-popup .marketing-popup-services { padding-bottom: 16px; }
  .marketing-popup-benefits { gap: 14px; margin: 16px 0 20px; }
  .marketing-popup-benefits strong { font-size: 15px; }
  .marketing-popup-cta { font-size: 16px; }
}
