/* Shared typography for the public Unicours pages. */
:root {
  --type-title: 'Space Grotesk', Inter, sans-serif;
  --type-body: Inter, system-ui, sans-serif;
  --type-hero: clamp(2.2rem, 4.4vw, 3.6rem);
  --type-section: clamp(1.7rem, 3vw, 2.4rem);
  --type-lead: clamp(1rem, 1.4vw, 1.1rem);
}

body {
  font-family: var(--type-body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--type-title);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
}

button, input, select, textarea,
.field input, .field select, .field textarea {
  font-family: var(--type-body);
}

.hero h1, .declic-page h1 {
  font-size: var(--type-hero);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sec-head h2, .prof-band h2,
.declic-page__resources h2, .declic-page__access h2, .declic-page__reports h2 {
  font-size: var(--type-section);
  line-height: 1.2;
}

.hero p.lead, .declic-page__lead {
  font-size: var(--type-lead);
  line-height: 1.6;
}

body.public-document :is(p, li) {
  font-size: 1rem;
  line-height: 1.65;
}
