.tc-site-header {
    background: var(--tc-color-ink);
    border-bottom: 3px solid var(--tc-color-accent);
    box-shadow: var(--tc-shadow-header);
    padding: 1rem 2rem;
    width: 100%;
}

.tc-site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--tc-page-max);
    width: 100%;
}

.tc-brand {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
}

.tc-brand__mark {
    flex: 0 0 auto;
    font-size: 2rem;
    line-height: 1;
}

.tc-brand__title {
    color: var(--tc-color-white);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.tc-brand__link {
    color: inherit;
    text-decoration: none;
}

.tc-brand__tagline {
    color: var(--tc-color-accent);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.1rem 0 0;
}

.tc-site-header__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 1.5rem;
}

.tc-header-api-link {
    color: var(--tc-color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tc-version-badge {
    background: var(--tc-color-ink-soft);
    border-radius: 6px;
    color: var(--tc-color-muted-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .tc-site-header {
        padding: 1rem;
    }

    .tc-site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .tc-brand__title {
        font-size: 1.5rem;
    }

    .tc-brand__tagline {
        max-width: 28rem;
    }

    .tc-site-header__actions {
        gap: 1rem;
        justify-content: space-between;
        width: 100%;
    }
}
