@font-face{font-family:"IBM Plex Sans";font-weight:400;font-display:swap;src:url("fonts/IBMPlexSans-Regular.woff") format("woff")}
@font-face{font-family:"IBM Plex Sans";font-weight:600;font-display:swap;src:url("fonts/IBMPlexSans-SemiBold.woff") format("woff")}
@font-face{font-family:"IBM Plex Mono";font-weight:400;font-display:swap;src:url("fonts/IBMPlexMono-Regular.woff") format("woff")}

:root{--bg:#0e1116;--panel:#14181e;--line:#262c34;--dim:#4d5560;--muted:#7a8390;--text:#aab2bc;--hi:#f2f4f6;--accent:#7ee0b5}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:14px/1.7 "IBM Plex Sans",system-ui,sans-serif}

main{max-width:780px;margin:0 auto;padding:48px 16px 24px}
.term{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:20px 22px}
.bar,.cmd,.chain,.skip,footer{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:14px}
.bar{display:flex;justify-content:space-between;color:var(--dim);margin-bottom:12px}
.barlink{color:var(--accent);text-decoration:none;border-bottom:1px solid var(--accent)}
.cmd{overflow-wrap:anywhere}
.cmd::before{content:"$ ";color:var(--accent)}
.out{margin:0 0 18px}
.out p{margin:0}
.lead{color:var(--hi);font-weight:600;font-size:16px;line-height:1.5}
.hi{color:var(--hi)}
.chain{margin:4px 0 10px;line-height:1.5;overflow-x:auto}
ul.out{list-style:none;padding:0}
ul.out li{padding-left:1.2em;text-indent:-1.2em}
ul.out li::before{content:"- " / ""}
a{color:var(--accent)}
.note{color:var(--muted)}
.cursor{display:inline-block;width:.6em;background:var(--accent);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.skip{color:var(--muted);font-size:12px;text-align:right;margin-top:8px}
footer{max-width:780px;margin:0 auto;padding:0 16px 40px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
footer a{color:var(--muted)}
@media (prefers-reduced-motion:reduce){.cursor{animation:none}}
@media (max-width:420px){main{padding-top:24px}.term{padding:16px 14px}}
h1.lead:not(.out){margin:0 0 12px}
h1.out{font:inherit;margin:0 0 18px}
h2.hi{font-size:1em;font-weight:600;margin:18px 0 4px}
.pending{visibility:hidden}
