@font-face {
    font-family: CommitMonoVariable;
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
    src: url("/fonts/CommitMono-VariableFont.woff2") format("woff2"), url("/fonts/CommitMono-VariableFont.ttf") format("truetype");
}

@font-face {
    font-family: CommitMonoVariable;
    font-style: italic;
    font-weight: 200 700;
    font-display: swap;
    src: url("/fonts/CommitMono-VariableFont.woff2") format("woff2"), url("/fonts/CommitMono-VariableFont.ttf") format("truetype");
}

:root {
    /* Color variables */
    --accent: #b462cbff;
    --background: light-dark(#f3dffc, #16051d);
    --foreground: light-dark(#faf0ff, #08020b);
    --text: light-dark(#0f0f0f, #efefef);

    --success: #9ece6a;
    --warn: #e0af68;
    --error: #f7768e;

    /* Font variables */
    --font-main: Inter;
    --font-mono: monospace;

    /* Layout variables */
    --container-width: 768px;
    --radius: 0.5rem;

    font-family: var(--font-main), sans-serif;
}

@supports (font-variation-settings: normal) {
    :root {
        --font-main: InterVariable;
        --font-mono: CommitMonoVariable;
    }
}

body {
    margin: 0;
    padding: 0;

    color-scheme: light dark;
    background-color: var(--background);
    color: var(--text);
}

a {
    color: var(--accent);
}

a:visited {
    color: var(--accent);
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-width);
}