/* Typography - Skala Modular 1.2 */

:root {
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  
  /* Skala Modular untuk Heading */
  --font-size-h1: 2.488rem;
  --font-size-h2: 2.074rem;
  --font-size-h3: 1.728rem;
  --font-size-h4: 1.44rem;
  --font-size-h5: 1.2rem;
  --font-size-h6: 1rem;
  
  --line-height-base: 1.7;
  --line-height-heading: 1.3;
  --line-height-tight: 1.2;
}

body {
  font-family: 'Zalando Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 
               'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-netral-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-height-heading);
  margin: 0 0 1rem;
  font-weight: 600;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 500;
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: 400;
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
}

small, .text-small {
  font-size: var(--font-size-sm);
}

.text-xs {
  font-size: var(--font-size-xs);
}

strong, b {
  font-weight: 600;
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.728rem;
    --font-size-h3: 1.44rem;
    --font-size-h4: 1.2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-h1: 1.728rem;
    --font-size-h2: 1.44rem;
    --font-size-h3: 1.2rem;
  }
}
