.how-page {
    --home-left-shift: 0px;
    background: #F8F6FF;
}
.how-page .header-inner {
    max-width: 1180px;
    padding: 18px 28px;
}
.how-page .brand,
.how-page .header-actions {
    margin: 0;
}
.how-page .nav-links a.active {
    color: #4338CA;
    box-shadow: inset 0 -2px 0 #5850EC;
    padding-bottom: 4px;
}

.how {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 28px 72px;
}

.how-hero {
    text-align: center;
    margin-bottom: 40px;
}
.how-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    margin-bottom: 18px;
}
.how-hero h1 {
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: #1A1730;
    max-width: 14em;
    margin: 0 auto;
}
.how-hero .lede {
    margin: 14px auto 0;
    max-width: 36rem;
    color: #6B6880;
    font-size: 1.02rem;
}

.how-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
}
.how-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1.5px solid #EEEAF8;
    border-radius: 22px;
    padding: 22px 20px 24px;
    box-shadow: 0 14px 36px rgba(30, 27, 46, 0.07);
    min-height: 100%;
}
.how-art {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.how-art svg {
    width: 100%;
    max-width: 132px;
    height: auto;
}
.how-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Sora, Inter, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.how-card h2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}
.how-card p {
    color: #6B6880;
    font-size: 0.88rem;
    line-height: 1.45;
}

.how-discover h2 { color: #7C3AED; }
.how-discover h2 span { background: #7C3AED; }
.how-match h2 { color: #059669; }
.how-match h2 span { background: #059669; }
.how-tailor h2 { color: #7C3AED; }
.how-tailor h2 span { background: #7C3AED; }
.how-apply h2 { color: #2563EB; }
.how-apply h2 span { background: #2563EB; }
.how-track h2 { color: #D97706; }
.how-track h2 span { background: #D97706; }

.how-arrow {
    width: 22px;
    align-self: center;
    position: relative;
}
.how-arrow::before {
    content: "";
    display: block;
    width: 14px;
    border-top: 1.6px solid #A5B4FC;
    margin: 0 auto;
}
.how-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border: 4px solid transparent;
    border-left-color: #818CF8;
    transform: translateY(-50%);
}

.how-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
    padding: 18px 36px 18px 12px;
    background: #EDE9FE;
    border-radius: 28px;
    min-height: 148px;
}
.how-banner img {
    flex: 0 0 auto;
    width: 168px;
    height: 168px;
    object-fit: contain;
    margin-top: -28px;
    margin-bottom: -12px;
}
.how-banner p {
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(0.95rem, 1.7vw, 1.2rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #4C1D95;
    max-width: 22ch;
}

@media (max-width: 900px) {
    .how-page .nav-links { display: none; }
    .how-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 16px;
    }
    .how-arrow { display: none; }
    .how-banner {
        flex-direction: column;
        text-align: center;
        padding: 12px 24px 28px;
    }
    .how-banner img {
        margin: -8px 0 0;
        width: 140px;
        height: 140px;
    }
    .how-banner p { max-width: none; }
}
