#next-steps.nextx-section {
    --nx-max: 1180px;
    --nx-pad: clamp(20px, 4vw, 32px);

    --nx-ink: #0f172a;
    --nx-muted: #5f6b7a;
    --nx-body: #334155;
    --nx-line: #e7ebf3;
    --nx-line-strong: #d9e2f5;

    --nx-card: rgba(255, 255, 255, 0.88);
    --nx-card-solid: #ffffff;

    --nx-accent: #4067d9;
    --nx-accent-2: #6f8cff;
    --nx-accent-soft: #eef2ff;

    --nx-radius-lg: 24px;
    --nx-radius-md: 18px;
    --nx-radius-sm: 14px;

    --nx-shadow-sm: 0 10px 24px rgba(17, 24, 39, 0.06);
    --nx-shadow-md: 0 18px 40px rgba(17, 24, 39, 0.08);
    --nx-shadow-lg: 0 30px 72px rgba(17, 24, 39, 0.12);

    position: relative;
    overflow: clip;
    padding: clamp(48px, 6vw, 92px) 0;
    color: var(--nx-ink);
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(64, 103, 217, 0.04),
            transparent 24%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(64, 103, 217, 0.05),
            transparent 22%
        );
}

#next-steps .nextx-shell {
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 0 var(--nx-pad);
    display: grid;
    gap: 24px;
}

/* header */
#next-steps .nextx-header {
    display: grid;
    gap: 10px;
    max-width: 760px;
    animation: nextxIntroUp 0.72s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

#next-steps .nextx-kicker {
    margin: 0;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(64, 103, 217, 0.12);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nx-accent);
    font-weight: 800;
}

#next-steps .nextx-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--nx-ink);
    text-wrap: balance;
}

#next-steps .nextx-lede {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--nx-muted);
    max-width: 62ch;
}

/* card */
#next-steps .nextx-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--nx-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg);
    box-shadow: var(--nx-shadow-sm);
    transition:
        transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
        border-color 0.28s ease,
        background 0.28s ease;
}

#next-steps .nextx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(64, 103, 217, 0.1),
        transparent 34%
    );
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

#next-steps .nextx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nx-shadow-lg);
    border-color: var(--nx-line-strong);
    background: var(--nx-card-solid);
}

/* list */
#next-steps .nextx-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#next-steps .nextx-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 18px 20px;
    align-items: start;
    transition:
        background 0.24s ease,
        transform 0.24s ease;
}

#next-steps .nextx-item + .nextx-item {
    border-top: 1px solid var(--nx-line);
}

#next-steps .nextx-item::after {
    content: "";
    position: absolute;
    inset: auto 20px 0 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--nx-accent), var(--nx-accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

#next-steps .nextx-item:hover {
    background: #fbfcff;
    transform: translateX(2px);
}

#next-steps .nextx-item:hover::after {
    transform: scaleX(1);
}

/* icon */
#next-steps .nextx-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #6e8df1 0%, #4067d9 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 10px 18px rgba(64, 103, 217, 0.14);
    transition:
        transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.24s ease;
}

#next-steps .nextx-item:hover .nextx-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 14px 24px rgba(64, 103, 217, 0.18);
}

#next-steps .nextx-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* body */
#next-steps .nextx-body {
    display: grid;
    gap: 4px;
}

#next-steps .nextx-label {
    margin: 0;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 800;
    color: var(--nx-ink);
    transition:
        color 0.24s ease,
        transform 0.24s ease;
}

#next-steps .nextx-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.78;
    color: var(--nx-body);
    transition:
        color 0.24s ease,
        transform 0.24s ease;
}

#next-steps .nextx-item:hover .nextx-label {
    color: var(--nx-accent);
    transform: translateY(-1px);
}

#next-steps .nextx-item:hover .nextx-text {
    color: #22314d;
    transform: translateY(-1px);
}

/* outcome */
#next-steps .nextx-outcome {
    padding: 18px 20px;
    background: linear-gradient(
        180deg,
        rgba(238, 243, 255, 0.84) 0%,
        rgba(245, 248, 255, 0.96) 100%
    );
    border-top: 1px solid #dbe4ff;
}

#next-steps .nextx-goal {
    margin: 0;
    font-size: 15px;
    line-height: 1.78;
    color: #23304d;
}

#next-steps .nextx-goal strong {
    color: var(--nx-ink);
    font-weight: 800;
}

/* motion */
@media (prefers-reduced-motion: no-preference) {
    #next-steps .nextx-item {
        animation: nextxItemIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    #next-steps .nextx-item:nth-child(1) {
        animation-delay: 0.05s;
    }
    #next-steps .nextx-item:nth-child(2) {
        animation-delay: 0.1s;
    }
    #next-steps .nextx-item:nth-child(3) {
        animation-delay: 0.15s;
    }
    #next-steps .nextx-item:nth-child(4) {
        animation-delay: 0.2s;
    }
    #next-steps .nextx-item:nth-child(5) {
        animation-delay: 0.25s;
    }
}

@keyframes nextxIntroUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nextxItemIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsive */
@media (max-width: 640px) {
    #next-steps.nextx-section {
        padding: 34px 0 58px;
    }

    #next-steps .nextx-title {
        font-size: 32px;
        line-height: 1.1;
    }

    #next-steps .nextx-lede,
    #next-steps .nextx-text,
    #next-steps .nextx-goal {
        font-size: 14px;
        line-height: 1.7;
    }

    #next-steps .nextx-item {
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 16px;
    }

    #next-steps .nextx-icon {
        width: 42px;
        height: 42px;
    }

    #next-steps .nextx-label {
        font-size: 15px;
    }

    #next-steps .nextx-outcome {
        padding: 16px;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    #next-steps .nextx-header,
    #next-steps .nextx-card,
    #next-steps .nextx-item,
    #next-steps .nextx-item::after,
    #next-steps .nextx-icon,
    #next-steps .nextx-label,
    #next-steps .nextx-text {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
