@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./assets/fonts/inter/inter-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("./assets/fonts/roboto-condensed/roboto-condensed-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --sl-navy: #061b31;
  --sl-navy-raised: #0c2a47;
  --sl-navy-selected: #113454;
  --sl-blue: #0968e8;
  --sl-blue-hover: #075bc9;
  --sl-blue-soft: #eaf3ff;
  --sl-orange: #ff6b00;
  --sl-green: #188a55;
  --sl-green-text: #117344;
  --sl-green-soft: #e9f7ef;
  --sl-red: #c73535;
  --sl-red-text: #a82323;
  --sl-red-soft: #fff0ef;
  --sl-yellow-text: #8a4608;
  --sl-ink: #10243a;
  --sl-muted: #64748b;
  --sl-line: #dce4ec;
  --sl-line-strong: #bac6d2;
  --sl-canvas: #f4f7fa;
  --sl-surface: #fff;
  --sl-surface-subtle: #f8fafc;
  --sl-display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --sl-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sl-shadow-sm: 0 1px 2px rgb(6 27 49 / 8%);
  --sl-shadow-lg: 0 22px 60px rgb(6 27 49 / 22%);
  --sl-radius-sm: 3px;
  --sl-radius-md: 6px;
  --sl-radius-lg: 10px;
  --sl-focus: 0 0 0 3px rgb(9 104 232 / 28%);
  --sl-space-1: 4px;
  --sl-space-2: 8px;
  --sl-space-3: 12px;
  --sl-space-4: 16px;
  --sl-space-6: 24px;
  --sl-space-8: 32px;
  --sl-space-12: 48px;

  /* Compatibility aliases while page layouts move onto the shared system. */
  --navy: var(--sl-navy);
  --navy-2: var(--sl-navy-raised);
  --blue: var(--sl-blue);
  --blue-soft: var(--sl-blue-soft);
  --orange: var(--sl-orange);
  --green: var(--sl-green);
  --green-soft: var(--sl-green-soft);
  --red: var(--sl-red);
  --red-soft: var(--sl-red-soft);
  --yellow: var(--sl-yellow-text);
  --ink: var(--sl-ink);
  --text: var(--sl-ink);
  --muted: var(--sl-muted);
  --line: var(--sl-line);
  --line-bright: var(--sl-line-strong);
  --bg: var(--sl-canvas);
  --canvas: var(--sl-canvas);
  --panel: var(--sl-surface);
  --surface: var(--sl-surface);
  --panel-2: var(--sl-surface-subtle);
  --panel-3: #eef3f8;
  --display: var(--sl-display);
  --shell-navy: var(--sl-navy);
  --shell-navy-selected: var(--sl-navy-selected);
  --shell-blue: var(--sl-blue);
  --shell-orange: var(--sl-orange);
  --shell-canvas: var(--sl-canvas);
  --shell-surface: var(--sl-surface);
  --shell-ink: var(--sl-ink);
  --shell-muted: var(--sl-muted);
  --shell-line: var(--sl-line);
  --shell-display: var(--sl-display);
  --live-navy: var(--sl-navy);
  --live-blue: var(--sl-blue);
  --live-orange: var(--sl-orange);
  --live-green: var(--sl-green);
  --live-red: var(--sl-red);
  --live-line: var(--sl-line);
  --live-fill: var(--sl-canvas);
  --live-muted: var(--sl-muted);
  --live-display: var(--sl-display);
}

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

html {
  min-width: 320px;
  background: var(--sl-canvas);
  font-family: var(--sl-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body, button, input, select, textarea { font-family: var(--sl-body); }
body { color: var(--sl-ink); }

h1, h2, h3, .display-type { font-family: var(--sl-display); }

button, a, input, select, textarea { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }

.sl-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.sl-icon--sm { width: 16px; height: 16px; }
.sl-icon--lg { width: 22px; height: 22px; }

.desktop-rail .sl-icon,
.main-rail .sl-icon,
.docs-main-rail .sl-icon,
.shows-header .sl-icon { filter: brightness(0) invert(1); opacity: .78; }

.desktop-rail :is(.active, :hover, :focus-visible) .sl-icon,
.main-rail :is(.active, :hover, :focus-visible) .sl-icon,
.docs-main-rail :is(.active, :hover, :focus-visible) .sl-icon,
.shows-header :is(.active, :hover, :focus-visible) .sl-icon { opacity: 1; }

:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--sl-blue);
  outline-offset: 2px;
  box-shadow: var(--sl-focus);
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: .55;
}

::selection { color: #fff; background: var(--sl-blue); }

.sl-brand {
  position: relative;
  display: inline-grid;
  width: max-content;
  color: inherit;
  font-family: var(--sl-display);
  font-size: 22px;
  font-weight: 800;
  line-height: .82;
  letter-spacing: .015em;
  text-decoration: none;
  text-transform: uppercase;
}

.sl-brand > span { display: block; }
.sl-brand > span + span { margin-left: 8px; }
.sl-brand > i { display: none !important; }

.sl-brand::after {
  content: "";
  width: 34px;
  height: 3px;
  margin-top: 8px;
  background: var(--sl-orange);
}

.sl-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--sl-space-2);
  padding: 0 var(--sl-space-4);
  border: 1px solid var(--sl-line-strong);
  border-radius: var(--sl-radius-sm);
  background: var(--sl-surface);
  color: var(--sl-ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.sl-button--primary {
  border-color: var(--sl-blue);
  background: var(--sl-blue);
  color: #fff;
}

.sl-button--primary:hover { border-color: var(--sl-blue-hover); background: var(--sl-blue-hover); }

.sl-state {
  padding: var(--sl-space-6);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius-md);
  background: var(--sl-surface-subtle);
  color: var(--sl-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 660px) {
  :where(button, [role="button"], input, select, textarea) { min-height: 44px; }
}

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