:root{
  --bg:#0f1720; --card:#0b1220; --accent:#e11d48; --muted:#9aa4b2; --surface:#0b1220;
  --max-width:1100px;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;background:linear-gradient(180deg,#071023 0%,#071627 60%);color:#e6eef6;line-height:1.4}
.container{max-width:var(--max-width);margin:0 auto;padding:24px}
.hero{padding:48px 0;text-align:center;background:linear-gradient(90deg,rgba(225,29,72,0.06),transparent)}
.hero h1{margin:0;font-size:clamp(28px,6vw,44px);letter-spacing:-0.5px}
.tagline{color:var(--muted);margin-top:8px}
.badges{margin-top:18px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:10px 14px;border-radius:8px;background:transparent;color:#e6eef6;text-decoration:none;border:1px solid rgba(255,255,255,0.06)}
.btn.primary{background:var(--accent);border-color:transparent;color:white}

.features{margin-top:28px}
.features h2{color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:12px}
.card{background:rgba(255,255,255,0.03);padding:16px;border-radius:10px;color:#dbeafe;font-weight:600;text-align:center}

.screenshots{margin-top:28px}
.shot-row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.shot-row img{max-width:360px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:#071022}

.usage, .contribute{margin-top:28px;background:rgba(255,255,255,0.02);padding:16px;border-radius:10px;color:var(--muted)}
pre{background:rgba(0,0,0,0.25);padding:12px;border-radius:8px;overflow:auto;color:#e6eef6}

.site-footer {
  padding: 18px 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  text-align: center;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.footer-col p {
  margin: 4px 0;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 4px 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e6eef6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bottom p {
  margin: 0;
}

/* Responsive: stack footer columns on small screens */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Responsive rules for the hero image */
.hero-banner{
  display:block;
  width:100%;
  max-width:720px;   /* limit width on large screens */
  height:auto;
  max-height:220px;  /* limit vertical space */
  object-fit:cover;  /* crop safely if aspect ratio differs */
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.04);
  margin:8px auto;
}

/* smaller banner on narrow screens */
@media (max-width:520px){
  .hero-banner{ max-width:100%; max-height:140px; }
  /* ...existing code... */
}
