/* ABS Foundation — Why Join welcome popup */
.abs-why-join-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(19, 43, 67, .76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.abs-why-join-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.abs-why-join-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(94vh, 980px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line, #dce4eb);
  border-radius: 28px;
  background: var(--cream, #fbfaf7);
  color: var(--ink, #172536);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
  transform: translateY(16px) scale(.985);
  transition: transform .25s ease;
  outline: none;
}
.abs-why-join-overlay.is-visible .abs-why-join-dialog {
  transform: translateY(0) scale(1);
}
.abs-why-join-close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -10px -10px 0 12px;
  border: 1px solid var(--line, #dce4eb);
  border-radius: 50%;
  background: #fff;
  color: var(--forest, #173b5f);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.abs-why-join-close:hover {
  background: var(--forest, #173b5f);
  color: #fff;
  transform: rotate(90deg);
}
.abs-why-join-topline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.abs-why-join-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: var(--sage, #e8f0f7);
  color: var(--forest2, #245f8f);
  font-size: 18px;
}
.abs-why-join-kicker {
  color: var(--brass, #b78943);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.abs-why-join-dialog h2 {
  margin: 0 42px 8px 0;
  color: var(--ink, #172536);
  font: 700 clamp(29px, 4vw, 42px)/1.12 'Playfair Display', Georgia, serif;
  letter-spacing: -.035em;
}
.abs-why-join-tagline {
  margin: 0 0 17px;
  color: var(--forest2, #245f8f);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
}
.abs-why-join-intro {
  margin: 0;
  color: #596877;
  font-size: 14px;
  line-height: 1.75;
}
.abs-why-join-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 27px 0 15px;
}
.abs-why-join-section-heading span {
  height: 1px;
  flex: 1;
  background: var(--line, #dce4eb);
}
.abs-why-join-section-heading h3 {
  margin: 0;
  color: var(--ink, #172536);
  font: 700 20px/1.2 'Playfair Display', Georgia, serif;
  white-space: nowrap;
}
.abs-why-join-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.abs-why-join-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(36, 95, 143, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
}
.abs-benefit-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 11px;
  background: var(--sage, #e8f0f7);
  color: var(--forest2, #245f8f);
  font-size: 14px;
}
.abs-why-join-benefit h4 {
  margin: 1px 0 4px;
  color: var(--forest, #173b5f);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.abs-why-join-benefit p {
  margin: 0;
  color: #64717d;
  font-size: 12px;
  line-height: 1.55;
}
.abs-why-join-participation {
  margin-top: 20px;
  padding: 18px 19px;
  border: 1px solid rgba(183, 137, 67, .25);
  border-radius: 16px;
  background: #fbf6ec;
}
.abs-why-join-participation h3 {
  margin: 0 0 8px;
  color: var(--forest, #173b5f);
  font: 700 18px/1.3 'Playfair Display', Georgia, serif;
}
.abs-why-join-participation h3 i {
  margin-right: 7px;
  color: var(--brass, #b78943);
}
.abs-why-join-participation p {
  margin: 0 0 8px;
  color: #5e6871;
  font-size: 13px;
  line-height: 1.65;
}
.abs-why-join-participation p:last-child { margin-bottom: 0; }
.abs-why-join-closing {
  margin-top: 18px;
  text-align: center;
}
.abs-why-join-closing p {
  margin: 0 0 7px;
  color: var(--forest, #173b5f);
  font-size: 14px;
  line-height: 1.65;
}
.abs-why-join-closing em {
  color: #8a6a36;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
}
.abs-why-join-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.abs-why-join-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(290px, 100%);
  padding: 12px 22px;
}
.abs-why-join-later {
  padding: 5px 12px;
  border: 0;
  background: transparent;
  color: #788491;
  font: 600 12px 'DM Sans', sans-serif;
  cursor: pointer;
}
.abs-why-join-later:hover { color: var(--forest, #173b5f); text-decoration: underline; }
body.abs-why-join-open { overflow: hidden; }
@media (max-width: 620px) {
  .abs-why-join-overlay { padding: 10px; align-items: center; }
  .abs-why-join-dialog {
    max-height: 94vh;
    padding: 22px 17px;
    border-radius: 21px;
  }
  .abs-why-join-benefits { grid-template-columns: 1fr; gap: 8px; }
  .abs-why-join-benefit { padding: 12px; }
  .abs-why-join-section-heading h3 { font-size: 18px; }
  .abs-why-join-close { margin: -7px -5px 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .abs-why-join-overlay, .abs-why-join-dialog, .abs-why-join-close { transition: none; }
}

.abs-why-join-dialog::-webkit-scrollbar { display: none; width: 0; height: 0; }

.abs-why-join-overlay,
.abs-why-join-dialog {
  overflow-x: hidden;
}
.abs-why-join-dialog * {
  max-width: 100%;
}
