.tp-container {
    width: min(var(--tp-container), calc(100% - 48px));
    margin: 0 auto;
}

.site-main {
    min-height: calc(100vh - 168px);
}

.site-header {
    background: color-mix(in srgb, var(--tp-surface) 86%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--tp-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 38px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--tp-text-soft);
    font-weight: 700;
}

.site-nav > a:not(.tp-btn):hover {
    color: var(--tp-primary);
}
.site-nav > a.tp-btn:hover {
    color: #fff;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--tp-border);
    background: var(--tp-surface);
    color: var(--tp-text);
    border-radius: 999px;
    cursor: pointer;
}

.site-footer {
    border-top: 1px solid var(--tp-border);
    background: var(--tp-surface);
}

.site-footer__inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--tp-muted);
}

.site-footer__brand img {
    height: 34px;
    width: auto;
}

.site-footer__right {
    text-align: right;
    color: var(--tp-muted);
    font-size: 14px;
}

.site-footer__links {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin-bottom: 8px;
}
