/* Bitquery Investigations — long-form article (scoped under .inv-article) */

@keyframes inv-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.inv-article {
  --inv-accent: #f93f9c;
  --inv-accent-tint: rgba(249, 63, 156, 0.08);
  --inv-accent-line: rgba(249, 63, 156, 0.3);
  --inv-bg: #07090e;
  --inv-panel: #0d131b;
  --inv-code: #0a1018;
  --inv-text: #aeb6c0;
  --inv-link: #8fb4ff;

  position: relative;
  background: var(--inv-bg);
  color: var(--inv-text);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.inv-article ::selection {
  background: rgba(249, 63, 156, 0.3);
  color: #fff;
}

.inv-article [style*="animation:bqpulse"] {
  animation: inv-pulse 2s infinite !important;
}

.inv-article .inv-copy,
.inv-article [data-addr] {
  cursor: pointer;
  transition: background 0.15s ease;
}

.inv-article .inv-copy:hover,
.inv-article [data-addr]:hover {
  background: rgba(143, 180, 255, 0.18) !important;
}

.inv-article .inv-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 60;
}

.inv-article .inv-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--inv-accent);
  transition: width 0.08s linear;
}

.inv-article .inv-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 80;
  background: #11161f;
  border: 1px solid var(--inv-accent-line);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #e3e9ef;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* End CTA — AI Investigations solution page */
.inv-article .inv-endcta {
  margin: 56px auto 0;
  max-width: 1000px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 38px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 39, 57, 0.5), rgba(12, 18, 28, 0.5));
}

.inv-article .inv-endcta-title {
  margin: 0;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: #fff;
}

.inv-article .inv-endcta-body {
  margin: 12px auto 24px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--inv-text);
}

.inv-article .inv-endcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #93254b;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.inv-article .inv-endcta-btn:hover {
  background: #a82d58;
  color: #fff;
}

@media (max-width: 768px) {
  .inv-article [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .inv-article [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .inv-article [style*="grid-template-columns:1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .inv-article header[style*="padding:80px"] {
    padding-top: 48px !important;
  }
}
