@font-face {
  font-family: 'Geist Mono';
  src: url('https://cdn.jsdelivr.net/npm/geist-font@latest/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('https://cdn.jsdelivr.net/npm/geist-font@latest/fonts/geist-mono/GeistMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

:root {
  --primary: #000000;
  --secondary: #f9fafb;
  --accent: #6366f1;
  --text: #111827;
  --text-light: #6b7280;
  --border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text);
}

.font-geist-mono {
  font-family: 'Geist Mono', monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

.prose {
  max-width: 65ch;
  color: var(--text);
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

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

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose ul, .prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  font-weight: 600;
}

.prose h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* Smooth transitions */
a, button {
  transition: all 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Active navigation item */
nav a:hover, nav a.active {
  border-left-color: var(--primary);
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--primary);
}

/* Table hover effect */
tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Card hover effect */
.rounded-md:hover, .rounded-lg:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

@media print {
  .no-print {
    display: none;
  }
  
  body {
    font-size: 11pt;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  nav {
    display: none;
  }
  
  main {
    grid-column: span 3 / span 3;
  }
}
