.brand-logo,
.company-logo,
.footer-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.brand-logo,
.company-logo {
    width: 372px;
}

.footer .brand-logo,
.footer-logo {
    width: 321px;
}

.footer-logo-link {
    display: inline-block;
}

.theme-logo {
    display: inline-grid;
    align-items: center;
}

.theme-logo > img {
    grid-area: 1 / 1;
}

.theme-logo > .company-logo {
    grid-area: 1 / 1;
}

.theme-logo > .theme-logo-dark {
    display: none;
}

html[data-theme="dark"] .theme-logo > .theme-logo-light {
    display: none;
}

html[data-theme="dark"] .theme-logo > .theme-logo-dark {
    display: block;
}

.ft-logo text {
    font-family: "Comfortaa", "Segoe UI", sans-serif;
}

.ft-logo-badge {
    fill: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
}

.ft-logo-wordmark {
    font-size: 44px;
    letter-spacing: -1px;
}

.ft-logo-fabrika {
    fill: #111426;
    font-weight: 700;
}

.ft-logo-teknik {
    fill: #6814ab;
    font-weight: 400;
}

.ft-logo-subtitle {
    fill: #657084;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
}

.ft-logo.theme-logo-dark .ft-logo-fabrika {
    fill: #f8f5fb;
}

.ft-logo.theme-logo-dark .ft-logo-teknik {
    fill: #cba7ea;
}

.ft-logo.theme-logo-dark .ft-logo-subtitle {
    fill: #d5cce0;
}

/* Footer keeps a dark purple surface in both themes: use the existing light wordmark. */
footer .theme-logo > .theme-logo-light {
    display: none;
}

footer .theme-logo > .theme-logo-dark {
    display: block;
}

@media (max-width: 560px) {
    .brand-logo,
    .company-logo {
        width: 321px;
    }
}
