/* Shared typography system — intentionally loaded with the global header. */
@font-face {
    font-family: "Tracking Sans";
    src: url("/fonts/roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tracking Sans";
    src: url("/fonts/roboto/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tracking Sans";
    src: url("/fonts/roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tracking Display";
    src: url("/fonts/Cabin-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

html {
    font-family: "Tracking Sans", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
table {
    font-family: "Tracking Sans", Arial, sans-serif !important;
}

body *:not(i):not(svg):not(path):not(code):not(pre):not(kbd):not(samp):not(.material-icons) {
    font-family: "Tracking Sans", Arial, sans-serif !important;
}

body :where(p, a, button, input, select, textarea, label, td, th, small),
body :where(.btn, .card, .dropdown-item, .list-group-item, .testimonial-text) {
    font-family: "Tracking Sans", Arial, sans-serif !important;
}

body :where(h1, h2, h3, h4, h5, h6),
body :where(.secH2, .featureH2, .appFH1, .deviceName, .resource--tile-title) {
    font-family: "Tracking Display", "Tracking Sans", Arial, sans-serif !important;
    font-weight: 700;
    letter-spacing: -.015em;
}

body p {
    line-height: 1.65;
}

body :where(h1, h2, h3, h4, h5, h6) {
    text-wrap: balance;
}

body :where(p, li) {
    text-wrap: pretty;
}

body :where(.fa, .fas, .far, .fab, .bi, .material-icons, [class^="mdi-"], [class*=" mdi-"]) {
    font-family: inherit;
}
