.pcwo[hidden],
.pcwo-launcher[hidden] {
    display: none !important;
}

html.pcwo-scroll-lock,
body.pcwo-scroll-lock {
    overflow: hidden !important;
}

.pcwo {
    inset: 0;
    position: fixed;
    z-index: 2147483000;
}

.pcwo__screen {
    background-color: #a8d0ef;
    background-image: var(--pcwo-desktop);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 0 100vmax rgba(8, 17, 36, .48);
    height: 100dvh;
    isolation: isolate;
    min-height: 100vh;
    overflow: auto;
    position: relative;
    width: 100vw;
}

.pcwo__screen::before {
    background: linear-gradient(90deg, rgba(224, 242, 255, .96) 0%, rgba(224, 242, 255, .87) 31%, rgba(224, 242, 255, .28) 52%, rgba(224, 242, 255, .02) 72%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.pcwo__close {
    align-items: center;
    background: rgba(255, 255, 255, .68);
    border: 0;
    border-radius: 50%;
    color: #121a2d;
    cursor: pointer;
    display: flex;
    font: 400 33px/1 Arial, sans-serif;
    height: 46px;
    justify-content: center;
    position: absolute;
    right: clamp(20px, 3vw, 55px);
    top: clamp(20px, 3vw, 46px);
    width: 46px;
    z-index: 2;
}

.pcwo__close:hover {
    background: #fff;
}

.pcwo__content {
    align-content: center;
    display: grid;
    min-height: 100%;
    padding: clamp(84px, 9vw, 140px) clamp(28px, 8vw, 150px);
    width: min(61%, 820px);
}

.pcwo__eyebrow {
    color: #2655d9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
    margin: 0 0 18px;
}

.pcwo h2 {
    color: #121a2d;
    font-family: Sora, system-ui, sans-serif;
    font-size: clamp(47px, 5.4vw, 76px);
    letter-spacing: -.07em;
    line-height: .98;
    margin: 0;
    max-width: 760px;
}

.pcwo__claim > p:not(.pcwo__fine-print),
.pcwo__success > p:not(.pcwo__eyebrow):not(.pcwo__expires) {
    color: #35435a;
    font-size: 18px;
    line-height: 1.62;
    margin: 25px 0 30px;
    max-width: 460px;
}

.pcwo__form {
    max-width: 500px;
}

.pcwo__form label {
    color: #18223a;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 8px;
}

.pcwo__form-row {
    display: flex;
    gap: 10px;
}

.pcwo__form input {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(33, 57, 100, .3);
    border-radius: 999px;
    color: #111827;
    font: inherit;
    height: 54px;
    min-width: 0;
    outline: 0;
    padding: 0 20px;
    width: 100%;
}

.pcwo__form input:focus {
    border-color: #2f6bff;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .18);
}

.pcwo__form button,
.pcwo__shop-link {
    align-items: center;
    background: #111827;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: 800 14px/1 system-ui, sans-serif;
    gap: 11px;
    justify-content: center;
    min-height: 54px;
    padding: 0 23px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.pcwo__form button:hover,
.pcwo__shop-link:hover {
    background: #285de9;
    color: #fff;
    transform: translateY(-2px);
}

.pcwo__form button:disabled {
    cursor: wait;
    opacity: .7;
}

.pcwo__trap {
    height: 1px;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.pcwo__fine-print {
    color: #586b84;
    font-size: 11px;
    line-height: 1.55;
    margin: 15px 0 0;
    max-width: 450px;
}

.pcwo__fine-print a {
    color: inherit;
    text-decoration: underline;
}

.pcwo__decline {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(18, 26, 45, .35);
    color: #29384f;
    cursor: pointer;
    font: 800 12px/1.2 system-ui, sans-serif;
    margin: 26px 0 0;
    padding: 0 0 5px;
}

.pcwo__decline:hover {
    color: #285de9;
}

.pcwo__form-error {
    color: #a82c28;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 12px 0 0;
}

.pcwo__success {
    max-width: 610px;
}

.pcwo__code {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(232, 241, 255, .94));
    border: 1px solid rgba(47, 107, 255, .32);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(35, 76, 155, .13);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 30px 0 13px;
    min-height: 72px;
    padding: 9px 9px 9px 22px;
}

.pcwo__code code {
    color: #122b62;
    flex: 1 1 auto;
    font: 900 clamp(18px, 2.35vw, 28px)/1 Sora, system-ui, sans-serif;
    letter-spacing: .075em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcwo__code button {
    background: #173f9b;
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    font: 900 12px/1 system-ui, sans-serif;
    letter-spacing: .035em;
    min-height: 52px;
    padding: 0 18px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pcwo__code button:hover { background: #285de9; }

.pcwo--code-visible .pcwo__close { background: rgba(255, 255, 255, .86); }

.pcwo__expires {
    color: #53637b;
    font-size: 12px;
    margin: 0 0 28px;
}

.pcwo-launcher {
    align-items: center;
    background: #111827;
    border: 0;
    border-radius: 999px;
    bottom: 24px;
    box-shadow: 0 13px 30px rgba(11, 20, 40, .28);
    color: #fff;
    cursor: pointer;
    display: flex;
    font: 900 12px/1 system-ui, sans-serif;
    gap: 9px;
    left: 24px;
    letter-spacing: .04em;
    padding: 15px 19px;
    position: fixed;
    z-index: 2147482990;
}

#pcwo-launcher.pcwo-launcher--visible {
    display: flex !important;
}

.pcwo-launcher:hover {
    background: #285de9;
}

.pcwo-launcher__spark {
    color: #8ff1e0;
    font-size: 17px;
    line-height: 0;
}

.pcwo button:focus-visible,
.pcwo a:focus-visible,
.pcwo-launcher:focus-visible {
    outline: 3px solid #245cec;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .pcwo__content {
        padding-left: clamp(24px, 6vw, 70px);
        width: min(68%, 640px);
    }

    .pcwo__screen::before {
        background: linear-gradient(90deg, rgba(224, 242, 255, .96), rgba(224, 242, 255, .79) 55%, rgba(224, 242, 255, .1) 100%);
    }
}

@media (max-width: 640px) {
    .pcwo__screen {
        background-image: var(--pcwo-mobile);
        background-position: center bottom;
    }

    .pcwo__screen::before {
        background: linear-gradient(180deg, rgba(225, 244, 255, .96) 0%, rgba(225, 244, 255, .89) 45%, rgba(225, 244, 255, .36) 68%, rgba(225, 244, 255, .02) 100%);
    }

    .pcwo__close {
        height: 42px;
        right: max(18px, env(safe-area-inset-right));
        top: max(18px, env(safe-area-inset-top));
        width: 42px;
    }

    .pcwo__content {
        align-content: start;
        min-height: 100dvh;
        padding: max(100px, calc(env(safe-area-inset-top) + 82px)) 24px max(60px, env(safe-area-inset-bottom));
        width: 100%;
    }

    .pcwo h2 {
        font-size: clamp(42px, 12vw, 58px);
        max-width: 380px;
    }

    .pcwo__claim > p:not(.pcwo__fine-print),
    .pcwo__success > p:not(.pcwo__eyebrow):not(.pcwo__expires) {
        font-size: 16px;
        margin: 19px 0 24px;
        max-width: 350px;
    }

    .pcwo__form-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        max-width: 360px;
    }

    .pcwo__form input,
    .pcwo__form button {
        height: 53px;
        width: 100%;
    }

    .pcwo__form button {
        min-height: 53px;
    }

    .pcwo__fine-print {
        max-width: 330px;
    }

    .pcwo__code {
        max-width: 365px;
        min-height: 62px;
        padding-left: 14px;
    }

    .pcwo__code code {
        font-size: clamp(13px, 4vw, 18px);
        letter-spacing: .045em;
    }

    .pcwo__code button {
        font-size: 10px;
        min-height: 44px;
        padding: 0 12px;
    }

    .pcwo-launcher {
        bottom: max(17px, env(safe-area-inset-bottom));
        left: max(17px, env(safe-area-inset-left));
        padding: 14px 16px;
    }
}
