:root {
  --bg: #0e1116;
  --card: #171b22;
  --ink: #e8edf5;
  --muted: #9aa6b8;
  --line: #2a3140;
  --accent: #6ee0c5;
  --warn: #f0c36e;
  font-family: "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { min-height: 100vh; }

.hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-copy {
  position: relative;
  padding: 3rem 6vw 2.2rem;
  background: linear-gradient(to top, rgba(14,17,22,.92), rgba(14,17,22,.15));
}
.kicker { letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-size: .78rem; margin: 0 0 .4rem; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 .6rem; font-weight: 650; }
.hero-copy p { max-width: 46rem; line-height: 1.55; color: #d5dce8; }
.hosts { color: var(--muted) !important; font-size: .92rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; color: var(--warn); }

main { padding: 1.6rem 6vw 4rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
}
.card h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
.meta { color: var(--muted); font-size: .82rem; margin: 0 0 .7rem; }
pre {
  background: #0c0f14;
  border-radius: 8px;
  padding: .7rem .75rem;
  overflow: auto;
  font-size: .78rem;
  line-height: 1.4;
  max-height: 220px;
}
pre.hdr { color: #9fd6c8; max-height: 140px; }
button {
  margin-top: .55rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid #2d5f55;
  border-radius: 999px;
  padding: .35rem .9rem;
  cursor: pointer;
}
button:hover { background: #12332d; }
.howto { margin-top: 2rem; max-width: 52rem; }
.howto ol { padding-left: 1.2rem; color: #c9d2e0; line-height: 1.7; }
