/* Migration announcement only; the existing login and generator controls keep their styles. */
.migration-login-page,
.migration-generator-page {
  color: var(--text);
}

.migration-login-page {
  display: block;
  padding: clamp(20px, 4vw, 48px) 16px 48px;
}

.migration-login-layout {
  width: min(100%, 1240px);
  margin: 0 auto;
}

.migration-login-layout > .card {
  margin: clamp(28px, 4vw, 54px) auto 0;
}

.migration-banner,
.migration-sidebar,
.migration-compact {
  border: 1px solid #cbdcf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(30, 70, 120, .1), 0 2px 5px rgba(30, 70, 120, .04);
}

.migration-banner {
  display: grid;
  grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
}

.migration-banner-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 38% 46%, #d9f4ff 0, #9bddfb 56%, #6fc8f4 100%);
}

.migration-banner-art img {
  display: block;
  width: min(90%, 325px);
  height: auto;
  filter: drop-shadow(0 12px 8px rgba(25, 90, 140, .15));
}

.migration-banner-copy {
  align-self: center;
  min-width: 0;
  padding: 30px clamp(26px, 4vw, 62px);
}

.migration-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #174cbb;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.2;
}

.migration-heading {
  margin: 13px 0 8px;
  color: #0e1e44;
  font-weight: 820;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.migration-heading .migration-brand {
  color: #1d4ed8;
}

.migration-banner .migration-heading {
  font-size: clamp(2.15rem, 3.7vw, 3.6rem);
}

.migration-description,
.migration-offer,
.migration-replacement {
  margin: 0;
  color: #50617d;
  line-height: 1.42;
}

.migration-banner .migration-description {
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
}

.migration-replacement {
  margin-top: 6px;
  font-size: .91rem;
  font-weight: 700;
}

.migration-deadline {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 17px 0 11px;
  padding: 9px 12px;
  border: 1px solid #f5dca3;
  border-radius: 8px;
  background: #fff7e8;
  color: #694309;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
}

.migration-deadline::before {
  content: "◷";
  flex: none;
  color: #b76d00;
  font-size: 1.1rem;
  line-height: 1;
}

.migration-banner .migration-offer {
  font-size: .96rem;
}

.migration-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
}

.migration-cta,
.migration-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  width: auto;
  margin-top: 0;
}

.migration-cta {
  min-width: 205px;
  padding: 11px 20px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 8px rgba(29, 78, 216, .14);
}

.migration-cta:hover:not(:disabled) {
  background: var(--accent-hover);
}

.migration-demo {
  padding: 7px 0;
  background: transparent;
  color: var(--accent);
}

.migration-demo:hover:not(:disabled) {
  color: var(--accent-hover);
  text-decoration: underline;
}

.migration-cta:focus-visible,
.migration-demo:focus-visible {
  outline: 3px solid #8cc8ff;
  outline-offset: 3px;
}

.migration-cta:disabled,
.migration-demo:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.migration-cta:disabled:hover { background: var(--accent); }
.migration-demo:disabled:hover { background: transparent; }

.migration-play {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding-left: 2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: .65rem;
}

.migration-reassurance {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #66758f;
  font-size: .8rem;
  font-weight: 650;
}

.migration-reassurance::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1fa56f;
  color: #fff;
  font-size: .7rem;
}

.migration-generator-page {
  align-items: flex-start;
}

.generator-shell {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 860px) minmax(210px, 1fr);
  gap: 20px;
  width: min(100%, 1520px);
  margin: 0 auto;
  align-items: stretch;
}

.generator-shell > .wrapper {
  min-width: 0;
}

.migration-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0, #f6fbff 58%, #e8f6ff 100%);
}

.migration-sidebar .migration-heading {
  margin-top: 25px;
  font-size: clamp(2rem, 2.8vw, 3.1rem);
}

.migration-sidebar .migration-description {
  margin-top: 13px;
  font-size: .99rem;
}

.migration-features {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.migration-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263c65;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
}

.migration-feature-icon {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e3f1ff;
  color: #1557c8;
  font-size: 1.25rem;
}

.migration-sidebar .migration-deadline {
  margin-top: 28px;
  font-size: .85rem;
}

.migration-sidebar-art {
  display: block;
  width: min(100%, 230px);
  height: auto;
  margin: auto auto 0;
  padding-top: 18px;
}

.migration-sidebar-right .migration-heading {
  margin-top: 25px;
}

.migration-sidebar-right .migration-offer {
  margin-top: 3px;
  font-size: .96rem;
}

.migration-sidebar-right .migration-cta,
.migration-sidebar-right .migration-demo {
  width: 100%;
}

.migration-sidebar-right .migration-actions {
  display: grid;
  gap: 7px;
  margin-top: 24px;
}

.migration-sidebar-right .migration-reassurance {
  justify-content: center;
}

.migration-compact {
  display: none;
}

@media (max-width: 1359px) {
  .generator-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
  }

  .migration-sidebar {
    display: none;
  }

  .migration-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, .65fr);
    gap: 24px;
    width: 100%;
    padding: 22px 26px;
    background: linear-gradient(110deg, #fff 0, #fff 67%, #e8f6ff 100%);
  }

  .migration-compact .migration-heading {
    margin: 8px 0;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
  }

  .migration-compact .migration-deadline {
    margin: 13px 0 0;
  }

  .migration-compact-offer {
    align-self: center;
  }

  .migration-compact .migration-offer {
    font-size: .92rem;
  }

  .migration-compact .migration-actions {
    gap: 5px 13px;
    margin-top: 13px;
  }

  .migration-compact .migration-cta {
    min-width: 180px;
  }
}

@media (max-width: 700px) {
  .migration-banner {
    grid-template-columns: 1fr;
  }

  .migration-banner-art {
    height: 145px;
  }

  .migration-banner-art img {
    width: 170px;
  }

  .migration-banner-copy {
    padding: 22px 20px 25px;
  }

  .migration-banner .migration-heading {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .migration-compact {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .migration-compact .migration-cta,
  .migration-banner .migration-cta {
    width: 100%;
  }

  .migration-generator-page .wrapper {
    width: 100%;
  }

  .migration-generator-page .row-3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  }

  .migration-generator-page .row-3 > div,
  .migration-generator-page .row-3 input {
    min-width: 0;
  }
}
