/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --text: #f0f0e8;
  --text-dim: rgba(240,240,232,0.45);
  --accent: #e8ff47;       /* electric lime — completely different vibe */
  --accent-2: #ff6b35;     /* orange punch */
  --border: rgba(240,240,232,0.1);
  --mono: 'Space Mono', monospace;
  --body: 'Space Grotesk', sans-serif;
  --radius: 0px;           /* no border radius — hard edges */
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Grid background ──────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240,240,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,240,232,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Noise canvas ─────────────────────────────────────── */
#noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: screen;
}

/* ── Layout ───────────────────────────────────────────── */
main, nav, footer { position: relative; z-index: 1; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  text-decoration: none;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--mono);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }

.nav__hf {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 0.35rem 0.9rem;
  transition: background 0.15s !important;
}
.nav__hf:hover { background: rgba(232,255,71,0.1) !important; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--text-dim); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--border); }

/* ── Section labels ───────────────────────────────────── */
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: block;
}

.section-title {
  font-family: var(--body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.section-title em { color: var(--accent); font-style: normal; }

.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3.5rem;
}
.section-sub em { color: var(--text); font-style: normal; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 3rem 6rem;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 0.5s 0.1s forwards;
}

.hero__title {
  font-family: var(--body);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.hero__title .line {
  display: block;
  opacity: 0;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.line--1 { font-size: clamp(4rem, 12vw, 10rem); animation: slideUp 0.7s 0.2s forwards; }
.line--2 { font-size: clamp(4rem, 12vw, 10rem); animation: slideUp 0.7s 0.35s forwards; }
.line--3 { font-size: clamp(4rem, 12vw, 10rem); animation: slideUp 0.7s 0.5s forwards; }

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 0.7s 0.7s forwards;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.7s 0.9s forwards;
}

/* ── Ticker ───────────────────────────────────────────── */
.ticker {
  position: absolute;
  bottom: 3rem;
  left: 0; right: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.ticker__inner {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Why section ──────────────────────────────────────── */
.why { padding: 8rem 0; border-top: 1px solid var(--border); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}

.why-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.why-card:nth-child(2n) { border-right: none; }
.why-card:nth-child(3), .why-card:nth-child(4) { border-bottom: none; }
.why-card:hover { background: rgba(232,255,71,0.03); }

.why-card__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Compare ──────────────────────────────────────────── */
.compare { padding: 8rem 0; border-top: 1px solid var(--border); }

.compare__table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 4rem;
}

.compare__col { border: 1px solid var(--border); }

.compare__head {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.compare__col--good .compare__head {
  background: rgba(232,255,71,0.06);
  color: var(--accent);
  border-color: rgba(232,255,71,0.2);
  border-bottom-color: rgba(232,255,71,0.2);
}
.compare__col--good { border-color: rgba(232,255,71,0.2); }

.compare__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.compare__row:last-child { border-bottom: none; }

.compare__k { color: var(--text-dim); }

.compare__v { font-family: var(--mono); font-size: 0.8rem; }
.compare__v--bad { color: #ff6b6b; }
.compare__v--good { color: var(--accent); }

.compare__vs {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dim);
  align-self: center;
  letter-spacing: 0.1em;
}

/* ── Rules ────────────────────────────────────────────── */
.rules { padding: 8rem 0; border-top: 1px solid var(--border); }

.rules__list { margin-top: 1rem; }

.rule {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.rule:first-child { border-top: 1px solid var(--border); }

.rule__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
}

.rule__body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.rule__body p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Jokes ────────────────────────────────────────────── */
.jokes { padding: 8rem 0; border-top: 1px solid var(--border); }

.jokes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0 4rem;
}

.joke {
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s;
}
.joke:hover { border-color: rgba(240,240,232,0.2); }

.joke__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.joke p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

.manifesto {
  border-left: 3px solid var(--accent);
  padding: 2rem 2.5rem;
  background: rgba(232,255,71,0.02);
}

.manifesto p {
  font-size: 0.97rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.manifesto p:last-child { margin-bottom: 0; }

/* ── CTA ──────────────────────────────────────────────── */
.cta {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta h2 { margin-bottom: 1rem; }

.cta p {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer__logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer__copy {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--mono);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(240,240,232,0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ── Sections ─────────────────────────────────────────── */
.section { position: relative; z-index: 1; }

/* ── Scroll reveals ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Keyframes ────────────────────────────────────────── */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links { display: none; }
  .hero { padding: 8rem 1.5rem 5rem; }
  .why__grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; }
  .why-card:nth-child(3) { border-bottom: 1px solid var(--border); }
  .compare__table { grid-template-columns: 1fr; }
  .compare__vs { display: none; }
  .rule { grid-template-columns: 1fr; gap: 0.5rem; }
  .jokes__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .ticker { display: none; }
}

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__tag, .hero__title .line, .hero__sub, .hero__btns { opacity: 1; }
  #noise { display: none; }
}
