#titlebar.how-it-works-titlebar {
    margin-bottom: 0;
}

.how-it-works-titlebar h1 {
    margin: 0;
}

.how-it-works-page {
    overflow: hidden;
    color: #555861;
}

.how-it-works-intro {
    padding: 72px 0 54px;
    text-align: center;
}

.how-it-works-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: #666a73;
    font-size: 20px;
    line-height: 1.7;
}

.how-steps-section {
    padding: 74px 0 80px;
}

.how-steps-section--owner {
    background: #f7f8fb;
}

.how-steps-section--host {
    background: #fff;
}

.how-section-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.how-section-heading h2 {
    margin: 0 0 12px;
    color: #272a31;
    font-size: 34px;
    line-height: 1.25;
}

.how-section-heading p {
    margin: 0;
    color: #70737b;
    font-size: 17px;
    line-height: 1.65;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.how-step-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 300px;
    padding: 34px 28px 30px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(38, 42, 52, 0.07);
    text-align: left;
}

.how-step-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: #f91942;
    content: '';
}

.how-step-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #e8e9ed;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.how-step-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    color: #f91942;
    background: rgba(249, 25, 66, 0.08);
    border-radius: 50%;
}

.how-step-icon i {
    font-size: 35px;
    line-height: 1;
}

.how-step-card h3 {
    margin: 24px 0 10px;
    color: #2e3138;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.how-step-card p {
    margin: 0;
    color: #676a72;
    font-size: 16px;
    line-height: 1.65;
}

.how-steps-grid--host .how-step-card::before {
    background: #fab900;
}

.how-steps-grid--host .how-step-icon {
    color: #9b7000;
    background: rgba(250, 185, 0, 0.13);
}

.how-host-cta {
    margin-top: 42px;
    text-align: center;
}

.how-host-cta .button {
    white-space: normal;
}

.how-support-section {
    padding: 76px 0 84px;
    background: #f7f8fb;
}

.how-support-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.how-faq-panel,
.how-contact-card {
    border-radius: 14px;
}

.how-faq-panel {
    padding: 36px;
    background: #fff;
    border: 1px solid #e6e8ee;
    box-shadow: 0 10px 28px rgba(38, 42, 52, 0.06);
}

.how-faq-panel h2,
.how-contact-card h2 {
    margin: 0 0 24px;
    font-size: 27px;
    line-height: 1.35;
}

.how-faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.how-faq-list li + li {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eceef2;
}

.how-faq-list h3 {
    margin: 0 0 7px;
    color: #30333a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.how-faq-list p {
    margin: 0;
    line-height: 1.65;
}

.how-contact-card {
    padding: 36px;
    color: #fff;
    background: #0a0ea6;
    box-shadow: 0 10px 28px rgba(10, 14, 166, 0.18);
}

.how-contact-card h2 {
    color: #fff;
}

.how-contact-card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.how-contact-card a {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .how-steps-grid--host .how-step-card:last-child {
        grid-column: 2;
    }
}

@media (max-width: 991px) {
    .how-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .how-steps-grid--host .how-step-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }

    .how-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .how-it-works-intro {
        padding: 48px 0 38px;
    }

    .how-it-works-intro p {
        font-size: 17px;
        line-height: 1.65;
    }

    .how-steps-section {
        padding: 52px 0 58px;
    }

    .how-section-heading h2 {
        font-size: 28px;
    }

    .how-steps-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-top: 32px;
    }

    .how-steps-grid--host .how-step-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .how-step-card {
        min-height: 0;
        padding: 28px 24px 26px;
    }

    .how-step-number {
        top: 18px;
        right: 20px;
        font-size: 42px;
    }

    .how-step-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .how-step-icon i {
        font-size: 31px;
    }

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

    .how-host-cta {
        margin-top: 32px;
    }

    .how-support-section {
        padding: 54px 0 60px;
    }

    .how-faq-panel,
    .how-contact-card {
        padding: 28px 24px;
    }

    .how-faq-panel h2,
    .how-contact-card h2 {
        font-size: 24px;
    }
}
