/* 4jibaro base element styles — applied when consumers link styles.css.
   Kept light: resets + default typographic treatment for headings, body,
   links, and the brand eyebrow label. */
:root {
  color-scheme: light;
}
[data-theme="dark"] { color-scheme: dark; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); font-weight: var(--fw-black); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-3xl); font-weight: var(--fw-extrabold); }
h3 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-xl); font-weight: var(--fw-bold); }
h5 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); }

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

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

strong { font-weight: var(--fw-bold); color: var(--text-heading); }

/* Brand eyebrow label: short red rule + uppercase spaced caps. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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