/* ============================================================
   XYZ LABS — Base reset & primitives
   Applied globally by consumers. Sets the default voice:
   Sora body on cool paper, antialiased, comfortable line-height.
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  background: var(--bg-app);
  color: var(--text-strong);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--accent-soft); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-xs);
}

/* ---- Reusable text primitives ---- */
.xyz-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.xyz-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
.xyz-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter);
  line-height: var(--lh-tight);
}
.xyz-mono { font-family: var(--font-mono); }

/* ---- Layout helpers ---- */
.xyz-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.xyz-rule { height: 1px; background: var(--border-subtle); border: 0; }
