/* vl-typography.css
   Sistema tipográfico para VocesLaborales
*/

:root {
  --vl-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --vl-font-size-xs: 0.75rem;
  --vl-font-size-sm: 0.875rem;
  --vl-font-size-base: 0.9375rem; /* 15px aprox */
  --vl-font-size-md: 1rem;
  --vl-font-size-lg: 1.125rem;
  --vl-font-size-xl: 1.375rem;
  --vl-font-size-2xl: 1.75rem;
  --vl-font-size-3xl: 2.1rem;

  --vl-line-height-tight: 1.15;
  --vl-line-height-normal: 1.5;
  --vl-line-height-relaxed: 1.7;
}

html {
  font-family: var(--vl-font-sans);
  font-size: 16px;
}

body {
  font-family: var(--vl-font-sans);
  font-size: var(--vl-font-size-base);
  line-height: var(--vl-line-height-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--vl-color-text-main);
  font-weight: 650;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--vl-font-size-3xl);
  line-height: var(--vl-line-height-tight);
  margin-bottom: var(--vl-space-4);
}

h2 {
  font-size: var(--vl-font-size-2xl);
  line-height: var(--vl-line-height-tight);
  margin-bottom: var(--vl-space-3);
}

h3 {
  font-size: var(--vl-font-size-xl);
  line-height: var(--vl-line-height-tight);
  margin-bottom: var(--vl-space-2);
}

h4 {
  font-size: var(--vl-font-size-lg);
  line-height: var(--vl-line-height-tight);
  margin-bottom: var(--vl-space-2);
}

p {
  margin-bottom: var(--vl-space-3);
  color: var(--vl-color-text-main);
}

.text-muted {
  color: var(--vl-color-text-muted);
}

.text-soft {
  color: var(--vl-color-text-soft);
}

.text-eyebrow {
  font-size: var(--vl-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--vl-color-text-soft);
}

.label-strong {
  font-size: var(--vl-font-size-sm);
  font-weight: 600;
  color: var(--vl-color-text-main);
}

/* Links base */
a {
  color: var(--vl-color-primary);
  text-decoration: none;
  transition: color var(--vl-transition-fast);
}

a:hover {
  color: var(--vl-color-primary-hover);
  text-decoration: underline;
}

/* Responsivo tipografía */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.15rem;
  }
}