.scb-banner,
.scb-banner * {
    box-sizing: border-box;
}

.scb-banner {
    --scb-green: #4caf50;
    --scb-dock: #ffffff;
    --scb-dark: #243143;
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 99990;
    width: min(1340px, calc(100vw - 32px));
    transform: translateX(-50%);
    font-family: "Work Sans", Arial, sans-serif;
    color: #fff;
    pointer-events: none;
}

.scb-banner__shell {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: var(--scb-green);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    pointer-events: auto;
}

.scb-banner__bar {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 40px;
}

.scb-banner__bar-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.scb-banner__brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.scb-banner__logo {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 30px;
    object-fit: contain;
}

.scb-banner__brand-fallback {
    font-size: 21px;
    font-weight: 700;
}

.scb-banner__divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.82);
}

.scb-banner__eyebrow {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.scb-banner__arrow {
    font-size: 20px;
    line-height: 1;
    flex: 0 0 auto;
}

.scb-banner__bar-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

.scb-banner__toggle {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: var(--scb-dark);
    font: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.scb-banner__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.scb-banner__toggle:focus-visible,
.scb-banner__cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.88);
    outline-offset: 3px;
}

.scb-banner__toggle-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}

.scb-banner__toggle-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: #55c95f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 220ms ease;
}

.scb-banner.is-open .scb-banner__toggle-icon svg {
    transform: rotate(180deg);
}

.scb-banner__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows 420ms cubic-bezier(.2,.75,.25,1),
        opacity 220ms ease,
        visibility 0s linear 420ms;
}

.scb-banner.is-open .scb-banner__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition:
        grid-template-rows 420ms cubic-bezier(.2,.75,.25,1),
        opacity 260ms ease 80ms,
        visibility 0s linear;
}

.scb-banner__content {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 1.25fr);
    overflow: hidden;
}

.scb-banner__copy {
    min-width: 0;
    padding: 64px 58px 48px;
    align-self: center;
}

.scb-banner__title {
    max-width: 480px;
    margin: 0 0 16px;
    color: #fff;
    font: inherit;
    font-size: clamp(25px, 2vw, 32px);
    line-height: 1.05;
    font-weight: 500;
    text-transform: uppercase;
}

.scb-banner__description {
    max-width: 520px;
    margin: 0 0 20px;
    color: #fff;
    font: inherit;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
}

.scb-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 18px;
    border-radius: 4px;
    background: #fff;
    color: var(--scb-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.scb-banner__cta:hover {
    color: var(--scb-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.scb-banner__media {
    min-width: 0;
    min-height: 345px;
    align-self: end;
    overflow: hidden;
    border-top-left-radius: 64px;
}

.scb-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 345px;
    object-fit: cover;
}


.scb-banner__dismiss {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(36, 49, 67, 0.78);
    color: #fff;
    font: inherit;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: transform 160ms ease, background-color 160ms ease;
}

.scb-banner__dismiss:hover {
    transform: scale(1.06);
    background: #243143;
}

.scb-banner__dismiss:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.scb-banner.has-dismiss .scb-banner__toggle {
    margin-right: 22px;
}

.scb-banner.is-dismissed {
    display: none;
}

.scb-banner-spacer {
    width: 100%;
    height: 0;
    margin: 0;
    background: var(--scb-dock, #ffffff);
    pointer-events: none;
    transition: height 420ms cubic-bezier(.2,.75,.25,1);
}

@media (max-width: 1000px) {
    .scb-banner {
        bottom: 16px;
        width: min(760px, calc(100vw - 24px));
    }

    .scb-banner__bar {
        padding: 8px 16px;
        gap: 12px;
    }

    .scb-banner__dismiss {
        top: 5px;
        right: 5px;
    }

    .scb-banner.has-dismiss .scb-banner__toggle {
        margin-right: 20px;
    }

    .scb-banner__bar-main {
        gap: 12px;
    }

    .scb-banner__bar-text,
    .scb-banner__arrow {
        display: none;
    }

    .scb-banner__logo {
        max-width: 96px;
        max-height: 24px;
    }

    .scb-banner__eyebrow {
        font-size: 12px;
    }

    .scb-banner__divider {
        height: 26px;
    }

    .scb-banner__content {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .scb-banner__copy {
        padding: 36px 24px 20px;
    }

    .scb-banner__title {
        max-width: none;
        font-size: 22px;
        line-height: 1.08;
    }

    .scb-banner__description {
        max-width: none;
        font-size: 16px;
        line-height: 1.5;
    }

    .scb-banner__media {
        min-height: 190px;
        border-top-left-radius: 48px;
    }

    .scb-banner__image {
        min-height: 190px;
        max-height: 280px;
    }
}

@media (max-width: 520px) {
    .scb-banner {
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .scb-banner__bar {
        min-height: 56px;
        padding: 8px 12px;
    }

    .scb-banner__brand {
        gap: 8px;
        min-width: 0;
    }

    .scb-banner__logo {
        max-width: 82px;
    }

    .scb-banner__eyebrow {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .scb-banner__toggle {
        padding: 9px 10px;
        font-size: 11px;
    }

    .scb-banner__copy {
        padding: 34px 24px 20px;
    }

    .scb-banner__title {
        font-size: 21px;
    }

    .scb-banner__description {
        font-size: 15px;
    }

    .scb-banner__media {
        border-top-left-radius: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scb-banner__panel,
    .scb-banner__toggle,
    .scb-banner__cta,
    .scb-banner__toggle-icon svg {
        transition: none !important;
    }
}
