@font-face {
    font-family: 'Halifax Bold';
    src: url('/assets/fonts/fonnts.com-halbol.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Halifax Black';
    src: url('/assets/fonts/fonnts.com-halbla.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Accord W';
    src: url('/assets/fonts/fonnts.com-Accord_W00_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-red: #C83F3B;
    --brand-red-muted: #B44F42;
    --brand-house-grey: #4C4F57;
    --brand-shadow-grey: #3F3B45;
    --brand-slate: #1D1E22;
    --brand-white: #FFFFFF;

    --surface-canvas: #1D1E22;
    --surface-card: #23242A;
    --surface-drawer: #18191D;
    --surface-input: #141518;
    --surface-border: #4C4F57;

    --text-primary: #F4F5F7;
    --text-muted: #A2A6B0;

    --red-primary: var(--brand-red);
    --red-muted: var(--brand-red-muted);
    --house-grey: var(--brand-house-grey);
    --shadow-grey: var(--brand-shadow-grey);
    --white-line: var(--brand-white);
    --bg-slate: var(--surface-canvas);
    --card-bg: var(--surface-card);
    --drawer-bg: var(--surface-drawer);
    --input-bg: var(--surface-input);
    --text-white: var(--text-primary);
    --text-dim: var(--text-muted);

    --drawer-width: 420px;

    /* Phone browsers have toolbars that collapse while scrolling, so 100vh is taller than what
       is visible. --vh-small is the height with toolbars shown (stable for page layout);
       --vh-dynamic follows the toolbars (for fixed-height app shells). */
    --vh-small: 100vh;
    --vh-dynamic: 100vh;

    /* Page side padding. Phones and the desktop live view override it. */
    --gutter: 24px;
}

@supports (height: 100dvh) {
    :root {
        --vh-small: 100svh;
        --vh-dynamic: 100dvh;
    }
}
