/* The terminal replay under the hero. It stays a dark terminal in every page mode, like the real thing. */
.term-demo { max-width: 1040px; margin: 8px auto 56px; padding: 0 16px; box-sizing: border-box; }
.term {
  --accent: #58d26c;
  background: #0c0d0c; color: #e6e9e6;
  border: 1px solid #2a2e2a; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
  text-align: left;
}
.term-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: #171917; border-bottom: 1px solid #232723;
  font: 12px/1.2 "Geist Mono", "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #8b928c;
}
.term-bar i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.term-bar i:nth-of-type(1) { background: #ff5f57; }
.term-bar i:nth-of-type(2) { background: #febc2e; }
.term-bar i:nth-of-type(3) { background: #28c840; }
.term-bar b { flex: 1; text-align: center; font-weight: 400; color: #8b928c; background: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-replay {
  font: inherit; color: #c9cfca; background: transparent; border: 1px solid #2f342f; border-radius: 6px;
  padding: 3px 8px; cursor: pointer;
}
.term-replay:hover { background: #232723; color: #fff; }
.term-replay:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.term-body {
  padding: 18px 18px 20px; overflow: hidden;
  font-family: "Geist Mono", "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; font-weight: 400; letter-spacing: 0;
}
.term .tl { display: block; height: 1.2em; line-height: 1.2em; white-space: pre; overflow: hidden; }
.term .tl.wait { visibility: hidden; }
.term .tl canvas { display: inline-block; vertical-align: top; height: 1.2em; image-rendering: crisp-edges; image-rendering: pixelated; }
.term .b { font-weight: 600; color: #fff; }
.term .d { opacity: 0.56; }
.term .go { color: #5fd77a; }
.term .amber { color: #e9b44c; }
.term .pr { color: var(--accent); }
.term .cur { display: inline-block; vertical-align: top; width: 0.6em; height: 1.05em; margin-top: 0.08em; background: #e6e9e6; animation: term-blink 1.06s steps(1) infinite; }
@keyframes term-blink { 50% { opacity: 0; } }
.term-cap { margin: 12px 4px 0; font-size: 14px; opacity: 0.8; text-align: center; }
.term-cap code { font-family: "Geist Mono", "Plex Mono", ui-monospace, Menlo, monospace; }
.term-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: pre; }
@media (max-width: 560px) { .term-body { padding: 14px 12px 16px; } .term-demo { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .term .cur { animation: none; } }
