
/* ===== HERO ILLUSTRATION FIT UPDATE ===== */
#hero.hero-reference-v3 .hero-reference-visual{
  min-height:620px !important;
  padding:18px 12px 34px !important;
  align-items:center !important;
  justify-content:center !important;
}
#hero.hero-reference-v3 .hero-reference-glow{
  left:50% !important;
  top:49% !important;
  width:610px !important;
  height:610px !important;
  transform:translate(-50%,-50%) !important;
  background:radial-gradient(circle, rgba(255,255,255,.98) 0%, rgba(245,255,251,.88) 28%, rgba(167,236,221,.26) 53%, transparent 74%) !important;
}
#hero.hero-reference-v3 .hero-reference-visual img{
  width:min(100%, 640px) !important;
  max-height:560px !important;
  object-fit:contain !important;
  transform:translate(0,0) scale(1) !important;
  filter:drop-shadow(0 18px 34px rgba(16,114,89,.12)) !important;
}
#hero.hero-reference-v3 .hero-reference-orbit-one{
  width:560px !important;
  height:560px !important;
  right:18px !important;
  top:18px !important;
}
#hero.hero-reference-v3 .hero-reference-orbit-two{
  width:420px !important;
  height:300px !important;
  left:14px !important;
  top:146px !important;
}
#hero.hero-reference-v3 .hero-reference-road-one{
  right:-28px !important;
  width:610px !important;
  bottom:24px !important;
}
#hero.hero-reference-v3 .hero-reference-road-two{
  right:-4px !important;
  width:560px !important;
  bottom:58px !important;
}
#hero.hero-reference-v3 .hero-reference-road-three{
  right:20px !important;
  width:500px !important;
  bottom:92px !important;
}
@media (max-width:1180px){
  #hero.hero-reference-v3 .hero-reference-visual{
    min-height:500px !important;
    padding:8px 8px 18px !important;
  }
  #hero.hero-reference-v3 .hero-reference-glow{
    width:470px !important;
    height:470px !important;
  }
  #hero.hero-reference-v3 .hero-reference-visual img{
    width:min(100%, 500px) !important;
    max-height:430px !important;
  }
  #hero.hero-reference-v3 .hero-reference-orbit-one{
    width:440px !important;
    height:440px !important;
    right:0 !important;
    top:26px !important;
  }
  #hero.hero-reference-v3 .hero-reference-orbit-two{
    width:330px !important;
    height:230px !important;
    left:0 !important;
    top:128px !important;
  }
}
@media (max-width:760px){
  #hero.hero-reference-v3 .hero-reference-visual{
    min-height:390px !important;
    padding:0 4px 14px !important;
  }
  #hero.hero-reference-v3 .hero-reference-glow{
    width:340px !important;
    height:340px !important;
  }
  #hero.hero-reference-v3 .hero-reference-visual img{
    width:min(100%, 355px) !important;
    max-height:300px !important;
  }
  #hero.hero-reference-v3 .hero-reference-orbit-one{
    width:340px !important;
    height:340px !important;
    right:-18px !important;
    top:26px !important;
  }
  #hero.hero-reference-v3 .hero-reference-orbit-two{
    width:260px !important;
    height:180px !important;
    left:-20px !important;
    top:118px !important;
  }
  #hero.hero-reference-v3 .hero-reference-road-one{
    width:440px !important;
    right:-84px !important;
    bottom:16px !important;
  }
  #hero.hero-reference-v3 .hero-reference-road-two{
    width:390px !important;
    right:-62px !important;
    bottom:44px !important;
  }
  #hero.hero-reference-v3 .hero-reference-road-three{
    width:340px !important;
    right:-38px !important;
    bottom:68px !important;
  }
}


/* ===== Form benefit illustrative icons ===== */
.form-benefit-icon-illustrated{
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%) !important;
  border:1px solid rgba(157,187,233,.42) !important;
  box-shadow:0 10px 20px rgba(47,124,255,.08), inset 0 1px 0 rgba(255,255,255,.92) !important;
  overflow:hidden !important;
}
.form-benefit-icon-illustrated svg{
  width:30px !important;
  height:30px !important;
  display:block !important;
}



/* ===== Header partner logo fix ===== */
.gmo-logo-link-nav{
  min-width:0 !important;
  padding:0 !important;
}
.navbar-logo .gmo-runsystem-logo,
.gmo-runsystem-logo-nav{
  height:34px !important;
  width:auto !important;
  max-width:330px !important;
  object-fit:contain !important;
  display:block !important;
}
@media (max-width: 900px){
  .navbar-logo .gmo-runsystem-logo,
  .gmo-runsystem-logo-nav{
    height:28px !important;
    max-width:220px !important;
  }
}


/* ===== Hero visual replaced with illustration ===== */
.rails-hero-visual-card.rails-hero-visual-card-illustrated{
  padding:18px !important;
  background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(238,250,247,.88)) !important;
  border:1px solid rgba(83,155,220,.20) !important;
  box-shadow:0 28px 60px rgba(20,105,145,.12) !important;
  overflow:hidden !important;
}
.rails-hero-illustration-wrap{
  position:relative;
  width:100%;
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(244,251,248,.98),rgba(233,248,243,.95));
}
.rails-hero-illustration-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
  object-fit:cover;
}
@media (max-width:760px){
  .rails-hero-visual-card.rails-hero-visual-card-illustrated{padding:12px !important;}
  .rails-hero-illustration-wrap{border-radius:20px;}
  .rails-hero-illustration-img{border-radius:18px;}
}


/* ===== Risk visual replaced with illustration ===== */
.rails-risk-visual.rails-risk-visual-illustrated{
  min-height:440px !important;
  padding:20px !important;
  background:linear-gradient(180deg, rgba(245,250,251,.98), rgba(231,247,242,.95)) !important;
  overflow:hidden !important;
}
.rails-risk-illustration-img{
  display:block !important;
  width:100% !important;
  max-width:640px !important;
  height:auto !important;
  margin:0 auto !important;
  border-radius:22px !important;
  object-fit:contain !important;
  box-shadow:0 12px 28px rgba(23,104,95,.10) !important;
}
@media(max-width:760px){
  .rails-risk-visual.rails-risk-visual-illustrated{min-height:300px !important;padding:12px !important;}
  .rails-risk-illustration-img{border-radius:16px !important;}
}

/* User-provided replacement illustrations */

/* ===== Free-floating illustration (no frame) ===== */
.rails-risk-visual-free {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rails-risk-visual-free img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}.lp-illustration-frame {
  overflow: hidden;
}
.lp-replacement-illustration {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.feature-showcase-image-card.lp-illustration-frame {
  padding: 0;
}
.risk-visual-panel .lp-illustration-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.risk-showcase-visual {
  height: 440px;
}
.risk-showcase-visual .risk-visual-panel {
  height: 100%;
}
.rails-faq-visual-wrap.lp-illustration-frame {
  padding: 0 !important;
  height: 640px;
  min-height: 640px;
  align-self: start;
}
@media (max-width: 760px) {
  .risk-showcase-visual {
    height: auto;
  }
  .risk-showcase-visual .risk-visual-panel {
    height: auto;
  }
  .rails-faq-visual-wrap.lp-illustration-frame {
    height: auto;
    min-height: 0;
  }
  .lp-replacement-illustration {
    height: auto;
    max-height: 72vh;
  }
}

/* ===== NAVBAR BRAND LINK BEHAVIOR ===== */
.gmo-logo-link-nav,
.migraty-logo-link-nav{
  position:relative !important;
  z-index:3 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-height:40px !important;
  padding:4px 2px !important;
  border-radius:8px !important;
  cursor:pointer !important;
  pointer-events:auto !important;
}
.gmo-logo-link-nav:focus-visible,
.migraty-logo-link-nav:focus-visible{
  outline:3px solid rgba(47,124,255,.34) !important;
  outline-offset:3px !important;
}
.gmo-logo-link-nav img,
.migraty-logo-link-nav img{
  display:block !important;
  width:auto !important;
  object-fit:contain !important;
  pointer-events:none !important;
}


/* TYPOGRAPHY_INCREMENT_APPLIED: FONT_PLUS_2PX_LINE_PLUS_1PX */


/* ===== RAILS RISK TAB EMBEDDED ICONS ===== */
.risk-tab-icon-wrap.risk-tab-icon-wrap-image{
  width:82px !important;
  height:82px !important;
  flex:0 0 82px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:22px !important;
  background:linear-gradient(180deg,#ffffff,#edf7ff) !important;
  border:1px solid rgba(81,148,235,.24) !important;
  box-shadow:
    0 13px 28px rgba(30,86,165,.12),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}
.risk-tab-icon-img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center !important;
  transform:scale(2.08) !important;
  transform-origin:center !important;
  filter:saturate(.92) contrast(1.03) !important;
}
.risk-tab-icon-team{
  transform:scale(1.88) !important;
}
.risk-tab-item{
  gap:13px !important;
}
.risk-tab-item:hover .risk-tab-icon-wrap-image{
  transform:translateY(-2px) !important;
  box-shadow:
    0 17px 34px rgba(30,86,165,.17),
    inset 0 1px 0 rgba(255,255,255,.94) !important;
}
.risk-tab-item.active .risk-tab-icon-wrap-image{
  border-color:rgba(47,124,255,.46) !important;
  box-shadow:
    0 17px 36px rgba(47,124,255,.17),
    0 0 0 4px rgba(47,124,255,.07) !important;
}
@media (max-width:760px){
  .risk-tab-icon-wrap.risk-tab-icon-wrap-image{
    width:74px !important;
    height:74px !important;
    flex-basis:74px !important;
    border-radius:20px !important;
  }
}



/* ===== RAILS HERO: UNFRAMED PHP MIGRATION VISUAL ===== */
.rails-hero-visual-card.rails-hero-visual-card-illustrated{
  width:min(100%,680px) !important;
  max-width:680px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.rails-hero-illustration-wrap{
  width:100% !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.rails-hero-illustration-img{
  display:block !important;
  width:100% !important;
  max-width:680px !important;
  height:auto !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
@media (max-width:760px){
  .rails-hero-visual-card.rails-hero-visual-card-illustrated{
    width:100% !important;
    padding:0 !important;
  }
  .rails-hero-illustration-img{
    width:100% !important;
    max-width:560px !important;
    border-radius:0 !important;
  }
}



/* ===== RAILS EOL PANEL VISUAL UPDATE ===== */
.rails-risk-visual.rails-risk-visual-illustrated{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:16px !important;
}
.rails-risk-illustration-img{
  display:block !important;
  width:100% !important;
  max-width:680px !important;
  aspect-ratio:4 / 3 !important;
  height:auto !important;
  margin:0 auto !important;
  border-radius:22px !important;
  object-fit:cover !important;
  object-position:center !important;
  box-shadow:0 14px 30px rgba(23,104,95,.11) !important;
}
@media(max-width:760px){
  .rails-risk-visual.rails-risk-visual-illustrated{
    padding:10px !important;
  }
  .rails-risk-illustration-img{
    border-radius:16px !important;
  }
}



/* ===== USER HERO ILLUSTRATION REPLACEMENT — balanced transparent artwork ===== */
#hero.hero-reference-v3 .hero-reference-visual{
  min-height:650px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
#hero.hero-reference-v3 .hero-reference-cloud,
#hero.hero-reference-v3 .hero-reference-road,
#hero.hero-reference-v3 .hero-reference-orbit,
#hero.hero-reference-v3 .hero-reference-shape{
  display:none !important;
}
#hero.hero-reference-v3 .hero-reference-glow{
  display:block !important;
  left:50% !important;
  top:50% !important;
  width:590px !important;
  height:590px !important;
  transform:translate(-50%,-50%) !important;
  background:radial-gradient(circle,rgba(255,255,255,.98) 0%,rgba(240,255,249,.86) 40%,rgba(151,232,214,.22) 62%,transparent 76%) !important;
  filter:blur(2px) !important;
}
#hero.hero-reference-v3 .rails-hero-visual-card.rails-hero-visual-card-illustrated{
  width:min(100%,570px) !important;
  max-width:570px !important;
  height:650px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
#hero.hero-reference-v3 .rails-hero-illustration-wrap{
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
#hero.hero-reference-v3 .rails-hero-illustration-img,
#hero.hero-reference-v3 .hero-reference-visual img.rails-hero-illustration-img{
  display:block !important;
  width:auto !important;
  height:650px !important;
  max-width:100% !important;
  max-height:650px !important;
  margin:0 auto !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:translateY(4px) !important;
  filter:drop-shadow(0 18px 34px rgba(16,114,89,.11)) !important;
}
@media (max-width:1180px){
  #hero.hero-reference-v3 .hero-reference-visual{
    min-height:580px !important;
  }
  #hero.hero-reference-v3 .rails-hero-visual-card.rails-hero-visual-card-illustrated{
    width:min(100%,500px) !important;
    max-width:500px !important;
    height:580px !important;
  }
  #hero.hero-reference-v3 .rails-hero-illustration-img,
  #hero.hero-reference-v3 .hero-reference-visual img.rails-hero-illustration-img{
    height:580px !important;
    max-height:580px !important;
  }
}
@media (max-width:760px){
  #hero.hero-reference-v3 .hero-reference-visual{
    min-height:470px !important;
    margin-top:8px !important;
  }
  #hero.hero-reference-v3 .hero-reference-glow{
    width:390px !important;
    height:390px !important;
  }
  #hero.hero-reference-v3 .rails-hero-visual-card.rails-hero-visual-card-illustrated{
    width:min(100%,330px) !important;
    max-width:330px !important;
    height:470px !important;
  }
  #hero.hero-reference-v3 .rails-hero-illustration-img,
  #hero.hero-reference-v3 .hero-reference-visual img.rails-hero-illustration-img{
    height:470px !important;
    max-height:470px !important;
  }
}
