.aegp[hidden] {
  display: none !important;
}

.aegp,
.aegp * {
  box-sizing: border-box;
}

.aegp {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aegp__overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 36, 0.72);
  backdrop-filter: blur(3px);
}

.aegp__modal {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  color: #102447;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 111, 255, 0.10), transparent 35%),
    #ffffff;
  border: 1px solid rgba(124, 152, 198, 0.28);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(2, 17, 45, 0.36);
}

.aegp__inner {
  padding: 34px 46px 34px;
  text-align: center;
}

.aegp__close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #14294d;
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.aegp__close:hover,
.aegp__close:focus-visible {
  background: rgba(18, 50, 100, 0.08);
  outline: none;
}

.aegp__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 5px 17px;
  color: #1266ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: #eef5ff;
  border: 1px solid #bad3ff;
  border-radius: 999px;
}

.aegp__title {
  max-width: 630px;
  margin: 0 auto;
  color: #102447;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.aegp__intro {
  max-width: 620px;
  margin: 18px auto 26px;
  color: #334d76;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.aegp__content {
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  text-align: left;
}

.aegp__cover-wrap {
  justify-self: end;
  width: min(290px, 100%);
}

.aegp__cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(5, 26, 66, 0.28);
}

.aegp__guide-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 285px;
  padding: 30px 30px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #dbe6f8;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aegp__guide-card h3 {
  margin: 0 0 20px;
  color: #102447;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.aegp__guide-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aegp__guide-card li {
  position: relative;
  min-height: 22px;
  padding-left: 32px;
  color: #173157;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.aegp__guide-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: #1266ff;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(18, 102, 255, 0.22);
}

.aegp__actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 30px;
}

.aegp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(360px, 100%);
  min-height: 56px;
  padding: 15px 28px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none !important;
  background: linear-gradient(180deg, #2474ff, #075be8);
  border-radius: 12px;
  box-shadow: 0 18px 30px rgba(18, 102, 255, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.aegp__cta:hover,
.aegp__cta:focus-visible {
  color: #ffffff !important;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 38px rgba(18, 102, 255, 0.34);
  outline: none;
}

.aegp__cta-icon {
  font-size: 16px;
  line-height: 1;
}

.aegp__no-thanks {
  padding: 6px 10px;
  color: #71809a;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.aegp__no-thanks:hover,
.aegp__no-thanks:focus-visible {
  color: #102447;
  background: rgba(18, 50, 100, 0.06);
  outline: none;
}

body.aegp-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  .aegp {
    display: none !important;
  }
}

@media (max-height: 760px) {
  .aegp__inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .aegp__title {
    font-size: clamp(30px, 4vw, 42px);
  }

  .aegp__content {
    gap: 24px;
  }

  .aegp__guide-card {
    min-height: 250px;
    padding: 24px;
  }
}

/* Auripath exit popup content-led polish 20260617 */
.aegp__title {
  font-size: clamp(2.25rem, 4.8vw, 4rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.aegp__cover {
  max-width: 92% !important;
}

.aegp__content,
.aegp__body,
.aegp__grid {
  align-items: center !important;
}

.aegp__cta svg,
.aegp__cta .dashicons,
.aegp__cta [aria-hidden="true"] {
  display: none !important;
}

.aegp__cta {
  gap: 0 !important;
}
