/* ==========================================================================
   RaiseTheNorth — Swiss Minimal Design System
   Design #27: International Typographic Style
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #fafaf9;
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-700: #404040;
  --gray-600: #595959;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f0f0ef;
  --white: #ffffff;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --transition: 120ms ease;
}

/* ---------- Base ---------- */
html {
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--black);
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: -0.01em;
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }

/* ---------- Selection ---------- */
::selection {
  background: var(--black);
  color: var(--bg);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray-300); }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: none;
}
