.ai-promo-module {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(90deg, var(--dark-blue-500) 40%, var(--dark-blue-300) 85%);
}

.ai-promo-module-field {
    position: absolute;
    inset: 0;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.6) 50%, #000 64%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.6) 50%, #000 64%);
}

.ai-promo-module-field canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ai-promo-module-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px clamp(24px, 4vw, 48px);
    display: grid;
    grid-template-columns: auto minmax(0, 560px) minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.ai-promo-module-brand {
    padding-right: 48px;
    border-right: 1px solid #3e67a0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.ai-promo-module-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

.ai-promo-module-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-promo-module[class] .ai-promo-module-title {
    margin: 0;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: var(--white);
    text-wrap: balance;
}

.ai-promo-module-body {
    margin: 0;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.45;
    color: var(--blue-50);
    text-wrap: pretty;
}

/* Third grid column is a spacer; the button sits in the fourth. */
.ai-promo-module-cta {
    grid-column: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 9px 16px 9px 22px;
    border-radius: 4px;
    background: var(--orange-400);
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms ease;
}

.ai-promo-module-cta:hover {
    background: var(--orange-500);
    color: var(--white);
}

.ai-promo-module-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 150ms ease;
}

.ai-promo-module-cta:hover svg {
    transform: translateX(3px);
}

@media screen and (max-width: 991px) {
    .ai-promo-module-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 40px;
        padding-bottom: 40px;
        /* Keep the copy left of the signal line, which sits at 80% of the width. */
        padding-right: calc(20% + 24px);
    }

    .ai-promo-module-brand {
        padding-right: 0;
        border-right: 0;
    }

    .ai-promo-module-cta {
        grid-column: auto;
        justify-self: start;
    }

    .ai-promo-module[class] .ai-promo-module-title {
        font-size: 28px;
    }

    .ai-promo-module-body {
        display: none;
    }
}
