@font-face {
    font-family: 'SF Pro Display';
    src: url('/fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/fonts/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Cap maximum font-weight to 500 (font-medium) */
.font-semibold,
.font-bold,
.font-extrabold,
.font-black {
    font-weight: 500 !important;
}

body,
.font-sans {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}
