/* ============================================================
   JewelsUp — Base element styles + primitives
   Kept minimal; components carry most styling. Applies sane
   defaults + link colors so consumers get the brand for free.
   ============================================================ */

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

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

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

p { margin: 0; }

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

::selection { background: var(--gold-200); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

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

hr { border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-6) 0; }

/* ---- Eyebrow / label helper (echoes the logo tagline styling) ---- */
.ju-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-brand);
}
