.fe-ai {
    padding-block: clamp(2.8rem, 5.8vw, 6rem);
    background: #f2f5ff;
    color: var(--ink);
}

.fe-ai-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(2.4rem, 6vw, 6.5rem);
    align-items: center;
}

.fe-ai-copy h2 {
    max-width: 18ch;
    margin-block: .9rem 1.2rem;
    font-size: clamp(2.45rem, 4.35vw, 4.9rem);
}

.fe-ai-copy em {
    color: #244db1;
    font-weight: 500;
}

.fe-ai-copy > p:not(.eyebrow) {
    max-width: 52ch;
    margin-top: .75rem;
    color: var(--body);
}

.fe-ai-copy .button {
    margin-top: 1.5rem;
}

.fe-ai-panel {
    border-radius: var(--radius);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: end;
    min-height: clamp(20rem, 32vw, 31rem);
    padding: clamp(1.6rem, 3.2vw, 3.25rem);
    background: linear-gradient(145deg, #173b78, #101d3c 82%);
    color: #fff;
}

.fe-ai-contours {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background-image: radial-gradient(circle, #6c9fce66 1px, transparent 1.3px);
    background-size: 20px 20px;
}

.fe-ai-contours span {
    --offset: 0;
    position: absolute;
    left: calc(8% + var(--offset) * 3.05%);
    top: calc(-19% + var(--offset) * 2.2%);
    width: 72%;
    height: 71%;
    border: 1px solid #a9d9fa;
    border-radius: 49% 51% 57% 43% / 47% 57% 43% 53%;
    transform: rotate(calc(-28deg + var(--offset) * 5deg));
}

.fe-ai-contours span:nth-child(2) { --offset: 1; }
.fe-ai-contours span:nth-child(3) { --offset: 2; }
.fe-ai-contours span:nth-child(4) { --offset: 3; }
.fe-ai-contours span:nth-child(5) { --offset: 4; }
.fe-ai-contours span:nth-child(6) { --offset: 5; }
.fe-ai-contours span:nth-child(7) { --offset: 6; }
.fe-ai-contours span:nth-child(8) { --offset: 7; }
.fe-ai-contours span:nth-child(9) { --offset: 8; }
.fe-ai-contours span:nth-child(10) { --offset: 9; }
.fe-ai-contours span:nth-child(11) { --offset: 10; }
.fe-ai-contours span:nth-child(12) { --offset: 11; }

.fe-ai-caption {
    position: relative;
    padding-top: 4rem;
}

.fe-ai-caption::before {
    content: "";
    position: absolute;
    inset: 0 -5rem -5rem;
    z-index: -1;
    background: linear-gradient(transparent, #13254c 35%, #13254c);
}

.fe-ai-caption h3 {
    font: 650 .76rem/1.4 var(--sans);
    color: #c6deff;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fe-ai-caption p {
    max-width: 21ch;
    margin-top: .65rem;
    font: 500 clamp(1.7rem, 2.6vw, 2.85rem)/1.13 var(--serif);
    letter-spacing: -.035em;
    text-wrap: balance;
}

@media (max-width: 760px) {
    .fe-ai-layout {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .fe-ai-panel {
        min-height: 16rem;
    }

    .fe-ai-caption {
        padding-top: 3rem;
    }
}
