@font-face {
    font-family: "Orbitron";
    src: url("../assets/fonts/orbitron-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Orbitron";
    src: url("../assets/fonts/orbitron-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Exo 2";
    src: url("../assets/fonts/exo2-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Exo 2";
    src: url("../assets/fonts/exo2-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../assets/fonts/inter-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    src: url("../assets/fonts/inter-400-ext.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    src: url("../assets/fonts/inter-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    src: url("../assets/fonts/inter-500-ext.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html {
    background: var(--color-bg);
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: clip;
    background:
        radial-gradient(ellipse 80% 50% at 80% -10%, rgba(255, 87, 34, 0.08), transparent 52%),
        radial-gradient(ellipse 40% 30% at 0% 0%, rgba(255, 87, 34, 0.04), transparent 48%),
        var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(255, 87, 34, 0.28);
    color: var(--color-title);
}

:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

:focus:not(:focus-visible) {
    outline: none;
}

h1,
h2,
h3,
h4 {
    color: var(--color-title);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    font-family: var(--font-display);
    font-size: var(--text-h1);
    font-weight: 700;
}

h2 {
    font-family: var(--font-ui);
    font-size: var(--text-h2);
    font-weight: 600;
}

h3 {
    font-family: var(--font-ui);
    font-size: var(--text-h3);
    font-weight: 600;
}

p {
    color: var(--color-text-muted);
}

a:hover {
    color: var(--color-title);
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -4rem;
    z-index: var(--z-skip);
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-small);
    background: var(--color-surface);
    color: var(--color-title);
    font-family: var(--font-ui);
    font-size: var(--text-small);
}

.skip-link:focus {
    top: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
