@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ceramic-canvas: #F7F8FA;
  --ceramic-surface: #FFFFFF;
  --ceramic-raised: #F0F2F5;
  --ceramic-ink: #151922;
  --ceramic-muted: #586273;
  --ceramic-line: #DDE3EA;
  --ceramic-brand: #3D4FE0;
  --ceramic-brand-ink: #FFFFFF;
  --ceramic-verified: #0B6E55;
  --ceramic-review: #925300;
  --ceramic-blocked: #B32C3C;
  --ceramic-info: #315FAD;
  --carbon-canvas: #0A0A0A;
  --carbon-surface: #111111;
  --carbon-raised: #1B1B1B;
  --carbon-ink: #F2F2F2;
  --carbon-muted: #A3A3A3;
  --carbon-line: #262626;
  --carbon-control-line: #686868;
  --carbon-brand: #79B7FA;
  --carbon-brand-ink: #111111;
  --carbon-link: #A3D0FF;
  --carbon-verified: #70CFA5;
  --carbon-review: #EBC078;
  --carbon-blocked: #F6A0A8;
  --carbon-info: var(--carbon-link);
  --carbon-focus: #BEDDFF;
  --theme-paper: var(--ceramic-canvas);
  --theme-white: var(--ceramic-surface);
  --theme-ink: var(--ceramic-ink);
  --theme-muted: var(--ceramic-muted);
  --theme-line: var(--ceramic-line);
  --theme-soft: var(--ceramic-raised);
  --theme-night: var(--carbon-canvas);
  --theme-night-panel: var(--carbon-surface);
  --theme-night-surface: var(--carbon-raised);
  --theme-night-line: var(--carbon-line);
  --theme-accent: var(--ceramic-brand);
  --theme-display: 'Space Grotesk', 'Geist', system-ui, sans-serif;
  --theme-ease: cubic-bezier(.22, 1, .36, 1);
  --theme-signal: url('/images/signal-800.webp?v=2');
  --theme-contours: url('/images/contours-800.webp?v=2');
  --theme-orbit: url('/images/orbit-800.webp?v=2');
  --theme-portal: url('/images/portal-800.webp?v=2');
}

@media (min-width: 800px) {
  :root {
    --theme-signal: url('/images/signal-1600.webp?v=2');
    --theme-contours: url('/images/contours-1600.webp?v=2');
    --theme-orbit: url('/images/orbit-1600.webp?v=2');
    --theme-portal: url('/images/portal-1600.webp?v=2');
  }
}

@keyframes theme-arrive {
  from { opacity: .3; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .theme-enter { animation: theme-arrive .55s var(--theme-ease) both; }
}
