@font-face {
  font-family: Space Grotesk;
  src: url("space-grotesk-400-700-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: IBM Plex Mono;
  src: url("ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070c11;
  --panel: #0c151d;
  --control: #0a121a;
  --ink: #edf8fb;
  --muted: #a8bfc9;
  --cyan: #2ce4ff;
  --line: #29404c;
  --mono: "IBM Plex Mono", monospace;
  --gutter: clamp(1rem, 5vw, 5rem);
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; font-size: 1rem; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--bg); background: var(--cyan); }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 0 auto auto 1rem; padding: .8rem; transform: translateY(-120%); background: var(--cyan); color: var(--bg); }
.skip:focus { transform: translateY(0); }

.site-header { min-height: 69px; background: #0a141d; border-bottom: 1px solid var(--line); }
.site-header-inner, .footer-inner { display: flex; min-height: inherit; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; }
.brand img, .site-footer img { display: block; width: clamp(115px, 14vw, 175px); height: auto; }
.brand-section { border-left: 1px solid #48626e; padding-left: .9rem; color: var(--muted); }
.brand-section, .site-header nav, .site-footer nav {
  font: .875rem var(--mono);
}
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(.85rem, 3vw, 2.2rem); }

.hero {
  isolation: isolate;
  position: relative;
  min-height: 485px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #1b3440;
  background: #091219;
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background: linear-gradient(90deg, #080e15 4%, #080e15ea 29%, #07141c3b 73%, #08111a70 100%),
    linear-gradient(0deg, #061018d9, transparent 32%),
    url("node-hall.webp") 65% 49% / cover no-repeat;
}
.hero::after {
  opacity: .35;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  background-image: linear-gradient(#2ce4ff16 1px, transparent 1px), linear-gradient(90deg, #2ce4ff16 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { padding-block: clamp(3.4rem, 8vw, 5.8rem); }
.hero-label { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font: .875rem var(--mono); color: var(--cyan); letter-spacing: .05em; }
.hero-label span { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 16px #2ce4ff80; }
.hero h1 { margin: 0; font-size: clamp(3.25rem, 8vw, 7.2rem); font-weight: 700; line-height: .86; letter-spacing: -.085em; }
.hero h1 span { color: var(--cyan); }
.intro { color: #d0e2e9; font-size: clamp(1rem, 1.65vw, 1.2rem); max-width: 35rem; line-height: 1.55; margin: 1.55rem 0 1.65rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.button { min-height: 44px; padding: .7rem 1rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: .25rem; font: .875rem var(--mono); white-space: nowrap; cursor: pointer; }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: #06212a; }
.button-primary:hover { background: #c4f7ff; color: #06212a; border-color: #c4f7ff; }
.button-secondary { background: #0b1820; color: var(--ink); }
.button-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.catalogue { padding-block: 3.45rem 4.4rem; scroll-margin-top: 1rem; }
.catalogue-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1.65rem; }
.catalogue h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: .97; letter-spacing: -.065em; }
.catalogue-heading p { margin: 0; color: var(--muted); font: .875rem var(--mono); line-height: 1.5; }
.catalogue-heading strong { color: var(--cyan); font-weight: 400; }
.filters { display: grid; grid-template-columns: minmax(155px, .75fr) minmax(170px, .85fr) minmax(210px, 1.5fr) auto; gap: .85rem; align-items: end; }
.filters label { min-width: 0; display: grid; gap: .5rem; color: var(--muted); font: .875rem var(--mono); }
select, input { min-height: 44px; width: 100%; min-width: 0; font: inherit; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--ink); background: var(--control); }
select { padding-right: 2.2rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder { color: #809aa7; }
.index-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem 1.1rem; margin: 1.1rem 0; color: var(--muted); font: .875rem var(--mono); }
.index-links a, .empty a { color: var(--cyan); text-underline-offset: .24em; text-decoration: underline; }
.index-links a:hover, .empty a:hover { color: var(--ink); }

.table-shell { background: var(--panel); border: 1px solid var(--line); border-radius: .3rem; overflow: hidden; }
.table-title { padding: .9rem 1.15rem; color: var(--muted); font: .875rem var(--mono); border-bottom: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { color: var(--muted); background: #101b25; font: .875rem var(--mono); }
td, th { padding: .8rem 1.15rem; border-bottom: 1px solid #243643; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: #10212b; }
tbody th { width: 37%; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
tbody td { font: .875rem var(--mono); color: var(--muted); }
.version, .arch, .size { white-space: nowrap; }
.download a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 .65rem; color: var(--cyan); border: 1px solid #2b5060; border-radius: .2rem; }
.download a:hover { background: #17323f; border-color: var(--cyan); }
.empty { padding: 1rem 1.15rem; color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: #0a141d; padding-block: 1.6rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }

@media (max-width: 720px) {
  .site-header-inner { padding-block: .8rem; gap: .8rem; }
  .site-header nav { gap: .65rem; }
  .hero { min-height: 0; }
  .hero::before {
    background: linear-gradient(90deg, #080e15f0, #080e15b0 55%, #07141c70),
      url("node-hall.webp") 64% 50% / cover no-repeat;
  }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:has(input) { grid-column: 1; }
  td, th { padding: .65rem .65rem; }
  tbody td, thead { font-size: .8rem; }
  .table-wrap { overflow-x: auto; }
}
@media (max-width: 455px) {
  .site-header-inner, .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
  .site-header nav, .site-footer nav { justify-content: flex-start; }
  .brand img { width: 130px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:has(input) { grid-column: 1 / -1; }
  .filters button { grid-column: 1 / -1; }
  .hero-inner { padding-block: 3.5rem; }
  .catalogue { padding-block: 2.6rem; }
}
