:root {
  --bg: #101010;
  --panel: #181818;
  --panel-hi: #202020;
  --ink: #f2f2ed;
  --muted: #aaa9a2;
  --rule: #393937;
  --accent: #e6ff4f;
  --cyan: #8be9fd;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", "Liberation Mono", Consolas, monospace;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 32px 32px; }
a { color: inherit; text-underline-offset: .24em; }
code, pre, button { font: inherit; }

header, main, footer { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid var(--rule); }
.wordmark { color: var(--accent); font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.wordmark::before { content: "~/"; color: var(--muted); }
nav { display: flex; gap: 22px; font-size: .78rem; color: var(--muted); }
nav a:hover, footer a:hover { color: var(--accent); }

.intro { padding: 88px 0 70px; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 29px; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -.085em; line-height: .91; }
h1 em { color: var(--accent); font-style: normal; }
.lede { max-width: 650px; margin-bottom: 42px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.24rem); line-height: 1.55; }
.lede code, .aside code { color: var(--cyan); }

.terminal { border: 1px solid var(--rule); background: var(--panel); box-shadow: 7px 7px 0 #000; }
.terminal-top { display: flex; justify-content: space-between; padding: 10px 13px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: .72rem; }
button { padding: 0; border: 0; color: var(--accent); background: none; cursor: pointer; }
button:hover { color: var(--cyan); }
.terminal pre, .command pre { white-space: pre; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.terminal pre::-webkit-scrollbar, .command pre::-webkit-scrollbar { display: none; }
.terminal pre { margin: 0; padding: 24px; font-size: clamp(.7rem, 1.25vw, .86rem); line-height: 1.65; }
.prompt { color: var(--accent); }
.reply { color: var(--muted); }
.terminal-art { padding: 22px 24px 26px; background: #1b1b27; }
.terminal-art img { display: block; width: 100%; max-height: 240px; object-fit: contain; object-position: left center; }
.aside { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

.features { border-top: 1px solid var(--rule); }
.feature { display: grid; gap: 30px; padding: 82px 0; border-bottom: 1px solid var(--rule); }
.feature h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.5vw, 4rem); font-weight: 700; letter-spacing: -.06em; line-height: .96; }
.feature-copy > p { max-width: 490px; color: var(--muted); font-size: .94rem; line-height: 1.62; }
.feature-copy > a { color: var(--accent); font-size: .82rem; }
.feature .aside { margin-top: 20px; }
.command { border: 1px solid var(--rule); background: var(--panel); box-shadow: 6px 6px 0 #000; }
.command-label { margin: 0; padding: 10px 13px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: .72rem; }
.command pre { margin: 0; padding: 22px; font-size: clamp(.7rem, 1.25vw, .86rem); line-height: 1.65; }
.download { display: flex; justify-content: space-between; align-items: center; padding: 18px; border: 1px solid var(--accent); color: var(--bg); background: var(--accent); font-weight: 700; text-decoration: none; }
.download:hover { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.download span { font-size: 1.3em; }
.source-link { display: inline-block; margin: 16px 18px 18px; color: var(--muted); font-size: .78rem; }
.cast-command { overflow: hidden; }
.cast-command #progress-cast { min-height: 300px; }

footer { display: flex; justify-content: space-between; padding: 25px 0 42px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .76rem; }
footer p { margin: 0; }

@media (max-width: 720px) {
  header, main, footer { width: min(100% - 28px, 1100px); }
  header { min-height: 62px; }
  nav { gap: 13px; }
  nav a:first-child { display: none; }
  .intro { padding: 62px 0 52px; }
  h1 { font-size: clamp(2.8rem, 16vw, 5rem); }
  .feature { gap: 30px; padding: 54px 0; }
  footer { display: block; }
  footer p + p { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
