@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-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; }

:root {
    --white: #FFFFFF;
    --mist: #F2F2F0;
    --rule: #DAD9D5;
    --ink: #141414;
    --ink-soft: #2A2A2A;
    --grey: #5F5E5A;
    --grey-on-dark: #B4B2AD;
    --red: #D42A3A;
    --red-deep: #B01F2E;
    --error: #B3261E;
    --focus: var(--ink);
    --type: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --gutter: clamp(16px, 4vw, 56px);
    --column: 82rem;
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--type);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.55;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
    scrollbar-color: var(--ink) var(--mist);
}

::selection {
    background: var(--ink);
    color: var(--white);
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--grey); border: 3px solid var(--mist); border-radius: 6px; }

h1, h2, h3, h4, p, figure { margin: 0; }

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

h1[tabindex="-1"]:focus { outline: none; }

img { display: block; max-width: 100%; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.mud-input, .mud-input-label { font-family: var(--type) !important; }

@keyframes settle {
    from { transform: scale(1.04); }
    to { transform: none; }
}

@keyframes rise {
    from { transform: translateY(12px); }
    to { transform: none; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    @keyframes settle { from { transform: none; } to { transform: none; } }
    @keyframes rise { from { transform: none; } to { transform: none; } }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1000;
    padding: 0.75rem var(--gutter);
    background: var(--ink);
    color: var(--white);
    font-family: var(--type);
}

#blazor-error-ui .reload { color: var(--white); font-weight: 700; margin-left: 0.75rem; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; top: 0.6rem; }

#reconnect-modal {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.6rem 1.1rem;
    background: var(--ink);
    color: var(--white);
    font-family: var(--type);
    font-weight: 600;
}
