@import "tailwindcss";

@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    background: #f8fafc;
    color: #1e293b;
    font-family: system-ui, -apple-system, sans-serif;
  }
}

@layer utilities {
  .prose-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0369a1;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }
  .prose-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0284c7;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .prose-content p {
    line-height: 1.75;
    margin-bottom: 1rem;
    color: #374151;
  }
  .prose-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
  }
  .prose-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
  }
  .prose-content li {
    margin-bottom: 0.25rem;
  }
  .prose-content a {
    color: #0284c7;
    text-decoration: underline;
  }
  .prose-content blockquote {
    border-left: 4px solid #7dd3fc;
    padding-left: 1rem;
    font-style: italic;
    color: #6b7280;
    margin: 1rem 0;
  }
  .prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
  }
  .prose-content th {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
  }
  .prose-content td {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    color: #374151;
  }
  .prose-content strong {
    font-weight: 600;
    color: #1e293b;
  }
  .prose-content hr {
    border-color: #e2e8f0;
    margin: 2rem 0;
  }
}
