/* ==========================================================================
   CSS-SKILL / TYPOGRAPHY.CSS
   Clear, professional, and accessible typography scale
   ========================================================================== */

/* Font Definition */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: local('Barlow'), local('Barlow-Regular'),
       url('https://fonts.gstatic.com/s/barlow/v12/7cHpv4kjgoGqM7E_Ass57V1R.woff2') format('woff2');
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.text-lead {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.4;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.35;
}

.text-bold {
  font-weight: 600;
}

.text-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--main-color);
}

.text-gradient {
  background: linear-gradient(135deg, var(--main-color) 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
