@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'EB Garamond';
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-wght-italic.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: italic;
    font-weight: 100 800;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-latin-wght-italic.woff2') format('woff2-variations');
}

/*
 * RuneUltra theme tokens. The single source for colour, type, space, focus
 * and motion. The marketing page and the engine shell both load this file.
 * Do not copy these hex values into another stylesheet: add a token here and
 * reference it with var(--token). site/test/theme-tokens.test.mjs checks the
 * WCAG AA pairs and that the engine shell does not grow a second palette.
 */
:root {
    --page-max: 1160px;
    --bg: #12110E;
    --bg-2: #1A1916;
    --bg-3: #24221C;
    --bg-4: #2C291F;
    --bg-deep: #0E0D0B;
    --bg-abyss: #0A0908;
    --panel: rgba(36, 34, 28, 0.72);
    --gold: #D9B45A;
    --gold-2: #EACB86;
    --gold-3: #F5E6BC;
    --cream: #F1E7CF;
    --cream-2: #E1D3B4;
    --cream-3: #C8B893;
    --ink: #1C1913;
    --ink-soft: #5B5242;
    --muted: #B9AF99;
    --muted-2: #8E8674;
    --ember: #E08A3C;
    --green: #8FAF7A;
    --blood: #B85C4A;
    --danger: #E08A7A;
    --line: rgba(239, 228, 200, 0.13);
    --line-strong: rgba(239, 228, 200, 0.28);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    --serif: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
    --sans: 'Inter', 'Avenir Next', 'Trebuchet MS', 'Segoe UI', Helvetica, Arial, sans-serif;
    --mono: 'JetBrains Mono', 'SFMono-Regular', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
    --font-display: var(--serif);
    --font-body: var(--sans);
    --font-ui: var(--sans);
    --font-mono: var(--mono);
    --step--1: 0.8rem;
    --step-0: 1rem;
    --step-1: 1.25rem;
    --step-2: 1.563rem;
    --step-3: 1.953rem;
    --step-4: 2.441rem;
    --step-5: 3.052rem;
    --step-6: 3.815rem;
    --leading-tight: 1.15;
    --leading-copy: 1.65;
    --leading-ui: 1.4;
    --tracking-kicker: 0.18em;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 7px;
    --radius-lg: 12px;
    --radius-pill: 99px;
    --focus-ring: 2px solid var(--gold-2);
    --focus-offset: 3px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 120ms;
    --dur-base: 240ms;
    --dur-slow: 480ms;
    /* Sticky chrome. Stone and charcoal, not the retired green header. */
    --chrome-top: var(--bg-2);
    --chrome-bottom: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --dur-fast: 0ms;
        --dur-base: 0ms;
        --dur-slow: 0ms;
        --ease-out: linear;
        --ease-in-out: linear;
    }
}
