.msl-brand-logo,
.msl-brand-wordmark {
    --msl-brand-gold: #e8c75f;
}

.msl-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    line-height: 0;
    text-decoration: none;
    white-space: nowrap;
}

.msl-brand-logo__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.msl-brand-pair {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    max-width: 100%;
    min-width: 0;
    line-height: 0;
    text-decoration: none;
    white-space: nowrap;
}

.msl-brand-pair__symbol,
.msl-brand-pair__wordmark,
.msl-brand-wordmark-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.msl-brand-pair__symbol {
    flex: 0 0 auto;
    width: 27%;
    height: 100%;
}

.msl-brand-pair__wordmark {
    flex: 0 1 auto;
    width: calc(73% - 7px);
    min-width: 0;
    height: 100%;
}

.msl-brand-pair--public {
    width: clamp(270px, 28vw, 360px);
    height: 74px;
}

.msl-brand-logo--public {
    width: clamp(250px, 26vw, 330px);
    height: 68px;
}

.msl-brand-wordmark {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    color: var(--msl-brand-gold);
    background: linear-gradient(105deg, #ad7310, #fff0a3 35%, #d4af37 62%, #f8e58c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .02em;
    text-decoration: none;
    text-shadow: none;
    filter: drop-shadow(0 0 7px rgba(212, 175, 55, .24));
    white-space: nowrap;
}

.msl-brand-wordmark--hero {
    margin: 2px auto 24px;
    font-size: clamp(44px, 7vw, 82px);
}

.msl-hero-brand-lockup {
    display: grid;
    justify-items: center;
    max-width: 100%;
    margin: 8px auto 0;
}

.msl-brand-symbol {
    display: block;
    width: clamp(104px, 14vw, 164px);
    max-width: 42vw;
    height: auto;
    object-fit: contain;
    transform: translateY(-19px);
}

.msl-brand-wordmark-image--hero {
    width: clamp(320px, 62vw, 740px);
    margin: -10px auto 18px;
}

.msl-brand-wordmark-image--section {
    width: clamp(250px, 34vw, 430px);
    margin: 0 auto;
}

.msl-section-brand-title,
.msl-cta-brand-title {
    display: grid;
    justify-items: center;
    gap: 3px;
    text-align: center;
}

.msl-section-brand-title > span,
.msl-cta-brand-title > span {
    display: block;
}

.msl-brand-wordmark-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    line-height: 0;
    text-decoration: none;
}

.msl-brand-wordmark-image--auth-header {
    width: auto;
    height: clamp(42px, 5vw, 56px);
}

.msl-brand-wordmark-image--auth-intro {
    width: clamp(260px, 36vw, 410px);
    margin: 0 0 12px;
}

.msl-brand-wordmark--auth-intro {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 46px);
}

.msl-brand-wordmark--auth-header {
    font-size: clamp(27px, 3vw, 38px);
}

.msl-shell-brand.msl-brand-logo,
.msl-shell-brand.msl-brand-pair {
    width: 100%;
    height: 56px;
    padding: 0 0 5px;
    background: #000;
}

.msl-shell-brand.msl-brand-pair {
    gap: 3px;
}

.msl-shell-brand.msl-brand-pair .msl-brand-pair__symbol {
    width: 31%;
}

.msl-shell-brand.msl-brand-pair .msl-brand-pair__wordmark {
    width: calc(69% - 3px);
}

body.msl-public-home,
body.msl-public-auth,
body.msl-shell-ready,
body.msl-shell-ready #msl-shell {
    color: #e8c75f;
}

body.msl-public-home :is(h1, h2, h3, h4, nav a, footer),
body.msl-public-auth :is(h1, h2, h3, h4, label, legend, .form-description, .intro-item, footer),
body.msl-shell-ready #msl-shell :is(.msl-shell-nav a, .msl-shell-pill, .msl-shell-live-item),
body.msl-shell-ready #msl-shell-content :is(h1, h2, h3, h4, h5, h6, label, legend) {
    color: #e8c75f;
}

body.msl-public-auth-static :is(h1, h2, h3, h4, p, label, legend, .intro-item, .form-description, .small-text, .tab, .back) {
    color: #e8c75f !important;
}

body.msl-public-auth-static :is(.intro, .forms, .auth-wrapper) {
    background: #030303 !important;
}

body.msl-public-auth-static :is(input, select, textarea) {
    color: #f0d77d !important;
    background: #030303 !important;
}

/* Fallback page canvas for branding documents such as the static auth page. */
body {
    background:
        radial-gradient(ellipse at 50% -12%, rgba(255, 255, 255, .032) 0, transparent 43%),
        linear-gradient(118deg, transparent 0 41%, rgba(212, 175, 55, .014) 49%, transparent 59%),
        radial-gradient(circle, rgba(212, 175, 55, .075) 0 .45px, transparent .85px) 19px 31px / 173px 149px,
        radial-gradient(circle, rgba(248, 229, 140, .048) 0 .35px, transparent .75px) 83px 67px / 257px 211px,
        #000 !important;
}

@media (max-width: 800px) {
    .msl-brand-logo--public {
        width: 225px;
        height: 52px;
    }

    .msl-brand-pair--public {
        width: 240px;
        height: 56px;
    }
}

@media (max-width: 700px) {
    .msl-shell-brand.msl-brand-logo,
    .msl-shell-brand.msl-brand-pair {
        width: 100px;
        height: 43px;
        padding: 0 1px 3px;
        justify-content: center;
    }

    .msl-shell-brand .msl-brand-logo__img {
        object-position: center;
    }
}

@media (max-width: 520px) {
    .msl-brand-logo--public {
        width: 180px;
        height: 42px;
    }

    .msl-brand-pair--public {
        width: 195px;
        height: 46px;
        gap: 4px;
    }

    .msl-brand-wordmark-image--hero {
        width: min(92vw, 430px);
    }

    .msl-brand-wordmark-image--auth-intro {
        width: min(88vw, 330px);
    }

    .msl-brand-wordmark--auth-header {
        font-size: 25px;
    }
}
