/* BOOXit — base element styles & helpers.
   Keeps specimen cards / kits consistent without forcing resets on consumers. */
:root {
  color-scheme: light;
  --booxit-blue: var(--blue-500);
  --booxit-red: var(--red-500);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -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-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text-primary);
  margin: 0;
}

a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 2px; }

/* Utility text roles */
.booxit-overline {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-overline);
  letter-spacing: var(--ls-caps-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}
.booxit-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Brand band — solid BOOXit blue (was a blue→red sweep; simplified per brand direction) */
.booxit-brand-gradient { background: var(--blue-500); }

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