/* EVO TrustGuard — base layer (reset + typography defaults)
 *
 * Owner:        /css/AGENTS.md
 * Cascade:      loads AFTER tokens.css, BEFORE everything else.
 * Edit policy:  reset rules and document-level defaults only. Component
 *               styling lives in components.css; layout/page styling lives
 *               in page-[name].css.
 *
 * Rationale:
 *   Every portal page declared the same body rule inline (audit Section 5,
 *   "Body rule" — 11 portal files identical). Centralizing it here removes
 *   ~11 duplicate declarations and gives a single place to evolve the
 *   document-level baseline.
 */

/* ── Universal reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* ── Document defaults ────────────────────────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  line-height: var(--leading-loose);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Media defaults ───────────────────────────────────────────────────── */
img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Form-control inheritance ─────────────────────────────────────────── */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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