@font-face {
    font-family: "Secular One";
    src: url("/fonts/SecularOne-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --bc-font-family: "Secular One", sans-serif !important;
    --brand-paper: #fbf3ec;
    --brand-ink: #3a2a33;
    --brand-dark: #5c3b5f;
    --brand-coral: #d2553f;
    --brand-coral-button: #c4452e;
    --brand-apricot: #f2b47e;
    --brand-warm: color-mix(in srgb, var(--brand-apricot) 20%, var(--brand-paper));
    --brand-quiet: color-mix(in srgb, var(--brand-dark) 7%, var(--brand-paper));
    --brand-line: color-mix(in srgb, var(--brand-dark) 21%, var(--brand-paper));
}

/* Keep type consistent in the static pages and the dialogs mounted by the app. */
html, body, button, input, select, textarea, optgroup, pre, code, kbd, samp,
.activation-onboarding-overlay, .bc-quick-dashboard, .bc-live-calendar,
.bc-email-code-login, .mfa-secret, #beautycSignupPage, #existingSubscriptionTitle,
#sumitPrepaymentContactProof, #sumitSignupContinuation {
    font-family: var(--bc-font-family) !important;
}

.bc-site, .tour-gate, .registration-gate, .bc-checkout-page {
    font-synthesis: none;
}

/* Use the supplied art inside the existing logo frames. */
.bc-brand-wordmark {
    aspect-ratio: 611 / 273;
    object-fit: contain;
}

body :is(.brand-mark, .page-brand > span, .affiliate-brand, .booking-brand-mark,
         .consent-brand, .public-mark, .claim-brand > span, .seo-brand-mark,
         .deck-brand-mark, .deck-demo-logo, .desk-brand, .tour-screen-logo,
         .footer-brand, .brand-v4-mark) {
    background-color: transparent;
    background-image: url("/beautyc-wordmark.png?v=4");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: none;
    color: transparent;
    text-shadow: none;
}

body :is(.brand-mark, .affiliate-brand, .page-brand > span, .booking-brand-mark,
         .deck-brand-mark, .seo-brand-mark, .tour-screen-logo, .deck-demo-logo)::after {
    background: none;
    border-color: transparent;
}

body :is(.brand-mark, .page-brand > span, .affiliate-brand, .booking-brand-mark,
         .consent-brand, .public-mark, .claim-brand > span, .seo-brand-mark,
         .deck-brand-mark, .deck-demo-logo, .desk-brand, .tour-screen-logo,
         .footer-brand, .brand-v4-mark):is(:hover, :focus-visible) {
    color: transparent;
}

body :is(.sidebar, .topbar) :is(#sidebarLogoDashboard, #topbarLogoDashboard) {
    background-color: transparent;
    background-image: url("/beautyc-wordmark.png?v=4");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent !important;
}

/* Existing public primary actions keep their original presentation metrics. */
:is(.feature-button.primary, .button-primary, .deck-button.primary,
    .consent-submit, .form-card form > button, .login-card button) {
    background-color: var(--brand-coral-button);
    color: var(--brand-paper);
}

:is(.feature-button.primary, .button-primary, .deck-button.primary,
    .consent-submit, .form-card form > button, .login-card button):not(:disabled):hover {
    background-color: var(--brand-dark);
    color: var(--brand-paper);
}

@media (forced-colors: active) {
    body :is(.brand-mark, .page-brand > span, .affiliate-brand, .booking-brand-mark,
             .consent-brand, .public-mark, .claim-brand > span, .seo-brand-mark,
             .deck-brand-mark, .deck-demo-logo, .desk-brand, .tour-screen-logo,
             .footer-brand, .brand-v4-mark,
             #sidebarLogoDashboard, #topbarLogoDashboard) {
        background-image: none;
        color: CanvasText !important;
    }
}
