/* ======================================================
   How it works — 3-step timeline
   ====================================================== */

.wd-how {
    padding: 120px 40px;
    background: #fff;
    position: relative;
}

.wd-how__inner {
    max-width: 1360px;
    margin: 0 auto;
}

.wd-how__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.wd-how__track::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 15%;
    left: 15%;
    height: 1px;
    background-image: linear-gradient(90deg, var(--brass) 50%, transparent 50%);
    background-size: 12px 1px;
    z-index: 0;
}

.wd-how__step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.wd-how__step-num {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-circle);
    background: var(--bone);
    border: 1px solid rgba(var(--ink-rgb), .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 28px;
    position: relative;
    transition: all .4s ease;
}

.wd-how__step:hover .wd-how__step-num {
    background: var(--ink);
    color: var(--brass);
    transform: scale(1.05);
}

.wd-how__step-num::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px dashed var(--rule);
    border-radius: var(--radius-circle);
    opacity: 0;
    transition: opacity .4s ease;
}

.wd-how__step:hover .wd-how__step-num::before {
    opacity: 1;
}

.wd-how__step-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 10px;
    color: var(--ink);
}

.wd-how__step-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted-ink);
    margin: 0;
    max-width: 280px;
    margin-inline: auto;
}

@media (max-width: 992px) {
    .wd-how__track {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wd-how__track::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .wd-how {
        padding: 80px 20px;
    }
}
