/* Shared typography for public pages; deliberately not loaded by stand/. */
@font-face {
    font-family: CrimsonPro;
    src: url('/fonts/Crimson_Pro/static/CrimsonPro-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: CrimsonPro;
    src: url('/fonts/Crimson_Pro/static/CrimsonPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: CrimsonPro;
    src: url('/fonts/Crimson_Pro/static/CrimsonPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-normal: 1rem !important;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    font-size: 1rem;
}

/* Also cover legacy page rules, form controls and dynamically added text. */
body, body * {
    font-family: var(--font-body) !important;
}

/* Keep headings, navigation and button labels in the brand typeface. */
:is(h1, h2, h3, h4, h5, h6, nav, #Menu, [role="navigation"],
    button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
    .button, .cta-button, .newsletter-link-button, .home-sales-button),
:is(h1, h2, h3, h4, h5, h6, nav, #Menu, [role="navigation"],
    button, [role="button"], .button, .cta-button, .newsletter-link-button, .home-sales-button) * {
    font-family: CrimsonPro, serif !important;
}
