/* ==========================================================
   B2BGEMI Public Company Intelligence V2 — Stage 4
   Value-first information architecture for public company pages.
   Loaded after the existing company CSS stack.
   ========================================================== */

.cp-hero__trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  max-width:820px;
  margin-top:22px;
}
.cp-hero__trust>span{
  min-width:0;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}
.cp-hero__trust small{
  display:block;
  color:#7f9aac;
  font:800 .58rem/1.2 "JetBrains Mono",monospace;
  letter-spacing:.12em;
}
.cp-hero__trust b{
  display:block;
  margin-top:5px;
  color:#edf8ff;
  font-size:.78rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}

.cp-at-a-glance{
  display:grid;
  gap:8px;
  margin-top:20px;
  padding:18px 19px;
  border:1px solid #d4e5e9;
  border-radius:15px;
  background:linear-gradient(145deg,#f5fffc,#f8fbfc);
}
.cp-at-a-glance p{
  margin:0!important;
  color:#35576a!important;
  font-size:.93rem;
  line-height:1.65;
}
.cp-at-a-glance p:first-child{
  color:#173e50!important;
  font-weight:800;
}
.cp-facts--eight{grid-template-columns:repeat(4,minmax(0,1fr))}

.cp-market-stats--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.cp-market-stats--four>div{min-width:0}

#similar-companies{scroll-margin-top:96px}
#company-discovery{scroll-margin-top:86px}
#company-contact{scroll-margin-top:96px}

.cp-discovery--value-earned{
  padding-top:54px;
  padding-bottom:54px;
  border-top:1px solid rgba(22,223,189,.2);
}
.cp-discovery--value-earned:after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(980px,84%);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(22,223,189,.48),transparent);
}

.cp-analysis-boundary{
  margin:16px 0 0!important;
  padding-top:13px;
  border-top:1px solid #e3ecef;
  color:#718896!important;
  font-size:.72rem!important;
  line-height:1.6!important;
}
.cp-knowledge-card--dark .cp-analysis-boundary{
  border-top-color:rgba(255,255,255,.09);
  color:#87a1b1!important;
}

.cp-source-proof{
  margin-top:19px;
  padding:18px;
  border:1px solid #cfe4e0;
  border-radius:15px;
  background:linear-gradient(150deg,#f2fffb,#f8fbfc);
}
.cp-source-proof>small{
  color:#008e76;
  font:800 .62rem/1.2 "JetBrains Mono",monospace;
  letter-spacing:.13em;
}
.cp-source-proof h3{
  margin:7px 0 0;
  color:#173447!important;
  -webkit-text-fill-color:#173447!important;
  font:800 1.12rem/1.2 "Space Grotesk",sans-serif;
}
.cp-source-proof p{
  margin:10px 0 0;
  color:#60788a!important;
  -webkit-text-fill-color:#60788a!important;
  font-size:.75rem;
  line-height:1.6;
}
.cp-source-proof__chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:13px;
}
.cp-source-proof__chips span{
  padding:7px 9px;
  border:1px solid #cde2de;
  border-radius:999px;
  background:#fff;
  color:#23584e;
  font-size:.68rem;
  font-weight:800;
}
.cp-source-proof__links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 13px;
  margin-top:13px;
}
.cp-source-proof__links a{
  color:#087d69;
  font-size:.72rem;
  font-weight:850;
  text-decoration:none;
}
.cp-source-proof__links a:hover{text-decoration:underline}

/* Contact availability is public; the raw contact itself is unlocked only
   through the product credit flow, never directly on this public page. */
.cp-side-card--contact>p strong{
  color:#0b755f;
  -webkit-text-fill-color:#0b755f;
}
.cp-contact-unlock-cta{
  white-space:normal;
  line-height:1.35;
  text-align:center;
  padding-top:10px;
  padding-bottom:10px;
}

/* Slight hierarchy lift without changing the established palette. */
.cp-card--intro{
  border-color:#cfe0e6;
  box-shadow:0 28px 80px rgba(7,31,49,.13);
}
.cp-card--intro .cp-section-title h2{font-size:clamp(1.75rem,3.4vw,2.45rem)}
.cp-section--light .cp-main-column>.cp-card:not(.cp-card--market){
  transition:border-color .18s ease,box-shadow .18s ease;
}
.cp-section--light .cp-main-column>.cp-card:not(.cp-card--market):hover{
  border-color:#c9e1df;
  box-shadow:0 24px 64px rgba(7,31,49,.11);
}
.cp-knowledge{
  padding-top:58px;
  background:linear-gradient(180deg,#f5f9fb,#eef6f8 55%,#f5f9fb);
}
.cp-knowledge__head{
  padding-left:17px;
  border-left:3px solid #16dfbd;
}
.cp-network-item{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.cp-network-item:hover{
  transform:translateY(-2px);
  border-color:#9adfd4;
  box-shadow:0 15px 32px rgba(7,31,49,.08);
}

@media(max-width:1100px){
  .cp-facts--eight{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-market-stats--four{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  .cp-hero__trust{grid-template-columns:1fr;margin-top:18px}
  .cp-hero__trust>span{padding:10px 11px}
  .cp-at-a-glance{padding:15px;margin-top:17px}
  .cp-facts--eight,.cp-market-stats--four{grid-template-columns:1fr}
  .cp-discovery--value-earned{padding-top:34px;padding-bottom:38px}
  .cp-knowledge{padding-top:38px}
  .cp-knowledge__head{padding-left:13px}
  .cp-source-proof{padding:15px}
}

@media(prefers-reduced-motion:reduce){
  .cp-section--light .cp-main-column>.cp-card:not(.cp-card--market),
  .cp-network-item{transition:none}
  .cp-section--light .cp-main-column>.cp-card:not(.cp-card--market):hover,
  .cp-network-item:hover{transform:none}
}

/* ==========================================================
   Stage 4.1 — Visual Polish
   CSS-only presentation refinements. No content, SEO, privacy,
   action, schema or business-logic changes.
   ========================================================== */

/* Give the factual main column a little more breathing room on desktop
   without changing the two-column information architecture. */
@media(min-width:981px){
  .cp-layout{
    grid-template-columns:minmax(0,1fr) 320px;
    gap:18px;
  }
}

/* The 12-month context card was too narrow for four large figures in one row.
   A 2x2 layout keeps every metric visually distinct and easier to scan. */
.cp-market-four{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.cp-market-four>div{
  min-width:0;
  min-height:104px;
  padding:15px 14px;
}
.cp-market-four strong{
  font-size:1.72rem;
  line-height:1;
  letter-spacing:-.025em;
}
.cp-market-four span{
  line-height:1.42;
}

/* Compact the large internal-link network while keeping all crawlable links,
   labels and destinations intact. */
.cp-network.cp-knowledge-card{
  padding:22px;
}
.cp-network-group{
  margin-top:15px;
}
.cp-network-list{
  gap:8px;
}
.cp-network-item{
  min-height:132px;
  padding:12px 13px;
}
.cp-network-item strong{
  font-size:.88rem;
  line-height:1.28;
}
.cp-network-item span{
  font-size:.67rem;
  line-height:1.42;
}
.cp-network-item i{
  padding-top:8px;
  font-size:.68rem;
}

/* Slightly tighter vertical rhythm on tablets and phones. */
@media(max-width:1050px){
  .cp-market-four{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .cp-section{
    padding-top:30px;
    padding-bottom:46px;
  }
  .cp-knowledge{
    padding-top:32px;
    padding-bottom:58px;
  }
  .cp-knowledge-grid{
    gap:14px;
  }
  .cp-knowledge-grid + .cp-knowledge-grid{
    margin-top:14px!important;
  }
  .cp-knowledge-card{
    padding:17px;
  }
  .cp-network.cp-knowledge-card{
    padding:17px;
  }
  .cp-network-group{
    margin-top:13px;
  }
  .cp-network-item{
    min-height:auto;
    padding:12px;
  }
  .cp-market-four{
    grid-template-columns:1fr;
    gap:8px;
  }
  .cp-market-four>div{
    min-height:0;
    padding:14px;
  }
  .cp-market-four strong{
    font-size:1.65rem;
  }
  .cp-source-proof__links{
    gap:7px 10px;
  }
}
