/* ===========================================================================
   Klozera — Base element defaults
   ---------------------------------------------------------------------------
   Light-touch resets + element defaults wired to tokens. Optional, but keeps
   specimen cards and UI kits consistent.
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv01", "ss01";
}

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

p { text-wrap: pretty; }

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

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

/* Tabular figures for any element that wants aligned numerals */
.tabular { font-variant-numeric: tabular-nums; }

/* Uppercase eyebrow label utility */
.eyebrow {
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-track);
  text-transform: uppercase;
  color: var(--brand);
}

:where(button, input, select, textarea) { font: inherit; }

:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-sm); }

::selection { background: var(--brand-subtle-2); color: var(--text-primary); }
