/* ============================================================
   Better Being — Base layer
   Minimal resets + a few brand primitives (eyebrow, hairline).
   Everything paints on the ink floor with off-white Sailec.
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--surface-floor);
  color: var(--text-primary);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--accent-hover); }

::selection {
  background: var(--accent);
  color: var(--bb-text);
}

/* Typeface accent — Playfair Display italic, MARKETING ONLY.
   Use on the single altitude word in a headline (1–2 words max).
   Never in either app, never on labels/CTAs/body. See readme. */
.bb-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* Eyebrow / overline — the brand's standard label treatment */.bb-eyebrow {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* Hairline divider */
.bb-hairline {
  border: 0;
  border-top: 1px solid var(--border-hairline);
  margin: 0;
}

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