
  /* ══ REMOVE GIANT BLANK SPACES & COMPACT HERO LAYOUT ══ */
  
  /* 1. Reset stretch & vertical space-between that caused vertical gaps */
  .hero-inner,
  .hero-reference-grid,
  .dotnet-hero-grid {
    align-items: flex-start !important;
    gap: 32px !important;
  }

  .hero-left,
  .hero-reference-copy,
  .dotnet-hero-copy {
    display: block !important;
    height: auto !important;
    justify-content: flex-start !important;
  }

  /* 2. Compact Left Stats Board: tight padding, zero blank space at top */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin-top: 24px !important;
    width: 100% !important;
    max-width: 520px !important;
    min-height: auto !important;
    padding: 14px 12px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(0, 151, 167, 0.18) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 26px rgba(18, 103, 98, 0.05) !important;
    overflow: hidden !important;
  }

  .hero-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    padding: 10px 8px !important;
    border-right: 1px solid rgba(0, 151, 167, 0.14) !important;
    border-bottom: none !important;
    text-align: center !important;
  }

  .hero-stat:last-child {
    border-right: none !important;
  }

  .hero-stat-num {
    color: #008f63 !important;
    font-size: 26px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }

  .hero-stat-label {
    margin-top: 4px !important;
    color: var(--java-text, #243040) !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  /* 3. Compact Right-side Cards: remove top/middle blank gaps */
  .hero-card,
  .hero-card-risk,
  .hero-card-metrics,
  [class*="hero-card"] {
    min-height: auto !important;
    height: auto !important;
    padding: 18px 20px !important;
    display: block !important;
    justify-content: flex-start !important;
  }

  .hero-card-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
  }

  .risk-item {
    padding: 6px 0 !important;
    margin: 0 !important;
  }

  .hero-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
