@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --fg: #f4f4f0;
  --accent: #f4f4f0;
  --mute: #9a9a90;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  min-height: 100vh;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: #000; padding: 6px 10px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 2px solid var(--accent);
  flex-wrap: wrap;
}
.mark {
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--fg);
  font-size: 13px;
}
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--fg); letter-spacing: 0.04em; }
main { max-width: 1100px; margin: 0 auto; padding: 48px 28px 80px; }
.hero h1, h1 {
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 16px;
}
h2 { font-size: 22px; margin: 40px 0 12px; }
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.lede { font-size: 22px; max-width: 38rem; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 0;
}
.btn.ghost {
  background: transparent;
  color: var(--fg);
  outline: 2px solid var(--fg);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #222;
  color: var(--fg);
  min-height: 140px;
  background: #000;
}
.card:hover { border-color: var(--accent); text-decoration: none; }
.card strong { font-size: 18px; }
.meta, .fine, .mute { color: var(--mute); font-size: 13px; }
.num { font-family: "IBM Plex Mono", monospace; }
.tag, .pick, .stub {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-right: 4px;
}
.pick { background: var(--accent); color: #000; }
.stub { outline: 1px solid #555; color: var(--mute); }
.tags { margin-top: auto; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 20px 0 28px;
  padding: 16px;
  border: 1px solid #222;
}
.filters label, .stack label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--mute);
}
input, select, textarea, button {
  font: inherit;
  background: #000;
  color: var(--fg);
  border: 1px solid #333;
  border-radius: 0;
  padding: 8px 10px;
}
button, .filters button {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  border: 0;
}
.stack { display: grid; gap: 12px; max-width: 36rem; }
.sheet, .facts {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.sheet th, .facts th, .sheet td, .facts td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #222;
  vertical-align: top;
}
.sheet th, .facts th { color: var(--mute); font-weight: 500; width: 28%; }
.facts caption {
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent);
}
ul.plain { list-style: none; padding: 0; }
ul.plain li { margin: 8px 0; }
.foot {
  border-top: 2px solid var(--accent);
  padding: 24px 28px 48px;
  color: var(--mute);
  font-size: 14px;
}
.inline { display: inline; }
.hack .top { border-color: #333; }
.langs { display: inline-flex; gap: 8px; margin-left: 8px; }
.langs a[aria-current="true"] { color: var(--accent); }
button.textlike {
  background: none;
  border: 0;
  color: var(--accent);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: #000;
  color: var(--fg);
  border: 2px solid var(--accent);
  padding: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 220px; font-size: 14px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { font-size: 14px; }
@media (max-width: 640px) {
  main { padding: 28px 16px 64px; }
  .lede { font-size: 18px; }
  .top { padding: 14px 16px; }
}
