/* V0.8.7 — keep the successful black / warm contrast, but rebalance the lower page. */

/* 1) Migration rules: all four options belong to one system.
   The direct-migration tier is special in meaning, not a separate card visually. */
.migration-v08-rulegrid{
  background:#fff;
}
.migration-v08-rule{
  min-height:144px;
  background:#fff;
}
.migration-v08-rule.direct{
  background:#fff;
  box-shadow:inset 0 3px 0 #6b5ce7;
}
.migration-v08-rule.direct span{
  color:#747985;
}
.migration-v08-rule.direct strong{
  color:#4f43c8;
  font-size:27px;
}

/* 2) Calculator: one coherent selection card + one compact result card.
   Black moves to the LEFT here, counterbalancing the black hero card on the right. */
.migration-v08-work{
  grid-template-columns:1fr;
  gap:18px;
}
.migration-v08-plans{
  padding:28px 30px 25px;
}
.migration-v08-plans .plan-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.migration-v08-result{
  width:min(100%,980px);
  margin:0 auto;
  min-height:0;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:0;
  align-items:stretch;
  background:#fff;
  color:#171923;
  border:1px solid #dde0e6;
  border-radius:19px;
  box-shadow:0 15px 38px rgba(23,25,35,.09);
  overflow:hidden;
}
.migration-v08-result:before{display:none}
.migration-v08-result-summary{
  min-height:150px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  background:#171923;
  color:#fff;
  padding:27px 31px;
  position:relative;
  overflow:hidden;
}
.migration-v08-result-summary:after{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  border-radius:50%;
  right:-125px;
  top:-150px;
  background:radial-gradient(circle,rgba(110,91,231,.54),rgba(110,91,231,0) 70%);
}
.migration-v08-result-summary>*{position:relative;z-index:1}
.migration-v08-result-copy{min-width:0}
.migration-v08-result .label{
  color:#aeb4c2;
  margin-bottom:8px;
}
.migration-v08-result .result-note{
  color:#c0c5cf;
  margin:0;
  max-width:430px;
  min-height:0;
}
.migration-v08-result .result-price{
  margin:0;
  color:#fff;
  font-size:56px;
  text-align:right;
  white-space:nowrap;
}
.migration-v08-result-action{
  padding:26px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:0;
  background:#fff;
}
.migration-v08-result .btn{
  width:100%;
  margin:0;
}
.migration-v08-result .special{
  margin:10px 0 0;
  color:#858a94;
}

/* 3) FAQ should share the same left edge as the sections above. */
.migration-v08-faq{
  max-width:900px;
  margin:52px 0 0;
}

@media(max-width:900px){
  .migration-v08-plans .plan-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .migration-v08-result{grid-template-columns:1fr}
  .migration-v08-result-action{border-top:1px solid #e4e6eb}
}
@media(max-width:620px){
  .migration-v08-plans .plan-list{grid-template-columns:1fr}
  .migration-v08-result-summary{grid-template-columns:1fr;gap:16px}
  .migration-v08-result .result-price{text-align:left;font-size:50px}
}
