/* ═══════════════════════════════════════════════════════════════
   JARVIS — BASE / RESET
   Applies the dark-mode foundation. Optional for consumers, but
   every specimen card and UI kit relies on it.
   ═══════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: var(--leading-normal);
}

::selection {
  background: rgba(255, 128, 0, 0.3);
  color: #fff;
}

/* Themed scrollbars for dark surfaces */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-border) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: var(--surface-border);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--petrol-400); background-clip: padding-box; }
