/* ============================================================
   Avansys — Base element styles & small utility helpers.
   Lightweight: sets sensible defaults using the tokens.
   ============================================================ */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--text-link);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

code, pre, kbd { font-family: var(--font-mono); }

/* ---- Brand utility classes ---- */

/* Spaced uppercase eyebrow / kicker — a core brand device */
.av-eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: var(--av-orange-deep);
}

/* The forward chevron gradient as a text fill */
.av-gradient-text {
  background: var(--av-gradient-forward);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Thin forward rule (mirrors the chevron accent bar) */
.av-rule {
  width: 56px;
  height: 4px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--av-gradient-forward);
}
