:root {
    --bg: #0a0d14;
    --bg-soft: #0f1420;

    --panel: #111827;
    --panel-soft: #10141f;

    --border: rgba(57, 168, 255, 0.18);
    --border-strong: rgba(57, 168, 255, 0.28);

    --blue: #39a8ff;
    --orange: #ff7a2f;
    --green: #33d17a;
    --red: #ff5c7a;

    --text: #e5eef9;
    --muted: #94a3b8;

    --shadow-blue: 0 0 24px rgba(57, 168, 255, 0.18);
    --shadow-orange: 0 0 24px rgba(255, 122, 47, 0.18);

    --scrollbar-size: 9px;
    --scrollbar-track: rgba(8, 11, 18, 0.92);
    --scrollbar-thumb: rgba(57, 168, 255, 0.28);
    --scrollbar-thumb-hover: rgba(57, 168, 255, 0.48);

    --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", "Consolas", monospace;

    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;

    background:
        radial-gradient(circle at top left, rgba(57, 168, 255, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 122, 47, 0.14), transparent 28%),
        var(--bg);
    background-color: var(--bg);

    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}