/* ==========================================================================
   JAN-PRO — Base element defaults (applies tokens to the page)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Impact headlines — never ALL CAPS, tight leading, slight negative tracking */
h1, h2, h3, .jp-display {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
  text-transform: none;
}
h1 { font-size: var(--text-display-sm); }
h2 { font-size: var(--text-h1); }
h3 { font-size: var(--text-h3); font-family: var(--font-body); font-weight: var(--weight-bold); letter-spacing: 0; }

p { margin: 0 0 var(--space-4); }

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

/* Arial uppercase kicker / label */
.jp-kicker {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: var(--text-xs);
  color: var(--color-accent);
}

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

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
