/* ── STAT MODAL — 97% proof point ─────────────────────────────────── */

.hero-sub {
  margin-top: 1.8rem !important;
}



.stat-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 10, 24, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
}
.stat-modal-overlay.open {
  display: flex;
}

.stat-modal-panel {
  position: relative;
  background: #0F172A;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 12px;
  padding: 2.5rem 2.5rem 2rem;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  cursor: default;
}

.stat-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}
.stat-modal-close:hover { color: #fff; }

.stat-modal-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-bottom: 0.6rem;
}

.stat-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.stat-modal-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 2rem;
}

.stat-modal-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 620px) {
  .stat-modal-panel { padding: 2rem 1.25rem 1.5rem; }
}

.stat-modal-chart-wrap {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1rem 0.75rem;
}

.stat-modal-chart-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.stat-modal-citations {
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-modal-cite {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  margin: 0;
}
.stat-modal-cite em { font-style: italic; }

/* "see the evidence" hint below 97% */
.stat-trigger {
  cursor: pointer;
  border-bottom: 2px dashed rgba(45, 212, 191, 0.6);
  transition: border-color 0.2s;
  position: relative;
}
.stat-trigger:hover {
  border-color: #2dd4bf;
}
.stat-trigger::after {
  content: attr(data-hint);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.3em;
  font-size: 0.6rem;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.1em;
  font-weight: 400;
  color: rgba(45, 212, 191, 0.8);
  white-space: nowrap;
  pointer-events: none;
}
.stat-trigger:hover::after {
  color: #2dd4bf;
}
