/* Homepage entry refinement · 2026-10-18. Scoped to the homepage only. */
/* Size each CTA from its full label and arrow; wrap whole buttons when needed. */
.gm-entry-home .consulting-engine .research-card .research-entry-actions{
 display:flex!important;flex-flow:row wrap;align-items:stretch;gap:12px;
 width:100%;margin:8px 0 0!important;padding:0;
}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a{
 display:flex!important;flex:1 1 auto;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:6px;
 width:auto!important;max-width:100%!important;min-width:0!important;min-height:62px!important;
 margin:0!important;padding:13px 8px!important;border-radius:999px!important;
 font-size:clamp(14px,1.05vw,17px)!important;font-weight:750!important;line-height:1.35!important;
 text-align:center;white-space:nowrap!important;text-decoration:none!important;
 box-sizing:border-box;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>.research-btn{
 color:#06131f!important;background:linear-gradient(115deg,#5ee1d2,#60a5fa)!important;border:1px solid transparent!important;
}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>.gm-evidence-button{
 color:#e2fffa!important;border:1px solid #5dd5ca!important;background:linear-gradient(125deg,rgba(34,133,139,.35),rgba(35,91,122,.3))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
.gm-entry-home .research-entry-actions>a>span:first-child{flex:0 0 auto;min-width:0;white-space:nowrap!important;overflow-wrap:normal;word-break:normal}
.gm-entry-home .research-entry-actions .gm-entry-arrow{flex:0 0 auto;font-size:17px;color:#86eee0}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a:hover{
 transform:translateY(-2px);box-shadow:0 8px 24px rgba(42,178,178,.18);
}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>.gm-evidence-button:hover{
 border-color:#a3fff0!important;background:linear-gradient(125deg,rgba(34,133,139,.5),rgba(35,91,122,.46))!important;
}
.gm-entry-home .research-entry-actions>a:focus-visible,.gm-entry-home .gm-evidence-nav:focus-visible{
 outline:3px solid #a1fff0;outline-offset:4px;
}
/* Keep the direct navigation entry compact and legible beside Consulting. */
.gm-entry-home .site-header .nav{gap:22px}
.gm-entry-home .site-header .nav-links{align-items:center;gap:clamp(13px,1.3vw,23px)}
.gm-entry-home .site-header .nav-links>a.gm-evidence-nav{
 display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;border:1px solid rgba(94,234,212,.48);
 border-radius:9px;color:#9df0e3;background:rgba(38,133,139,.1);white-space:nowrap;font-size:14px;line-height:1.4;
}
.gm-entry-home .site-header .nav-links>a.gm-evidence-nav:hover{
 color:#effffb;border-color:#82f1dc;background:rgba(38,133,139,.25);
}
@media(min-width:821px) and (max-width:1180px){
 .gm-entry-home .site-header .nav{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 0 10px;gap:10px}
 .gm-entry-home .site-header .nav-links{display:flex;width:100%;justify-content:center;flex-wrap:wrap;gap:12px 20px}
}
@media(max-width:820px){
 .gm-entry-home .site-header .nav{gap:10px}
 .gm-entry-home .site-header .nav-links{gap:18px}
 .gm-entry-home .site-header .nav-links>a.gm-evidence-nav{flex:0 0 auto}
 .gm-entry-home .consulting-engine .research-card .research-entry-actions>a{font-size:16px!important;min-height:58px!important}
}
@media(max-width:540px){
 .gm-entry-home .consulting-engine .research-card .research-entry-actions{flex-direction:column;gap:10px;margin-top:6px!important}
 .gm-entry-home .consulting-engine .research-card .research-entry-actions>a{width:100%!important;flex:0 0 auto;min-height:52px!important;font-size:15px!important;padding:12px 8px!important}
}
@media(prefers-reduced-motion:reduce){
 .gm-entry-home .consulting-engine .research-card .research-entry-actions>a{transition:none}
 .gm-entry-home .consulting-engine .research-card .research-entry-actions>a:hover{transform:none}
}

/* Primary CTA restyle · 2026-10-17: match the Treatment Benefit navigation palette.
   Font size/weight and existing pill radius are inherited unchanged. */
.gm-entry-home .hero-actions>a.btn.primary.launch-btn,
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a.btn.primary.research-btn{
 background:rgba(38,133,139,.1)!important;
 color:#9df0e3!important;
 border:1px solid rgba(94,234,212,.48)!important;
 box-shadow:none!important;
}
.gm-entry-home .hero-actions>a.btn.primary.launch-btn:hover,
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a.btn.primary.research-btn:hover{
 background:rgba(38,133,139,.25)!important;
 color:#effffb!important;
 border-color:#82f1dc!important;
 box-shadow:none!important;
}
/* Remove the old narrow fixed width that forced Launch / OncoAI onto two lines. */
.gm-entry-home .hero-actions>a.btn.primary.launch-btn{
 display:inline-flex!important;
 flex-direction:row!important;
 align-items:center;
 justify-content:center;
 white-space:nowrap!important;
 width:max-content!important;
 min-width:156px;
 max-width:100%;
 gap:0!important;
}
.gm-entry-home .hero-actions>a.btn.primary.launch-btn:focus-visible{
 outline:3px solid #a1fff0;outline-offset:4px;
}

/* Final CTA polish: external-link arrow and 2mm downward placement of the disclosure. */
.gm-entry-home .hero-actions>a.btn.primary.launch-btn::after{
 content:"↗";
 content:"↗" / "";
 display:inline-block;
 flex:0 0 auto;
 margin-left:.5em;
 font-size:17px;
 line-height:1;
 color:#86eee0;
}
.gm-entry-home .hero-copy>details.model-science{
 position:relative;
 top:2mm!important;
}

/* User-reviewed polish · 2026-10-18: exchange text colors only. */
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a.btn.primary.research-btn{
 color:#e2fffa!important;
}
.gm-entry-home .consulting-engine .research-card .research-entry-actions>a.btn.gm-evidence-button{
 color:#9df0e3!important;
}
/* The small paragraph between the service circles and buttons uses normal weight. */
.gm-entry-home .consulting-engine .research-card .research-prompt,
.gm-entry-home .consulting-engine .research-card .research-prompt strong{
 font-weight:400!important;
}
