/* Insights tabbed shell */
.ins-tabs-panel[hidden] {
  display: none !important;
}

.ins-tabs-panel {
  min-height: 60vh;
  padding: 56px 0 80px;
}

.ins-tabs-panel--light {
  background: #f5f5f7;
}

.ins-tabs-panel--dark {
  background: #000;
  position: relative;
}

.ins-tabs-panel--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(56, 189, 248, 0.07) 0%, transparent 60%);
}

.ins-head {
  margin-bottom: 40px;
}

.ins-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0071e3;
}

.ins-tabs-panel--dark .ins-head__eyebrow {
  color: #38bdf8;
}

.ins-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
}

.ins-tabs-panel--dark .ins-head h2 {
  color: #fff;
}

.ins-head p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6e6e73;
}

.ins-tabs-panel--dark .ins-head p {
  color: rgba(255, 255, 255, 0.5);
}

.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ins-card {
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.ins-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  margin-bottom: 12px;
}

.ins-card__hot {
  margin-left: 8px;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.ins-card h3 {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1d1d1f;
}

.ins-card p {
  margin: 0 0 16px;
  flex: 1;
  font-size: 12px;
  line-height: 1.65;
  color: #6e6e73;
}

.ins-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #86868b;
}

.ins-rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

.ins-rank {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(14, 28, 54, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
}

.ins-rank__head {
  padding: 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.ins-rank__tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  margin-bottom: 8px;
}

.ins-rank__head h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f7;
}

.ins-rank__head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.ins-rank__list {
  list-style: none;
  margin: 0;
  padding: 12px;
}

.ins-rank__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.05);
}

.ins-rank__num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  flex-shrink: 0;
}

.ins-rank__list li:first-child .ins-rank__num {
  background: #38bdf8;
  color: #000;
}

.ins-rank__name {
  flex: 1;
  min-width: 0;
}

.ins-rank__name strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #f5f5f7;
}

.ins-rank__name span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.ins-rank__val {
  text-align: right;
  flex-shrink: 0;
}

.ins-rank__val strong {
  display: block;
  font-size: 14px;
  color: #38bdf8;
}

.ins-rank__val span {
  display: block;
  font-size: 12px;
  color: #4ade80;
}

.ins-report-cta {
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 113, 227, 0.03));
  border: 1px solid rgba(0, 113, 227, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ins-report-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #1d1d1f;
}

.ins-report-cta p {
  margin: 0;
  font-size: 14px;
  color: #6e6e73;
  max-width: 520px;
}

.ins-placeholder {
  margin-top: 24px;
  font-size: 13px;
  color: #86868b;
}

@media (max-width: 900px) {
  .ins-grid,
  .ins-rank-grid {
    grid-template-columns: 1fr;
  }
}
