.landing-how-it-works {
    padding: 100px 0 30px;
    scroll-margin-top: 24px;
}

.how-it-works-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.how-it-works-heading h2 {
    margin: 14px 0 16px;
    color: #101014;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .99;
}

.how-it-works-heading h2 em {
    color: #ef5a22;
    font-family: Georgia, serif;
    font-weight: 500;
}

.how-it-works-heading > p {
    max-width: 690px;
    color: #66615d;
    font-size: 16px;
    line-height: 1.75;
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.how-step-card {
    position: relative;
    min-height: 280px;
    padding: 25px 24px 22px;
    overflow: hidden;
    border: 1px solid #eee5dc;
    border-radius: 20px;
    background: linear-gradient(145deg, #fffdfa 0%, #fff 72%);
    box-shadow: 0 10px 28px rgba(47, 34, 24, .045);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.how-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 90, 36, .38);
    box-shadow: 0 18px 34px rgba(47, 34, 24, .09);
}

.how-step-number {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #f7d5c5;
    border-radius: 13px;
    background: #fff0e8;
    color: #e6531d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.how-step-icon {
    position: absolute;
    top: 25px;
    right: 23px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f6f3ef;
    color: #292521;
    font-size: 23px;
}

.how-step-card h3 {
    margin: 26px 0 10px;
    color: #171512;
    font-size: 19px;
    letter-spacing: -.035em;
}

.how-step-card p {
    margin: 0;
    color: #66615d;
    font-size: 12px;
    line-height: 1.75;
}

.how-step-card small {
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0ebe6;
    color: #9a6b52;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}

.how-step-highlight {
    border-color: #f3c8b3;
    background: linear-gradient(145deg, #fff5ef 0%, #fffdfa 75%);
}

.how-step-highlight .how-step-icon {
    background: #f15a24;
    color: white;
}

.how-it-works-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding: 20px 23px;
    border: 1px solid #27231f;
    border-radius: 18px;
    background: #1b1a1a;
    color: #fff;
}

.how-it-works-note > span {
    flex: 0 0 auto;
    color: #ff7a43;
    font-size: 24px;
}

.how-it-works-note p {
    margin: 0;
    color: #e3ded9;
    font-size: 12px;
    line-height: 1.75;
}

.how-it-works-note strong {
    color: #fff;
}

.how-it-works-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 960px) {
    .landing-how-it-works {
        padding-top: 76px;
    }

    .how-it-works-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .landing-how-it-works {
        padding-top: 62px;
    }

    .how-it-works-heading h2 {
        font-size: 43px;
    }

    .how-it-works-heading > p {
        font-size: 14px;
    }

    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .how-step-card {
        min-height: 0;
        padding: 21px;
    }

    .how-step-card h3 {
        margin-top: 21px;
    }

    .how-it-works-note {
        padding: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .how-step-card {
        transition: none;
    }
}
