:root {
  --primary-gradient-start: #4f7bff;
  --primary-gradient-end: #6dd5fa;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(79, 123, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(109, 213, 250, 0.16), transparent 30%),
    #f7f9fc;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #e5e7eb;
  border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #d1d5db;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot-grid {
  background-image: radial-gradient(#4f7bff 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Utilities for arbitrary values used across pages (needed when not using CDN JIT) */
.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.opacity-\[0\.03\] {
  opacity: 0.03;
}

.active\:scale-\[0\.98\]:active {
  transform: scale(0.98);
}

.from-\[\#4F7BFF\] {
  --tw-gradient-from: #4f7bff;
  --tw-gradient-to: rgba(79, 123, 255, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-\[\#6DD5FA\] {
  --tw-gradient-to: #6dd5fa;
}

.w-\[880px\] {
  width: 880px;
}

/* Basic prose styling for rendered markdown */
.prose {
  color: #1f2937;
  max-width: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.prose h1 {
  font-size: 1.875rem;
}

.prose h2 {
  font-size: 1.5rem;
}

.prose h3 {
  font-size: 1.25rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  line-height: 1.7;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25em;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.25em;
}

.prose strong {
  font-weight: 700;
}

.prose a {
  color: #2563eb;
  text-decoration: underline;
}

.prose blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1em;
  color: #4b5563;
}

.prose code {
  background: #f3f4f6;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}
