:root {
  /* Abstractions */
  --color-bg: var(--stone-50);
  --color-text: black;
  --color-text-reversed: white;
  --color-text-subtle: var(--stone-500);
  --color-link: var(--blue-700);
  --color-border-light: var(--stone-100);
  --color-border: var(--stone-200);
  --color-border-dark: var(--stone-400);
  --color-selected: var(--blue-100);
  --color-selected-dark: var(--blue-300);
  --color-highlight: var(--yellow-200);

  /* Accent colors */
  --color-primary: var(--stone-900);
  --color-secondary: var(--stone-100);
  --color-negative: var(--red-600);
  --color-positive: var(--green-600);
  --color-hover: var(--stone-700);
  --color-hover-light: var(--stone-100);
  --input-background: white;

  /* SVG color values */
  --color-filter-text: invert(0);
  --color-filter-text-reversed: invert(1);
  --color-filter-negative: invert(22%) sepia(85%) saturate(1790%)
    hue-rotate(339deg) brightness(105%) contrast(108%);
  --color-filter-positive: invert(44%) sepia(89%) saturate(409%)
    hue-rotate(89deg) brightness(94%) contrast(97%);
}

* {
  border-color: var(--color-border);
  scrollbar-color: #c1c1c1 transparent;
  scrollbar-width: thin;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-synthesis-weight: none;
  overscroll-behavior: none;
  text-rendering: optimizeLegibility;
}

.turbo-progress-bar {
  background-color: #3b82f6;
  height: 6px;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 0 4px #3b82f6;
}

::selection {
  background-color: var(--color-selected);
}
