/* Typography Styles */

/* Base typography */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  font-weight: var(--font-weight-normal);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

/* Paragraphs */
p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: var(--color-highlight);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: var(--spacing-xs);
}

li:last-child {
  margin-bottom: 0;
}

/* Text utilities */
.text-small {
  font-size: var(--font-size-small);
}

.text-large {
  font-size: var(--font-size-large);
}

.text-light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-weight-light {
  font-weight: var(--font-weight-light);
}

.font-weight-normal {
  font-weight: var(--font-weight-normal);
}

.font-weight-medium {
  font-weight: var(--font-weight-medium);
}

.font-weight-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-weight-bold {
  font-weight: var(--font-weight-bold);
}

/* Special typography classes */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, var(--font-size-h1));
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.site-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.mobile-site-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero-headline {
    font-size: var(--font-size-h2);
  }
  
  .hero-tagline {
    font-size: var(--font-size-base);
  }
  
  .section-title {
    font-size: var(--font-size-h3);
  }
}