/* ============================================================
   Belvest Family Wealth — Base element styling
   Minimal, unopinionated resets that apply the brand voice to
   raw HTML. Components layer on top of this.
   ============================================================ */

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

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

/* ---- Headings: serif voice ---- */
h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: var(--fw-regular);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-4);
}
h1 { font-family: var(--title-font); font-size: var(--text-3xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-normal);
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}
h4 { font-size: var(--text-md); }

p { margin: 0 0 var(--space-4); }

/* ---- Links ---- */
a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 0.15em; }

/* ---- Eyebrow / kicker ---- */
.eyebrow {
  font-family: var(--eyebrow-font);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Tabular numerals utility ---- */
.nums, .tabular-nums { font-feature-settings: var(--nums-tabular); }

/* ---- Selection ---- */
::selection { background: var(--mist-200); color: var(--text-primary); }

/* ---- Focus visibility ---- */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }

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

small { font-size: 0.6875rem; color: var(--text-muted); }
