:root { --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 var(--space-5) 0;
}

h2 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 var(--space-4) 0;
}

p { margin-bottom: var(--space-5); }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--color-text-secondary); }

.small { font-size: 0.875rem; color: var(--color-text-tertiary); }

a { color: var(--accent-primary); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--color-link-hover); }

/* Guardrails: images, focus rings, and visually-hidden helper */
:where(img, picture, svg, video) { max-width: 100%; height: auto; display: block; }

:focus { outline: none; }
:focus-visible { box-shadow: 0 0 0 4px var(--accent-primary-18); border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
