@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
}

:root {
  --bg: #050805;
  --ink: #b6ff5c;
  --dim: #4b6b2a;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(ellipse at center, #0b130a 0%, var(--bg) 70%);
  color: var(--ink);
  font: 400 clamp(14px, 1.6vw, 17px)/1.75 "IBM Plex Mono", ui-monospace, Menlo, monospace;
  display: grid; place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 16px;
  text-shadow: 0 0 2px rgba(182,255,92,.8), 0 0 10px rgba(120,255,60,.35);
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 18vmax rgba(0,0,0,.85);
}
a { color: inherit; }

.term { width: min(640px, 100%); }
pre.logo {
  font-weight: 600;
  font-size: min(13px, calc((100vw - 32px) / 28.5));
  line-height: 1.1;
  margin-bottom: 28px;
  white-space: pre;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.line { white-space: pre-wrap; min-height: 1.75em; }
.dim { color: var(--dim); text-shadow: none; }
.redact { background: var(--ink); color: transparent; text-shadow: none; padding: 0 .1em; }
.cursor { display: inline-block; width: .6em; height: 1.1em; background: var(--ink); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* "." → ".." → "..." → "" — reveals one monospace dot per step */
.dots { display: inline-block; width: 0; overflow: hidden; vertical-align: bottom; white-space: pre; animation: dots 2s steps(4, jump-none) infinite; }
@keyframes dots { from { width: 0; } to { width: 3ch; } }

footer { position: fixed; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .dots { animation: none; width: 3ch; }
  .cursor { animation: none; }
}
