@font-face {
  font-family: Silkscreen;
  src: url('./silkscreen.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050807;
  --surface: #080d0d;
  --text: #e4e9e8;
  --muted: #aab8b7;
  --green: #60ff68;
  --cyan: #59f5f4;
  --line: #368d88;
  font: 16px/1.5 ui-monospace, 'Cascadia Mono', 'DejaVu Sans Mono', monospace;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body {
  width: min(100% - clamp(2rem, 5vw, 6rem), 100rem);
  margin: auto;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, #0002 3px 4px);
}
a { color: var(--cyan); text-underline-offset: .15em; }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px dashed var(--green); outline-offset: 4px; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3, h4, .green { color: var(--green); }
.cyan { color: var(--cyan); }
.muted, small { color: var(--muted); }
img { max-width: 100%; height: auto; image-rendering: pixelated; }
.skip {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 1;
  padding: .5rem;
  background: var(--bg);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.3rem;
  padding: .8rem clamp(.5rem, 2vw, 2rem);
}
.site-header { border-bottom: 2px solid var(--cyan); }
.site-header nav, .site-footer nav { margin-inline-start: auto; }
.brand { color: var(--green); font-size: 1.42rem; font-weight: 800; text-decoration: none; }
.brand span { color: var(--cyan); }
.brackets { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.brackets a { text-decoration: none; display: inline-block; }
.brackets a::before { content: '[ ' / ''; }
.brackets a::after { content: ' ]' / ''; }
.brackets a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  align-items: center;
  padding: clamp(1.9rem, 2.7vw, 3.2rem) clamp(0rem, 2.5vw, 2.75rem);
}
h1 {
  font: 400 clamp(2.2rem, 5.2vw, 5.25rem)/1 Silkscreen, ui-monospace, monospace;
  letter-spacing: -.085em;
  text-shadow: 0 0 20px #60ff683b;
}
h1 span { color: var(--cyan); font: 700 .65em ui-monospace, monospace; }
.subtitle { margin-top: .6rem; max-width: 31ch; font-size: clamp(1.08rem, 1.7vw, 1.55rem); font-weight: 700; line-height: 1.25; }
.intro { max-width: 55ch; margin-top: .9rem; }
.actions { margin-top: 1.2rem; gap: .65rem; }
.actions a {
  padding: .5rem .65rem;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  font-size: .91rem;
}
.actions .primary {
  background: var(--green);
  color: #051207;
  border-color: var(--green);
  font-weight: 700;
  box-shadow: 0 0 15px #60ff6840;
}
.terminal {
  overflow: hidden;
  border: 2px solid var(--cyan);
  border-radius: 5px;
  background: #020302;
  box-shadow: 0 0 16px #59f5f42a;
}
.terminal figcaption {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding: .25rem .8rem;
  border-bottom: 1px solid var(--cyan);
  background: #122729;
}
.terminal figcaption > :last-child { color: var(--muted); font-size: .82em; }
.terminal-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .6rem;
  padding: .7rem clamp(.65rem, 1.5vw, 1.25rem) 1.35rem;
  min-height: clamp(13rem, 19vw, 18rem);
  font-size: clamp(.8rem, 1.28vw, 1.25rem);
}
.terminal-screen img { width: clamp(4rem, 10.5vw, 10.5rem); align-self: center; }
.terminal-welcome { margin: .85rem 0 1.5rem; }
.cursor {
  display: inline-block;
  width: .65em;
  height: .15em;
  background: var(--green);
  animation: blink 1.4s step-end infinite;
}
@keyframes blink { 55% { opacity: 0; } }

.divider {
  display: flex;
  align-items: center;
  gap: .8em;
  text-align: center;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  padding-inline: clamp(0rem, 1.5vw, 1.5rem);
  margin-bottom: .95rem;
}
.divider::before, .divider::after { content: ''; flex: 1; border-top: 2px dashed #48a957; }
.overview, .doc-grid { display: grid; gap: 1.1rem; }
.overview { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 clamp(0rem, 1.3vw, 1.3rem) 1.35rem; }
.panel {
  border: 1px solid var(--cyan);
  border-radius: 4px;
  background: var(--surface);
  padding: .65rem 1rem .85rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.panel h3 { font-size: 1.18rem; padding-bottom: .36rem; border-bottom: 1px solid var(--line); margin-bottom: .65rem; }
.overview .panel { font-size: .91rem; line-height: 1.4; }
.feature-list, .link-list { list-style: none; padding: 0; }
.feature-list li, .link-list li { padding-left: 1.35em; position: relative; margin-bottom: .2rem; }
.feature-list li::before, .link-list li::before { position: absolute; left: 0; }
.feature-list li::before { content: '▪' / ''; color: var(--green); }
.link-list li::before { content: '▸' / ''; color: var(--cyan); }
.link-list { margin-top: .6rem; }
.release { display: block; margin-top: .65rem; border: 1px solid var(--line); padding: .45rem .7rem; text-decoration: none; }
.release span, .release strong { display: block; }
.release span { color: var(--text); font-size: .86em; }
.release strong { color: var(--green); }
.release:hover { border-color: var(--green); }
dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem .7rem; }
dt { color: var(--muted); }
.about { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.5rem); max-width: 76rem; margin: auto; }
.about img { width: clamp(3.5rem, 7.5vw, 7rem); flex: none; }
.details { margin: 2.5rem auto 0; max-width: 76rem; }
.detail-panel { padding: 1rem clamp(.9rem, 2.7vw, 1.7rem) 1.25rem; }
.detail-panel p + p { margin-top: .6rem; }
.detail-panel h4 { margin: 1.2rem 0 .35rem; }
.doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.command-panel { margin-top: 1.1rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #040706; border-left: 2px solid var(--line); padding: .75rem; }
code { font: inherit; color: #c9ffcb; }
table { width: 100%; border-collapse: collapse; margin-top: .7rem; font-size: .94rem; }
th, td { padding: .42rem .55rem; text-align: left; vertical-align: top; border-bottom: 1px solid #244743; }
thead th { color: var(--green); }
tbody th { width: 36%; font-weight: 400; }
.history article + article { margin-top: 1.25rem; }
.site-footer { margin: 2.5rem 0 1rem; border: 1px solid var(--cyan); border-radius: 4px; font-size: .88rem; }

@media (max-width: 1150px) {
  .site-header nav { margin-inline-start: 0; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .terminal-screen { font-size: clamp(.79rem, 2.45vw, 1.05rem); min-height: 11.5rem; }
  .terminal-screen img { width: clamp(3.25rem, 18vw, 6rem); }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { margin-inline-start: 0; }
}
@media (max-width: 460px) {
  .overview { grid-template-columns: minmax(0, 1fr); }
  .site-header nav { font-size: .87rem; column-gap: .6rem; }
  .site-name { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
