:root {
  --ink: #000000;
  --slate: #334155;
  --muted: #888888;
  --rule: #E2E8F0;
  --soft: #F1F5F9;
  --bg: #ffffff;
  --brand-green: #8cff00;
  --brand-blue: #054074;
  --brand-blue-bright: #0070C0;
  --brand-light-blue: #0ea5e9;
  --brand-teal: #00c4b4;
  --gradient-blue: linear-gradient(90deg, #000000 0%, #0070C0 100%);
  --gradient-accent: linear-gradient(90deg, #0ea5e9 0%, #00c4b4 50%, #8cff00 100%);
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.08), 0 1px 2px -1px rgba(0,0,0,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
code { font-family: 'JetBrains Mono', monospace; background: var(--soft); border-radius: 4px; padding: 0.1rem 0.4rem; font-size: 0.875em; color: var(--brand-blue); }

/* HERO */
.hero {
  background: var(--gradient-blue);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gradient-accent); }
.hero .eyebrow { color: var(--brand-green); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero-sub { font-size: clamp(1.0625rem, 1.75vw, 1.25rem); color: rgba(255,255,255,0.92); max-width: 38rem; margin-bottom: 1.5rem; }
.hero-rule { width: 80px; height: 4px; background: var(--gradient-accent); border-radius: 2px; margin-bottom: 1.5rem; }
.hero-meta { font-size: 0.8125rem; color: rgba(255,255,255,0.7); }

/* SECTIONS */
main { padding: 3.5rem 0 4rem; }
.section { margin-bottom: 3rem; }
.section-head { margin-bottom: 1.25rem; }
.section-head h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 0.25rem;
}
.section-head p { color: var(--muted); font-size: 0.9375rem; }

/* GRID + CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 1.25rem;
}
.card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}
.card.live::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--brand-green);
}
.card.live:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}
.card.placeholder {
  background: var(--soft);
  border-style: dashed;
  border-color: var(--rule);
}
.card.placeholder:hover { border-color: var(--brand-light-blue); }
.card-cat {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cat, var(--brand-blue));
  margin-bottom: 0.6rem;
}
.card h3 {
  color: var(--ink);
  font-size: 1.125rem; font-weight: 700;
  line-height: 1.3; margin-bottom: 0.5rem;
}
.card-desc {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.card-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.live-badge { background: rgba(140,255,0,0.18); color: var(--brand-blue); }
.soon-badge { background: var(--rule); color: var(--muted); }
.new-badge { background: rgba(0,196,180,0.16); color: var(--brand-blue); }

/* ABOUT CARD */
.about { margin-top: 1rem; }
.about-card {
  background: var(--gradient-blue);
  color: white;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  position: relative; overflow: hidden;
}
.about-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient-accent); }
.about-card h2 { color: white; font-size: 1.25rem; margin-bottom: 1rem; }
.about-card ul { list-style: none; padding: 0; }
.about-card ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: relative;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
}
.about-card ul li:last-child { border-bottom: none; }
.about-card ul li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--brand-green); font-weight: 700;
}
.about-card code { background: rgba(255,255,255,0.18); color: var(--brand-green); }
.about-card .rule {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* FOOTER */
footer { background: white; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
footer p { color: var(--muted); font-size: 0.8125rem; text-align: center; line-height: 1.7; }
footer a { color: var(--brand-blue); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--brand-blue-bright); text-decoration: underline; }

/* MOBILE */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  main { padding: 2.5rem 0 3rem; }
  .card { padding: 1.25rem; }
  .about-card { padding: 1.5rem; }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
