/* ============================================================
   WEAVER — Design System root stylesheet
   The compiler reads this file (and its @imports) for tokens + fonts.
   ============================================================ */
@import url("colors_and_type.css");

/* Akzidenz-Grotesk BQ Bold → Archivo substitute, plus a Helvetica-metric
   fallback (Inter) for machines without Helvetica Neue. Loaded from Google. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Inter:wght@300;400;500;700&display=swap");

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* shared utility: hairline rule */
.w-rule { height: 1px; background: var(--hairline); border: 0; width: 100%; }
.w-rule--dark { background: var(--hairline-dark); }

/* focus ring */
:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
