.brand-logo {
    display: block;
    width: 150px;
    height: 50px;
    object-fit: contain;
    transition: transform .3s ease, filter .3s ease;
}

.brand:hover .brand-logo {
    filter: drop-shadow(0 5px 8px rgba(24, 58, 50, .15));
    transform: translateY(-2px) scale(1.02);
}

.join-page .site-header .brand,
.site-footer .brand {
    padding: 2px 9px;
    border-radius: 7px;
    background: #fffdf9;
}

.join-page .main-nav .button {
    border-color: #fffdf9;
    background: #fffdf9;
    color: var(--ink);
}

.footer-credit {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 3px;
}

.footer-credit a {
    color: #e9c879;
    font-size: 10px;
    letter-spacing: .3px;
    transition: color .2s ease, transform .2s ease;
}

.footer-credit a:hover {
    color: #fff;
    transform: translateX(2px);
}

.nav-account {
    padding: 5px 8px;
    border-radius: 5px;
    color: var(--muted);
    font-size: 12px;
    transition: background .2s ease, color .2s ease;
}

.nav-account:hover,
.nav-account.active {
    background: #edf1ed;
    color: var(--ink);
}

.account-security-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 22px;
    align-items: start;
}

.account-summary {
    padding: 27px;
}

.account-summary > div {
    margin-top: 18px;
}

.account-summary small {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.4px;
}

.account-summary h2 {
    margin: 5px 0 3px;
    font-size: 19px;
}

.account-summary p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.role-pill {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 13px;
    background: #e5ede9;
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
}

@media (max-width: 560px) {
    .brand-logo {
        width: 124px;
        height: 42px;
    }

    .footer-credit {
        align-items: flex-end;
    }

    .footer-credit > span {
        display: none;
    }

    .nav-account {
        padding: 4px;
        font-size: 11px;
    }

    .account-security-layout {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-logo,
    .footer-credit a {
        transition: none;
    }
}
