:root { color-scheme: dark; --green: #00ff41; --muted: #68b97d; --rule: #174825; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace; background: #000; color: var(--green); font-variant-numeric: tabular-nums; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; padding: clamp(24px, 6vw, 80px); font-size: 16px; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2; background: repeating-linear-gradient(transparent 0 3px, rgb(0 0 0 / 12%) 3px 4px); }
.terminal { max-width: 960px; margin: 0 auto; padding-top: clamp(48px, 15vh, 140px); }
.intro header, .intro footer, .intro #hint, .intro button { display: none; }
.intro .terminal { padding-top: clamp(48px, 15vh, 140px); }
.intro #transcript { min-height: 0; }
.boot-cursor { display: none; width: .65em; height: 1.2em; background: var(--green); margin-top: 32px; animation: cursor-blink 1s steps(1, end) infinite; }
.booting .boot-cursor { display: block; position: absolute; margin-top: 39px; pointer-events: none; }
.booting:has(input:not(:placeholder-shown)) .boot-cursor { display: none; }
.booting #transcript { display: none; }
.booting #prompt { margin-top: 32px; border-color: transparent; }
.booting #prompt label { display: none; }
.booting #prompt input:placeholder-shown { caret-color: transparent; }
@keyframes cursor-blink { 50% { opacity: 0; } }
header { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 20px; margin-bottom: clamp(40px, 8vh, 88px); }
h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 500; letter-spacing: .16em; margin: 0; }
header span, #hint, footer { color: var(--muted); font-size: 12px; }
#transcript { min-height: 180px; text-shadow: 0 0 5px rgb(0 255 65 / 18%); }
.line { margin: 0 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.note { color: var(--muted); }
.reply { color: var(--muted); margin-top: 24px; }
.question { margin-top: 32px; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: #b2ffc5; }
#prompt { display: flex; gap: 14px; align-items: center; margin-top: 24px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
input { flex: 1; min-width: 0; background: transparent; color: var(--green); border: 0; padding: 7px 0; font: inherit; caret-color: var(--green); outline: none; }
::selection { background: var(--green); color: #000; }
#prompt:focus-within { border-color: var(--green); }
button { font: inherit; font-size: 12px; padding: 6px 10px; color: var(--muted); background: transparent; border: 1px solid var(--rule); cursor: pointer; }
button:hover { color: var(--green); border-color: var(--green); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
#hint { margin-top: 12px; }
footer { display: flex; gap: 20px; justify-content: space-between; border-top: 1px solid var(--rule); margin-top: clamp(64px, 12vh, 140px); padding-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) { body { font-size: 14px; } footer { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .boot-cursor { animation: none; } }
