/* Urbanist — headings */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/urbanist-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/urbanist-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/urbanist-700.woff2') format('woff2');
}

/* Roboto — body */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-normal-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-normal-latin-500.woff2') format('woff2');
}

/* Scale */
:root {
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Urbanist', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;

  --leading-tight: 1.2;
  --leading-normal: 1.6;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

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

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-2xl); }   /* 1.5rem — was 3rem (text-4xl) */
h3 { font-size: var(--text-xl); }    /* 1.25rem — was 2rem (text-3xl) */
h4 { font-size: var(--text-lg); }    /* 1.125rem */
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }
