.process {
    padding: 64px 0;
    background-color: var(--theme-page);
    border-top: 1px solid var(--theme-line);
    border-bottom: 1px solid var(--theme-line);
}

.process__header {
    max-width: 620px;
    margin-bottom: 32px;
}

.process__label {
    margin: 0 0 6px;
    color: var(--brand-primary);
    font-size: .9rem;
    font-weight: 600;
}

.site .process__title {
    margin: 0;
    /* font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem); */
    font-weight: 600;
    line-height: 1.3;
    text-wrap: balance;
}

.process__intro {
    margin: 10px 0 0;
    color: var(--theme-muted);
    font-size: .95rem;
    line-height: 1.75;
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-step {
    position: relative;
    padding-top: 28px;
    border-top: 2px solid var(--theme-line);
}

.process-step::before {
    content: "";
    position: absolute;
    top: -2px;
    inset-inline: 0;
    height: 2px;
    background-color: var(--brand-primary);
    transform-origin: right;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(.2s + var(--step, 0) * .18s);
}

[dir="ltr"] .process-step::before {
    transform-origin: left;
}

.process__steps.reveal:not(.is-visible) .process-step::before {
    transform: scaleX(0);
}

.process-step__number {
    display: block;
    margin-bottom: 16px;
    color: var(--brand-primary);
    font-size: .9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.site .process-step__title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.process-step__text {
    margin: 0;
    color: var(--theme-muted);
    font-size: .95rem;
    line-height: 1.85;
}

@media (max-width: 1199.98px) {
    .process__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 48px;
    }
}

@media (max-width: 991.98px) {
    .process {
        padding: 56px 0;
    }

    .process__header {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }
}

@media (max-width: 767.98px) {
    .process__steps {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .process-step {
        padding: 0 0 32px;
        padding-inline-start: 28px;
        border-top: 0;
        border-inline-start: 2px solid var(--theme-line);
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    .process-step::before {
        top: 0;
        bottom: 0;
        inset-inline: -2px auto;
        width: 2px;
        height: auto;
        transform-origin: top;
    }

    [dir="ltr"] .process-step::before {
        transform-origin: top;
    }

    .process__steps.reveal:not(.is-visible) .process-step::before {
        transform: scaleY(0);
    }
}