/* ============================================================
   UniFi Nerds — Base reset + primitives
   Minimal, opinionated defaults so consumers get sensible
   typography and box-sizing out of the box.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font: var(--text-copy);
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5 { margin: 0; color: var(--text-strong); font-family: var(--font-display); }
p { margin: 0; }

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

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

::selection { background: var(--un-blue-tint-2); color: var(--un-ink); }

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

/* ---- Handy brand primitives ---- */
.un-eyebrow {
  font: var(--fw-bold) var(--fs-xs)/1 var(--font-text);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.un-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* The signature blue accent bar seen in UniFi Nerds videos */
.un-accent-bar {
  display: inline-block;
  width: 4px;
  border-radius: var(--r-pill);
  background: var(--accent);
  align-self: stretch;
}
