.steps-grid article {
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.steps-grid article:hover {
    transform: translateY(-3px);
    border-color: #bfd0e7;
    box-shadow: 0 14px 30px rgba(32, 67, 112, .08);
    background: #fbfdff;
}

.step-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.step-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid #c8d8ef;
    border-radius: 14px;
    color: #4f7cff;
    background: #f3f7ff;
    flex: 0 0 50px;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.steps-grid article:hover .step-icon {
    transform: translateY(-2px);
    border-color: #a9c0e5;
    background: #edf4ff;
}

.step-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.steps-grid article > h3 {
    margin-top: 54px;
}

/* The fifth homepage flow icon extends below its SVG viewBox, so give it
   extra breathing room before the title on desktop/tablet layouts. */
@media (min-width: 701px) {
    .home-v2-flow-step:nth-child(5) .home-v2-step-art {
        margin-bottom: 24px;
    }
}

@media (max-width: 680px) {
    .step-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 13px;
    }

    .step-icon svg {
        width: 25px;
        height: 25px;
    }

    .steps-grid article > h3 {
        margin-top: 34px;
    }
}
