html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: relative;
    z-index: 1000;
}

.site-main {
    flex: 1;
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    font-weight: 600;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nav-link {
    font-weight: 500;
}

.btn-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 0;
}

.site-footer {
    margin-top: auto;
    padding: 0.45rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.footer-identity {
    line-height: 1.15;
}

.footer-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-subtitle {
    margin-top: 0.05rem;
    font-size: 0.65rem;
}

.footer-copyright {
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
}

    .footer-links a {
        font-size: 1rem;
    }

@media (max-width: 767.98px) {
    .footer-content {
        grid-template-columns: 1fr auto;
        row-gap: 0.25rem;
    }

    .footer-copyright {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
    }

    .footer-subtitle {
        display: none;
    }
}