/* Google Fonts loaded via <link> in base.njk: Inter Tight, Manrope, Fragment Mono, Lato */

/* Local fonts from Framer (Gill Sans) */
@font-face {
  font-family: "Gill Sans Regular";
  src: url("/assets/fonts/HRbwa90r97Tox3AyqdtK0ufQ.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans Light";
  src: url("/assets/fonts/dtyrYUlBnA2pitNumgcHwX1UG98.woff2") format("woff2");
  font-display: swap;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
}

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

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: 1em;
}

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

strong, b {
  font-weight: 700;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* Responsive typography */
@media (max-width: 809px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
}

@media (min-width: 810px) and (max-width: 1199px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}
