/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 0%);
  --muted-foreground: hsl(0, 0%, 40%);
  --border: hsl(0, 0%, 80%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(0, 0%, 0%);
    --foreground: hsl(0, 0%, 100%);
    --muted-foreground: hsl(0, 0%, 60%);
    --border: hsl(0, 0%, 20%);
  }
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

a {
  color: var(--foreground);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Utility Classes */
.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-12 {
  margin-top: 3rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-foreground {
  color: var(--foreground);
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-border {
  border-color: var(--border);
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.list-none {
  list-style-type: none;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

.font-normal {
  font-weight: normal;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:text-foreground:hover {
  color: var(--foreground);
}

.group:hover .group-hover\:underline {
  text-decoration: underline;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.25rem;
}

.block {
  display: block;
}

.last\:border-0:last-child {
  border: 0;
}

/* Prose styles for blog posts */
.prose {
  max-width: 65ch;
  line-height: 1.7;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin-bottom: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 600;
}

.prose code {
  background-color: var(--border);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose pre {
  background-color: var(--border);
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
}
