.how-to-page {
    --how-to-layout-width: 1180px;
    background: #fff;
}

.how-to-page .how-to-page-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-to-page .how-to-page-eyebrow {
    color: var(--td-editorial-pill-color);
    background: var(--td-editorial-pill-background);
    border: 1px solid var(--td-editorial-pill-border);
    box-shadow: var(--td-editorial-pill-shadow);
}

.how-to-page .how-to-page-title {
    margin: 18px 0 20px;
    text-align: center;
}

.how-to-page .how-to-page-lead {
    max-width: 590px;
    margin: 0 auto;
    text-align: center;
}

.how-to-page .how-to-page-section {
    padding: 0 0 42px !important;
    background: #fff;
}

.how-to-page-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: var(--how-to-layout-width);
    margin: 0 auto;
}

.how-to-page .how-to-step-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 250px;
    padding: 24px;
    border: 1px solid rgba(225, 205, 185, 0.82);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(13, 29, 57, 0.065), 0 8px 18px rgba(13, 29, 57, 0.03);
    text-align: left;
}

.how-to-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.how-to-page .how-to-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--td-orange-gradient);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(223, 110, 13, 0.18);
}

.how-to-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff5e7 0%, #fef0da 100%);
    color: var(--td-orange-end);
    font-size: 1.05rem;
}

.how-to-page .how-to-step-title {
    margin: 0 0 10px;
    color: var(--td-title-blue);
    font-family: "Poppins", sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.28;
}

.how-to-page .how-to-step-text {
    margin: 0;
    color: #607190;
    font-size: 0.96rem;
    line-height: 1.65;
}

.how-to-page-steps-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.how-to-page .how-to-page-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--td-orange-gradient);
    color: #fff !important;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(223, 110, 13, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-to-page .how-to-page-primary-button:hover,
.how-to-page .how-to-page-primary-button:focus {
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.how-to-page .how-to-page-faq-section {
    padding-top: 44px !important;
    padding-bottom: 54px !important;
    background: #fff;
}

.how-to-page-faq-content {
    width: 100%;
    max-width: var(--how-to-layout-width);
    margin: 0 auto;
}

.how-to-page .how-to-page-faq-title {
    margin: 0 0 10px;
    color: var(--td-title-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.04;
}

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

    .how-to-page .how-to-step-card {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .how-to-page .how-to-page-title {
        margin: 13px 0 14px;
    }

    .how-to-page .how-to-page-lead {
        max-width: 350px;
    }

    .how-to-page .how-to-page-section {
        padding: 38px 0 28px !important;
    }

    .how-to-page-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .how-to-page .how-to-step-card {
        min-height: 0;
        padding: 20px;
        border-radius: 22px;
    }

    .how-to-step-top {
        margin-bottom: 16px;
    }

    .how-to-page-steps-action {
        margin-top: 22px;
    }

    .how-to-page .how-to-page-primary-button {
        width: 100%;
        max-width: 350px;
        white-space: normal;
    }

    .how-to-page .how-to-page-faq-section {
        padding-top: 32px !important;
        padding-bottom: 40px !important;
    }

    .how-to-page .how-to-page-faq-title {
        margin-bottom: 7px;
        font-size: 1.62rem;
        line-height: 1.3;
    }
}
