/* ============================================================
   BASE — minimal resets + brand defaults.
   Sets the cream page foundation and the brand face.
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--surface-page);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--charcoal-100);
  text-decoration: underline;
  text-underline-offset: 2px;
}

::selection {
  background: var(--charcoal-100);
  color: var(--off-white);
}
