@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-latin.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: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/Inter-latin.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: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/Inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/JetBrainsMono-latin.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: 100 800;
    font-display: swap;
    src: url("../fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@layer content {
    html {
        scroll-padding-top: calc(var(--tk-size-header) + var(--tk-space-4));
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        font-family: var(--tk-font-body);
        font-size: var(--tk-font-size-md);
        line-height: var(--tk-line-height-body);
        color: var(--tk-color-text);
        background-color: var(--tk-color-bg);
        background-image: var(--tk-gradient-page);
        background-repeat: no-repeat;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    h1,
    h2,
    h3,
    h4,
    .h1,
    .h2,
    .h3 {
        font-family: var(--tk-font-display);
        font-weight: var(--tk-font-weight-bold);
        line-height: var(--tk-line-height-tight);
        letter-spacing: var(--tk-letter-spacing-tight);
        color: var(--tk-color-text);
        text-wrap: balance;
    }

    h1,
    .h1 {
        font-size: var(--tk-font-size-h1);
        font-weight: var(--tk-font-weight-extrabold);
    }

    h2,
    .h2 {
        font-size: var(--tk-font-size-h2);
    }

    h3,
    .h3 {
        font-size: var(--tk-font-size-h3);
        line-height: var(--tk-line-height-snug);
    }

    p {
        text-wrap: pretty;
    }

    a {
        color: var(--tk-color-link);
        text-underline-offset: var(--tk-underline-offset);
    }

    a:hover {
        color: var(--tk-color-link-hover);
    }

    code,
    kbd,
    .kicker {
        font-family: var(--tk-font-mono);
    }
}

.kicker {
    display: inline-block;
    font-size: var(--tk-font-size-xs);
    font-weight: var(--tk-font-weight-semibold);
    letter-spacing: var(--tk-letter-spacing-kicker);
    text-transform: uppercase;
    color: var(--tk-color-accent-strong);
}

::selection {
    color: var(--tk-color-primary-contrast);
    background-color: var(--tk-color-primary);
}

:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.menu-item:focus-visible {
    outline: var(--tk-focus-width) solid var(--tk-color-focus);
    outline-offset: var(--tk-focus-offset);
    box-shadow: none;
}

@media (forced-colors: active) {
    :focus-visible,
    .btn:focus-visible,
    .nav-link:focus-visible,
    .menu-item:focus-visible {
        outline-color: Highlight;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
