body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

.prose-article p {
  margin-bottom: 1.45rem;
  line-height: 1.78;
}

.prose-article h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2.35rem;
  margin-bottom: 0.85rem;
}

.prose-article h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose-article ul {
  list-style-type: disc;
  padding-left: 1.4rem;
  margin: 1.25rem 0;
}

.prose-article ol {
  list-style-type: decimal;
  padding-left: 1.4rem;
  margin: 1.25rem 0;
}

.prose-article li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}

.prose-article hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
  margin: 2.25rem 0;
}

.prose-article blockquote {
  border-left: 2px solid #38bdf8;
  padding-left: 1.1rem;
  font-style: italic;
  margin: 1.75rem 0;
}

.prose-article code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86em;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}

.prose-article pre {
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 1.6rem 0;
  font-size: 0.85rem;
  line-height: 1.65;
}

.prose-article .post-callout {
  margin: 1.65rem 0;
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
}

.prose-article .post-callout-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: #0284c7;
}

.dark .prose-article .post-callout-title {
  color: #38bdf8;
}

.prose-article .post-callout p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.prose-article .yt-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.75rem 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 25px -12px rgba(2, 6, 23, 0.65);
}

.prose-article .yt-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prose-article .inline-post-figure {
  margin: 1.75rem 0;
}

.prose-article .inline-post-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 25px -12px rgba(2, 6, 23, 0.45);
}

.prose-article .inline-post-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  text-align: center;
  color: #64748b;
}

.dark .prose-article .inline-post-figure figcaption {
  color: #94a3b8;
}