.modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  position: relative;
  margin: 12vh auto;
  padding: 36px 32px 32px;
  border: 1px solid rgba(11, 99, 214, 0.12);
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  animation: modal-rise 180ms ease-out;
}

.close {
  color: #aaa;
  position: absolute;
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
  font-size: 26px;
  line-height: 30px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  transition: color 160ms ease, background-color 160ms ease;
}

.close:hover {
  color: #000;
  background-color: #eef4ff;
}

.modal h2 {
  margin: 6px 0 12px;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.25;
}

.modal p {
  color: #64748b;
  margin: 0 auto 26px;
  max-width: 34ch;
  line-height: 1.6;
}

.modal-kicker {
  color: #0b63d6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #0b63d6;
  color: white;
  padding: 11px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.btn-primary:hover {
  background-color: #083d96;
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: #0b63d6;
  background: #fff;
  border: 1px solid #b8cbed;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn-secondary:hover {
  color: #083d96;
  background: #eef4ff;
  border-color: #0b63d6;
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 8vh auto;
    padding: 34px 22px 24px;
  }

  .modal-actions > * {
    width: 100%;
  }
}