:root {
    --ink: #111111;
    --muted: #6a6a66;
    --line: #e7e7e2;
    --paper: #ffffff;
    --soft: #f7f7f4;

    --danger: #9f2020;
    --danger-bg: #fff1f1;

    --success: #176b3a;
    --success-bg: #edf7f1;

    --warning: #8b5b00;
    --warning-bg: #fff7df;

    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafaf7 100%
        );

    color: var(--ink);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

[hidden] {
    display: none !important;
}


/* ============================================================
   ACCESSIBILITY
============================================================ */

:focus-visible {
    outline:
        3px solid rgba(17, 17, 17, .14);

    outline-offset:
        2px;
}


/* ============================================================
   GLOBAL MOTION
============================================================ */

.page-enter {
    animation:
        pageEnter .42s cubic-bezier(.2,.75,.25,1) both;
}

.state-enter {
    animation:
        stateEnter .32s cubic-bezier(.2,.75,.25,1) both;
}

.item-enter {
    animation:
        itemEnter .38s cubic-bezier(.2,.75,.25,1) both;
}

.success-pop {
    animation:
        successPop .5s cubic-bezier(.16,1,.3,1) both;
}

.error-shake {
    animation:
        errorShake .42s ease both;
}

.pulse-soft {
    animation:
        pulseSoft 1.8s ease-in-out infinite;
}

@keyframes pageEnter {

    from {
        opacity: 0;
        transform:
            translateY(12px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

@keyframes stateEnter {

    from {
        opacity: 0;
        transform:
            translateY(8px) scale(.99);
    }

    to {
        opacity: 1;
        transform:
            translateY(0) scale(1);
    }
}

@keyframes itemEnter {

    from {
        opacity: 0;
        transform:
            translateY(7px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

@keyframes successPop {

    0% {
        opacity: 0;
        transform:
            scale(.72);
    }

    65% {
        opacity: 1;
        transform:
            scale(1.08);
    }

    100% {
        opacity: 1;
        transform:
            scale(1);
    }
}

@keyframes errorShake {

    0%,
    100% {
        transform:
            translateX(0);
    }

    20% {
        transform:
            translateX(-7px);
    }

    40% {
        transform:
            translateX(6px);
    }

    60% {
        transform:
            translateX(-4px);
    }

    80% {
        transform:
            translateX(3px);
    }
}

@keyframes pulseSoft {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}


/* ============================================================
   SPINNER
============================================================ */

.spinner {
    width: 17px;
    height: 17px;

    border:
        2px solid
        rgba(255,255,255,.32);

    border-top-color:
        #ffffff;

    border-radius:
        50%;

    animation:
        spinnerRotate .72s linear infinite;

    flex:
        0 0 auto;
}

.spinner.dark {
    border-color:
        rgba(17,17,17,.18);

    border-top-color:
        #111111;
}

@keyframes spinnerRotate {

    to {
        transform:
            rotate(360deg);
    }
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    width:
        min(
            1220px,
            calc(100% - 38px)
        );

    min-height:
        76px;

    margin:
        auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    border-bottom:
        1px solid var(--line);
}

.brand {
    text-decoration:
        none;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    font-weight:
        800;

    letter-spacing:
        -.025em;
}

.brand-mark {
    width:
        34px;

    height:
        34px;

    border-radius:
        10px;

    background:
        #111;

    color:
        #fff;

    display:
        grid;

    place-items:
        center;

    font-size:
        15px;
}

.desktop-nav {
    display:
        flex;

    align-items:
        center;

    gap:
        27px;

    color:
        #666;

    font-size:
        13px;
}

.desktop-nav a {
    text-decoration:
        none;

    transition:
        color .16s ease;
}

.desktop-nav a:hover {
    color:
        #111;
}

.header-actions {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;
}

.nav-login {
    text-decoration:
        none;

    color:
        #555;

    font-size:
        13px;

    font-weight:
        650;

    transition:
        color .16s ease;
}

.nav-login:hover {
    color:
        #111;
}


/* ============================================================
   BUTTONS
============================================================ */

.button {
    position:
        relative;

    min-height:
        51px;

    padding:
        0 21px;

    border-radius:
        13px;

    border:
        1px solid transparent;

    display:
        inline-flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        8px;

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        750;

    overflow:
        hidden;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        color .18s ease;
}

.button:hover {
    transform:
        translateY(-1px);
}

.button:active {
    transform:
        translateY(0) scale(.985);
}

.button.small {
    min-height:
        42px;

    padding:
        0 16px;

    font-size:
        12px;
}

.button.primary {
    background:
        #111;

    color:
        #fff;
}

.button.primary:hover {
    background:
        #242424;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.12);
}

.button.secondary {
    background:
        #fff;

    border-color:
        #d8d8d3;

    color:
        #111;
}

.button.secondary:hover {
    background:
        #f5f5f1;
}

.button.danger {
    background:
        #fff;

    border-color:
        #dfb6b6;

    color:
        var(--danger);
}

.button.danger:hover {
    background:
        #fff6f6;
}

.button.full {
    width:
        100%;
}

.button:disabled {
    opacity:
        .6;

    cursor:
        not-allowed;

    transform:
        none !important;

    box-shadow:
        none !important;
}

.button.is-loading {
    pointer-events:
        none;
}

.button.is-loading .button-label {
    opacity:
        .72;
}


/* ============================================================
   EYEBROW
============================================================ */

.eyebrow {
    display:
        inline-block;

    color:
        #777;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .16em;
}


/* ============================================================
   HERO
============================================================ */

.home-page {
    width:
        min(
            1220px,
            calc(100% - 38px)
        );

    margin:
        auto;

    animation:
        pageEnter .5s cubic-bezier(.2,.75,.25,1) both;
}

.hero {
    min-height:
        630px;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, .95fr);

    align-items:
        center;

    gap:
        75px;
}

.hero-copy h1 {
    max-width:
        770px;

    margin:
        18px 0;

    font-size:
        clamp(48px, 6.4vw, 84px);

    line-height:
        .93;

    letter-spacing:
        -.065em;

    animation:
        itemEnter .55s .05s both;
}

.hero-copy h1 span {
    color:
        #757570;
}

.hero-copy p {
    max-width:
        580px;

    color:
        var(--muted);

    font-size:
        17px;

    line-height:
        1.7;

    animation:
        itemEnter .5s .12s both;
}

.hero-actions {
    margin-top:
        30px;

    display:
        flex;

    gap:
        10px;

    flex-wrap:
        wrap;

    animation:
        itemEnter .5s .18s both;
}

.trust-row {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        9px;

    margin-top:
        23px;

    animation:
        itemEnter .5s .24s both;
}

.trust-row span {
    padding:
        8px 10px;

    border-radius:
        100px;

    background:
        #f2f2ef;

    color:
        #666;

    font-size:
        10px;

    font-weight:
        700;
}


/* ============================================================
   HERO CARD
============================================================ */

.hero-visual {
    display:
        flex;

    justify-content:
        center;

    animation:
        itemEnter .65s .12s both;
}

.payment-preview {
    width:
        min(
            430px,
            100%
        );

    border-radius:
        25px;

    padding:
        27px;

    color:
        #fff;

    background:
        radial-gradient(
            circle at 90% 5%,
            #454545,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #202020,
            #080808
        );

    box-shadow:
        0 35px 100px
        rgba(
            0,
            0,
            0,
            .18
        );

    animation:
        floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }
}

.preview-top {
    display:
        flex;

    justify-content:
        space-between;

    font-size:
        11px;

    letter-spacing:
        .08em;

    opacity:
        .75;
}

.preview-business {
    margin:
        65px 0 28px;

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}

.preview-business small {
    color:
        #9a9a96;

    font-size:
        9px;

    letter-spacing:
        .13em;

    font-weight:
        800;
}

.preview-business strong {
    font-size:
        25px;

    letter-spacing:
        -.03em;
}

.preview-business b {
    font-size:
        38px;

    letter-spacing:
        -.055em;
}

.preview-method {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        15px 0;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );
}

.preview-method > div {
    display:
        flex;

    align-items:
        center;

    gap:
        11px;
}

.preview-method i {
    width:
        34px;

    height:
        34px;

    border-radius:
        10px;

    background:
        #fff;

    color:
        #111;

    display:
        grid;

    place-items:
        center;

    font-style:
        normal;

    font-size:
        11px;

    font-weight:
        800;
}

.preview-secure {
    margin-top:
        24px;

    color:
        #a6a6a2;

    display:
        flex;

    gap:
        8px;

    font-size:
        11px;
}


/* ============================================================
   HOME CONTENT
============================================================ */

.content-section {
    padding:
        105px 0;

    border-top:
        1px solid var(--line);
}

.section-intro {
    max-width:
        660px;

    margin-bottom:
        45px;
}

.section-intro h2,
.split-section h2,
.business-banner h2 {
    margin:
        14px 0 0;

    font-size:
        clamp(32px,4vw,53px);

    line-height:
        1;

    letter-spacing:
        -.055em;
}


/* ============================================================
   FEATURES
============================================================ */

.feature-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        12px;
}

.feature-card {
    min-height:
        260px;

    padding:
        23px;

    border:
        1px solid var(--line);

    border-radius:
        17px;

    background:
        #fff;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.feature-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 17px 45px
        rgba(0,0,0,.06);

    border-color:
        #d6d6d1;
}

.feature-card > span {
    color:
        #999;

    font-size:
        11px;

    font-weight:
        800;
}

.feature-card h3 {
    margin:
        60px 0 8px;

    font-size:
        21px;

    letter-spacing:
        -.025em;
}

.feature-card p {
    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.65;
}


/* ============================================================
   FLOW
============================================================ */

.split-section {
    display:
        grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap:
        85px;
}

.numbered-flow {
    display:
        grid;

    gap:
        0;
}

.numbered-flow article {
    display:
        grid;

    grid-template-columns:
        44px 1fr;

    gap:
        14px;

    padding:
        0 0 25px;

    margin-bottom:
        25px;

    border-bottom:
        1px solid var(--line);

    transition:
        transform .18s ease;
}

.numbered-flow article:hover {
    transform:
        translateX(4px);
}


/* ============================================================
   BUSINESS BANNER
============================================================ */

.business-banner {
    margin:
        25px 0 70px;

    padding:
        37px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        45px;

    border-radius:
        22px;

    background:
        #111;

    color:
        #fff;
}

.business-banner h2 {
    max-width:
        630px;

    color:
        #fff;
}

.business-banner p {
    max-width:
        620px;

    margin-top:
        14px;

    color:
        #b5b5b1;

    line-height:
        1.6;
}

.business-banner-actions {
    display:
        flex;

    gap:
        9px;

    flex-wrap:
        wrap;
}


/* ============================================================
   FAQ
============================================================ */

.faq-list {
    display:
        grid;

    border-top:
        1px solid var(--line);
}

.faq-list details {
    border-bottom:
        1px solid var(--line);
}

.faq-list summary {
    padding:
        21px 2px;

    cursor:
        pointer;

    list-style:
        none;

    font-weight:
        700;

    font-size:
        15px;

    transition:
        color .16s ease;
}

.faq-list summary:hover {
    color:
        #555;
}

.faq-list summary::-webkit-details-marker {
    display:
        none;
}

.faq-list p {
    max-width:
        700px;

    margin:
        0 0 22px;

    color:
        var(--muted);

    line-height:
        1.65;

    font-size:
        14px;

    animation:
        stateEnter .24s both;
}


/* ============================================================
   FOOTER LINKS
============================================================ */

.link-section {
    padding:
        50px 0 85px;

    display:
        flex;

    justify-content:
        space-between;

    gap:
        50px;

    border-top:
        1px solid var(--line);
}

.link-section strong {
    display:
        block;

    margin-bottom:
        8px;
}

.link-section p {
    max-width:
        330px;

    color:
        var(--muted);

    font-size:
        13px;

    line-height:
        1.6;
}

.link-columns {
    display:
        flex;

    gap:
        75px;
}

.link-columns > div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;
}

.link-columns a {
    color:
        var(--muted);

    text-decoration:
        none;

    font-size:
        13px;

    transition:
        color .16s ease,
        transform .16s ease;
}

.link-columns a:hover {
    color:
        #111;

    transform:
        translateX(2px);
}


/* ============================================================
   PAYMENT PAGE
============================================================ */

.payment-view {
    width:
        min(
            1180px,
            calc(100% - 35px)
        );

    margin:
        0 auto;

    padding:
        55px 0 90px;

    animation:
        pageEnter .42s both;
}

.payment-head {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        35px;

    margin-bottom:
        38px;
}

.payment-head h1 {
    margin:
        12px 0 6px;

    font-size:
        clamp(36px,4.5vw,61px);

    line-height:
        .97;

    letter-spacing:
        -.055em;
}

.payment-head p {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        15px;
}

.page-expiry {
    min-width:
        150px;

    padding:
        15px;

    background:
        #fff;

    border:
        1px solid var(--line);

    border-radius:
        14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.page-expiry.warning {
    border-color:
        #e2b664;

    background:
        var(--warning-bg);

    animation:
        timerWarning 1.7s ease-in-out infinite;
}

@keyframes timerWarning {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-1px);
    }
}

.page-expiry span {
    display:
        block;

    color:
        #888;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.page-expiry strong {
    display:
        block;

    margin-top:
        6px;

    font-size:
        24px;

    font-variant-numeric:
        tabular-nums;
}


/* ============================================================
   CHECKOUT
============================================================ */

.checkout-layout {
    display:
        grid;

    grid-template-columns:
        300px minmax(0,1fr);

    gap:
        23px;

    align-items:
        start;
}

.checkout-summary {
    position:
        sticky;

    top:
        18px;

    padding:
        28px;

    border-radius:
        20px;

    background:
        #111;

    color:
        #fff;
}

.checkout-summary > span {
    color:
        #888;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}

.checkout-summary > strong {
    display:
        block;

    margin:
        13px 0 5px;

    font-size:
        39px;

    letter-spacing:
        -.055em;
}

.checkout-summary p {
    margin:
        0;

    opacity:
        .7;
}

.checkout-reference {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    margin-top:
        35px;

    padding-top:
        17px;

    border-top:
        1px solid
        rgba(255,255,255,.14);
}


/* ============================================================
   CHECKOUT PANEL
============================================================ */

.checkout-panel {
    padding:
        35px;

    background:
        #fff;

    border:
        1px solid var(--line);

    border-radius:
        20px;

    box-shadow:
        0 8px 32px
        rgba(
            0,
            0,
            0,
            .02
        );
}

.checkout-heading {
    display:
        flex;

    gap:
        15px;

    margin-bottom:
        27px;
}

.checkout-heading > span {
    color:
        #999;

    font-size:
        12px;

    font-weight:
        800;
}

.checkout-heading h2 {
    margin:
        0 0 6px;

    font-size:
        24px;

    letter-spacing:
        -.03em;
}

.checkout-heading p {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        13px;
}


/* ============================================================
   PAYMENT METHODS
============================================================ */

.checkout-methods {
    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                200px,
                1fr
            )
        );

    gap:
        12px;
}

.checkout-method {
    padding:
        19px;

    background:
        #fff;

    border:
        1px solid var(--line);

    border-radius:
        15px;

    text-align:
        left;

    transition:
        transform .19s ease,
        border-color .19s ease,
        box-shadow .19s ease,
        background .19s ease;
}

.checkout-method:hover {
    transform:
        translateY(-2px);

    border-color:
        #111;

    box-shadow:
        0 12px 28px
        rgba(0,0,0,.06);
}

.checkout-method:active {
    transform:
        scale(.985);
}

.method-top {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;
}

.method-icon {
    width:
        38px;

    height:
        38px;

    border-radius:
        11px;

    display:
        grid;

    place-items:
        center;

    background:
        #111;

    color:
        #fff;

    font-size:
        11px;

    font-weight:
        800;
}

.checkout-method h3 {
    margin:
        15px 0 5px;

    font-size:
        16px;
}

.checkout-method p {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        12px;
}


/* ============================================================
   PAYMENT ATTEMPT
============================================================ */

.attempt-box {
    padding:
        15px 17px;

    margin-bottom:
        17px;

    background:
        #f6f6f2;

    border:
        1px solid #e7e7e0;

    border-radius:
        14px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        18px;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.attempt-box.warning {
    background:
        var(--warning-bg);

    border-color:
        #e4be71;

    animation:
        timerWarning 1.7s ease-in-out infinite;
}

.attempt-box > div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;
}

.attempt-box span {
    color:
        #777;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .1em;
}

.attempt-box strong {
    font-size:
        22px;

    font-variant-numeric:
        tabular-nums;
}


/* ============================================================
   DETAILS
============================================================ */

.details-card {
    margin-bottom:
        17px;

    padding:
        21px;

    border:
        1px solid #e8e8e3;

    border-radius:
        15px;

    background:
        var(--soft);
}

.detail-row {
    display:
        flex;

    justify-content:
        space-between;

    gap:
        18px;

    padding:
        12px 0;

    border-bottom:
        1px solid #e3e3dd;
}

.detail-row:last-child {
    border-bottom:
        0;
}

.detail-row span {
    color:
        #777;

    font-size:
        12px;
}

.detail-row strong {
    max-width:
        65%;

    text-align:
        right;

    word-break:
        break-word;

    font-size:
        13px;
}

.instructions {
    margin-top:
        15px;

    padding-top:
        14px;

    border-top:
        1px dashed #d3d3cd;

    color:
        #4e4e4b;

    white-space:
        pre-wrap;

    font-size:
        13px;

    line-height:
        1.65;
}


/* ============================================================
   RECEIPT
============================================================ */

.receipt-box {
    min-height:
        120px;

    margin-bottom:
        10px;

    padding:
        18px;

    border:
        2px dashed #cfcfca;

    border-radius:
        15px;

    background:
        #fafaf7;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-direction:
        column;

    cursor:
        pointer;

    text-align:
        center;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.receipt-box:hover {
    border-color:
        #111;

    background:
        #f5f5f1;
}

.receipt-box:active {
    transform:
        scale(.995);
}

.receipt-box > span {
    width:
        33px;

    height:
        33px;

    border-radius:
        50%;

    background:
        #111;

    color:
        #fff;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        8px;
}


/* ============================================================
   VERIFICATION STATE
============================================================ */

.verification-state {
    text-align:
        center;

    padding:
        20px 0 30px;

    animation:
        stateEnter .35s both;
}

.verification-icon {
    width:
        60px;

    height:
        60px;

    margin:
        0 auto 18px;

    border-radius:
        50%;

    background:
        var(--success-bg);

    color:
        var(--success);

    display:
        grid;

    place-items:
        center;

    font-size:
        25px;

    font-weight:
        800;
}


/*
 * Animated checkmark.
 */

.verification-icon.animate-check {
    position:
        relative;

    font-size:
        0;
}

.verification-icon.animate-check::after {
    content:
        "";

    width:
        10px;

    height:
        20px;

    border-right:
        3px solid var(--success);

    border-bottom:
        3px solid var(--success);

    transform:
        rotate(45deg)
        scale(0);

    animation:
        drawCheck .42s .08s
        cubic-bezier(.2,.8,.2,1)
        forwards;
}

@keyframes drawCheck {

    0% {
        opacity:
            0;

        transform:
            rotate(45deg)
            scale(0);
    }

    55% {
        opacity:
            1;

        transform:
            rotate(45deg)
            scale(1.15);
    }

    100% {
        opacity:
            1;

        transform:
            rotate(45deg)
            scale(1);
    }
}

.verification-state h2 {
    margin:
        12px 0;

    font-size:
        29px;

    letter-spacing:
        -.04em;
}

.verification-state p {
    max-width:
        490px;

    margin:
        auto;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.65;
}

.waiting-box {
    padding:
        18px;

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    border:
        1px solid var(--line);

    background:
        #fafaf8;

    border-radius:
        14px;

    animation:
        itemEnter .32s both;
}

.approved-message {
    margin-top:
        15px;

    padding:
        18px;

    border-radius:
        14px;

    background:
        var(--success-bg);

    color:
        var(--success);

    animation:
        stateEnter .35s both;
}

.approved-message p {
    margin:
        6px 0 0;

    color:
        #467256;

    font-size:
        13px;

    line-height:
        1.6;
}


/* ============================================================
   TOAST / ALERT
============================================================ */

.notification {
    position:
        fixed;

    top:
        18px;

    left:
        50%;

    z-index:
        5000;

    transform:
        translateX(-50%);

    max-width:
        min(
            520px,
            calc(100% - 30px)
        );

    padding:
        13px 17px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );

    border-radius:
        12px;

    background:
        #111;

    color:
        #fff;

    font-size:
        13px;

    font-weight:
        650;

    box-shadow:
        0 18px 50px
        rgba(
            0,
            0,
            0,
            .22
        );

    opacity:
        0;

    pointer-events:
        none;

    animation:
        toastIn .38s cubic-bezier(.2,.8,.2,1)
        forwards;
}

.notification.hide {
    animation:
        toastOut .28s ease forwards;
}

.notification.error {
    background:
        var(--danger);
}

.notification.success {
    background:
        var(--success);
}

.notification.warning {
    background:
        #865900;
}

@keyframes toastIn {

    from {
        opacity:
            0;

        transform:
            translate(-50%,-14px)
            scale(.97);
    }

    to {
        opacity:
            1;

        transform:
            translate(-50%,0)
            scale(1);
    }
}

@keyframes toastOut {

    from {
        opacity:
            1;

        transform:
            translate(-50%,0)
            scale(1);
    }

    to {
        opacity:
            0;

        transform:
            translate(-50%,-8px)
            scale(.98);
    }
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    width:
        min(
            1220px,
            calc(100% - 38px)
        );

    margin:
        auto;

    padding:
        28px 0 42px;

    border-top:
        1px solid var(--line);

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    color:
        #888;

    font-size:
        12px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (
    max-width: 950px
) {

    .desktop-nav {
        display:
            none;
    }

    .hero {
        grid-template-columns:
            1fr;

        gap:
            35px;

        padding:
            55px 0 80px;
    }

    .hero-visual {
        justify-content:
            flex-start;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .split-section {
        grid-template-columns:
            1fr;

        gap:
            45px;
    }

    .business-banner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .checkout-layout {
        grid-template-columns:
            1fr;
    }

    .checkout-summary {
        position:
            static;
    }
}

@media (
    max-width: 620px
) {

    .site-header,
    .home-page,
    .site-footer {
        width:
            calc(
                100% - 26px
            );
    }

    .header-actions{
        display:flex!important;
        align-items:center;
        gap:8px;
        flex:0 0 auto;
        white-space:nowrap;
    }

    .header-actions .nav-login {
        display:
            inline-flex !important;
        align-items:center;
        min-height:40px;
        flex:0 0 auto;
        color:#111 !important;
        font-size:12px;
        font-weight:850;
    }

    .hero-copy h1 {
        font-size:
            48px;
    }

    .hero-actions {
        flex-direction:
            column;
    }

    .hero-actions .button {
        width:
            100%;
    }

    .feature-grid {
        grid-template-columns:
            1fr;
    }

    .link-section {
        flex-direction:
            column;
    }

    .link-columns {
        gap:
            45px;
    }

    .payment-view {
        width:
            calc(
                100% - 26px
            );
    }

    .payment-head {
        flex-direction:
            column;
    }

    .page-expiry {
        width:
            100%;
    }

    .checkout-panel {
        padding:
            20px;
    }

    .attempt-box {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .detail-row {
        flex-direction:
            column;

        gap:
            5px;
    }

    .detail-row strong {
        max-width:
            100%;

        text-align:
            left;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {
        animation-duration:
            .001ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            .001ms !important;
    }
}
.processing-receipt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.processing-receipt-actions .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:42px;padding:0 14px;border-radius:12px}.processing-receipt-actions .button.secondary{border:1px solid #d8d8d2;background:#fff;color:#111}@media(max-width:600px){.processing-receipt-actions{flex-direction:column}.processing-receipt-actions .button{width:100%}}


.detail-row{position:relative;padding-right:68px}.detail-copy{position:absolute;right:0;top:50%;transform:translateY(-50%);border:1px solid #ddd;border-radius:8px;background:#fff;color:#555;padding:6px 8px;font-size:9px;font-weight:800;cursor:pointer}.detail-copy:hover{background:#f3f3f0;color:#111}.instructions p{margin:8px 0 0;color:#666;line-height:1.6}.payment-confirm-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px}.payment-confirm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.46);backdrop-filter:blur(10px)}.payment-confirm-card{position:relative;width:min(430px,100%);padding:26px;border:1px solid #e1e1dc;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.22);animation:paymentConfirmIn .22s cubic-bezier(.16,1,.3,1)}.payment-confirm-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#f1f1ed;margin-bottom:15px;font-weight:900}.payment-confirm-card h2{margin:7px 0 8px;font-size:23px;letter-spacing:-.03em}.payment-confirm-card p{margin:0;color:#777;font-size:12px;line-height:1.6}.payment-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.payment-confirm-actions .button{margin-top:0}.payment-confirm-card button:focus-visible,.detail-copy:focus-visible{outline:2px solid #111;outline-offset:2px}@keyframes paymentConfirmIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:520px){.payment-confirm-modal{align-items:end}.payment-confirm-card{border-radius:22px;padding:22px}.payment-confirm-actions{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.payment-confirm-card{animation:none!important}}


/* ============================================================
   CUSTOMER PAYMENT PAGE — MOBILE / MOTION POLISH
============================================================ */
html,body{overflow-x:hidden}
.payment-view{
  max-width:1180px;
  animation:customerPaymentIn .48s cubic-bezier(.2,.8,.2,1) both;
}
.checkout-summary,
.checkout-panel{
  transition:box-shadow .28s ease,border-color .28s ease,transform .28s cubic-bezier(.2,.8,.2,1);
}
.checkout-summary{
  box-shadow:0 22px 55px rgba(0,0,0,.10);
}
.checkout-panel{
  box-shadow:0 16px 45px rgba(0,0,0,.045);
}
.checkout-methods{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.checkout-method{
  min-width:0;
  min-height:132px;
  border-radius:18px;
  padding:18px;
  background:linear-gradient(180deg,#fff,#fbfbf8);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .22s ease,border-radius .34s ease,background .3s ease;
  animation:customerMethodIn .38s cubic-bezier(.2,.8,.2,1) both;
}
.checkout-method:nth-child(2){animation-delay:.04s}
.checkout-method:nth-child(3){animation-delay:.08s}
.checkout-method:nth-child(4){animation-delay:.12s}
.checkout-method:hover{
  transform:translateY(-4px);
  border-color:#111;
  border-radius:23px 15px 23px 15px;
  box-shadow:0 20px 42px rgba(0,0,0,.09);
  background:#fff;
}
.checkout-method:active{
  transform:translateY(-1px) scale(.985);
}
.method-top{
  min-height:40px;
}
.method-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:transform .28s cubic-bezier(.2,.8,.2,1),border-radius .28s ease;
}
.checkout-method:hover .method-icon{
  transform:rotate(-2deg) scale(1.04);
  border-radius:16px 11px 16px 11px;
}
.checkout-method h3{
  margin-top:17px;
  margin-bottom:5px;
  font-size:16px;
  letter-spacing:-.025em;
}
.checkout-method p{
  font-size:11px;
  line-height:1.45;
}
.attempt-box{
  border-radius:17px;
  box-shadow:0 8px 22px rgba(0,0,0,.025);
}
.details-card{
  border-radius:17px;
  box-shadow:0 8px 22px rgba(0,0,0,.025);
}
.detail-row{
  min-height:48px;
}
.receipt-box{
  min-height:140px;
  border-radius:18px;
  transition:border-color .25s ease,background .25s ease,transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease;
}
.receipt-box:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(0,0,0,.06);
}
.payment-confirm-card{
  animation:customerModalIn .34s cubic-bezier(.16,1,.3,1);
}
.customer-session-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(245,245,242,.74);
  backdrop-filter:blur(18px) saturate(.8);
  opacity:0;
  pointer-events:auto;
  transition:opacity .28s ease;
}
.customer-session-loader.is-visible{opacity:1}
.customer-session-loader.is-leaving{opacity:0}
.customer-session-loader-card{
  width:min(390px,100%);
  padding:30px 26px;
  display:grid;
  justify-items:center;
  text-align:center;
  border:1px solid #e0e0db;
  border-radius:28px;
  background:rgba(255,255,255,.94);
  box-shadow:0 35px 100px rgba(0,0,0,.16);
  animation:customerLoaderMorph .6s cubic-bezier(.2,.8,.2,1) both;
}
.customer-loader-mark{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:17px;
  background:#111;
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
}
.customer-loader-eyebrow{
  color:#888;
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
}
.customer-session-loader-card strong{
  margin-top:8px;
  font-size:21px;
  letter-spacing:-.03em;
}
.customer-session-loader-card p{
  margin:7px 0 17px;
  max-width:280px;
  color:#777;
  font-size:12px;
  line-height:1.6;
}
.customer-loader-spinner{
  width:27px;
  height:27px;
  border:3px solid #deded9;
  border-top-color:#111;
  border-radius:50%;
  animation:customerSpin .75s linear infinite;
}
@keyframes customerSpin{to{transform:rotate(360deg)}}
@keyframes customerPaymentIn{from{opacity:0;transform:translateY(12px) scale(.995)}to{opacity:1;transform:none}}
@keyframes customerMethodIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@keyframes customerLoaderMorph{0%{opacity:0;transform:translateY(10px) scale(.96);border-radius:34px}55%{opacity:1;border-radius:30px}100%{transform:none;border-radius:28px}}
@keyframes customerModalIn{from{opacity:0;transform:translateY(10px) scale(.975)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .payment-view{
    width:min(100% - 28px,760px);
    padding:36px 0 80px;
  }
  .payment-head{
    margin-bottom:24px;
  }
  .checkout-layout{
    grid-template-columns:1fr;
  }
  .checkout-summary{
    position:relative;
    top:auto;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:end;
    gap:4px 15px;
    padding:22px;
  }
  .checkout-summary>span{
    grid-column:1;
  }
  .checkout-summary>strong{
    grid-column:1;
    grid-row:2;
    margin:5px 0 0;
  }
  .checkout-summary>p{
    grid-column:2;
    grid-row:1 / span 2;
    align-self:center;
    text-align:right;
  }
  .checkout-reference{
    grid-column:1/-1;
    margin-top:13px;
    padding-top:13px;
  }
}
@media(max-width:650px){
  .payment-view{
    width:calc(100% - 20px);
    padding:24px 0 calc(95px + env(safe-area-inset-bottom));
  }
  .payment-head{
    display:grid;
    gap:14px;
  }
  .payment-head h1{
    font-size:clamp(34px,11vw,48px);
    line-height:1.0;
  }
  .payment-head p{
    font-size:13px;
    line-height:1.55;
  }
  .page-expiry{
    width:100%;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:13px 15px;
    border-radius:15px;
  }
  .checkout-summary{
    grid-template-columns:1fr auto;
    padding:18px;
    border-radius:18px;
  }
  .checkout-summary>strong{
    font-size:31px;
  }
  .checkout-panel{
    padding:21px 17px;
    border-radius:18px;
  }
  .checkout-heading{
    margin-bottom:21px;
    gap:11px;
  }
  .checkout-heading h2{
    font-size:21px;
  }
  .checkout-heading p{
    font-size:12px;
    line-height:1.55;
  }
  .checkout-methods{
    grid-template-columns:1fr;
    gap:9px;
  }
  .checkout-method{
    min-height:116px;
    padding:16px;
    border-radius:17px;
  }
  .checkout-method:hover{
    border-radius:21px 15px 21px 15px;
  }
  .detail-row{
    padding:12px 0;
  }
  .detail-row strong{
    max-width:60%;
  }
  .receipt-box{
    min-height:132px;
  }
  .payment-actions{
    position:sticky;
    bottom:calc(8px + env(safe-area-inset-bottom));
    z-index:25;
    display:grid;
    gap:8px;
    margin-inline:-2px;
    padding:9px;
    border:1px solid #e0e0da;
    border-radius:17px;
    background:rgba(255,255,255,.88);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
    backdrop-filter:blur(16px);
  }
  .payment-actions .button{
    min-height:52px;
  }
}
@media(max-width:390px){
  .payment-view{
    width:calc(100% - 16px);
  }
  .checkout-panel{
    padding-inline:14px;
  }
  .checkout-summary{
    padding:16px;
  }
  .checkout-summary>strong{
    font-size:28px;
  }
  .detail-row{
    padding-right:56px;
  }
  .detail-copy{
    padding:7px 8px;
  }
}
@media(prefers-reduced-motion:reduce){
  .payment-view,.checkout-method,.customer-session-loader-card,.payment-confirm-card{
    animation:none!important;
  }
  .checkout-method,.receipt-box,.checkout-summary,.checkout-panel{
    transition:none!important;
  }
}


/* ============================================================
   MOBILE PAYMENT DETAILS — BOTTOM SHEET
============================================================ */
.mobile-bottom-sheet-scrim{
  position:fixed;
  inset:0;
  z-index:9000;
  background:transparent;
  opacity:0;
  pointer-events:none;
  transition:opacity .24s ease;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.mobile-bottom-sheet-scrim.is-visible{
  opacity:1;
  pointer-events:auto;
}
.mobile-sheet-locked{
  overflow:hidden!important;
  touch-action:none;
}
.mobile-sheet-handle{
  display:none;
}
@media(max-width:760px){
  #detailsContainer.mobile-bottom-sheet-open{
    position:fixed!important;
    left:0;
    right:0;
    bottom:0;
    z-index:9001;
    width:100%!important;
    max-height:min(92dvh,820px);
    overflow:auto;
    overscroll-behavior:contain;
    margin:0!important;
    padding:10px 18px calc(18px + env(safe-area-inset-bottom))!important;
    border:1px solid rgba(17,17,17,.08);
    border-bottom:0;
    border-radius:28px 28px 0 0!important;
    background:rgba(255,255,255,.985);
    box-shadow:0 -24px 80px rgba(0,0,0,.16);
    transform:translateY(var(--sheet-drag-y,0));
    animation:paymentSheetIn .42s cubic-bezier(.22,.8,.24,1) both;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-sheet-handle{
    display:block;
    width:42px;
    height:5px;
    margin:2px auto 14px;
    border-radius:99px;
    background:#d5d5d0;
    touch-action:none;
  }
  #detailsContainer.mobile-bottom-sheet-open .text-button{
    min-height:38px;
    border-radius:10px;
    padding:7px 9px;
  }
  #detailsContainer.mobile-bottom-sheet-open .checkout-heading{
    margin-bottom:18px;
  }
  #detailsContainer.mobile-bottom-sheet-open .attempt-box{
    margin-bottom:14px;
  }
  #detailsContainer.mobile-bottom-sheet-open .payment-actions{
    position:sticky;
    bottom:0;
    z-index:3;
    padding-top:10px;
    background:linear-gradient(to bottom,rgba(255,255,255,.72),#fff 30%);
  }
}
@keyframes paymentSheetIn{
  from{opacity:0;transform:translateY(100%)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .mobile-bottom-sheet-scrim{transition:none!important}
  #detailsContainer.mobile-bottom-sheet-open{animation:none!important}
}


/* ============================================================
   CUSTOMER PAYMENT PAGE — CLEAN HEADER + METHOD BRANDING
============================================================ */
html.customer-payment-page .site-header{
  justify-content:flex-start;
  gap:0;
}
html.customer-payment-page .site-header .desktop-nav,
html.customer-payment-page .site-header .header-actions{
  display:none!important;
}
html.customer-payment-page .site-header .brand{
  pointer-events:none;
  text-decoration:none;
}
.payment-support-banner{
  width:min(100%,1100px);
  margin:0 auto 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:16px 18px;
  border:1px solid rgba(17,17,17,.10);
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#f4f4ef);
  box-shadow:0 12px 34px rgba(17,17,17,.055);
  animation:paymentSupportIn .42s cubic-bezier(.2,.8,.2,1) both;
}
.payment-support-copy{min-width:0}
.payment-support-kicker{
  display:block;
  margin-bottom:4px;
  color:#777a73;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.payment-support-copy strong{
  display:block;
  font-size:15px;
  letter-spacing:-.02em;
}
.payment-support-copy p{
  margin:4px 0 0;
  color:#70736c;
  font-size:12px;
  line-height:1.5;
}
.payment-support-action{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:0 15px;
  border-radius:12px;
  background:#111;
  color:#fff;
  font-size:12px;
  font-weight:850;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.payment-support-action:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 22px rgba(0,0,0,.14);
}
.method-brand-wrap{
  display:grid;
  place-items:center;
}
.method-brand-image,
.method-brand-fallback{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#f0f1ed;
  border:1px solid rgba(17,17,17,.07);
}
.method-brand-image{
  object-fit:cover;
}
.method-brand-fallback{
  color:#111;
  font-size:16px;
  font-weight:950;
  letter-spacing:-.04em;
}
.method-brand-fallback[data-type="wave"]{
  background:#1daeea;
  color:#fff;
}
.method-brand-fallback[data-type="aps"]{
  background:#111;
  color:#fff;
}
.method-brand-fallback[data-type="nada"]{
  background:#ecece7;
  color:#111;
}
.method-brand-fallback[data-type="bank"]{
  background:linear-gradient(145deg,#fff,#eeefe9);
  color:#111;
}
.method-brand-dalasi{
  width:31px;
  height:31px;
  border:2px solid currentColor;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:17px;
  line-height:1;
  font-weight:900;
}
.checkout-method .method-top{
  align-items:center;
}
.checkout-method .method-top > span:last-child{
  margin-left:auto;
}
@keyframes paymentSupportIn{
  from{opacity:0;transform:translateY(-7px) scale(.99)}
  to{opacity:1;transform:none}
}
@media(max-width:760px){
  html.customer-payment-page .site-header{
    padding:12px 14px;
  }
  .payment-support-banner{
    margin:0 0 16px;
    padding:14px;
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
    border-radius:17px;
  }
  .payment-support-copy strong{font-size:14px}
  .payment-support-copy p{
    max-width:310px;
    font-size:11px;
  }
  .payment-support-action{
    width:100%;
    justify-content:center;
    min-height:45px;
  }
  .method-brand-image,
  .method-brand-fallback{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:15px;
  }
}
@media(prefers-reduced-motion:reduce){
  .payment-support-banner{animation:none!important}
}


/* Payment method brand sizing: never crop provider logos */
.method-brand-wrap{width:76px!important;height:76px!important;display:grid!important;place-items:center!important;border-radius:20px!important;background:#fff!important;border:1px solid #e5e5df!important;overflow:hidden!important}
.method-brand-image{display:block!important;width:68px!important;height:56px!important;max-width:68px!important;max-height:56px!important;object-fit:contain!important;object-position:center!important;padding:5px!important}
.method-brand-fallback{width:56px!important;height:56px!important;display:grid!important;place-items:center!important;font-size:22px!important;font-weight:900!important}
.method-brand-dalasi{width:56px!important;height:56px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#111!important;color:#fff!important;font-size:24px!important;font-weight:900!important}


/* Customer payment controls */
#backToMethods{display:inline-flex!important;align-items:center;gap:7px;margin:0 0 18px;padding:8px 12px;border:1px solid #deded9;border-radius:10px;background:#fafaf7;color:#555;font-size:11px;font-weight:800;cursor:pointer;text-decoration:none;transition:.16s ease}
#backToMethods:hover{background:#f0f0ec;color:#111;border-color:#cfcfc9;transform:translateX(-1px)}
#backToMethods:active{transform:scale(.98)}


/* Customer payment support + receipt state */
.payment-contact-action{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:14px 0;padding:13px 15px;border:1px solid #e3e3de;border-radius:14px;background:#fafaf7;color:#111;cursor:pointer;text-align:left}.payment-contact-action span{color:#777;font-size:11px}.payment-contact-action strong{font-size:12px}
.payment-contact-modal{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:18px}.payment-contact-backdrop{position:absolute;inset:0;background:rgba(10,10,10,.46);backdrop-filter:blur(8px)}.payment-contact-card{position:relative;z-index:1;width:min(440px,100%);padding:26px;border:1px solid #e1e1dc;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.2)}.payment-contact-card h2{margin:8px 0 10px}.payment-contact-card p{color:#666;line-height:1.6;font-size:12px}.payment-contact-empty{padding:14px;border:1px solid #e5e5df;border-radius:12px;color:#777;font-size:12px}.payment-contact-card .button{display:flex;margin-top:10px;text-decoration:none;align-items:center;justify-content:center}.receipt-stage-heading{margin:16px 0 8px;color:#666;font-size:12px;line-height:1.5}.payment-paid-button{margin-top:16px!important}


/* ============================================================
   CHECKOUT SUCCESS / MORPHING CONFIRMATION
============================================================ */
#verificationContainer.success-morph-donation,#verificationContainer.success-morph-payment{position:relative;isolation:isolate}
#verificationContainer.success-morph-donation::before,#verificationContainer.success-morph-payment::before{content:"";position:absolute;inset:-90px;z-index:-1;pointer-events:none;opacity:.9;filter:blur(28px);background:radial-gradient(circle at 35% 30%,rgba(17,17,17,.08),transparent 38%),radial-gradient(circle at 70% 65%,rgba(23,107,58,.09),transparent 42%);animation:verificationAura 1.15s ease both}
#verificationContainer.success-morph-donation .verification-state,#verificationContainer.success-morph-payment .verification-state{animation:verificationMorphIn .72s cubic-bezier(.16,1,.3,1) both}
#verificationContainer.success-morph-donation .verification-icon,#verificationContainer.success-morph-payment .verification-icon{width:78px;height:78px;box-shadow:0 0 0 1px rgba(23,107,58,.08),0 16px 44px rgba(23,107,58,.12)}
#verificationContainer.success-morph-donation .approved-message,#verificationContainer.success-morph-payment .approved-message{animation:verificationCardMorph .7s .1s cubic-bezier(.16,1,.3,1) both}
#verificationContainer.verification-waiting .verification-state{animation:verificationWaitingIn .45s cubic-bezier(.2,.75,.25,1) both}
@keyframes verificationAura{0%{opacity:0;transform:scale(.6)}45%{opacity:1;transform:scale(1.08)}100%{opacity:.9;transform:scale(1)}}
@keyframes verificationMorphIn{0%{opacity:0;transform:translateY(24px) scale(.84);filter:blur(8px)}45%{opacity:1;transform:translateY(-5px) scale(1.025);filter:blur(0)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes verificationCardMorph{0%{opacity:0;transform:translateY(20px) scale(.88);border-radius:28px;clip-path:inset(18% 8% 18% 8% round 35px)}50%{opacity:1;transform:translateY(-2px) scale(1.015);clip-path:inset(0 round 18px)}100%{opacity:1;transform:none;clip-path:inset(0 round 14px)}}
@keyframes verificationWaitingIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.checkout-success-morph{position:fixed;inset:0;z-index:10070;overflow:hidden;pointer-events:none;opacity:0;background:rgba(255,255,255,.92);transition:opacity .22s ease}
.checkout-success-morph.is-active{opacity:1}.checkout-success-morph.is-settling{opacity:0;transition:opacity .48s ease .08s}
.morph-liquid{position:absolute;width:44vw;height:44vw;min-width:260px;min-height:260px;border-radius:42% 58% 61% 39%/38% 43% 57% 62%;background:#111;transform:translate3d(-50%,-50%,0) scale(.25) rotate(-18deg);opacity:.94}
.morph-liquid-a{left:46%;top:50%;animation:morphLiquidA 1.05s cubic-bezier(.16,1,.3,1) both}
.morph-liquid-b{left:63%;top:36%;width:30vw;height:30vw;opacity:.12;animation:morphLiquidB 1.15s .05s cubic-bezier(.16,1,.3,1) both}
.morph-liquid-c{left:34%;top:68%;width:26vw;height:26vw;opacity:.08;animation:morphLiquidC 1.1s .1s cubic-bezier(.16,1,.3,1) both}
.checkout-success-morph.is-donation .morph-liquid-a{background:#176b3a}
.morph-success-ring{position:absolute;left:50%;top:50%;width:92px;height:92px;border-radius:50%;transform:translate(-50%,-50%) scale(.35);background:#fff;color:#176b3a;display:grid;place-items:center;box-shadow:0 24px 80px rgba(0,0,0,.18);opacity:0;animation:morphSuccessRing .72s .3s cubic-bezier(.16,1,.3,1) both}
.morph-success-ring span{font-size:40px;font-weight:900}
@keyframes morphLiquidA{0%{transform:translate3d(-50%,-50%,0) scale(.18) rotate(-18deg);border-radius:50%;opacity:0}45%{transform:translate3d(-50%,-50%,0) scale(1.18) rotate(8deg);border-radius:50% 40% 62% 38%;opacity:1}100%{transform:translate3d(-50%,-50%,0) scale(2.6) rotate(16deg);border-radius:62% 38% 42% 58%;opacity:.94}}
@keyframes morphLiquidB{0%{transform:translate3d(-50%,-50%,0) scale(.1);opacity:0}50%{transform:translate3d(-50%,-50%,0) scale(1.1);opacity:.18}100%{transform:translate3d(-50%,-50%,0) scale(2);opacity:.12}}
@keyframes morphLiquidC{0%{transform:translate3d(-50%,-50%,0) scale(.1);opacity:0}55%{transform:translate3d(-50%,-50%,0) scale(1.25);opacity:.12}100%{transform:translate3d(-50%,-50%,0) scale(1.9);opacity:.08}}
@keyframes morphSuccessRing{0%{opacity:0;transform:translate(-50%,-50%) scale(.2) rotate(-8deg)}60%{opacity:1;transform:translate(-50%,-50%) scale(1.12) rotate(3deg)}100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}}
@media(max-width:760px){.checkout-success-morph .morph-liquid{width:88vw;height:88vw}.checkout-success-morph .morph-liquid-b{width:60vw;height:60vw}.checkout-success-morph .morph-liquid-c{width:54vw;height:54vw}}
@media(prefers-reduced-motion:reduce){.checkout-success-morph,.morph-liquid,.morph-success-ring,#verificationContainer.success-morph-donation .verification-state,#verificationContainer.success-morph-payment .verification-state,#verificationContainer.success-morph-donation .approved-message,#verificationContainer.success-morph-payment .approved-message{animation:none!important;transition:none!important}.checkout-success-morph.is-active{opacity:0}}


/* CUSTOMER REJECTED PAYMENT / DONATION STATE */
.verification-rejected .verification-icon{background:#fff1f1!important;color:#9f2020!important;border:1px solid #e5c8c8;}
.verification-rejected .verification-state{border-color:#e2c7c7!important;background:#fffafa!important;}
.verification-rejected #approvedMessage{border-color:#e4caca!important;background:#fff8f8!important;}


/* UNIFIED PAYMENT METHOD BOTTOM SHEET — viewport-owned on every device */
.payment-sheet-host{position:static!important;display:contents!important;}
#detailsContainer.payment-sheet-open{
  position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;top:auto!important;
  width:min(760px,100vw)!important;max-height:min(86dvh,780px)!important;
  transform:translateX(-50%) translateY(0)!important;z-index:9001!important;
  margin:0!important;overflow:auto!important;overscroll-behavior:contain!important;
  padding:12px 22px calc(22px + env(safe-area-inset-bottom))!important;
  border:1px solid rgba(17,17,17,.09)!important;border-bottom:0!important;border-radius:28px 28px 0 0!important;
  background:#fff!important;box-shadow:0 -28px 90px rgba(0,0,0,.16)!important;
  -webkit-overflow-scrolling:touch!important;
  animation:unifiedPaymentSheetIn .38s cubic-bezier(.16,1,.3,1) both!important;
}
#detailsContainer.payment-sheet-open::before{content:"";display:block;width:44px;height:5px;margin:0 auto 15px;border-radius:99px;background:#d4d4cf;}
#detailsContainer.payment-sheet-open .payment-actions{position:sticky!important;bottom:0!important;z-index:5;background:linear-gradient(to bottom,rgba(255,255,255,.72),#fff 28%)!important;}
@media(min-width:761px){
 #detailsContainer.payment-sheet-open{max-height:min(78dvh,720px)!important;width:min(680px,calc(100vw - 48px))!important;border-radius:26px 26px 0 0!important;padding:14px 26px 24px!important;}
 #detailsContainer.payment-sheet-open::before{width:52px;height:4px;margin-bottom:17px;}
}
@keyframes unifiedPaymentSheetIn{from{opacity:0;transform:translateX(-50%) translateY(105%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}
@media(prefers-reduced-motion:reduce){#detailsContainer.payment-sheet-open{animation:none!important}}


/* Public/auth headers stay crisp; modal blur must never leak into the page shell. */
body:not(.home-nav-open) .site-header,body:not(.home-nav-open) .home-page,body:not(.home-nav-open) .site-footer{filter:none!important;-webkit-filter:none!important}
.auth-loading-splash{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#111;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.auth-loading-splash[hidden]{display:none!important}.auth-loading-splash-inner{display:grid;justify-items:center;gap:13px;text-align:center}.auth-loading-splash-spinner{width:34px;height:34px;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:authSplashSpin .72s linear infinite}.auth-loading-splash strong{font-size:14px}.auth-loading-splash span{font-size:11px;color:#999}@keyframes authSplashSpin{to{transform:rotate(360deg)}}
/* Mobile homepage account access */
.mobile-auth-link{display:none}
@media(max-width:760px){
  .mobile-auth-link{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin:15px auto 0;
    color:#777;
    font-size:12px;
    line-height:1.4;
  }
  .mobile-auth-link a{
    color:#111;
    font-weight:850;
    text-decoration:none;
  }
  .mobile-auth-link a::after{
    content:" →";
    font-weight:700;
  }
}


/* ============================================================
   SQUASHBERRYPAY — HOSTED CHECKOUT REDESIGN
   Single visual system for desktop + mobile.
============================================================ */
html.customer-payment-page,
html.customer-payment-page body{
  background:#f5f5f2!important;
  color:#111!important;
}
html.customer-payment-page body{
  overflow-x:hidden;
}
html.customer-payment-page .site-header{
  position:sticky!important;
  top:0;
  z-index:120;
  min-height:68px;
  padding:0 max(22px,calc((100vw - 1180px)/2))!important;
  background:rgba(245,245,242,.92)!important;
  border-bottom:1px solid rgba(17,17,17,.07);
  backdrop-filter:blur(18px) saturate(1.05)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.05)!important;
}
html.customer-payment-page .site-header .brand{
  font-size:14px;
  font-weight:850;
}
html.customer-payment-page .site-header .brand-mark{
  width:34px;height:34px;border-radius:10px;
}
html.customer-payment-page .payment-view{
  width:min(1120px,calc(100% - 40px));
  padding:42px 0 86px;
  margin:0 auto;
  animation:none!important;
}
html.customer-payment-page .payment-support-banner{
  display:none!important;
}
html.customer-payment-page .payment-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:30px;
  margin:0 0 28px;
  padding:0 4px;
}
html.customer-payment-page .payment-head h1{
  max-width:720px;
  margin:9px 0 9px;
  font-size:clamp(42px,5.5vw,68px);
  line-height:.94;
  letter-spacing:-.065em;
}
html.customer-payment-page .payment-head p{
  max-width:650px;
  font-size:14px;
  line-height:1.6;
}
html.customer-payment-page .page-expiry{
  min-width:166px;
  padding:14px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dfdfda;
  box-shadow:0 10px 30px rgba(17,17,17,.045);
}
html.customer-payment-page .page-expiry strong{
  font-size:25px;
}
html.customer-payment-page .checkout-layout{
  grid-template-columns:320px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
html.customer-payment-page .checkout-summary{
  position:sticky;
  top:88px;
  min-height:420px;
  padding:25px;
  border-radius:24px;
  background:
    radial-gradient(circle at 100% 0,rgba(255,255,255,.15),transparent 34%),
    linear-gradient(150deg,#181818,#090909);
  box-shadow:0 26px 70px rgba(17,17,17,.16);
  overflow:hidden;
}
html.customer-payment-page .checkout-summary::after{
  content:"";
  position:absolute;
  width:180px;height:180px;
  right:-90px;bottom:-90px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.09);
  pointer-events:none;
}
html.customer-payment-page .checkout-summary > strong{
  margin-top:17px;
  font-size:42px;
}
html.customer-payment-page .checkout-summary > p{
  color:#bdbdb8;
  font-size:13px;
}
html.customer-payment-page .checkout-reference{
  margin-top:42px;
}
html.customer-payment-page .checkout-reference small{
  color:#777;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}
html.customer-payment-page .checkout-reference strong{
  color:#eee;
  font-size:12px;
  line-height:1.45;
  word-break:break-all;
}
html.customer-payment-page .checkout-panel{
  min-width:0;
  padding:27px;
  border-radius:24px;
  background:#fff;
  border:1px solid #deded9;
  box-shadow:0 20px 60px rgba(17,17,17,.055);
}
html.customer-payment-page .checkout-heading{
  align-items:flex-start;
  gap:13px;
  margin-bottom:21px;
}
html.customer-payment-page .checkout-heading > span{
  width:28px;height:28px;
  flex:0 0 28px;
  display:grid;place-items:center;
  border-radius:9px;
  background:#111;color:#fff;
  font-size:9px;
}
html.customer-payment-page .checkout-heading h2{
  font-size:21px;
  letter-spacing:-.035em;
}
html.customer-payment-page .checkout-heading p{
  font-size:12px;
  line-height:1.55;
}
html.customer-payment-page .checkout-methods{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
html.customer-payment-page .checkout-method{
  min-height:154px;
  padding:17px;
  border-radius:18px;
  background:#fafaf7;
  border-color:#e2e2dc;
}
html.customer-payment-page .checkout-method:hover{
  transform:translateY(-2px);
  border-color:#111;
  background:#fff;
  box-shadow:0 14px 32px rgba(17,17,17,.08);
}
html.customer-payment-page .checkout-method h3{
  margin:14px 0 4px;
  font-size:15px;
}
html.customer-payment-page .checkout-method p{
  font-size:11px;
  line-height:1.5;
}
html.customer-payment-page .checkout-method .method-brand-wrap{
  width:58px!important;height:58px!important;
  border-radius:16px!important;
}
html.customer-payment-page .checkout-method .method-brand-image{
  width:51px!important;height:47px!important;
}
html.customer-payment-page #detailsContainer.payment-sheet-open,
html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{
  width:min(720px,calc(100vw - 28px))!important;
  max-height:min(88dvh,780px)!important;
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  top:auto!important;
  transform:translateX(-50%)!important;
  border-radius:26px 26px 0 0!important;
}
html.customer-payment-page .details-card{
  border-radius:18px;
  background:#f8f8f5;
}
html.customer-payment-page .attempt-box{
  border-radius:16px;
}
html.customer-payment-page .receipt-box{
  min-height:135px;
  border-radius:17px;
}
html.customer-payment-page .payment-actions{
  gap:9px;
}
html.customer-payment-page .verification-state{
  padding:32px 10px 24px;
}
html.customer-payment-page .verification-state h2{
  font-size:30px;
  letter-spacing:-.045em;
}
html.customer-payment-page .approved-message,
html.customer-payment-page .waiting-box{
  border-radius:18px;
}

/* No automatic cinematic motion on first paint. Content motion is reserved
   for state changes/interaction so the payment page feels calm and fast. */
html.customer-payment-page .payment-view,
html.customer-payment-page .checkout-panel,
html.customer-payment-page .checkout-summary{
  animation:none!important;
}

@media(max-width:760px){
  html.customer-payment-page .site-header{
    position:relative!important;
    min-height:60px;
    padding:0 14px!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    background:#f5f5f2!important;
  }
  html.customer-payment-page .site-header .brand{
    font-size:13px;
  }
  html.customer-payment-page .site-header .brand-mark{
    width:32px;height:32px;
  }
  html.customer-payment-page .payment-view{
    width:calc(100% - 24px);
    padding:22px 0 55px;
  }
  html.customer-payment-page .payment-head{
    display:block;
    margin-bottom:16px;
    padding:0;
  }
  html.customer-payment-page .payment-head h1{
    max-width:none;
    margin:8px 0 7px;
    font-size:clamp(38px,12vw,52px);
    line-height:.94;
  }
  html.customer-payment-page .payment-head p{
    max-width:330px;
    font-size:12px;
  }
  html.customer-payment-page .page-expiry{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-width:0;
    margin-top:16px;
    padding:12px 14px;
    border-radius:14px;
    box-shadow:none;
  }
  html.customer-payment-page .page-expiry strong{
    margin-top:0;
    font-size:20px;
  }
  html.customer-payment-page .checkout-layout{
    display:block;
  }
  html.customer-payment-page .checkout-summary{
    position:relative;
    top:auto;
    min-height:0;
    margin-bottom:10px;
    padding:19px;
    border-radius:20px;
  }
  html.customer-payment-page .checkout-summary > strong{
    margin:9px 0 2px;
    font-size:31px;
  }
  html.customer-payment-page .checkout-summary > p{
    font-size:11px;
  }
  html.customer-payment-page .checkout-reference{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:16px;
    padding-top:13px;
  }
  html.customer-payment-page .checkout-reference strong{
    max-width:58%;
    text-align:right;
  }
  html.customer-payment-page .checkout-panel{
    padding:19px 16px;
    border-radius:20px;
    box-shadow:0 10px 34px rgba(17,17,17,.045);
  }
  html.customer-payment-page .checkout-heading h2{
    font-size:19px;
  }
  html.customer-payment-page .checkout-methods{
    grid-template-columns:1fr;
    gap:8px;
  }
  html.customer-payment-page .checkout-method{
    min-height:92px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:13px;
    padding:12px;
    border-radius:16px;
  }
  html.customer-payment-page .checkout-method .method-brand-wrap{
    width:52px!important;height:52px!important;
    border-radius:14px!important;
  }
  html.customer-payment-page .checkout-method .method-brand-image{
    width:47px!important;height:43px!important;
  }
  html.customer-payment-page .checkout-method h3{
    margin:0 0 3px;
    font-size:14px;
  }
  html.customer-payment-page .checkout-method p{
    font-size:10px;
    line-height:1.45;
  }
  html.customer-payment-page .checkout-method .method-top{
    display:contents;
  }
  html.customer-payment-page .checkout-method .method-top > span:last-child{
    grid-column:3;
    grid-row:1;
  }
  html.customer-payment-page .checkout-method > h3,
  html.customer-payment-page .checkout-method > p{
    grid-column:2;
  }
  html.customer-payment-page #detailsContainer.payment-sheet-open,
  html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{
    width:100%!important;
    max-height:92dvh!important;
    border-radius:26px 26px 0 0!important;
    padding:10px 16px calc(18px + env(safe-area-inset-bottom))!important;
  }
  html.customer-payment-page .payment-actions{
    position:sticky;
    bottom:0;
  }
}

@media(max-width:390px){
  html.customer-payment-page .payment-view{
    width:calc(100% - 18px);
  }
  html.customer-payment-page .checkout-panel{
    padding-inline:13px;
  }
  html.customer-payment-page .payment-head h1{
    font-size:36px;
  }
}
@media(prefers-reduced-motion:reduce){
  html.customer-payment-page *{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}


/* Receipt upload modal */
.receipt-upload-modal{position:fixed;inset:0;z-index:10090;display:grid;place-items:center;padding:18px}
.receipt-upload-backdrop{position:absolute;inset:0;background:rgba(10,10,10,.48)}
.receipt-upload-card{position:relative;width:min(560px,100%);max-height:min(88dvh,760px);overflow:auto;padding:24px;border:1px solid #deded8;border-radius:24px;background:#fff;box-shadow:0 32px 100px rgba(0,0,0,.25);animation:receiptModalIn .24s cubic-bezier(.16,1,.3,1)}
.receipt-upload-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #ecece7}
.receipt-upload-head h2{margin:7px 0 7px;font-size:25px;letter-spacing:-.04em}
.receipt-upload-head p{margin:0;color:#777;font-size:12px;line-height:1.55}
.receipt-upload-close{width:36px;height:36px;flex:0 0 36px;border:1px solid #deded8;border-radius:11px;background:#f7f7f4;color:#111;font-size:22px;line-height:1;cursor:pointer}
.receipt-upload-body{padding:18px 0 4px}
.receipt-upload-body .receipt-box{display:grid!important;margin:0!important;min-height:150px}
.receipt-upload-body .selected-file{margin:12px 0 0}
.receipt-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px;padding-top:15px;border-top:1px solid #ecece7}
.receipt-upload-actions .button{margin:0;min-height:48px}
.receipt-upload-submit{width:100%!important}
.receipt-preview{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;padding:10px;border:1px solid #deded8;border-radius:14px;background:#fafaf7}
.receipt-preview img{width:92px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #e2e2dc}
.receipt-preview-meta{display:grid;gap:4px;min-width:0}
.receipt-preview-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.receipt-preview-meta span{color:#777;font-size:10px}
.receipt-upload-success{text-align:center;padding:10px 0 4px}
.receipt-success-check{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:#111;color:#fff;font-size:27px;font-weight:900;animation:receiptCheckIn .5s cubic-bezier(.16,1,.3,1)}
.receipt-upload-success h3{margin:8px 0 7px;font-size:24px;letter-spacing:-.04em}
.receipt-upload-success p{margin:0 auto 16px;max-width:390px;color:#777;font-size:12px;line-height:1.6}
.receipt-upload-preview{padding:8px;border:1px solid #deded8;border-radius:17px;background:#fafaf7}
.receipt-upload-preview img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:11px;background:#f1f1ed}
@keyframes receiptModalIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes receiptCheckIn{from{opacity:0;transform:scale(.6) rotate(-8deg)}to{opacity:1;transform:none}}
@media(max-width:600px){
 .receipt-upload-modal{align-items:end;padding:0}
 .receipt-upload-card{width:100%;max-height:92dvh;border-radius:25px 25px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom))}
 .receipt-upload-actions{grid-template-columns:1fr}
 .receipt-upload-head h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.receipt-upload-card,.receipt-success-check{animation:none!important}}


.payment-top-cancel{flex:0 0 auto;border:1px solid #d8d8d2;border-radius:10px;background:#fff;color:#111;padding:8px 11px;font-size:11px;font-weight:850;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.payment-top-cancel:hover{background:#f4f4f1;border-color:#c9c9c3;transform:translateY(-1px)}
@media(max-width:760px){
  #detailsContainer.mobile-bottom-sheet-open .payment-top-cancel{min-height:38px}
}

html.customer-payment-page .site-header .desktop-nav,html.customer-payment-page .site-header .header-actions{display:none!important}
html.customer-payment-page .site-header{justify-content:center!important}.customer-payment-page .site-header .brand{margin-inline:auto}
html.customer-payment-page .payment-view{width:min(1080px,calc(100% - 48px));padding-top:34px}
html.customer-payment-page .payment-head{grid-template-columns:minmax(0,1fr) 190px;margin-bottom:22px}
html.customer-payment-page .payment-head h1{font-size:clamp(40px,5vw,62px);max-width:760px}
html.customer-payment-page .page-expiry{align-self:start;min-height:76px;display:flex;flex-direction:column;justify-content:center}
html.customer-payment-page .checkout-layout{grid-template-columns:280px minmax(0,1fr);gap:18px}
html.customer-payment-page .checkout-summary{min-height:330px;padding:23px}
html.customer-payment-page .checkout-summary>strong{font-size:38px;overflow-wrap:anywhere}
html.customer-payment-page .checkout-panel{padding:25px}.html.customer-payment-page .checkout-method{min-height:140px}
html.customer-payment-page .payment-top-cancel{min-width:84px;min-height:42px;border-radius:12px;background:#fff;border:1px solid rgba(17,17,17,.18);font-size:12px;font-weight:850;cursor:pointer}
html.customer-payment-page .payment-top-cancel:hover{background:#f1f1ed;border-color:#111}
html.customer-payment-page .attempt-box{padding:15px 16px;background:#f7f7f3;border:1px solid #e4e4de}
html.customer-payment-page .attempt-timer-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
html.customer-payment-page .attempt-timer-copy{min-width:0;display:grid;gap:4px}
html.customer-payment-page .attempt-timer-copy span{color:#777;font-size:9px;font-weight:850;letter-spacing:.13em}
html.customer-payment-page .attempt-timer-copy strong{font-size:23px;letter-spacing:-.035em}
html.customer-payment-page .attempt-box>p{margin:9px 0 0;color:#777;font-size:11px;line-height:1.45}
html.customer-payment-page .payment-contact-action{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:11px 13px;border:1px solid #e1e1db;border-radius:13px;background:#fafaf7;color:#111;text-align:left;cursor:pointer}
html.customer-payment-page .payment-contact-action span{color:#777;font-size:10px}.html.customer-payment-page .payment-contact-action strong{font-size:11px}
html.customer-payment-page .receipt-upload-loading{display:grid;place-items:center;text-align:center;padding:28px 12px}
html.customer-payment-page .receipt-upload-spinner{width:42px;height:42px;margin:0 auto 16px;border:3px solid #deded8;border-top-color:#111;border-radius:50%;animation:receiptUploadSpin .72s linear infinite}
html.customer-payment-page .receipt-upload-loading strong{display:block;font-size:17px}.html.customer-payment-page .receipt-upload-loading p{margin:7px auto 0;max-width:330px;color:#777;font-size:12px;line-height:1.55}
@keyframes receiptUploadSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){
html.customer-payment-page .site-header{min-height:56px}
html.customer-payment-page .payment-view{width:calc(100% - 20px);padding:17px 0 42px}
html.customer-payment-page .payment-head{margin-bottom:12px}.html.customer-payment-page .payment-head h1{font-size:clamp(35px,11.5vw,48px)}
html.customer-payment-page .page-expiry{min-height:58px;margin-top:12px;padding:10px 13px}
html.customer-payment-page .checkout-summary{min-height:0;margin-bottom:8px;padding:16px;border-radius:18px}
html.customer-payment-page .checkout-summary>strong{font-size:28px}.html.customer-payment-page .checkout-panel{padding:15px 13px;border-radius:18px}
html.customer-payment-page .checkout-method{min-height:82px;grid-template-columns:50px minmax(0,1fr) 30px;gap:11px;padding:10px}
html.customer-payment-page .attempt-box{padding:13px;border-radius:14px}.html.customer-payment-page .attempt-timer-row{gap:9px}
html.customer-payment-page .attempt-timer-copy strong{font-size:21px}.html.customer-payment-page .payment-top-cancel{min-width:76px;min-height:42px;padding:7px 10px}
html.customer-payment-page #detailsContainer.payment-sheet-open,html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{padding:9px 13px calc(14px + env(safe-area-inset-bottom))!important}
html.customer-payment-page .receipt-upload-card{padding:18px 14px calc(14px + env(safe-area-inset-bottom))}
html.customer-payment-page .receipt-upload-actions{grid-template-columns:1fr}
html.customer-payment-page .receipt-upload-actions .button{min-height:48px}
}
@media(prefers-reduced-motion:reduce){html.customer-payment-page .receipt-upload-spinner{animation:none}}

#notification{z-index:2147483647!important}
.payment-confirm-modal,.receipt-upload-modal,.payment-contact-modal{
  z-index:2147482000!important;
}
.payment-confirm-card,.receipt-upload-card,.payment-contact-card{
  position:relative!important;
  z-index:2147482001!important;
}
.mobile-bottom-sheet-scrim{
  z-index:2147480000!important;
}
html.customer-payment-page .attempt-box{padding:10px 12px}
html.customer-payment-page .attempt-timer-copy strong{font-size:19px}
html.customer-payment-page .attempt-box>p{margin-top:5px}
html.customer-payment-page .payment-fixed-actions{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:10px;margin-top:14px}
html.customer-payment-page .payment-fixed-actions .button{min-height:50px}
html.customer-payment-page .payment-paid-button{display:flex!important;align-items:center;justify-content:center}
html.customer-payment-page .payment-expired-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;background:rgba(12,12,11,.58);backdrop-filter:blur(10px)}
html.customer-payment-page .payment-expired-card{width:min(470px,100%);padding:30px;border:1px solid #dddcd5;border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.25);text-align:center}
html.customer-payment-page .payment-expired-icon{width:56px;height:56px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:#111;color:#fff;font-size:22px;font-weight:900}
html.customer-payment-page .payment-expired-card h2{margin:0;font-size:28px;letter-spacing:-.04em}
html.customer-payment-page .payment-expired-card p{margin:10px auto 22px;max-width:360px;color:#666;font-size:13px;line-height:1.6}
html.customer-payment-page .receipt-upload-picker{display:grid;gap:10px;padding:25px 16px;border:1.5px dashed #cfcfc8;border-radius:18px;background:#fafaf7;text-align:center;cursor:pointer}
html.customer-payment-page .receipt-upload-picker:hover{border-color:#111;background:#f3f3ef}
html.customer-payment-page .receipt-upload-picker strong{font-size:15px}
html.customer-payment-page .receipt-upload-picker span{font-size:11px;color:#777}
.home-menu-button,.home-mobile-nav{display:none!important}
html.customer-payment-page .brand-mark{display:grid;place-items:center;text-align:center;line-height:1}
html.customer-payment-page .method-brand-wrap,html.customer-payment-page .checkout-method .method-top>div:first-child{display:grid;place-items:center}
@media(max-width:760px){
html.customer-payment-page .payment-fixed-actions{grid-template-columns:1fr 1fr;gap:8px}
html.customer-payment-page .payment-fixed-actions .button{min-height:48px;font-size:11px;padding-inline:8px}
html.customer-payment-page .attempt-box{padding:9px 11px}
html.customer-payment-page .attempt-timer-copy span{font-size:8px}
html.customer-payment-page .attempt-timer-copy strong{font-size:18px}
html.customer-payment-page .payment-expired-card{padding:25px 20px;border-radius:20px}
.site-header{justify-content:center!important}.site-header .brand{margin-inline:auto!important}
}

/* Hosted payment sheet interaction fix: keep body locked without disabling sheet gestures. */
.mobile-sheet-locked{
  overflow:hidden!important;
  touch-action:auto!important;
}
@media(max-width:760px){
  #detailsContainer.payment-sheet-open,
  #detailsContainer.mobile-bottom-sheet-open{
    z-index:2147481000!important;
    pointer-events:auto!important;
    touch-action:pan-y!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #detailsContainer.payment-sheet-open button,
  #detailsContainer.mobile-bottom-sheet-open button,
  #detailsContainer.payment-sheet-open a,
  #detailsContainer.mobile-bottom-sheet-open a,
  #detailsContainer.payment-sheet-open input,
  #detailsContainer.mobile-bottom-sheet-open input,
  #detailsContainer.payment-sheet-open textarea,
  #detailsContainer.mobile-bottom-sheet-open textarea{
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  .mobile-bottom-sheet-scrim{
    z-index:2147480000!important;
  }

  /* Compact the payment-attempt timer on small screens. */
  html.customer-payment-page .attempt-box{
    padding:7px 9px!important;
    margin-bottom:9px!important;
    border-radius:12px!important;
  }
  html.customer-payment-page .attempt-timer-row{
    min-height:31px!important;
    gap:7px!important;
  }
  html.customer-payment-page .attempt-timer-copy{
    display:flex!important;
    align-items:baseline!important;
    gap:7px!important;
  }
  html.customer-payment-page .attempt-timer-copy span{
    font-size:7px!important;
    letter-spacing:.09em!important;
    white-space:nowrap!important;
  }
  html.customer-payment-page .attempt-timer-copy strong{
    font-size:16px!important;
    line-height:1!important;
  }
  html.customer-payment-page .attempt-box>p{
    display:none!important;
  }
  html.customer-payment-page .payment-top-cancel{
    min-height:32px!important;
    min-width:68px!important;
    padding:5px 9px!important;
    border-radius:9px!important;
    font-size:10px!important;
  }
}

/* Critical checkout actions must remain real, top-layer hit targets. */
html.customer-payment-page #ivePaidButton,
html.customer-payment-page #cancelPayment,
html.customer-payment-page #cancelPaymentTop{
  position:relative!important;
  z-index:50!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}


/* HOSTED CHECKOUT — FINAL POINTER / HIT-TEST LAYER
   Keep the payment detail sheet as one normal fixed element.
   No transforms, no portal stacking context, no clickable scrim. */
html.customer-payment-page #detailsContainer.payment-sheet-open,
html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{
  position:fixed!important;
  top:auto!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:92dvh!important;
  margin:0!important;
  transform:none!important;
  animation:none!important;
  z-index:2147481000!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  isolation:isolate!important;
}
html.customer-payment-page #detailsContainer.payment-sheet-open::before,
html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open::before{
  pointer-events:none!important;
}
html.customer-payment-page .mobile-bottom-sheet-scrim{
  z-index:2147480000!important;
  pointer-events:none!important;
}
html.customer-payment-page .payment-fixed-actions,
html.customer-payment-page .payment-fixed-actions .button,
html.customer-payment-page #cancelPaymentTop{
  pointer-events:auto!important;
  touch-action:manipulation!important;
  position:relative!important;
}
html.customer-payment-page .payment-fixed-actions{
  z-index:10!important;
}
@media(min-width:761px){
  html.customer-payment-page #detailsContainer.payment-sheet-open,
  html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{
    width:min(720px,calc(100vw - 28px))!important;
    left:0!important;
    right:0!important;
    margin-inline:auto!important;
    border-radius:26px 26px 0 0!important;
  }
}
@media(max-width:760px){
  html.customer-payment-page #detailsContainer.payment-sheet-open,
  html.customer-payment-page #detailsContainer.mobile-bottom-sheet-open{
    width:100%!important;
    left:0!important;
    right:0!important;
    border-radius:26px 26px 0 0!important;
  }
}
