/**
 * Google Fonts loaded from index (preload + stylesheet).
 * Fluid type scale via clamp() for h1–h4 and body.
 */

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-page);
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1,
.h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}

h2,
.h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3,
.h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h4,
.h4 {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

.text--secondary {
  color: var(--color-text-secondary);
}

.text--accent {
  color: var(--color-accent-green);
}
