:root {
  --bg: #050807;
  --panel: #0c1a14;
  --line: #1f6b3a;
  --green: #3ddc5a;
  --muted: #5f9e6e;
  --text: #e8e8e0;
  --dim: #9aa39c;
  --yellow: #f2c21b;
  --mono: "JetBrains Mono", "Cascadia Code", "Fira Code", "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--bg); background: var(--green); text-decoration: none; outline: none; }
code { font: inherit; color: var(--yellow); }
kbd { font: inherit; color: var(--yellow); border: 1px solid var(--line); padding: 0 4px; }
::selection { background: var(--green); color: var(--bg); }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.g { color: var(--green); }
.y { color: var(--yellow); }
.dim { color: var(--dim); }
.c { color: var(--muted); }
.small { font-size: 13px; }
.prompt { color: var(--dim); }

/* topnav */
.topnav { border-bottom: 1px solid var(--line); }
.topnav__in { display: flex; gap: 24px; align-items: center; padding: 10px 0; flex-wrap: wrap; }
.topnav nav { display: flex; gap: 18px; }
.topnav__tag { margin-left: auto; color: var(--green); font-size: 12px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; padding: 40px 0; border-bottom: 1px solid var(--line); }
.hero > *, .split > * { min-width: 0; }
.hero__left { padding-right: 32px; }
.hero__right { padding-left: 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.logo {
  margin: 0 0 18px;
  color: var(--green);
  font: 700 clamp(7px, 1.6vw, 18px)/1.15 var(--mono);
  text-shadow: 0 0 12px rgba(61, 220, 90, .35);
  overflow: hidden;
}
.hero__lead { color: var(--green); margin-bottom: 16px; max-width: 42ch; }
.cmd {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--green); background: var(--panel);
  padding: 10px 14px; margin-bottom: 10px; cursor: text;
}
.cmd__ps { color: var(--text); white-space: nowrap; }
.cmd input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  color: var(--yellow); font: inherit; caret-color: transparent;
}
.cmd input::placeholder { color: var(--muted); }
.cmd input::-webkit-search-cancel-button { display: none; }
.cmd:focus-within { box-shadow: 0 0 0 1px var(--green), 0 0 18px rgba(61, 220, 90, .2); }
.cursor {
  display: inline-block; width: .6em; height: 1.1em; background: var(--green);
  vertical-align: text-bottom; animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } html { scroll-behavior: auto; } }

h1 { font-size: 22px; line-height: 1.35; margin: 0; font-weight: 700; }
h2 { font-size: 18px; margin: 0; font-weight: 700; }
.sub { margin: 2px 0 18px; }
.checks { list-style: none; padding: 0; margin: 4px 0; }
.checks li::before { content: "✓ "; color: var(--green); }
.go { align-self: flex-start; }

/* blocks */
.block { padding: 32px 0; border-bottom: 1px solid var(--line); }
.line { margin-bottom: 2px; }
.label { color: var(--green); margin-top: 16px; }
.indent { padding-left: 2ch; }
.cmds { list-style: none; padding: 0 0 0 2ch; margin: 2px 0 0; }
.cmds li { display: grid; grid-template-columns: 13ch 40ch 1fr; gap: 16px; padding: 1px 0; }
.cmds a { font-weight: 700; justify-self: start; }
.cmds span { color: var(--dim); }

/* projecten */
.split { display: grid; grid-template-columns: 1fr 230px; gap: 16px; align-items: start; }
.term { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; }
.projects { list-style: none; padding: 0; margin: 8px 0 14px; }
.projects li { display: grid; grid-template-columns: 18ch 1fr; gap: 16px; padding: 1px 0; }
.projects li::before { content: none; }
.projects a { justify-self: start; }
.projects span { color: var(--text); }
.ok { color: var(--green); }
.last { margin-top: 10px; }
.callout { border-left: 1px solid var(--yellow); padding-left: 16px; }
.note { border: 1px solid var(--yellow); color: var(--yellow); padding: 8px 10px; margin-bottom: 16px; font-size: 13px; }

/* servers */
.table { overflow-x: auto; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { border: 1px solid var(--line); padding: 7px 12px; text-align: left; vertical-align: top; }
th { color: var(--green); font-weight: 700; }
td:first-child { color: var(--text); font-weight: 700; }
td:nth-child(3), td:nth-child(4) { color: var(--dim); }

.empty { padding: 32px 0; color: var(--yellow); }

/* footer */
.foot { display: flex; gap: 32px; align-items: center; padding: 32px 0 48px; }
.bug { margin: 0; color: var(--green); font: 13px/1.2 var(--mono); }
.foot p + p { margin-top: 4px; }

/* filter */
[data-row][hidden], [data-group][hidden] { display: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__left { padding-right: 0; padding-bottom: 28px; }
  .hero__right { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .logo { font-size: 2.7vw; }
  .split { grid-template-columns: 1fr; }
  .cmds li { grid-template-columns: 11ch 1fr; }
  .cmds code { display: none; }
  .topnav__tag { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 13px; }
  .cmds { padding-left: 0; }
  .cmds li, .projects li { grid-template-columns: 1fr; gap: 0; padding: 4px 0; }
  .term { padding: 14px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}
