/* =============================================================================
   ForgeMigrate — page styles (loaded via pageStyles on /forgemigrate/)
   Reuses the global band / btn tokens; adds the migration hero + path panel,
   value cards, includes checklist, numbered steps, pricing, FAQ, reassurance.
   ============================================================================= */

/* --- Hero -------------------------------------------------------------------- */
.fm-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, rgb(255 106 0 / 15%) 0%, transparent 55%),
    linear-gradient(180deg, #0b1730 0%, var(--df-navy) 60%, var(--forge-navy-deep) 100%);
}

.fm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.fm-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--font-4xl);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 1.25rem;
  color: #fff;
}

.fm-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: var(--font-md);
  line-height: 1.55;
  color: rgb(255 255 255 / 78%);
}

.fm-hero__price {
  margin: 0 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 70%);
}

.fm-hero__price-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin-right: 0.35rem;
  border-radius: 6px;
  color: var(--df-navy);
  background: var(--ember);
  font-weight: 700;
}

.fm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Migration path — mono panel */
.fm-path {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--df-border-dark);
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(21 32 56 / 92%) 0%, var(--forge-navy-panel) 100%);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 70%);
}

.fm-path__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 72%);
  border-top: 1px solid rgb(255 255 255 / 5%);
}

.fm-path__item:first-child {
  border-top: 0;
}

.fm-path__key {
  flex: none;
  min-width: 6.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ember-hi);
}

/* --- Section heads ----------------------------------------------------------- */
.fm-section .band__head {
  text-align: center;
  margin-inline: auto;
}

/* --- Value cards (cream) ----------------------------------------------------- */
.fm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.fm-card {
  background: #fff;
  border: 1px solid var(--df-border-light);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px -30px rgb(20 26 34 / 40%);
}

.fm-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--font-lg);
  color: var(--df-text);
}

.fm-card p {
  margin: 0;
  color: var(--df-muted);
  line-height: 1.5;
}

/* --- Includes checklist (navy) ---------------------------------------------- */
.fm-includes__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2rem;
}

.fm-checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
}

.fm-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: rgb(255 255 255 / 82%);
  line-height: 1.5;
}

.fm-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--ember-hi);
  font-weight: 700;
}

/* --- Numbered steps (cream) -------------------------------------------------- */
.fm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.fm-step {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--df-border-light);
  border-radius: 14px;
  box-shadow: 0 18px 40px -30px rgb(20 26 34 / 40%);
}

.fm-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--df-navy);
  background: var(--ember);
}

.fm-step h3 {
  margin: 0 0 0.4rem;
  font-size: var(--font-md);
  color: var(--df-text);
}

.fm-step p {
  margin: 0;
  color: var(--df-muted);
  line-height: 1.5;
}

/* --- Pricing (navy) ---------------------------------------------------------- */
.fm-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.fm-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.75rem;
  border: 1px solid var(--df-border-dark);
  border-radius: 16px;
  background: var(--forge-navy-panel);
  color: #fff;
}

.fm-plan--featured {
  border-color: rgb(255 106 0 / 45%);
  box-shadow: inset 0 0 0 1px rgb(255 106 0 / 15%);
}

.fm-plan__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--df-navy);
  background: var(--ember);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.fm-plan__name {
  margin: 0;
  font-size: var(--font-lg);
  color: #fff;
}

.fm-plan__price {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  color: var(--ember-hi);
}

.fm-plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.fm-plan__features li {
  position: relative;
  padding-left: 1.4rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.95rem;
}

.fm-plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ember-hi);
  font-weight: 700;
}

.fm-pricing-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgb(255 255 255 / 55%);
}

/* --- FAQ (cream) ------------------------------------------------------------- */
.fm-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.fm-faq__item {
  background: #fff;
  border: 1px solid var(--df-border-light);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px -30px rgb(20 26 34 / 40%);
}

.fm-faq__item h3 {
  margin: 0 0 0.5rem;
  font-size: var(--font-md);
  color: var(--df-text);
}

.fm-faq__item p {
  margin: 0;
  color: var(--df-muted);
  line-height: 1.5;
}

/* --- Reassurance (navy) ------------------------------------------------------ */
.fm-reassure {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid rgb(255 106 0 / 30%);
  border-radius: 18px;
  background: radial-gradient(90% 120% at 50% 0%, rgb(255 106 0 / 10%) 0%, transparent 60%), rgb(255 255 255 / 2.5%);
}

.fm-reassure h2 {
  margin: 0 0 1rem;
  color: #fff;
}

.fm-reassure p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  line-height: 1.6;
}

/* --- Responsive -------------------------------------------------------------- */
@media (width <= 900px) {
  .fm-hero__inner {
    grid-template-columns: 1fr;
  }

  .fm-steps,
  .fm-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 560px) {
  .fm-checklist,
  .fm-steps,
  .fm-plans {
    grid-template-columns: 1fr;
  }

  .fm-hero__cta {
    flex-direction: column;
  }

  .fm-hero__cta .btn {
    width: 100%;
  }
}
