/* Base Styles */

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--space-4);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

/* Lists */
ul,
ol {
  margin-top: 0;
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
}

/* Images */
img {
  height: auto;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
}

th,
td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  background-color: var(--color-bg-alt);
}

/* Blockquotes */
blockquote {
  margin: 0 var(--space-6) var(--space-4) var(--space-6);
  padding-left: var(--space-6);
  border-left: 4px solid var(--color-primary);
  color: var(--color-text-muted);
  font-style: italic;
}

/* Horizontal rules */
hr {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin: var(--space-8) 0;
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--color-bg-alt);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
}

/* Animations */


@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
}

   to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fade-in 0.5s ease forwards;
}

.slide-up {
  animation: slide-up 0.5s ease forwards;
}

/* Dark mode preference */
@media (prefers-color-scheme: dark) {
  :root {
    /* Already using dark theme, but could adjust if needed */
  }
}