:root {
    --text: #e8ecf3;
    --muted: #8a97ad;
    --muted-strong: #b4bfd1;
    --faint: #4f5d75;
    --accent: #c9a25c;
    --grid-major: rgba(148, 170, 205, 0.09);
    --grid-minor: rgba(148, 170, 205, 0.035);
    --font-display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
    /* Fælles easing for alle animationer: hurtig start og en lang, blød opbremsning lige før slutningen. */
    --ease-settle: cubic-bezier(0.05, 0.95, 0.05, 1);
    --fold-time: 1.1s;
    color-scheme: dark;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    background: #0a1120;
    color: var(--text);
    font-family: var(--font-display);
    -webkit-font-smoothing: antialiased;
}

h1:focus {
    outline: none;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
