@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800;900&display=swap');

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bug {
  font-size: clamp(5rem, 15vw, 9rem);
  margin-bottom: 16px;
  display: block;
  animation: hero-crawl 3s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(200,255,0,0.3));
}
@keyframes hero-crawl {
  0%,100% { transform: rotate(-6deg) scale(1); }
  30%      { transform: rotate(6deg) scale(1.04); }
  60%      { transform: rotate(-3deg) scale(0.97); }
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #c8ff00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--muted-2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-subtitle strong { color: var(--text); }
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-origin {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--muted-2);
  text-align: left;
  line-height: 1.7;
}
.hero-origin strong { color: var(--text); }
.hero-origin .quote { font-size: 1.5rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 6px; }

/* ─── STATS TICKER ────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-2);
}
.ticker-item .val { color: var(--accent); font-weight: 800; }
.ticker-sep { color: var(--border-2); }

/* ─── STORY SECTION ───────────────────────────────────────── */
.story-section {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-inner {
  max-width: 800px;
  margin: 0 auto;
}
.story-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.story-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 32px;
  line-height: 1.2;
}
.story-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-p {
  font-size: 1.05rem;
  color: var(--muted-2);
  line-height: 1.8;
}
.story-p strong { color: var(--text); }
.story-p em { color: var(--accent); font-style: normal; font-weight: 700; }
.story-highlight {
  background: rgba(200,255,0,0.06);
  border: 1px solid rgba(200,255,0,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 8px;
}
.story-highlight p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}
.story-highlight .attribution {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ─── ORIGIN SECTION ──────────────────────────────────────── */
.origin-section { padding: 80px 24px; }
.origin-inner { max-width: var(--max-w); margin: 0 auto; }
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.origin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.origin-card .icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.origin-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.origin-card p { font-size: 0.9rem; color: var(--muted-2); line-height: 1.7; }
.origin-card p strong { color: var(--text); }
@media (max-width: 640px) { .origin-grid { grid-template-columns: 1fr; } }

/* ─── LATEST RANTS ────────────────────────────────────────── */
.latest-section { padding: 80px 24px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.latest-inner { max-width: var(--max-w); margin: 0 auto; }
.latest-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.latest-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .latest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .latest-grid { grid-template-columns: 1fr; } }
.latest-empty { text-align: center; padding: 40px 0; color: var(--muted); font-style: italic; }

/* ─── MANIFESTO TEASER ────────────────────────────────────── */
.manifesto-section { padding: 80px 24px; }
.manifesto-inner { max-width: var(--max-w); margin: 0 auto; }
.manifesto-header { text-align: center; margin-bottom: 48px; }
.manifesto-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.manifesto-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s;
}
.manifesto-item:hover { border-color: rgba(200,255,0,0.3); }
.manifesto-item .num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(200,255,0,0.1);
  border: 1px solid rgba(200,255,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}
.manifesto-item .content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.manifesto-item .content p { font-size: 0.82rem; color: var(--muted-2); line-height: 1.5; }
.manifesto-footer { text-align: center; }

/* ─── JOIN CTA ────────────────────────────────────────────── */
.cta-section {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-bug { font-size: 4rem; display: block; margin-bottom: 16px; animation: hero-crawl 3s ease-in-out infinite; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.cta-sub { color: var(--muted-2); margin-bottom: 28px; font-size: 1rem; line-height: 1.7; }
.cta-count {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.05em;
}
.cta-count strong { color: var(--accent); }
