@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-cyrillic-400.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-cyrillic-500.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/jetbrains-mono-cyrillic-700.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    color-scheme: dark;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --bg: #0a0e11;
    --bg-2: #0d1317;
    --panel: #101820;
    --panel-2: #131d25;
    --line: #1d2a32;
    --line-strong: #2b3d47;
    --text: #c8d6ce;
    --text-dim: #7e9187;
    --text-faint: #55665e;
    --accent: #3f6;
    --accent-soft: #223d2c;
    --accent-2: #9be9b6;
    --danger: #ff6b6b;
    --warn: #ffc857;
    --code-bg: #080e11;
    --code-line: #17252b;
    --selection: #1d4a30;
    --link: #8fe8b0;
    --radius: 4px;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
    --scanline: rgba(255, 255, 255, .012);
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #f3f0e6;
    --bg-2: #e9e4d5;
    --panel: #fbf9f1;
    --panel-2: #f6f3e8;
    --line: #d6d0be;
    --line-strong: #b9b29d;
    --text: #232a21;
    --text-dim: #646c5f;
    --text-faint: #8a9184;
    --accent: #1f6b45;
    --accent-soft: #d9ead9;
    --accent-2: #2f8a5b;
    --danger: #b3261e;
    --warn: #9a6400;
    --code-bg: #efece0;
    --code-line: #ddd7c5;
    --selection: #cfe8d6;
    --link: #14653f;
    --shadow: 0 24px 60px -34px rgba(60, 50, 20, .45);
    --scanline: rgba(0, 0, 0, .015);
}

/* Prism tokens */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: var(--text-faint);
    font-style: italic;
}

.token.punctuation {
    color: var(--text-dim);
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
    color: #ff8f70;
}

.token.boolean,
.token.number {
    color: #e6c07b;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: var(--accent-2);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #9ad4ff;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #ff79c6;
}

.token.function,
.token.class-name {
    color: #8be9fd;
}

.token.regex,
.token.important,
.token.variable {
    color: var(--warn);
}

[data-theme="light"] .token.property,
[data-theme="light"] .token.tag,
[data-theme="light"] .token.constant,
[data-theme="light"] .token.symbol,
[data-theme="light"] .token.deleted {
    color: #a2371b;
}

[data-theme="light"] .token.boolean,
[data-theme="light"] .token.number {
    color: #7a4d00;
}

[data-theme="light"] .token.operator,
[data-theme="light"] .token.entity,
[data-theme="light"] .token.url {
    color: #0f5c86;
}

[data-theme="light"] .token.atrule,
[data-theme="light"] .token.attr-value,
[data-theme="light"] .token.keyword {
    color: #92246d;
}

[data-theme="light"] .token.function,
[data-theme="light"] .token.class-name {
    color: #0a6070;
}
