:root {
  --home-platform-gap: 8px;
  --home-section-gap: 24px;
}

.home-tags { margin-top:12px; }
.home-platforms { gap:var(--home-platform-gap); }
.home-platforms a { white-space:nowrap; }
.stage { height:490px; }
.stage .frame { height:354px; }
.stage .cat img { display:block; width:100%; height:auto; }
.stage .log pre { white-space:pre-wrap; }
.stage .log code { white-space:inherit; overflow-wrap:anywhere; }
.stage .log .ln { display:block; }
.stage-waiting .ln { animation-play-state:paused; }
.home-intro { max-width:68ch; margin-bottom:var(--home-section-gap); }
.home-more { margin:var(--home-section-gap) 0 0; }
.home-downloads h3 a { display:inline-flex; align-items:center; gap:10px; }
.home-downloads h3 svg { width:20px; height:20px; }
.home-downloads h3 a:hover { text-decoration:underline; }
.home-downloads .download-card { display:flex; flex-direction:column; align-items:flex-start; }
.home-downloads .download-card .btn { margin-top:auto; }
.home-steps { list-style:none; padding-inline-start:0; counter-reset:home-step; }
.home-steps li { counter-increment:home-step; }
.home-steps li::before {
  content:"0" counter(home-step);
  display:block;
  margin-bottom:12px;
  color:var(--text-muted);
  font-family:var(--font-mono);
}
.home-source { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:var(--home-section-gap); }
.home-source > * { min-width:0; }
.home-source-notes { display:grid; gap:var(--home-section-gap); }
.home-source-notes a { text-decoration:underline; text-underline-offset:.2em; }
.home-repo { align-self:start; }
.home-copy { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:12px; }
.post-card h3 { margin-top:12px; }
.post-card time { display:block; margin-bottom:8px; }

@media (max-width:880px) {
  .home-source { grid-template-columns:minmax(0,1fr); }
}

@media (max-width:560px) {
  .hero-copy { padding-top:24px; }
  .hero-copy .cta { flex-direction:row; justify-content:center; }
  .home-platforms { --home-platform-gap:3px; }
  .home-platforms a { gap:3px; padding-inline:4px; font-size:10px; }
  .home-platforms svg { width:10px; height:10px; }
  .stage { height:435px; }
  .stage .frame { height:299px; }
}

@media (prefers-reduced-motion:reduce) {
  .stage-waiting .ln { opacity:1; transform:none; }
}