:root {
  --pill-bg: rgba(20,20,20,0.85);
  --neon: #0ff;
  --text: #fff;
  --muted: #bbb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: var(--text);
  font-family: system-ui, sans-serif;
  scroll-behavior: smooth;
  line-height: 1.5;
}

/* ==== HEADER ==== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.site-header .logo {
  color: #fff;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: bold;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap; /* always inline */
  gap: 25px;
  margin: 0;
  padding: 0;
}

.site-header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  transition: all 0.3s ease;
  font-size: clamp(14px, 2vw, 17px);
  white-space: nowrap; /* prevent wrapping */
}

.site-header nav ul li a.active,
.site-header nav ul li a:hover {
  border-bottom: 2px solid #00d4ff;
  color: #00d4ff;
}

/* ==== FOOTER ==== */
.footer-grid {
  background: #000;
  color: var(--neon);
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.footer-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    #0ff 0px,
    #0ff 1px,
    transparent 1px,
    transparent 40px
  );
  opacity: 0.1;
  animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
  to {
    transform: translateX(-40px);
  }
}

.footer-grid p {
  position: relative;
  z-index: 1;
  text-shadow: 0 0 10px var(--neon);
  font-size: clamp(12px, 1.5vw, 15px);
}

/* ==== HEADINGS & TEXT ==== */
.headline {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  color: var(--neon);
  margin: 0 0 12px 0;
  line-height: 1.3;
  text-align: center;
}

.blurb {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

/* ==== RESPONSIVENESS ==== */
/* only reduce padding & gaps but keep inline layout */
@media (max-width: 1024px) {
  .site-header {
    padding: 12px 25px;
  }
  .site-header nav ul {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 10px 15px;
  }
  .site-header .logo {
    font-size: 18px;
  }
  .site-header nav ul {
    gap: 12px;
  }
  .site-header nav ul li a {
    font-size: 14px;
  }
  .footer-grid p {
    font-size: 12px;
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .headline {
    font-size: 20px;
  }
  .blurb {
    font-size: 13px;
  }
}
