
/* Mossy internal text-first heroes v7 */
.m-text-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:end!important;
  gap:0!important;
  min-height:clamp(440px,58vh,680px)!important;
  padding-top:clamp(92px,12vw,156px)!important;
  padding-bottom:clamp(64px,8vw,104px)!important;
  background:#f7f8f3!important;
  border-bottom:1px solid rgba(17,23,19,.10);
  overflow:hidden;
  position:relative;
}
.m-text-hero::after{
  content:"";
  position:absolute;
  right:clamp(24px,6vw,96px);
  bottom:0;
  width:min(22vw,260px);
  height:1px;
  background:#526848;
  opacity:.34;
}
.m-text-hero > *{max-width:980px!important; width:100%!important;}
.m-text-hero .gi-hero-copy,
.m-text-hero .cs2-hero-copy,
.m-text-hero .score-hero-copy,
.m-text-hero .st-hero-heading,
.m-text-hero .st-hero-intro,
.m-text-hero .su-reveal{
  grid-column:1!important;
  margin:0!important;
  transform:none!important;
}
.m-text-hero h1{
  max-width:1000px!important;
  font-size:clamp(3.55rem,7.4vw,7.9rem)!important;
  line-height:.93!important;
  letter-spacing:-.055em!important;
  font-weight:400!important;
  text-wrap:balance;
}
.m-text-hero h1 span{font-weight:400!important; color:#72806e!important;}
.m-text-hero .gi-lead,
.m-text-hero .cs2-hero-copy>p:not(.g-eyebrow),
.m-text-hero .score-hero-copy>p:not(.g-eyebrow),
.m-text-hero .st-hero-intro p,
.m-text-hero .su-reveal>p:not(.g-eyebrow){
  max-width:720px!important;
  font-size:clamp(1.08rem,1.55vw,1.34rem)!important;
  line-height:1.62!important;
  color:#4e5a50!important;
  margin-top:clamp(24px,3vw,38px)!important;
}
.m-text-hero-actions{
  display:flex!important;
  flex-wrap:wrap;
  gap:12px;
  margin-top:clamp(28px,4vw,46px)!important;
  max-width:none!important;
}
.m-text-hero-primary,.m-text-hero-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  font-size:.95rem;
  font-weight:600;
  text-decoration:none;
  transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease;
}
.m-text-hero-primary{background:#111713;color:#fff!important;border:1px solid #111713;}
.m-text-hero-secondary{background:transparent;color:#111713!important;border:1px solid rgba(17,23,19,.24);}
.m-text-hero-primary:hover,.m-text-hero-secondary:hover{transform:translateY(-2px);}
.m-text-hero-secondary:hover{background:#fff;border-color:#111713;}
/* Remove any legacy hero artwork that survives hydration */
.m-text-hero .mi-hero-panel,
.m-text-hero .cs2-dashboard,
.m-text-hero .score-preview,
.m-text-hero .su-hero-card,
.m-text-hero .su-mi-panel,
.m-text-hero .m-premium-hero-visual,
.m-text-hero .gi-hero-art,
.m-text-hero .gi-hero-visual,
.m-text-hero picture,
.m-text-hero>svg{display:none!important;}
/* Studio remains text-first even when its original hero had two text columns */
.st-hero.m-text-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
.st-hero.m-text-hero .st-hero-intro{margin-top:28px!important;max-width:720px!important;}
/* Startups */
.su-hero.m-text-hero{display:grid!important;grid-template-columns:1fr!important;}
/* C-Suite and score page lose dashboard/previews in hero only, product detail remains below */
.cs2-hero.m-text-hero,.score-hero.m-text-hero{grid-template-columns:1fr!important;}
@media(max-width:760px){
 .m-text-hero{min-height:auto!important;padding-top:92px!important;padding-bottom:60px!important;}
 .m-text-hero h1{font-size:clamp(3rem,14vw,5rem)!important;line-height:.96!important;}
 .m-text-hero-actions{flex-direction:column;align-items:stretch;}
 .m-text-hero-primary,.m-text-hero-secondary{width:100%;}
 .m-text-hero::after{right:20px;width:120px;}
}
@media(prefers-reduced-motion:reduce){
 .m-text-hero-primary,.m-text-hero-secondary{transition:none!important;}
}
