.ai-hero__content {
    gap: 22px;
    max-width: 720px;
}

.ai-hero__stats {
    padding-top: 4px;
}

.ai-hero__stats .stat__value {
    font-size: 30px;
    letter-spacing: -0.03em;
}

.ai-hero__stats .stat__label {
    font-size: 13px;
}

.ai-hero__stats .ai-hero__stat--primary {
    color: var(--c-primary);
}

.ai-hero__stats .ai-hero__stat--dna {
    color: var(--c-dna);
}

/* Hub illustration */

.ai-hub {
    flex-shrink: 0;
    width: 380px;
    max-width: 100%;
}

.ai-hub__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.ai-hub__stop-start {
    stop-color: var(--c-primary);
}

.ai-hub__stop-end {
    stop-color: var(--c-dna);
}

.ai-hub__ring {
    fill: none;
    stroke: var(--c-dna);
    stroke-opacity: .35;
    stroke-width: 1;
    stroke-dasharray: 4 4;
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 40s linear infinite;
}

.ai-hub--primary {
    --hub-tone: var(--c-primary);
}

.ai-hub--dna {
    --hub-tone: var(--c-dna);
}

.ai-hub__line {
    stroke: var(--hub-tone);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: .55;
}

.ai-hub__node circle {
    fill: var(--c-white);
    stroke: var(--hub-tone);
    stroke-width: 2;
}

.ai-hub__node text {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 600;
    fill: var(--c-ink);
}

.ai-hub__node {
    transform-box: fill-box;
}

.ai-hub__core {
    fill: url(#ai-hub-gradient);
    transform-box: fill-box;
    transform-origin: center;
}

.ai-hub__count {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    fill: var(--c-white);
}

.ai-hub__caption {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    fill: var(--c-white);
}

/* Departments */

.section > .ai-depts__helix {
    right: var(--gutter);
    top: 88px;
    width: 440px;
    height: 130px;
}

.ai-dept {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border-top-width: 4px;
}

.ai-dept .icon-tile {
    background: var(--accent-bg);
    color: var(--accent);
}

.ai-dept__title {
    font-size: 19px;
    line-height: 1.25;
}

.ai-dept__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.ai-dept__status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--accent);
}

/* Industries */

.ai-industries__rings {
    left: -200px;
    bottom: -220px;
}

.ai-industries {
    --cols: 5;
}

.ai-industry {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.ai-industry .icon-tile {
    width: 40px;
    height: 40px;
}

.ai-industry__text {
    color: var(--c-ink-2);
}

/* Catalog */

.ai-agent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px;
}

.ai-agent__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ai-agent__head .tag {
    border-color: transparent;
    font-weight: 600;
}

.ai-agent__head .tag--accent {
    color: var(--c-primary);
}

.ai-agent__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--c-ink-3);
}

.ai-agent__status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--c-success);
    animation: pulse 2.6s ease-in-out infinite;
}

.ai-agent__title {
    font-size: 17px;
    line-height: 1.3;
}

.ai-agent__systems {
    margin-top: auto;
    transition: color .25s;
}

.ai-agent__request {
    align-self: flex-start;
    margin-top: 6px;
}

@media (hover: hover) and (pointer: fine) {
    .ai-dept:hover .ai-dept__status::before {
        animation: aiStatusPing 1.4s ease-out infinite;
    }

    .ai-agent:hover .ai-agent__systems {
        color: var(--c-primary-dark);
    }
}

@keyframes aiStatusPing {
    from {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
    }

    to {
        box-shadow: 0 0 0 8px transparent;
    }
}

/* Custom agents */

.ai-custom {
    background: var(--g-plum);
    color: var(--c-white);
}

.ai-custom__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: center;
}

.ai-custom__text {
    --stack-gap: 20px;
}

.ai-custom__cta {
    align-self: flex-start;
}

.ai-custom__step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.ai-custom__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--c-pink-300);
}

.ai-custom__step-title {
    font-size: 17px;
    line-height: 1.3;
    color: var(--c-white);
}

.ai-custom__step-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-on-dark);
}

/* Why Softlead */

.ai-reason {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
}

/* FAQ */

.section.ai-faq > .helix {
    top: 0;
    right: var(--gutter);
    width: 440px;
    height: 130px;
}

/* Request */

.ai-request__rings {
    left: -220px;
    top: -120px;
}

.ai-request {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}

.ai-request__text {
    max-width: 600px;
}

.ai-request__form {
    flex-shrink: 0;
    width: 420px;
    max-width: 100%;
}

.ai-request__form .segmented__btn {
    line-height: 1.25;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ai-hero .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .ai-hero .ai-hub {
        width: 300px;
    }
}

@media (max-width: 1199px) {
    .section > .ai-depts__helix {
        display: none;
    }

    .grid.ai-industries {
        --cols: 3;
    }

    .ai-custom__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .ai-custom__text {
        max-width: 760px;
    }

    .ai-request {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .ai-hub {
        align-self: center;
        width: 340px;
    }

    .ai-request {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-request__form {
        width: 560px;
    }

    .section.ai-faq > .helix,
    .ai-request__rings {
        display: none;
    }
}

@media (max-width: 767px) {
    .grid.ai-industries,
    .grid.ai-grid-8 {
        --cols: 2;
    }

    .ai-dept,
    .ai-reason {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .ai-hub {
        width: 300px;
    }

    .grid.ai-industries,
    .grid.ai-grid-8 {
        --cols: 1;
    }
}
