/* ============================================================
   Hoffer Flow Controls — Base element defaults
   Minimal, opt-in. Applies the brand voice to bare HTML so
   specimen cards and quick mocks look on-brand with no classes.
   ============================================================ */

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text-strong);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

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

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* Brand utility: uppercase eyebrow label with amber tick */
.hfc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--role-eyebrow-size);
  font-weight: var(--role-eyebrow-weight);
  letter-spacing: var(--role-eyebrow-spacing);
  text-transform: uppercase;
  color: var(--text-link);
}
.hfc-eyebrow::before {
  content: "";
  width: 18px;
  height: var(--rule-accent-w);
  background: var(--accent);
}

/* Display heading helper (wide industrial grotesque) */
.hfc-display {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-strong);
}

/* Mono spec text helper */
.hfc-spec {
  font-family: var(--font-mono);
  font-size: var(--role-spec-size);
  letter-spacing: var(--tracking-mono);
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--blue-200); color: var(--blue-950); }
