/* Self-hosted fonts for LandDiscounter */

/* Inter font family - Modern, clean sans-serif */
@font-face {
    font-family: 'Inter';
    src: url('./inter-regular.woff2') format('woff2'),
         url('./inter-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./inter-medium.woff2') format('woff2'),
         url('./inter-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./inter-semibold.woff2') format('woff2'),
         url('./inter-semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./inter-bold.woff2') format('woff2'),
         url('./inter-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Roboto Mono for code/monospace text */
@font-face {
    font-family: 'RobotoMono';
    src: url('./roboto-mono-regular.woff2') format('woff2'),
         url('./roboto-mono-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RobotoMono';
    src: url('./roboto-mono-bold.woff2') format('woff2'),
         url('./roboto-mono-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Font stack definitions with fallbacks */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'RobotoMono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Apply fonts to specific elements only */
body {
    font-family: var(--font-primary);
}

.code-textarea,
.css-output,
pre,
code,
.monospace {
    font-family: var(--font-mono);
}