/* ==========================================================================
   Mama Bear Law — Base element defaults
   Light, opt-in resets and element styling that reflect the brand voice.
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: var(--ls-normal); }
h4 { font-size: var(--fs-h4); letter-spacing: var(--ls-normal); }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: var(--fw-bold);
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--text-link-hover); }

/* Uppercase brand eyebrow helper */
.mbl-eyebrow {
  text-transform: uppercase;
  font-size: var(--type-eyebrow-size);
  font-weight: var(--fw-black);
  letter-spacing: var(--type-eyebrow-spacing);
  color: var(--text-strong);
}

/* Accent word inside a headline */
.mbl-accent { color: var(--text-accent); }

::selection { background: var(--mbl-lilac); color: var(--mbl-ink); }

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