/* Bullerish tokens: "Night desk" (Claude Design, Nov 1 2026). One source for both halves of the site: the
   midterms pages under public/midterms/ link this file directly (no build step), and the React site imports it
   in src/index.css and maps it into Tailwind with @theme. Fonts are self-hosted (SIL OFL). */
@font-face{font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(/midterms/fonts/archivo-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: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(/midterms/fonts/archivo-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;}
@font-face{font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/midterms/fonts/jbmono-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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/midterms/fonts/jbmono-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;}
@font-face{font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(/midterms/fonts/jbmono-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: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(/midterms/fonts/jbmono-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;}
@font-face{font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-wght-normal.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: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-wght-normal.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;}
@font-face{font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-wght-italic.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: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-wght-italic.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 {
  color-scheme: dark;
  /* surfaces and lines */
  --sh-bg: #0b0c0f;
  --sh-surface: #13151a;
  --sh-surface-2: #1a1d24;
  --sh-surface-3: #23272f;
  --sh-line: #262a33;
  --sh-line-strong: #3a404b;
  /* text (contrast on --sh-bg) */
  --sh-text: #eceef2;          /* 16.8:1 */
  --sh-text-muted: #b3b9c4;    /*  9.9:1 */
  --sh-text-subtle: #8b919d;   /*  6.2:1 */
  --sh-text-faint: #5f6571;    /* decor + disabled only */
  /* brand */
  --sh-accent: #f97316;
  --sh-accent-hover: #fb923c;
  --sh-accent-pressed: #ea580c;
  --sh-accent-text: #fb923c;
  --sh-accent-tint: rgb(249 115 22 / 0.14);
  --sh-on-accent: #0b0c0f;
  --sh-focus: #fdba74;
  /* parties: reserved for Democrats, Republicans, independents and not-called races, never anything else */
  --sh-dem: #3d6cf5; --sh-dem-text: #8fa8ff; --sh-dem-tint: #1b2541;
  --sh-rep: #e5484d; --sh-rep-text: #ff8f92; --sh-rep-tint: #391e23;
  --sh-ind: #a56ef0; --sh-ind-text: #c9a6ff; --sh-ind-tint: #2d2541;
  --sh-uncalled: #3c414c;
  --sh-likely: 0.7;  /* opacity steps for ratings */
  --sh-lean: 0.45;
  /* data, non-party */
  --sh-data-a: #2fb3a1;  /* yes, in person */
  --sh-data-b: #f2c45a;  /* no, by mail */
  --sh-data-c: #c9ced8;  /* other, neutral */
  /* blog categories */
  --sh-cat-election: #c9ced8;
  --sh-cat-bestof: #f2c45a;
  --sh-cat-devlog: #2fb3a1;
  --sh-cat-design: #a8d26b;
  --sh-cat-studio: #fb923c;
  /* type */
  --sh-font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sh-font-read: "Newsreader", Charter, Georgia, serif;
  --sh-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sh-size-display: 3.5rem;  --sh-lh-display: 3.75rem;
  --sh-size-h1: 2.5rem;       --sh-lh-h1: 2.75rem;
  --sh-size-h2: 1.75rem;      --sh-lh-h2: 2.125rem;
  --sh-size-h3: 1.25rem;      --sh-lh-h3: 1.625rem;
  --sh-size-body: 1rem;       --sh-lh-body: 1.625rem;
  --sh-size-read: 1.1875rem;  --sh-lh-read: 1.9375rem;
  --sh-size-small: 0.875rem;  --sh-lh-small: 1.25rem;
  --sh-size-label: 0.75rem;   --sh-lh-label: 1rem;
  --sh-size-mono: 0.8125rem;  --sh-lh-mono: 1.125rem;
  --sh-measure: 68ch;
  /* shape, space, motion */
  --sh-r-sm: 6px; --sh-r-md: 10px; --sh-r-lg: 14px;
  --sh-r-xl: 20px; --sh-r-pill: 999px;
  --sh-tap: 44px;
  --sh-ring: 0 0 0 2px var(--sh-bg), 0 0 0 4px var(--sh-focus);
  --sh-dur: 120ms;
  --sh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 640px) {
  :root {
    --sh-size-display: 2.25rem; --sh-lh-display: 2.5rem;
    --sh-size-h1: 1.875rem;     --sh-lh-h1: 2.125rem;
    --sh-size-h2: 1.5rem;       --sh-lh-h2: 1.875rem;
    --sh-size-read: 1.125rem;   --sh-lh-read: 1.8125rem;
  }
}

:focus-visible { outline: none; box-shadow: var(--sh-ring); }
.sh-num { font-family: var(--sh-font-mono); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
