body.aya-how-works {
    background: #f4f3f0;
    color: #111827;
}

.how-doc {
    color: #111827;
    min-height: 100vh;
}

.how-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-bottom: 1px solid #e7e5e0;
    padding: 12px 20px;
}

.how-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    text-decoration: none;
    flex: 0 0 auto;
}

.how-brand img {
    height: 28px;
    width: auto;
}

.how-brand span {
    color: #6b7280;
    font-weight: 600;
    font-size: 1rem;
}

.how-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    max-width: 440px;
    margin: 0 auto;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e4e1db;
    border-radius: 999px;
}

.how-search i {
    color: #9ca3af;
    font-size: 16px;
}

.how-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    font-size: 0.95rem;
    padding: 0;
    box-shadow: none;
}

.how-doc a.how-contact {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e4e1db;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.how-doc a.how-contact:hover {
    background: #f7f6f3;
    color: #111827;
}

.how-shell {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px);
    justify-content: center;
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 24px 72px;
}

.how-toc {
    position: sticky;
    top: 88px;
}

.how-toc p {
    margin: 0 0 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
}

.how-toc a {
    display: block;
    margin: 0 0 4px;
    padding: 6px 0 6px 12px;
    border-left: 2px solid transparent;
    color: #6b7280;
    font-size: 0.92rem;
    text-decoration: none;
}

.how-toc a.is-active {
    border-left-color: #111827;
    color: #111827;
    font-weight: 700;
}

.how-crumb {
    margin: 0 0 14px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.how-crumb a {
    color: #9ca3af;
    text-decoration: none;
}

.how-crumb a:hover {
    color: #111827;
}

.how-doc h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.how-dek {
    max-width: 38em;
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.5;
}

.how-meta {
    margin: 0 0 22px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.how-tabs {
    display: flex;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 28px;
    padding: 4px;
    background: #e8e6e1;
    border-radius: 999px;
}

.how-tabs button {
    border: 0;
    background: transparent;
    color: #4b5563;
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.how-tabs button[aria-selected="true"] {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
}

.how-doc h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.how-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0 0 20px;
}

.how-step__n {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.how-step h3 {
    margin: 2px 0 4px;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.how-step p {
    margin: 0;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.5;
}

.how-doc a.how-more {
    display: inline-block;
    margin-top: 8px;
    color: #c3073f;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.how-doc a.how-more:hover {
    color: #9a0632;
}

.how-note {
    display: flex;
    gap: 12px;
    margin: 8px 0 36px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eceae4;
    border-radius: 16px;
}

.how-note i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f3f0;
    color: #111827;
    font-size: 18px;
}

.how-note strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 0.95rem;
}

.how-note p {
    margin: 0;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.45;
}

.how-why {
    margin-top: 8px;
}

.how-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.how-card {
    background: #fff;
    border: 1px solid #eceae4;
    border-radius: 16px;
    padding: 16px;
}

.how-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f4f3f0;
    color: #111827;
    font-size: 18px;
}

.how-card h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 700;
}

.how-card p {
    margin: 0;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.45;
}

.how-vote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eceae4;
    border-radius: 16px;
}

.how-vote p {
    margin: 0;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
}

.how-vote__actions {
    display: flex;
    gap: 8px;
}

.how-vote button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e4e1db;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.how-vote button:hover,
.how-vote button.is-chosen {
    background: #f4f3f0;
}

.how-end {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.how-related,
.how-cta {
    border-radius: 16px;
    padding: 18px;
}

.how-related {
    background: #fff;
    border: 1px solid #eceae4;
}

.how-related h2,
.how-cta h2 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.how-related a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f0eeea;
    color: #111827;
    font-size: 0.95rem;
    text-decoration: none;
}

.how-related a:first-of-type {
    border-top: 0;
}

.how-related a i {
    color: #9ca3af;
}

.how-cta {
    background: #16181d;
    color: #fff;
}

.how-cta h2,
.how-cta p {
    color: #fff;
}

.how-cta p {
    margin: 0 0 16px;
    color: #d1d5db;
    font-size: 0.92rem;
    line-height: 1.45;
}

.how-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how-doc a.how-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.how-doc a.how-btn--solid,
.how-doc a.how-btn--solid:hover {
    background: #c3073f;
    color: #fff;
}

.how-doc a.how-btn--ghost,
.how-doc a.how-btn--ghost:hover {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

@media (max-width: 860px) {
    .how-bar {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .how-search {
        order: 3;
        max-width: none;
        flex: 1 1 100%;
        margin: 0;
    }

    .how-shell {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px 16px 48px;
    }

    .how-toc {
        display: none;
    }

    .how-tabs {
        width: 100%;
    }

    .how-tabs button {
        flex: 1 1 auto;
        padding: 8px 8px;
        font-size: 0.78rem;
    }

    .how-doc h1 {
        font-size: 1.85rem;
    }

    .how-cards,
    .how-end {
        grid-template-columns: 1fr;
    }

    .how-vote {
        align-items: center;
    }

    .how-vote p {
        flex: 1 1 auto;
    }
}
