/* Base Styles & Typography */
body {
  font-family: var(--font-secondary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

/* Paragraphs */
p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

/* Strong & Emphasis */
strong, b {
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

em, i {
  font-style: italic;
}

/* Small text */
small {
  font-size: var(--fs-sm);
}

/* Code */
code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  background: var(--bg-card);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
}

/* Horizontal Rule */
hr {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: var(--space-xl) 0;
}

/* Images */
img {
  height: auto;
}

/* Section Title Styling */
.section-title {
  position: relative;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Accent text */
.text-accent {
  color: var(--accent-primary);
}

/* Muted text */
.text-muted {
  color: var(--text-muted);
}

/* Lead paragraph */
.lead {
  font-size: var(--fs-lg);
  line-height: 1.8;
}
