@font-face {
    font-family: "Inter";
    src: url("./fonts/InterVariable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --b5-yellow: #ffc107;
    --b5-yellow-hover: #ffcf33;
    --b5-black: #111111;
    --b5-charcoal: #2b2b2b;
    --b5-gray: #6f6f6f;
    --b5-light-gray: #e8e8e8;
    --b5-off-white: #f7f7f5;
    --b5-white: #ffffff;
    --b5-danger: #b42318;
    --b5-danger-soft: #fee4e2;
    --b5-success: #287a4d;
    --b5-success-soft: #dcf3e6;
    --b5-info: #245f9e;
    --b5-info-soft: #e5f0ff;
    --b5-warning: #9a6500;
    --b5-warning-soft: #fff1c2;
    --b5-radius-xs: 8px;
    --b5-radius-sm: 12px;
    --b5-radius-md: 16px;
    --b5-radius-lg: 24px;
    --b5-radius-pill: 999px;
    --b5-space-1: 4px;
    --b5-space-2: 8px;
    --b5-space-3: 12px;
    --b5-space-4: 16px;
    --b5-space-6: 24px;
    --b5-space-8: 32px;
    --b5-space-12: 48px;
    --b5-space-16: 64px;
    --b5-font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --b5-shadow-sm: 0 4px 14px rgb(17 17 17 / 8%);
    --b5-shadow-md: 0 14px 40px rgb(17 17 17 / 12%);
    --b5-shadow-lg: 0 28px 80px rgb(0 0 0 / 24%);
    color-scheme: light;
    --b5-bg: var(--b5-off-white);
    --b5-surface: var(--b5-white);
    --b5-surface-raised: var(--b5-white);
    --b5-surface-soft: #f0f0ed;
    --b5-text: var(--b5-black);
    --b5-text-muted: var(--b5-gray);
    --b5-border: #d8d8d4;
    --b5-overlay: rgb(17 17 17 / 58%);
    --b5-control: var(--b5-white);
    --b5-action: var(--b5-yellow);
    --b5-action-text: var(--b5-black);
}

:root[data-theme="dark"], .b5-theme-dark {
    color-scheme: dark;
    --b5-bg: var(--b5-black);
    --b5-surface: var(--b5-charcoal);
    --b5-surface-raised: #343434;
    --b5-surface-soft: #202020;
    --b5-text: var(--b5-white);
    --b5-text-muted: #c5c5c5;
    --b5-border: #494949;
    --b5-overlay: rgb(0 0 0 / 76%);
    --b5-control: #333333;
    --b5-action: var(--b5-yellow);
    --b5-action-text: var(--b5-black);
}

:root[data-theme="light"], .b5-theme-light { color-scheme: light; }

html { font-family: var(--b5-font-ui); background: var(--b5-bg); color: var(--b5-text); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--b5-yellow); outline-offset: 3px; }
.b5-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.b5-logo { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--b5-text); }
.b5-logo__mark { display: block; width: var(--b5-logo-height); height: var(--b5-logo-height); object-fit: contain; }
.b5-logo__wordmark { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: end; column-gap: 8px; line-height: .82; }
.b5-logo__name { display: flex; grid-row: 1 / 3; font-size: calc(var(--b5-logo-height) * .72); font-weight: 900; letter-spacing: -.09em; }
.b5-logo__name b:first-child { color: currentColor; }
.b5-logo__name b:last-child { color: var(--b5-yellow); }
.b5-logo__hub { align-self: end; font-size: calc(var(--b5-logo-height) * .23); font-weight: 800; letter-spacing: .34em; }
.b5-logo__tagline { align-self: start; color: var(--b5-text-muted); font-size: calc(var(--b5-logo-height) * .13); font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap; }
.b5-logo--mark { line-height: 0; }
.b5-logo--full { display: block; }
.b5-logo__full { display: block; width: auto; max-width: 100%; height: var(--b5-logo-height); object-fit: contain; }
.b5-logo--dark { color: var(--b5-white); }
.b5-logo--light { color: var(--b5-black); }

.b5-theme-selector { display: inline-flex; grid-template-columns: none; align-items: center; gap: 8px; color: var(--b5-text-muted); font-size: .82rem; font-weight: 700; }
.b5-theme-selector select { width: auto; min-height: 38px; padding: 7px 32px 7px 10px; border: 1px solid var(--b5-border); border-radius: var(--b5-radius-sm); color: var(--b5-text); background-color: var(--b5-control); }

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