
/* ══════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-y: contain;
}
img, canvas, svg, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--signal-tint); }
a { color: var(--blue); text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
/* Don't double-paint the ring on inputs that already light their border on
   focus (data-entry tables, email inputs, compare dropdown). */
input:focus-visible, select:focus-visible, textarea:focus-visible {
  box-shadow: none;
}
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }


