/* ══════════════════════════════════════════════════════════════════════
   NEXUS — Base
   Reset mínimo, tipografia global, utilitários de texto.
   ══════════════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body.nexus {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--ink-white);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nexus a {
  color: inherit;
  text-decoration: none;
}

body.nexus button {
  font-family: inherit;
  cursor: pointer;
}

body.nexus ::selection {
  background: var(--brand-yellow);
  color: var(--ink-card);
}

/* Scrollbars — discretos em canvas escuro */
body.nexus ::-webkit-scrollbar { width: 10px; height: 10px; }
body.nexus ::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
}
body.nexus ::-webkit-scrollbar-track { background: transparent; }

/* ── Utilitários de tipografia ───────────────────────────────────────── */
.nexus .mono     { font-family: var(--font-mono); }
.nexus .brand    { font-family: var(--font-brand); }
.nexus .display  { font-family: var(--font-display); }
.nexus .upper    { text-transform: uppercase; letter-spacing: 0.05em; }

.nexus .eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-white-50);
}

/* ── Utility: truncate ───────────────────────────────────────────────── */
.nexus .truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Utility: flex helpers ───────────────────────────────────────────── */
.nexus .flex-row  { display: flex; align-items: center; }
.nexus .flex-col  { display: flex; flex-direction: column; }
.nexus .flex-spread { display: flex; align-items: center; justify-content: space-between; }
.nexus .flex-1   { flex: 1; min-width: 0; }
