/* ============================================================
   XC Gradient — Base element styles
   Light-touch resets + typographic defaults built on the tokens.
   Opt-in: consumers get sensible defaults by linking styles.css,
   but component styling is explicit via tokens.
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Headings — serif display voice */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  color: var(--text-heading);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}
h1 { font-size: var(--text-display-lg); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--text-display-md); }
h3 { font-size: var(--text-display-sm); }
h4 { font-size: var(--text-title); }
h5 { font-size: var(--text-subtitle); }
h6 { font-size: var(--text-body-lg); }

p { margin: 0 0 1em; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--blau-600); text-decoration: underline; text-underline-offset: 2px; }

small { font-size: var(--text-caption); color: var(--text-muted); }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

strong, b { font-weight: var(--fw-semibold); }

hr {
  border: none;
  border-top: 1px solid var(--line-2);
  margin: var(--space-8) 0;
}

::selection { background: var(--grana-tint); color: var(--grana-700); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Utility: mono eyebrow label */
.xc-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
