.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

#simpleModal .modal-content {
  color: #1A1A1A;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  max-width: 400px;
  width: 92%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

/* ── Close ── */
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}

.modal-close:hover { color: #1A1A1A; }

/* ── Eyebrow ── */
.modal-eyebrow {
  font-family: 'Quicksand', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A000;
  text-align: center;
  margin: 0 0 8px;
}

/* ── Headline ── */
#modalTitle {
  font-family: 'Fredoka', sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: #1A1A1A;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 260px;
  margin: 0 auto 30px;
}

/* ── Subtext ── */
.modal-subtext {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #999;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 22px;
}

/* ── Options wrapper ── */
.modal-options {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
  text-align: left;
}

/* ── Option base ── */
.modal-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #1A1A1A;
  cursor: pointer;
  font-weight: 300;
  transition:
    box-shadow     0.2s ease,
    border-color   0.2s ease,
    background     0.2s ease,
    opacity        0.2s ease,
    transform      0.1s ease;
  -webkit-tap-highlight-color: transparent; /* removes gray flash on mobile tap */
  user-select: none;  
}

/* ── Icon — subtle lift on hover ── */
.modal-option:hover .option-icon {
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

.modal-option:active .option-icon {
  transform: scale(1.05);
}

/* ── Primary option ── */
.modal-option--primary {
  border: 2px solid #F5C800;
  background: #FFFDF0;
  position: relative;
  box-shadow: 0 4px 16px rgba(245, 200, 0, 0.2);
}

.modal-option--primary:hover {
  background: #FFFBE0;
  border-color: #E6B800;
  box-shadow: 0 6px 24px rgba(245, 200, 0, 0.35);
  transform: translateY(-1px);
}

/* ── Secondary option ── */
.modal-option--secondary {
  border: 1.5px solid #E5E5E5;
  background: #fff;
  opacity: 0.85;
}

.modal-option--secondary:hover {
  border-color: #1A1A1A;
  background: #FAFAFA;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

/* ── Secondary — active/pressed ── */
.modal-option--secondary:active {
  background: #F2F2F2;
  border-color: #1A1A1A;
  box-shadow: none;
  transform: translateY(0) scale(0.99);
  opacity: 1;
}

/* ── Keep existing highlight class working ── */
.modal-option.highlight {
  border-color: #F5C800;
  background: #FFFDF0;
  transform: none;
}

/* ── Option icon ── */
.option-icon {
  transition: transform 0.2s ease;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Option text group ── */
.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ── Option title ── */
.option-title {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #1A1A1A;
  letter-spacing: 0.01em;
}

/* ── Option description ── */
.option-desc {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-top: 0;
}

/* ── Or divider ── */
.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: #eee;
}

.modal-divider span {
  font-family: 'Quicksand', sans-serif;
  font-size: 10px;
  color: #ccc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Trust line ── */
.modal-footnote {
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #bbb;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin: 0 0 10px;
}

/* ── Soft exit ── */
.modal-exit {
  text-align: center;
  margin: 0;
}

.modal-exit a {
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ddd;
  transition: color 0.15s;
}

.modal-exit a:hover { color: #1A1A1A; }

/* ── Mobile ── */
@media (max-width: 480px) {
  #simpleModal .modal-content { padding: 28px 20px; }
  #modalTitle { font-size: 22px; }
}

/* ── Trustindex override — unchanged ── */
.ti-widget.ti-goog .ti-rating-text,
.ti-widget.ti-goog .ti-rating-text span,
.ti-widget.ti-goog .ti-footer strong:not(.ti-rating-large) {
  color: #111 !important;
}



data-modal-open="true"