/* ============================================================
   VALALTA — BASE ELEMENT DEFAULTS
   Applies the tokens to bare HTML so specimen cards, components
   and UI kits inherit the brand without extra wiring.
   ============================================================ */

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  color: var(--text-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h1 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: var(--fw-regular); font-size: var(--fs-h1); }
h2 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: var(--fw-regular); font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

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

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

strong, b { font-weight: var(--fw-bold); }

img { max-width: 100%; display: block; }

::selection { background: var(--accent-soft); color: var(--ink-900); }

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

/* Shared helpers used across cards & kits ------------------- */
.eyebrow {
  font: var(--fw-bold) var(--fs-eyebrow)/1 var(--font-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--accent);
}
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
