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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

/* Numeric scoring values */
.tabular-nums, .score-num, .kpi-val, .series-total {
  font-variant-numeric: tabular-nums;
}

/* Links */
a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-2-hover);
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Touch targets */
button, input, select, textarea, a.btn {
  min-height: 44px;
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
