/*
 * BookNook font policy
 * Uses local system fonts so text renders immediately and consistently in production.
 * Existing page CSS may still reference older design font names; these aliases keep
 * those declarations stable without depending on external Google Font downloads.
 */
:root {
    --bn-font-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bn-font-heading: Georgia, "Times New Roman", serif;
    --bn-font-mono: "SF Mono", Consolas, "Liberation Mono", "Courier New", monospace;
}

@font-face {
    font-family: "Poppins";
    src: local("Segoe UI");
    font-display: block;
}

@font-face {
    font-family: "Outfit";
    src: local("Segoe UI");
    font-display: block;
}

@font-face {
    font-family: "DM Sans";
    src: local("Segoe UI");
    font-display: block;
}

@font-face {
    font-family: "DM Mono";
    src: local("Consolas"), local("Courier New");
    font-display: block;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: local("Georgia");
    font-display: block;
}

@font-face {
    font-family: "Playfair Display";
    src: local("Georgia");
    font-display: block;
}

html {
    font-family: var(--bn-font-sans);
}

body {
    font-family: var(--bn-font-sans);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font-family: inherit;
}
