/* ==========================================================================
   /migration.html — page-specific styles
   --------------------------------------------------------------------------
   Namespace: .mg-*  (migration).
   Reuses .page-hero / .lp-hero, .lp-shell, .sec__eyebrow / __h2 /
   __lede from sections.css.

   Width discipline: every section on the page renders content inside a
   1200px shell with 48px horizontal padding (so 1104px content area at
   wide viewports). The default .page-hero / .sec wrappers from sections.css
   apply their own outer padding which would double-pad the inner shell —
   .mg-hero and .mg-section override that so the shell controls width
   alone, matching .mg-tinted-section.
   ========================================================================== */

/* Drop .page-hero's outer max-width + horizontal padding so .page-hero__inner
   (1200px + 48px) is the sole horizontal constraint. Without this the hero
   content area is ~48px narrower than every tinted section below it. */
.mg-hero.page-hero {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ---- Hero --------------------------------------------------------------- */

.mg-hero .page-hero__h1 {
  margin-bottom: 18px;
  max-width: 880px;
}
.mg-hero .page-hero__lede {
  max-width: 820px;
  margin-bottom: 32px;
}
.mg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Light-bg buttons (used in hero, form, mid-page CTAs). */
.mg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.mg-btn--primary {
  background: var(--color-navy-800);
  color: white;
  border: 0.5px solid var(--color-navy-800);
}
.mg-btn--primary:hover {
  background: var(--color-navy-700);
  border-color: var(--color-navy-700);
}
.mg-btn--secondary {
  background: var(--color-bg);
  color: var(--color-navy-800);
  border: 0.5px solid var(--color-border);
}
.mg-btn--secondary:hover { border-color: var(--color-navy-800); }

/* ---- Customer story callout (hero, dark navy) -------------------------- */

.mg-story {
  background: var(--color-navy-800);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 880px;
  margin: 0 0 40px;
}
.mg-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  padding: 4px 10px;
  background: rgba(93, 202, 165, 0.12);
  color: var(--color-teal-500);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.mg-story__dot {
  font-size: 9px;
  line-height: 1;
}
.mg-story__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}
.mg-story__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mg-story__num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-teal-500);
  line-height: 1.05;
}
.mg-story__label {
  font-size: 12px;
  color: #C5D2E0;
}
.mg-story__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #C5D2E0;
}

/* ---- 2. Section wrappers (plain + tinted) ----------------------------- */

/* Plain section — full-bleed wrapper, .lp-shell inside controls horizontal
   width. Drop-in replacement for the generic .sec class on this page so
   all sections (plain, tinted, hero) share one 1104px content width. */
.mg-section {
  border-top: var(--border-thin);
  padding: 56px 0;
}
.mg-tinted-section {
  background: var(--color-bg-tint);
  border-top: var(--border-thin);
}
.mg-tinted-section__shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 48px;
}
.mg-challenge__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.mg-challenge__eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B45309;
}
.mg-challenge__h {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-navy-800);
}
.mg-challenge__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 460px;
}
.mg-challenge__card {
  background: var(--color-bg);
  border: 0.5px solid #FCD7A1;
  border-left: 3px solid #F59E0B;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.mg-challenge__body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.mg-challenge__body--strong {
  margin-bottom: 0;
  color: var(--color-navy-800);
  font-weight: 500;
}

/* ---- 3. What makes it faster (capability grid) ------------------------ */

.mg-faster__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mg-cap {
  background: var(--color-bg);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
}
.mg-cap__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-teal-50);
  color: var(--color-teal-900);
  margin-bottom: 14px;
}
.mg-cap__icon svg { width: 16px; height: 16px; }
.mg-cap__h {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy-800);
}
.mg-cap__d {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ---- 4. Playbook (5 steps, no calendar weeks) ------------------------- */

.mg-playbook__container {
  background: var(--color-bg);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  margin-top: 24px;
}
.mg-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--color-border);
}
.mg-step:last-child { border-bottom: 0; }
.mg-step__pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 8px;
  background: var(--color-teal-50);
  color: var(--color-teal-500);
  border-radius: var(--radius-sm);
  align-self: start;
  margin-top: 2px;
}
.mg-step__h {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy-800);
}
.mg-step__d {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 760px;
}

/* ---- Callouts --------------------------------------------------------- */

.mg-callout {
  margin: 24px 0 0;
  padding: 14px 18px;
  background: var(--color-teal-50);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.mg-callout strong {
  color: var(--color-teal-1000);
  font-weight: 500;
}

/* ---- 5. From your current tool (8-card grid) ------------------------- */

.mg-tools__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mg-tool {
  background: var(--color-bg);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
}
.mg-tool__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mg-tool__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navy-800);
}
.mg-tool__d {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  flex: 1;
}
.mg-tool__why {
  margin: 0;
  padding-top: 14px;
  border-top: 0.5px solid var(--color-border);
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-tertiary);
}
.mg-tool__why strong {
  color: var(--color-teal-1000);
  font-weight: 500;
}
.mg-tools__more {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Migration time pills. Default is the teal "easy" treatment;
   the pink "hard" variant is reserved for Informatica only. */
.mg-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.mg-pill--easy { background: var(--color-teal-50); color: var(--color-teal-1000); }
.mg-pill--hard { background: #FBEAF0; color: #993556; }

.mg-link {
  color: var(--color-teal-600);
  font-weight: 500;
  text-decoration: none;
}
.mg-link:hover { text-decoration: underline; }

/* ---- 6. Free assessment form ----------------------------------------- */

.mg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-bg);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 640px;
  margin-top: 24px;
}
.mg-form__field {
  display: flex;
  flex-direction: column;
}
.mg-form__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.mg-form__input {
  width: 100%;
  padding: 10px 14px;
  border: 0.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--color-navy-800);
  background: var(--color-bg);
  font-family: inherit;
  box-sizing: border-box;
}
.mg-form__input::placeholder { color: var(--color-text-tertiary); }
.mg-form__input:focus {
  outline: none;
  border-color: var(--color-navy-800);
}
.mg-form__submit {
  align-self: flex-start;
  margin-top: 4px;
}
.mg-form__note {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text-tertiary);
}

/* ---- 7. FAQ ----------------------------------------------------------- */

.mg-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.mg-faq__item {
  background: var(--color-bg);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.mg-faq__q {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy-800);
}
.mg-faq__a {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ---- 8. Footer CTA (dark navy) --------------------------------------- */

.mg-dark-section { background: var(--color-navy-800); }
.mg-dark-section__shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 48px;
}
.mg-cta__h {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: white;
}
.mg-cta__lede {
  margin: 0 0 24px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-on-navy-muted);
}
.mg-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mg-dark-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.mg-dark-btn--primary {
  background: white;
  color: var(--color-navy-800);
  border: 0.5px solid white;
}
.mg-dark-btn--primary:hover { background: var(--color-bg-tint); }
.mg-dark-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
}
.mg-dark-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
}

/* ---- Section rhythm --------------------------------------------------- */

.mg-faster .sec__lede,
.mg-tools .sec__lede,
.mg-faq .sec__lede,
.mg-playbook .sec__lede,
.mg-challenge .sec__lede,
.mg-assess .sec__lede {
  max-width: 820px;
  margin: 12px 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ---- Responsive ------------------------------------------------------- */

@media (max-width: 1000px) {
  .mg-faster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-challenge__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
  .mg-hero .page-hero__inner { padding-left: 24px; padding-right: 24px; }
  .mg-hero__cta { flex-direction: column; align-items: stretch; }
  .mg-btn { justify-content: center; }
  .mg-story { padding: 24px 22px; }
  .mg-story__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mg-faster__grid,
  .mg-tools__grid { grid-template-columns: 1fr; }
  .mg-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  .mg-step__pill { justify-self: start; }
  .mg-tinted-section__shell { padding: 40px 20px; }
  .mg-playbook__container { padding: 4px 20px; }
  .mg-form { padding: 22px 20px; }
  .mg-dark-section__shell { padding: 48px 20px; }
}
