:root {
    --background: #090b10;
    --surface: rgba(24, 28, 38, 0.88);
    --surface-solid: #11141c;
    --surface-light: rgba(39, 45, 58, 0.9);
    --surface-dark: rgba(15, 18, 25, 0.9);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f5f7fb;
    --muted: #9ca6b8;
    --accent: #e62026;
    --accent-light: #ff4b50;
    --success: #42d392;
    --warning: #ffbf69;
    --danger: var(--accent-light);
    --border-subtle: var(--border);
    --text-primary: var(--text);
    --text-secondary: var(--muted);
    --text-muted: var(--muted);
    --private-copy: var(--text);
    --private-muted: var(--muted);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(
            circle at 14% 10%,
            rgba(232, 33, 39, 0.2),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 72%,
            rgba(63, 94, 251, 0.13),
            transparent 38%
        ),
        var(--background);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 92%
    );
}

a {
    color: inherit;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    min-height: 44px;
    padding: 11px 16px;
    border: 2px solid var(--text);
    border-radius: 10px;
    color: var(--background);
    background: var(--text);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--warning);
    outline-offset: 3px;
}

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