/* ============================================================
   MAXRENTAL — Base element defaults & helpers
   Lightweight, opt-in. Components don't depend on these resets.
   ============================================================ */

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

body {
  margin: 0;
  font: var(--text-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings default to Helvetica display */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  color: var(--text-primary);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

/* ---- Eyebrow label (red, uppercase, tracked) — recurring brand motif ---- */
.mx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-weight: var(--weight-bold);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--brand);
}
.mx-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
}

/* ---- Layout helpers ---- */
.mx-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

/* Selection */
::selection { background: var(--primary-500); color: #fff; }
