.exit-popup { --popup-bg:#1b222a;--popup-orange:#fea24f;--popup-orange-deep:#fc8114;--popup-lime:#bbfa79;position:fixed;inset:0;overflow:hidden;inline-size:calc(100% - 2rem);max-inline-size:53.75rem;max-block-size:calc(100dvh - 2rem);margin:auto;padding:0;border:0;border-radius:1rem;background:var(--popup-bg);box-shadow:0 2rem 4rem rgba(0, 0, 0, 0.5);color:var(--text-inverse, #fff);font-family:inherit;} .exit-popup[open] { animation:exit-popup-in 0.35s ease both;} .exit-popup::backdrop { background:rgba(8, 11, 14, 0.7);backdrop-filter:blur(4px);} .exit-popup[open]::backdrop { animation:exit-popup-fade 0.35s ease both;} @keyframes exit-popup-in { from { opacity:0;transform:translateY(1.5rem) scale(0.97);} } @keyframes exit-popup-fade { from { opacity:0;} } @media (prefers-reduced-motion:reduce) { .exit-popup[open], .exit-popup[open]::backdrop { animation:none;} } .exit-popup > picture { position:absolute;inset:0;pointer-events:none;} .exit-popup > picture img { display:block;inline-size:100%;block-size:100%;object-fit:cover;object-position:right center;} .exit-popup .close { position:absolute;inset-block-start:1.25rem;inset-inline-end:1.25rem;z-index:2;margin:0;} .exit-popup .close > button { display:grid;place-items:center;inline-size:2.5rem;block-size:2.5rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text-inverse, #fff);cursor:pointer;transition:background 0.2s ease;} .exit-popup .close > button:focus-visible { outline:2px solid var(--popup-orange);outline-offset:2px;} @media (hover:hover) and (pointer:fine) { .exit-popup .close > button:hover { background:rgba(255, 255, 255, 0.12);} } .exit-popup .body { position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;max-inline-size:20.5rem;min-block-size:28.125rem;padding-block:1.375rem 2rem;padding-inline:2.5rem 0;} .exit-popup .body > img { inline-size:14.5625rem;block-size:auto;margin-inline-start:1.375rem;} .exit-popup .content { margin-block-start:1.25rem;} .exit-popup .content :is(h2, h3) { margin:0;color:var(--text-inverse, #fff);font-size:1.375rem;font-weight:600;line-height:1.2;text-transform:uppercase;} .exit-popup .content em { color:var(--popup-orange);font-style:normal;} .exit-popup .content :is(h2, h3) em { display:block;} .exit-popup .content p { margin:0;margin-block-start:1rem;color:var(--text-inverse, #fff);font-size:1rem;font-weight:400;line-height:1.3;} .exit-popup .content p:has(> strong) { margin-block-start:1.125rem;line-height:1;} .exit-popup .content strong { display:block;background:linear-gradient(180deg, #ffbe6e 0%, var(--popup-orange) 45%, #fd8a3a 100%);background-clip:text;color:transparent;font-size:4rem;font-weight:600;line-height:0.95;text-transform:uppercase;filter:drop-shadow(0 0 0.75rem rgba(253, 141, 61, 0.45));} .exit-popup .content strong em { display:block;margin-block-start:0.375rem;background:none;color:var(--popup-lime);font-size:2.5rem;-webkit-text-fill-color:var(--popup-lime);filter:drop-shadow(0 0 0.75rem rgba(187, 250, 121, 0.45));} .exit-popup .content.is-desktop p:last-child:not(:has(> strong)) { max-inline-size:13.5rem;} .exit-popup .content.is-mobile { display:none;} .exit-popup:focus { outline:none;} .exit-popup .actions { margin-block-start:1.5rem;} .exit-popup .actions > a { display:inline-flex;align-items:center;justify-content:center;min-block-size:2.3125rem;padding-block:0.5rem;padding-inline:1.125rem;border-radius:0.5rem;background:linear-gradient(180deg, #ffb066 0%, var(--popup-orange-deep) 48%, #f27409 100%);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 1.25rem rgba(252, 129, 20, 0.35);color:var(--text-inverse, #fff);font-size:0.875rem;font-weight:700;line-height:1.2;letter-spacing:0.02em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:filter 0.2s ease, box-shadow 0.2s ease;} .exit-popup .actions > a:focus-visible { outline:2px solid var(--popup-orange);outline-offset:3px;} @media (hover:hover) and (pointer:fine) { .exit-popup .actions > a:hover { filter:brightness(1.08);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 1.75rem rgba(252, 129, 20, 0.55);} } @media (max-width:63.98rem) { .exit-popup > picture img { object-position:70% center;} } @media (max-width:47.98rem) { .exit-popup { max-inline-size:25.5rem;overflow-y:auto;} .exit-popup > picture { inset:auto 0 0;} .exit-popup > picture img { block-size:auto;object-fit:initial;} .exit-popup .close { inset-block-start:0.75rem;inset-inline-end:0.75rem;} .exit-popup .body { align-items:center;max-inline-size:none;min-block-size:min(38.625rem, 100dvh - 2rem);padding-block:1.375rem 2rem;padding-inline:1.25rem;text-align:center;} .exit-popup .body > img { inline-size:min(12.25rem, 60%);margin-inline-start:0;} .exit-popup .content.is-desktop { display:none;} .exit-popup .content.is-mobile { display:block;margin-block-start:1.375rem;} .exit-popup .content :is(h2, h3) { font-size:1rem;line-height:1.4;} .exit-popup .content p:has(> strong) { margin-block-start:0.75rem;} .exit-popup .content strong, .exit-popup .content strong em { margin:0;font-size:1.375rem;line-height:1.3;} .exit-popup .actions { margin-block-start:auto;padding-block-start:12rem;} .exit-popup .actions > a { min-inline-size:14.125rem;min-block-size:2.75rem;font-size:1rem;} }