.home-process {
    padding: clamp(52px, 7vw, 92px) 0;
    background: #fff;
}

.home-process h2 {
    margin: 0 0 clamp(26px, 4vw, 46px);
    color: #101c34;
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: center;
    text-wrap: balance;
}

.home-process-viewport {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: #bbccef #f2f5fc;
    scrollbar-width: thin;
    padding-bottom: 14px;
}

.home-process-viewport:focus-visible {
    outline: 2px solid #2857c5;
    outline-offset: 4px;
}

.home-process-track {
    position: relative;
    min-width: 840px;
}

.home-process-curve {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 56px;
    fill: none;
    stroke: #769cf0;
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.home-process-curve-highlight {
    visibility: hidden;
    stroke: #214fd1;
    stroke-width: 3;
}

.home-process .home-process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.home-process-steps > li {
    margin: 0;
    padding: 0 16px;
    text-align: center;
    scroll-snap-align: start;
}

.home-process-step-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border: 1px solid #d3e0fc;
    border-radius: 50%;
    background: #f2f6ff;
    color: #174ab6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.home-process-steps h3 {
    margin: 0 0 8px;
    color: #101c34;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 600;
    line-height: 1.3;
}

.home-process-steps p {
    max-width: 30ch;
    margin: 0 auto;
    color: #4b5970;
    font-size: 15px;
    line-height: 1.6;
}

.home-process-viewport.can-drag {
    cursor: grab;
}

.home-process-viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
    .home-process-track.is-in-view .home-process-curve-highlight {
        visibility: visible;
        stroke-dasharray: 0.26 1.5;
        animation: home-process-curve-sweep 5s linear infinite;
    }

    .home-process h2.is-in-view {
        animation: home-process-reveal 550ms ease-out both;
    }

    .home-process-steps > .is-in-view h3,
    .home-process-steps > .is-in-view p {
        animation: home-process-reveal 440ms ease-out both;
    }
}

@keyframes home-process-curve-sweep {
    0% { stroke-dashoffset: 0.26; opacity: 0; }
    3% { stroke-dashoffset: 0.134; opacity: 1; }
    27% { stroke-dashoffset: -0.874; opacity: 1; }
    30%, 100% { stroke-dashoffset: -1; opacity: 0; }
}

@keyframes home-process-reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
