html {
  background: #17191c;
  color: #e8e2d4;
  scroll-behavior: smooth;
}

.listing .ln {
  display: grid;
  grid-template-columns: 76px 124px 60px auto;
  column-gap: 12px;
  padding: 0 18px;
  white-space: pre;
  animation: wipe 0.5s ease-out both;
}
.listing .ln > .lbl, .listing .ln > .cm { grid-column: 2 / -1; }
.listing .hl { background: #272c32; }
.listing .a { color: #6f7780; }
.listing .b { color: #5f666f; }
.listing .m { color: #e8e2d4; }
.listing .o { color: #a3b1c2; }
.listing .lbl { color: #d6cfbf; }
.listing .cm { color: #7f8791; }

@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.post > .meta {
  margin-top: 1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #8e959e;
}
.post h1 {
  margin-top: 1.25rem;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #e8e2d4;
}
.post h2 {
  margin-top: 2.75rem;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #e8e2d4;
}
.post p, .post ul, .post pre { margin-top: 1.25rem; }
.post .lead { font-size: 19px; line-height: 1.65; color: #b3aea1; }
.post ul { padding-left: 1.4rem; list-style: disc; }
.post li + li { margin-top: 0.6rem; }
.post strong { font-weight: 600; color: #e8e2d4; }
.post p a, .post li a { color: #e8e2d4; text-decoration: underline; text-decoration-color: #4a5058; text-underline-offset: 3px; }
.post code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: #23272c;
  border-radius: 4px;
  padding: 1px 5px;
  color: #d6cfbf;
}
.post pre {
  background: #1c1f23;
  border: 1px solid #2d3238;
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.75;
  color: #c9c4b8;
}
.post pre code { background: none; padding: 0; font-size: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .listing .ln { animation: none; }
}
