/* ─── Staffbuilder.fi · Base Styles ─────────────────────────────
   Reset + global defaults. Import after tokens.css.
   ─────────────────────────────────────────────────────────────── */

/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..125,300..700&family=DM+Sans:wght@400;500;600&family=Geist:wght@300;400;500;600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

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

/* ── Body ────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Headings ────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ── Links ───────────────────────────────────────────────────── */
a {
  color: inherit;
  text-decoration: none;
}

/* ── Media ───────────────────────────────────────────────────── */
img,
svg {
  max-width: 100%;
  display: block;
}

/* ── Selection ───────────────────────────────────────────────── */
::selection {
  background: var(--signal);
  color: var(--paper);
}
