/* ============================================
   SIGNAL — Prediction markets without capital
   Bold, electric, institutional-creative
   ============================================ */

:root {
  --bg: #07070b;
  --bg-elev: #0e0e16;
  --bg-card: #12121c;
  --bg-card-hover: #161622;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f0eb;
  --muted: #8b8799;
  --dim: #5c586c;
  --accent: #c8f542;
  --accent-2: #5ef0c8;
  --accent-3: #ff4d6d;
  --accent-hot: #ff8a3d;
  --yes: #5ef0c8;
  --no: #ff4d6d;
  --glow: rgba(200, 245, 66, 0.35);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 16px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
em { font-style: italic; color: var(--accent-2); }
strong { font-weight: 600; color: var(--text); }

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 245, 66, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.2s, opacity 0.2s;
}

body.hovering .cursor { width: 12px; height: 12px; }
body.hovering .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }

#grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Layout */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.section-label .num {
  color: var(--accent);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 24px;
}

.section-title.center { text-align: center; }
.section-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 48px;
}
.section-lead.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.accent { color: var(--accent); }
.accent-text { color: var(--accent-2); }
.outline-text {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: none;
  white-space: nowrap;
}

@media (pointer: coarse) { .btn { cursor: pointer; } }

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
  box-shadow: 0 0 0 0 var(--glow);
}
.btn-primary:hover {
  box-shadow: 0 0 40px var(--glow), 0 0 80px rgba(200, 245, 66, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-glow {
  background: rgba(200, 245, 66, 0.1);
  border-color: rgba(200, 245, 66, 0.35);
  color: var(--accent);
}
.btn-glow:hover {
  background: rgba(200, 245, 66, 0.18);
  box-shadow: 0 0 24px rgba(200, 245, 66, 0.2);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 7, 11, 0.75);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.logo-mark {
  color: var(--accent);
  font-size: 1.35rem;
  animation: spin-slow 12s linear infinite;
  display: inline-block;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  width: 28px;
  cursor: pointer;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 11, 0.96);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav { padding: 0 20px; }
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200, 245, 66, 0.25), transparent 70%);
  top: -10%; left: -5%;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(94, 240, 200, 0.18), transparent 70%);
  bottom: 10%; right: 10%;
  animation-delay: -4s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.12), transparent 70%);
  top: 40%; left: 45%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

.ticker {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 11, 0.6);
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  animation: ticker 40s linear infinite;
}

.ticker-item .up { color: var(--yes); }
.ticker-item .down { color: var(--no); }
.ticker-item strong { color: var(--text); font-weight: 500; }

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

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 1.8s ease infinite;
  display: inline-block;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 245, 66, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(200, 245, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 245, 66, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--dim);
  margin-top: 4px;
  display: block;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: var(--line-strong);
}

/* Market card */
.hero-market {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

.market-card {
  background: linear-gradient(160deg, rgba(18, 18, 28, 0.95), rgba(14, 14, 22, 0.9));
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.market-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.market-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.market-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.market-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

.market-q {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.3;
}

.market-probs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

.prob-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.prob.yes .prob-head { color: var(--yes); }
.prob.no .prob-head { color: var(--no); }

.prob-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.prob-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s var(--ease);
}

.prob.yes .prob-fill {
  background: linear-gradient(90deg, #2a9d7a, var(--yes));
  box-shadow: 0 0 12px rgba(94, 240, 200, 0.4);
}
.prob.no .prob-fill {
  background: linear-gradient(90deg, #a82d45, var(--no));
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.35);
}

.market-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.meta-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
}

.market-spark {
  margin-top: 20px;
  height: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.market-spark i {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  height: var(--h, 40%);
  animation: bar-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes bar-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.08); }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 56px);
    min-height: auto;
  }
  .hero-market { padding-top: 0; max-width: 480px; }
  .market-card { transform: none; }
}

/* THESIS */
.thesis {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 245, 66, 0.04), transparent);
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}

.thesis-right p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.glitch {
  position: relative;
  color: var(--accent-3);
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0.8;
}
.glitch::before {
  color: var(--accent-2);
  animation: glitch-1 2.5s infinite linear alternate-reverse;
  clip-path: inset(0 0 55% 0);
}
.glitch::after {
  color: var(--accent-3);
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(45% 0 0 0);
}

@keyframes glitch-1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}
@keyframes glitch-2 {
  0% { transform: translate(0); }
  25% { transform: translate(2px, 0); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.pain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 245, 66, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 245, 66, 0.3);
  background: var(--bg-card-hover);
}
.pain-card:hover::after { opacity: 1; }

.pain-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  filter: grayscale(0.3);
}

.pain-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .thesis-grid { grid-template-columns: 1fr; gap: 24px; }
  .pain-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pain-cards { grid-template-columns: 1fr; }
}

/* MECHANIC */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.step:hover {
  background: linear-gradient(90deg, rgba(200, 245, 66, 0.03), transparent);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.step:hover .step-num { color: var(--accent); }

.step-body h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-body p {
  color: var(--muted);
  max-width: 480px;
  font-size: 0.95rem;
}

.chip-stack { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(200, 245, 66, 0.3);
  color: var(--accent);
  background: rgba(200, 245, 66, 0.06);
}

.mini-order {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.mo-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  gap: 16px;
}
.mo-row .up { color: var(--yes); }
.mo-row .down { color: var(--no); }

.rank-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  justify-content: flex-end;
}
.rf-from { color: var(--dim); text-decoration: line-through; }
.rf-arrow { color: var(--muted); }
.rf-to {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.data-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  justify-content: flex-end;
}
.data-bars i {
  width: 10px;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  opacity: 0.85;
  animation: bar-up 1.6s ease-in-out infinite alternate;
}
.data-bars i:nth-child(2) { animation-delay: 0.15s; }
.data-bars i:nth-child(3) { animation-delay: 0.3s; }
.data-bars i:nth-child(4) { animation-delay: 0.45s; }
.data-bars i:nth-child(5) { animation-delay: 0.6s; }
.data-bars i:nth-child(6) { animation-delay: 0.75s; }

@keyframes bar-up {
  from { transform: scaleY(0.7); opacity: 0.5; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 800px) {
  .step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }
  .step-visual { display: none; }
}

/* DATA SEC */
.data-sec {
  background: linear-gradient(180deg, transparent, rgba(94, 240, 200, 0.03), transparent);
}

.data-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.data-list { margin-top: 8px; }

.data-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.dl-icon {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.data-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.data-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.compare-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.compare-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
}

.compare-head .vs {
  text-align: center;
  color: var(--dim);
}

.compare-head .sig {
  color: var(--accent);
  text-align: right;
}

.compare-rows .cr {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  align-items: center;
  transition: background 0.2s;
}
.compare-rows .cr:last-child { border-bottom: none; }
.compare-rows .cr:hover { background: rgba(255, 255, 255, 0.02); }

.cr-label { color: var(--muted); font-size: 0.82rem; }
.cr-bad {
  color: var(--no);
  opacity: 0.85;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.cr-good {
  color: var(--yes);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .data-split { grid-template-columns: 1fr; gap: 40px; }
  .compare-panel { position: static; }
}

/* MARKETS GRID */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.m-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: none;
}

@media (pointer: coarse) { .m-card { cursor: pointer; } }

.m-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 240, 200, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.m-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.m-q {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.35;
  min-height: 2.7em;
}

.m-bar-wrap {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
}

.m-bar-yes {
  background: var(--yes);
  transition: width 0.6s var(--ease);
}
.m-bar-no {
  background: var(--no);
  transition: width 0.6s var(--ease);
}

.m-pcts {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.m-pcts .y { color: var(--yes); }
.m-pcts .n { color: var(--no); }

.m-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--dim);
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .markets-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .markets-grid { grid-template-columns: 1fr; }
}

/* RANKING */
.ranking-sec {
  background: radial-gradient(ellipse 60% 40% at 80% 50%, rgba(200, 245, 66, 0.05), transparent);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.rank-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.rf {
  padding: 20px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(200, 245, 66, 0.05), transparent);
}

.rf-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.rf p { color: var(--muted); font-size: 0.92rem; }

.leaderboard {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.lb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.lb-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lb-rows { max-height: 380px; overflow: hidden; }

.lb-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
  animation: row-in 0.5s var(--ease) both;
}

.lb-row:hover { background: rgba(255, 255, 255, 0.03); }

.lb-row.top-1 { background: linear-gradient(90deg, rgba(200, 245, 66, 0.08), transparent); }
.lb-row.top-1 .lb-pos { color: var(--accent); }

.lb-pos {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--dim);
  font-size: 0.85rem;
}

.lb-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.lb-meta {
  font-size: 0.72rem;
  color: var(--dim);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.lb-score {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-2);
  font-weight: 500;
}

.lb-you {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(200, 245, 66, 0.06);
  border-top: 1px solid rgba(200, 245, 66, 0.2);
  align-items: center;
  font-size: 0.9rem;
}

.lb-you .lb-score { color: var(--muted); font-size: 0.8rem; }

@keyframes row-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .ranking-layout { grid-template-columns: 1fr; gap: 40px; }
  .leaderboard { max-width: 480px; }
}

/* INVESTORS */
.inv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.inv-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}

.inv-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.inv-card.featured {
  border-color: rgba(200, 245, 66, 0.4);
  background: linear-gradient(165deg, rgba(200, 245, 66, 0.08), var(--bg-card) 50%);
  box-shadow: 0 0 60px rgba(200, 245, 66, 0.08);
}

.inv-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 600;
}

.inv-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--dim);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.inv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.inv-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.inv-card ul li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 8px 0;
  border-top: 1px solid var(--line);
  padding-left: 16px;
  position: relative;
}

.inv-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-box {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s;
}

.metric-box:hover {
  border-color: rgba(200, 245, 66, 0.35);
  transform: scale(1.02);
}

.mb-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.mb-label {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .inv-cards { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
}

/* MANIFESTO */
.manifesto {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(200, 245, 66, 0.03);
}

.manifesto-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  animation: ticker 30s linear infinite;
  color: var(--text);
}

.manifesto-track .dot {
  color: var(--accent);
}

/* CTA */
.cta-sec { padding-bottom: 100px; }

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.9), rgba(7, 7, 11, 0.95));
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 245, 66, 0.12), transparent 65%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
}

.cta-sub {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
  font-size: 1.05rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.field {
  display: flex;
  gap: 10px;
  width: 100%;
}

.field input,
.field select {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
  cursor: none;
}

@media (pointer: coarse) {
  .field input, .field select { cursor: auto; }
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8799' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  color: var(--muted);
}

.field select:valid { color: var(--text); }

.field input::placeholder { color: var(--dim); }

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.12);
}

.cta-form .btn { min-width: 200px; }

.cta-note {
  font-size: 0.8rem;
  color: var(--dim);
  margin-top: 8px;
  position: relative;
}

.cta-success {
  margin-top: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(94, 240, 200, 0.1);
  border: 1px solid rgba(94, 240, 200, 0.3);
  color: var(--yes);
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: success-in 0.5s var(--ease);
}

.ok-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yes);
  color: #0a0a0f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .field { flex-direction: column; }
  .cta-box { padding: 48px 20px; }
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-mark,
.footer-brand .logo-text {
  display: inline;
  vertical-align: middle;
}

.footer-brand .logo-text {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.footer-cols a,
.footer-cols .muted {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--dim);
  font-family: var(--font-mono);
}

.footer-tag { color: var(--muted); }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Selection */
::selection {
  background: rgba(200, 245, 66, 0.3);
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #2a2a38;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #3a3a4c; }
