body {
  font-family: 'Inter', sans-serif;
}

/* Global list styles (non-prose contexts like nav, index pages) */
li::marker {
  color: rgb(107 114 128);
}

ul {
  list-style-type: disc;
  list-style-position: inside;
}

li {
  margin-bottom: 0.375rem;
}

/*
  Blog prose — spacing scale (0.5rem increments):
  0.5rem  — list item gaps
  0.75rem — small gaps (heading-bottom, list-top)
  1.5rem  — base block gap (paragraphs, lists-bottom, blockquotes)
  2rem    — section gaps (h2-top, h3-top, images)
*/

.prose {
  max-width: 65ch;
  line-height: 1.8;
  color: rgb(55 65 81);
}

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

.prose iframe {
  margin: 0;
  width: 100%;
  height: 100%;
}

.prose img {
  border-radius: 0.75rem;
  box-shadow: 0 0 0 1px rgb(229 231 235), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgb(17 24 39);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(229 231 235);
}

.prose h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.prose h3 {
  font-size: 1.175rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgb(31 41 55);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.prose ul > li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.25em;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(156 163 175);
}

.prose ol {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  counter-reset: list-counter;
}

.prose ol > li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.5rem;
  line-height: 1.75;
  counter-increment: list-counter;
}

.prose ol > li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 0.875em;
  color: rgb(99 102 241);
  font-variant-numeric: tabular-nums;
}

.prose strong {
  color: rgb(17 24 39);
  font-weight: 700;
}

.prose a {
  color: rgb(79 70 229);
  text-decoration: underline;
  text-decoration-color: rgb(199 210 254);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s, color 0.15s;
}

.prose a:hover {
  color: rgb(67 56 202);
  text-decoration-color: rgb(129 140 248);
}

.prose blockquote {
  border-left: 3px solid rgb(199 210 254);
  padding-left: 1.25em;
  color: rgb(75 85 99);
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
